2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.6.
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.6'
584 PACKAGE_STRING
='Wine 1.7.6'
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
865 enable_api_ms_win_core_localregistry_l1_1_0
866 enable_api_ms_win_core_processthreads_l1_1_0
867 enable_api_ms_win_core_winrt_error_l1_1_0
868 enable_api_ms_win_core_winrt_string_l1_1_0
869 enable_api_ms_win_downlevel_advapi32_l1_1_0
870 enable_api_ms_win_downlevel_advapi32_l2_1_0
871 enable_api_ms_win_downlevel_normaliz_l1_1_0
872 enable_api_ms_win_downlevel_ole32_l1_1_0
873 enable_api_ms_win_downlevel_shell32_l1_1_0
874 enable_api_ms_win_downlevel_shlwapi_l1_1_0
875 enable_api_ms_win_downlevel_shlwapi_l2_1_0
876 enable_api_ms_win_downlevel_user32_l1_1_0
877 enable_api_ms_win_downlevel_version_l1_1_0
878 enable_api_ms_win_security_base_l1_1_0
916 enable_d3dcompiler_33
917 enable_d3dcompiler_34
918 enable_d3dcompiler_35
919 enable_d3dcompiler_36
920 enable_d3dcompiler_37
921 enable_d3dcompiler_38
922 enable_d3dcompiler_39
923 enable_d3dcompiler_40
924 enable_d3dcompiler_41
925 enable_d3dcompiler_42
926 enable_d3dcompiler_43
1138 enable_photometadatahandler
1216 enable_windowscodecs
1217 enable_windowscodecsext
1219 enable_winecoreaudio_drv
1221 enable_winegstreamer
1222 enable_winejoystick_drv
1228 enable_wineqtdecoder
1263 enable_documentation
1270 enable_aspnet_regiis
1302 enable_presentationfontcache
1314 enable_servicemodelreg
1333 enable_winemenubuilder
1335 enable_winemsibuilder
1349 ac_precious_vars
='build_alias
1396 # Initialize some variables set by options.
1398 ac_init_version
=false
1399 ac_unrecognized_opts
=
1400 ac_unrecognized_sep
=
1401 # The variables have the same names as the options, with
1402 # dashes changed to underlines.
1403 cache_file
=/dev
/null
1410 program_transform_name
=s
,x
,x
,
1418 # Installation directory options.
1419 # These are left unexpanded so users can "make install exec_prefix=/foo"
1420 # and all the variables that are supposed to be based on exec_prefix
1421 # by default will actually change.
1422 # Use braces instead of parens because sh, perl, etc. also accept them.
1423 # (The list follows the same order as the GNU Coding Standards.)
1424 bindir
='${exec_prefix}/bin'
1425 sbindir
='${exec_prefix}/sbin'
1426 libexecdir
='${exec_prefix}/libexec'
1427 datarootdir
='${prefix}/share'
1428 datadir
='${datarootdir}'
1429 sysconfdir
='${prefix}/etc'
1430 sharedstatedir
='${prefix}/com'
1431 localstatedir
='${prefix}/var'
1432 includedir
='${prefix}/include'
1433 oldincludedir
='/usr/include'
1434 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1435 infodir
='${datarootdir}/info'
1440 libdir
='${exec_prefix}/lib'
1441 localedir
='${datarootdir}/locale'
1442 mandir
='${datarootdir}/man'
1448 # If the previous option needs an argument, assign it.
1449 if test -n "$ac_prev"; then
1450 eval $ac_prev=\
$ac_option
1456 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1461 # Accept the important Cygnus configure options, so we can diagnose typos.
1463 case $ac_dashdash$ac_option in
1467 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1469 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1470 bindir
=$ac_optarg ;;
1472 -build |
--build |
--buil |
--bui |
--bu)
1473 ac_prev
=build_alias
;;
1474 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1475 build_alias
=$ac_optarg ;;
1477 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1478 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1479 ac_prev
=cache_file
;;
1480 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1481 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1482 cache_file
=$ac_optarg ;;
1484 --config-cache |
-C)
1485 cache_file
=config.cache
;;
1487 -datadir |
--datadir |
--datadi |
--datad)
1489 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1490 datadir
=$ac_optarg ;;
1492 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1493 |
--dataroo |
--dataro |
--datar)
1494 ac_prev
=datarootdir
;;
1495 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1496 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1497 datarootdir
=$ac_optarg ;;
1499 -disable-* |
--disable-*)
1500 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1501 # Reject names that are not valid shell variable names.
1502 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1503 as_fn_error $?
"invalid feature name: $ac_useropt"
1504 ac_useropt_orig
=$ac_useropt
1505 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1506 case $ac_user_opts in
1508 "enable_
$ac_useropt"
1510 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1511 ac_unrecognized_sep
=', ';;
1513 eval enable_
$ac_useropt=no
;;
1515 -docdir |
--docdir |
--docdi |
--doc |
--do)
1517 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1518 docdir
=$ac_optarg ;;
1520 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1522 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1523 dvidir
=$ac_optarg ;;
1525 -enable-* |
--enable-*)
1526 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1527 # Reject names that are not valid shell variable names.
1528 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1529 as_fn_error $?
"invalid feature name: $ac_useropt"
1530 ac_useropt_orig
=$ac_useropt
1531 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1532 case $ac_user_opts in
1534 "enable_
$ac_useropt"
1536 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1537 ac_unrecognized_sep
=', ';;
1539 eval enable_
$ac_useropt=\
$ac_optarg ;;
1541 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1542 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1543 |
--exec |
--exe |
--ex)
1544 ac_prev
=exec_prefix
;;
1545 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1546 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1547 |
--exec=* |
--exe=* |
--ex=*)
1548 exec_prefix
=$ac_optarg ;;
1550 -gas |
--gas |
--ga |
--g)
1551 # Obsolete; use --with-gas.
1554 -help |
--help |
--hel |
--he |
-h)
1555 ac_init_help
=long
;;
1556 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1557 ac_init_help
=recursive
;;
1558 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1559 ac_init_help
=short
;;
1561 -host |
--host |
--hos |
--ho)
1562 ac_prev
=host_alias
;;
1563 -host=* |
--host=* |
--hos=* |
--ho=*)
1564 host_alias
=$ac_optarg ;;
1566 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1568 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1570 htmldir
=$ac_optarg ;;
1572 -includedir |
--includedir |
--includedi |
--included |
--include \
1573 |
--includ |
--inclu |
--incl |
--inc)
1574 ac_prev
=includedir
;;
1575 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1576 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1577 includedir
=$ac_optarg ;;
1579 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1581 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1582 infodir
=$ac_optarg ;;
1584 -libdir |
--libdir |
--libdi |
--libd)
1586 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1587 libdir
=$ac_optarg ;;
1589 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1590 |
--libexe |
--libex |
--libe)
1591 ac_prev
=libexecdir
;;
1592 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1593 |
--libexe=* |
--libex=* |
--libe=*)
1594 libexecdir
=$ac_optarg ;;
1596 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1597 ac_prev
=localedir
;;
1598 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1599 localedir
=$ac_optarg ;;
1601 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1602 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1603 ac_prev
=localstatedir
;;
1604 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1605 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1606 localstatedir
=$ac_optarg ;;
1608 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1610 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1611 mandir
=$ac_optarg ;;
1613 -nfp |
--nfp |
--nf)
1614 # Obsolete; use --without-fp.
1617 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1618 |
--no-cr |
--no-c |
-n)
1621 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1622 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1625 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1626 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1627 |
--oldin |
--oldi |
--old |
--ol |
--o)
1628 ac_prev
=oldincludedir
;;
1629 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1630 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1631 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1632 oldincludedir
=$ac_optarg ;;
1634 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1636 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1637 prefix
=$ac_optarg ;;
1639 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1640 |
--program-pre |
--program-pr |
--program-p)
1641 ac_prev
=program_prefix
;;
1642 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1643 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1644 program_prefix
=$ac_optarg ;;
1646 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1647 |
--program-suf |
--program-su |
--program-s)
1648 ac_prev
=program_suffix
;;
1649 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1650 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1651 program_suffix
=$ac_optarg ;;
1653 -program-transform-name |
--program-transform-name \
1654 |
--program-transform-nam |
--program-transform-na \
1655 |
--program-transform-n |
--program-transform- \
1656 |
--program-transform |
--program-transfor \
1657 |
--program-transfo |
--program-transf \
1658 |
--program-trans |
--program-tran \
1659 |
--progr-tra |
--program-tr |
--program-t)
1660 ac_prev
=program_transform_name
;;
1661 -program-transform-name=* |
--program-transform-name=* \
1662 |
--program-transform-nam=* |
--program-transform-na=* \
1663 |
--program-transform-n=* |
--program-transform-=* \
1664 |
--program-transform=* |
--program-transfor=* \
1665 |
--program-transfo=* |
--program-transf=* \
1666 |
--program-trans=* |
--program-tran=* \
1667 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1668 program_transform_name
=$ac_optarg ;;
1670 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1672 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1673 pdfdir
=$ac_optarg ;;
1675 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1677 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1680 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1681 |
-silent |
--silent |
--silen |
--sile |
--sil)
1684 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1686 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1688 sbindir
=$ac_optarg ;;
1690 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1691 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1692 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1694 ac_prev
=sharedstatedir
;;
1695 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1696 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1697 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1699 sharedstatedir
=$ac_optarg ;;
1701 -site |
--site |
--sit)
1703 -site=* |
--site=* |
--sit=*)
1706 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1708 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1709 srcdir
=$ac_optarg ;;
1711 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1712 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1713 ac_prev
=sysconfdir
;;
1714 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1715 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1716 sysconfdir
=$ac_optarg ;;
1718 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1719 ac_prev
=target_alias
;;
1720 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1721 target_alias
=$ac_optarg ;;
1723 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1726 -version |
--version |
--versio |
--versi |
--vers |
-V)
1727 ac_init_version
=: ;;
1730 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1731 # Reject names that are not valid shell variable names.
1732 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1733 as_fn_error $?
"invalid package name: $ac_useropt"
1734 ac_useropt_orig
=$ac_useropt
1735 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1736 case $ac_user_opts in
1740 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1741 ac_unrecognized_sep
=', ';;
1743 eval with_
$ac_useropt=\
$ac_optarg ;;
1745 -without-* |
--without-*)
1746 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1747 # Reject names that are not valid shell variable names.
1748 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1749 as_fn_error $?
"invalid package name: $ac_useropt"
1750 ac_useropt_orig
=$ac_useropt
1751 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1752 case $ac_user_opts in
1756 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1757 ac_unrecognized_sep
=', ';;
1759 eval with_
$ac_useropt=no
;;
1762 # Obsolete; use --with-x.
1765 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1766 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1767 ac_prev
=x_includes
;;
1768 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1769 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1770 x_includes
=$ac_optarg ;;
1772 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1773 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1774 ac_prev
=x_libraries
;;
1775 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1776 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1777 x_libraries
=$ac_optarg ;;
1779 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1780 Try \`$0 --help' for more information"
1784 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1785 # Reject names that are not valid shell variable names.
1786 case $ac_envvar in #(
1787 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1788 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1790 eval $ac_envvar=\
$ac_optarg
1791 export $ac_envvar ;;
1794 # FIXME: should be removed in autoconf 3.0.
1795 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1796 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1797 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1798 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1804 if test -n "$ac_prev"; then
1805 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1806 as_fn_error $?
"missing argument to $ac_option"
1809 if test -n "$ac_unrecognized_opts"; then
1810 case $enable_option_checking in
1812 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1813 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1817 # Check all directory arguments for consistency.
1818 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1819 datadir sysconfdir sharedstatedir localstatedir includedir \
1820 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1821 libdir localedir mandir
1823 eval ac_val
=\$
$ac_var
1824 # Remove trailing slashes.
1827 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1828 eval $ac_var=\
$ac_val;;
1830 # Be sure to have absolute directory names.
1832 [\\/$
]* | ?
:[\\/]* ) continue;;
1833 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1835 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1838 # There might be people who depend on the old broken behavior: `$host'
1839 # used to hold the argument of --host etc.
1840 # FIXME: To remove some day.
1843 target
=$target_alias
1845 # FIXME: To remove some day.
1846 if test "x$host_alias" != x
; then
1847 if test "x$build_alias" = x
; then
1848 cross_compiling
=maybe
1849 elif test "x$build_alias" != "x$host_alias"; then
1855 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1857 test "$silent" = yes && exec 6>/dev
/null
1860 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1861 ac_ls_di
=`ls -di .` &&
1862 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1863 as_fn_error $?
"working directory cannot be determined"
1864 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1865 as_fn_error $?
"pwd does not report name of working directory"
1868 # Find the source files, if location was not specified.
1869 if test -z "$srcdir"; then
1870 ac_srcdir_defaulted
=yes
1871 # Try the directory containing this script, then the parent directory.
1872 ac_confdir
=`$as_dirname -- "$as_myself" ||
1873 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1874 X"$as_myself" : 'X\(//\)[^/]' \| \
1875 X"$as_myself" : 'X\(//\)$' \| \
1876 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1877 $as_echo X"$as_myself" |
1878 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1896 if test ! -r "$srcdir/$ac_unique_file"; then
1900 ac_srcdir_defaulted
=no
1902 if test ! -r "$srcdir/$ac_unique_file"; then
1903 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1904 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1906 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1908 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1910 # When building in place, set srcdir=.
1911 if test "$ac_abs_confdir" = "$ac_pwd"; then
1914 # Remove unnecessary trailing slashes from srcdir.
1915 # Double slashes in file names in object file debugging info
1916 # mess up M-x gdb in Emacs.
1918 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1920 for ac_var
in $ac_precious_vars; do
1921 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1922 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1923 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1924 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1928 # Report the --help message.
1930 if test "$ac_init_help" = "long"; then
1931 # Omit some internal or obsolete options to make the list less imposing.
1932 # This message is too long to be a string in the A/UX 3.1 sh.
1934 \`configure' configures Wine 1.7.6 to adapt to many kinds of systems.
1936 Usage: $0 [OPTION]... [VAR=VALUE]...
1938 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1939 VAR=VALUE. See below for descriptions of some of the useful variables.
1941 Defaults for the options are specified in brackets.
1944 -h, --help display this help and exit
1945 --help=short display options specific to this package
1946 --help=recursive display the short help of all the included packages
1947 -V, --version display version information and exit
1948 -q, --quiet, --silent do not print \`checking ...' messages
1949 --cache-file=FILE cache test results in FILE [disabled]
1950 -C, --config-cache alias for \`--cache-file=config.cache'
1951 -n, --no-create do not create output files
1952 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1954 Installation directories:
1955 --prefix=PREFIX install architecture-independent files in PREFIX
1956 [$ac_default_prefix]
1957 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1960 By default, \`make install' will install all the files in
1961 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1962 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1963 for instance \`--prefix=\$HOME'.
1965 For better control, use the options below.
1967 Fine tuning of the installation directories:
1968 --bindir=DIR user executables [EPREFIX/bin]
1969 --sbindir=DIR system admin executables [EPREFIX/sbin]
1970 --libexecdir=DIR program executables [EPREFIX/libexec]
1971 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1972 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1973 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1974 --libdir=DIR object code libraries [EPREFIX/lib]
1975 --includedir=DIR C header files [PREFIX/include]
1976 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1977 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1978 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1979 --infodir=DIR info documentation [DATAROOTDIR/info]
1980 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1981 --mandir=DIR man documentation [DATAROOTDIR/man]
1982 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1983 --htmldir=DIR html documentation [DOCDIR]
1984 --dvidir=DIR dvi documentation [DOCDIR]
1985 --pdfdir=DIR pdf documentation [DOCDIR]
1986 --psdir=DIR ps documentation [DOCDIR]
1992 --x-includes=DIR X include files are
in DIR
1993 --x-libraries=DIR X library files are
in DIR
1996 --build=BUILD configure
for building on BUILD
[guessed
]
1997 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2001 if test -n "$ac_init_help"; then
2002 case $ac_init_help in
2003 short | recursive
) echo "Configuration of Wine 1.7.6:";;
2008 --disable-option-checking ignore unrecognized
--enable/--with options
2009 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2010 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2011 --disable-win16 do not include Win16 support
2012 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2014 --disable-tests do not build the regression tests
2015 --enable-maintainer-mode
2016 enable maintainer-specific build rules
2017 --disable-largefile omit support for large files
2020 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2021 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2022 --without-alsa do not use the Alsa sound support
2023 --without-capi do not use CAPI (ISDN support)
2024 --without-cms do not use CMS (color management support)
2025 --without-coreaudio do not use the CoreAudio sound support
2026 --without-cups do not use CUPS
2027 --without-curses do not use (n)curses
2028 --without-dbus do not use DBus (dynamic device support)
2029 --without-fontconfig do not use fontconfig
2030 --without-freetype do not use the FreeType library
2031 --without-gettext do not use gettext
2032 --with-gettextpo use the GetTextPO library to rebuild po files
2033 --without-gphoto do not use gphoto (Digital Camera support)
2034 --without-glu do not use the GLU library
2035 --without-gnutls do not use GnuTLS (schannel support)
2036 --without-gsm do not use libgsm (GSM 06.10 codec support)
2037 --without-gstreamer do not use GStreamer (codecs support)
2038 --without-hal do not use HAL (dynamic device support)
2039 --without-jpeg do not use JPEG
2040 --without-ldap do not use LDAP
2041 --without-mpg123 do not use the mpg123 library
2042 --without-netapi do not use the Samba NetAPI library
2043 --without-openal do not use OpenAL
2044 --without-opencl do not use OpenCL
2045 --without-opengl do not use OpenGL
2046 --without-osmesa do not use the OSMesa library
2047 --without-oss do not use the OSS sound support
2048 --without-png do not use PNG
2049 --without-pthread do not use the pthread library
2050 --without-sane do not use SANE (scanner support)
2051 --without-tiff do not use TIFF
2052 --without-v4l do not use v4l1 (v4l support)
2053 --without-xcomposite do not use the Xcomposite extension
2054 --without-xcursor do not use the Xcursor extension
2055 --without-xinerama do not use Xinerama (multi-monitor support)
2056 --without-xinput do not use the Xinput extension
2057 --without-xinput2 do not use the Xinput 2 extension
2058 --without-xml do not use XML
2059 --without-xrandr do not use Xrandr (resolution changes)
2060 --without-xrender do not use the Xrender extension
2061 --without-xshape do not use the Xshape extension
2062 --without-xshm do not use XShm (shared memory extension)
2063 --without-xslt do not use XSLT
2064 --without-xxf86vm do not use XFree video mode extension
2065 --without-zlib do not use Zlib (data compression)
2066 --with-wine-tools=DIR use Wine tools from directory DIR
2067 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2068 --with-x use the X Window System
2070 Some influential environment variables:
2071 CC C compiler command
2072 CFLAGS C compiler flags
2073 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2074 nonstandard directory <lib dir>
2075 LIBS libraries to pass to the linker, e.g. -l<library>
2076 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2077 you have headers in a nonstandard directory <include dir>
2078 CXX C++ compiler command
2079 CXXFLAGS C++ compiler flags
2081 XMKMF Path to xmkmf, Makefile generator for X Window System
2082 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2083 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2084 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2085 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2086 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2087 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2088 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2089 HAL_LIBS Linker flags for hal, overriding pkg-config
2091 C compiler flags for gnutls, overriding pkg-config
2092 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2093 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2094 SANE_LIBS Linker flags for libsane, overriding pkg-config
2096 C compiler flags for libgphoto2, overriding pkg-config
2098 Linker flags for libgphoto2, overriding pkg-config
2100 C compiler flags for libgphoto2_port, overriding pkg-config
2102 Linker flags for libgphoto2_port, overriding pkg-config
2104 C compiler flags for lcms2, overriding pkg-config
2105 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2107 C compiler flags for freetype2, overriding pkg-config
2109 Linker flags for freetype2, overriding pkg-config
2111 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2113 Linker flags for gstreamer-app-0.10, overriding pkg-config
2115 C compiler flags for capi20, overriding pkg-config
2116 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2117 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2118 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2119 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2120 PNG_LIBS Linker flags for libpng, overriding pkg-config
2121 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2122 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2124 C compiler flags for libmpg123, overriding pkg-config
2125 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2127 Use these variables to override the choices made by `configure' or to
help
2128 it to
find libraries and programs with nonstandard names
/locations.
2130 Report bugs to
<wine-devel@winehq.org
>.
2131 Wine home page
: <http
://www.winehq.org
>.
2136 if test "$ac_init_help" = "recursive"; then
2137 # If there are subdirs, report their specific --help.
2138 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2139 test -d "$ac_dir" ||
2140 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2145 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2147 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2148 # A ".." for each directory in $ac_dir_suffix.
2149 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2150 case $ac_top_builddir_sub in
2151 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2152 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2155 ac_abs_top_builddir
=$ac_pwd
2156 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2157 # for backward compatibility:
2158 ac_top_builddir
=$ac_top_build_prefix
2161 .
) # We are building in place.
2163 ac_top_srcdir
=$ac_top_builddir_sub
2164 ac_abs_top_srcdir
=$ac_pwd ;;
2165 [\\/]* | ?
:[\\/]* ) # Absolute name.
2166 ac_srcdir
=$srcdir$ac_dir_suffix;
2167 ac_top_srcdir
=$srcdir
2168 ac_abs_top_srcdir
=$srcdir ;;
2170 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2171 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2172 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2174 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2176 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2177 # Check for guested configure.
2178 if test -f "$ac_srcdir/configure.gnu"; then
2180 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2181 elif test -f "$ac_srcdir/configure"; then
2183 $SHELL "$ac_srcdir/configure" --help=recursive
2185 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2187 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2191 test -n "$ac_init_help" && exit $ac_status
2192 if $ac_init_version; then
2194 Wine configure
1.7.6
2195 generated by GNU Autoconf
2.69
2197 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2198 This configure
script is free software
; the Free Software Foundation
2199 gives unlimited permission to copy
, distribute and modify it.
2204 ## ------------------------ ##
2205 ## Autoconf initialization. ##
2206 ## ------------------------ ##
2208 # ac_fn_c_try_compile LINENO
2209 # --------------------------
2210 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2211 ac_fn_c_try_compile
()
2213 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2214 rm -f conftest.
$ac_objext
2215 if { { ac_try
="$ac_compile"
2217 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2218 *) ac_try_echo=$ac_try;;
2220 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2221 $as_echo "$ac_try_echo"; } >&5
2222 (eval "$ac_compile") 2>conftest.err
2224 if test -s conftest.err; then
2225 grep -v '^ *+' conftest.err >conftest.er1
2226 cat conftest.er1 >&5
2227 mv -f conftest.er1 conftest.err
2229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2230 test $ac_status = 0; } && {
2231 test -z "$ac_c_werror_flag" ||
2232 test ! -s conftest.err
2233 } && test -s conftest.$ac_objext; then :
2236 $as_echo "$as_me: failed program was:" >&5
2237 sed 's/^/| /' conftest.$ac_ext >&5
2241 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2242 as_fn_set_status $ac_retval
2244 } # ac_fn_c_try_compile
2246 # ac_fn_cxx_try_compile LINENO
2247 # ----------------------------
2248 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2249 ac_fn_cxx_try_compile ()
2251 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2252 rm -f conftest.$ac_objext
2253 if { { ac_try="$ac_compile"
2255 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2256 *) ac_try_echo
=$ac_try;;
2258 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2259 $as_echo "$ac_try_echo"; } >&5
2260 (eval "$ac_compile") 2>conftest.err
2262 if test -s conftest.err
; then
2263 grep -v '^ *+' conftest.err
>conftest.er1
2264 cat conftest.er1
>&5
2265 mv -f conftest.er1 conftest.err
2267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2268 test $ac_status = 0; } && {
2269 test -z "$ac_cxx_werror_flag" ||
2270 test ! -s conftest.err
2271 } && test -s conftest.
$ac_objext; then :
2274 $as_echo "$as_me: failed program was:" >&5
2275 sed 's/^/| /' conftest.
$ac_ext >&5
2279 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2280 as_fn_set_status
$ac_retval
2282 } # ac_fn_cxx_try_compile
2284 # ac_fn_c_try_link LINENO
2285 # -----------------------
2286 # Try to link conftest.$ac_ext, and return whether this succeeded.
2289 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2290 rm -f conftest.
$ac_objext conftest
$ac_exeext
2291 if { { ac_try
="$ac_link"
2293 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2294 *) ac_try_echo=$ac_try;;
2296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2297 $as_echo "$ac_try_echo"; } >&5
2298 (eval "$ac_link") 2>conftest.err
2300 if test -s conftest.err; then
2301 grep -v '^ *+' conftest.err >conftest.er1
2302 cat conftest.er1 >&5
2303 mv -f conftest.er1 conftest.err
2305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2306 test $ac_status = 0; } && {
2307 test -z "$ac_c_werror_flag" ||
2308 test ! -s conftest.err
2309 } && test -s conftest$ac_exeext && {
2310 test "$cross_compiling" = yes ||
2311 test -x conftest$ac_exeext
2315 $as_echo "$as_me: failed program was:" >&5
2316 sed 's/^/| /' conftest.$ac_ext >&5
2320 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2321 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2322 # interfere with the next link command; also delete a directory that is
2323 # left behind by Apple's compiler. We do this before executing the actions.
2324 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2325 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2326 as_fn_set_status $ac_retval
2328 } # ac_fn_c_try_link
2330 # ac_fn_c_try_cpp LINENO
2331 # ----------------------
2332 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2335 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2336 if { { ac_try="$ac_cpp conftest.$ac_ext"
2338 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2339 *) ac_try_echo
=$ac_try;;
2341 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2342 $as_echo "$ac_try_echo"; } >&5
2343 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2345 if test -s conftest.err
; then
2346 grep -v '^ *+' conftest.err
>conftest.er1
2347 cat conftest.er1
>&5
2348 mv -f conftest.er1 conftest.err
2350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2351 test $ac_status = 0; } > conftest.i
&& {
2352 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2353 test ! -s conftest.err
2357 $as_echo "$as_me: failed program was:" >&5
2358 sed 's/^/| /' conftest.
$ac_ext >&5
2362 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2363 as_fn_set_status
$ac_retval
2367 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2368 # -------------------------------------------------------
2369 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2370 # the include files in INCLUDES and setting the cache variable VAR
2372 ac_fn_c_check_header_mongrel
()
2374 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2375 if eval \
${$3+:} false
; then :
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2377 $as_echo_n "checking for $2... " >&6; }
2378 if eval \
${$3+:} false
; then :
2379 $as_echo_n "(cached) " >&6
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2383 $as_echo "$ac_res" >&6; }
2385 # Is the header compilable?
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2387 $as_echo_n "checking $2 usability... " >&6; }
2388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2389 /* end confdefs.h. */
2393 if ac_fn_c_try_compile
"$LINENO"; then :
2394 ac_header_compiler
=yes
2396 ac_header_compiler
=no
2398 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2400 $as_echo "$ac_header_compiler" >&6; }
2402 # Is the header present?
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2404 $as_echo_n "checking $2 presence... " >&6; }
2405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2406 /* end confdefs.h. */
2409 if ac_fn_c_try_cpp
"$LINENO"; then :
2410 ac_header_preproc
=yes
2412 ac_header_preproc
=no
2414 rm -f conftest.err conftest.i conftest.
$ac_ext
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2416 $as_echo "$ac_header_preproc" >&6; }
2418 # So? What about this header?
2419 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2422 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2424 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2428 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2430 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2432 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2434 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2436 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2437 ( $as_echo "## ------------------------------------ ##
2438 ## Report this to wine-devel@winehq.org ##
2439 ## ------------------------------------ ##"
2440 ) |
sed "s/^/$as_me: WARNING: /" >&2
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2444 $as_echo_n "checking for $2... " >&6; }
2445 if eval \
${$3+:} false
; then :
2446 $as_echo_n "(cached) " >&6
2448 eval "$3=\$ac_header_compiler"
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2452 $as_echo "$ac_res" >&6; }
2454 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2456 } # ac_fn_c_check_header_mongrel
2458 # ac_fn_c_try_run LINENO
2459 # ----------------------
2460 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2461 # that executables *can* be run.
2464 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2465 if { { ac_try
="$ac_link"
2467 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2468 *) ac_try_echo=$ac_try;;
2470 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2471 $as_echo "$ac_try_echo"; } >&5
2472 (eval "$ac_link") 2>&5
2474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2475 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2476 { { case "(($ac_try" in
2477 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2478 *) ac_try_echo
=$ac_try;;
2480 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2481 $as_echo "$ac_try_echo"; } >&5
2482 (eval "$ac_try") 2>&5
2484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2485 test $ac_status = 0; }; }; then :
2488 $as_echo "$as_me: program exited with status $ac_status" >&5
2489 $as_echo "$as_me: failed program was:" >&5
2490 sed 's/^/| /' conftest.
$ac_ext >&5
2492 ac_retval
=$ac_status
2494 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2495 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2496 as_fn_set_status
$ac_retval
2500 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2501 # -------------------------------------------------------
2502 # Tests whether HEADER exists and can be compiled using the include files in
2503 # INCLUDES, setting the cache variable VAR accordingly.
2504 ac_fn_c_check_header_compile
()
2506 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2508 $as_echo_n "checking for $2... " >&6; }
2509 if eval \
${$3+:} false
; then :
2510 $as_echo_n "(cached) " >&6
2512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2513 /* end confdefs.h. */
2517 if ac_fn_c_try_compile
"$LINENO"; then :
2522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2526 $as_echo "$ac_res" >&6; }
2527 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2529 } # ac_fn_c_check_header_compile
2531 # ac_fn_c_check_func LINENO FUNC VAR
2532 # ----------------------------------
2533 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2534 ac_fn_c_check_func
()
2536 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2538 $as_echo_n "checking for $2... " >&6; }
2539 if eval \
${$3+:} false
; then :
2540 $as_echo_n "(cached) " >&6
2542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2543 /* end confdefs.h. */
2544 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2546 #define $2 innocuous_$2
2548 /* System header to define __stub macros and hopefully few prototypes,
2549 which can conflict with char $2 (); below.
2550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2551 <limits.h> exists even on freestanding compilers. */
2554 # include <limits.h>
2556 # include <assert.h>
2561 /* Override any GCC internal prototype to avoid an error.
2562 Use char because int might match the return type of a GCC
2563 builtin and then its argument prototype would still apply. */
2568 /* The GNU C library defines this for functions which it implements
2569 to always fail with ENOSYS. Some functions are actually named
2570 something starting with __ and the normal name is an alias. */
2571 #if defined __stub_$2 || defined __stub___$2
2583 if ac_fn_c_try_link
"$LINENO"; then :
2588 rm -f core conftest.err conftest.
$ac_objext \
2589 conftest
$ac_exeext conftest.
$ac_ext
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2593 $as_echo "$ac_res" >&6; }
2594 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2596 } # ac_fn_c_check_func
2598 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2599 # ----------------------------------------------------
2600 # Tries to find if the field MEMBER exists in type AGGR, after including
2601 # INCLUDES, setting cache variable VAR accordingly.
2602 ac_fn_c_check_member
()
2604 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2606 $as_echo_n "checking for $2.$3... " >&6; }
2607 if eval \
${$4+:} false
; then :
2608 $as_echo_n "(cached) " >&6
2610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2611 /* end confdefs.h. */
2623 if ac_fn_c_try_compile
"$LINENO"; then :
2626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2627 /* end confdefs.h. */
2633 if (sizeof ac_aggr.$3)
2639 if ac_fn_c_try_compile
"$LINENO"; then :
2644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2646 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2650 $as_echo "$ac_res" >&6; }
2651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2653 } # ac_fn_c_check_member
2655 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2656 # -------------------------------------------
2657 # Tests whether TYPE exists after having included INCLUDES, setting cache
2658 # variable VAR accordingly.
2659 ac_fn_c_check_type
()
2661 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2663 $as_echo_n "checking for $2... " >&6; }
2664 if eval \
${$3+:} false
; then :
2665 $as_echo_n "(cached) " >&6
2668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2669 /* end confdefs.h. */
2680 if ac_fn_c_try_compile
"$LINENO"; then :
2681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2682 /* end confdefs.h. */
2693 if ac_fn_c_try_compile
"$LINENO"; then :
2698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2704 $as_echo "$ac_res" >&6; }
2705 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2707 } # ac_fn_c_check_type
2708 cat >config.log
<<_ACEOF
2709 This file contains any messages produced by compilers while
2710 running configure, to aid debugging if configure makes a mistake.
2712 It was created by Wine $as_me 1.7.6, which was
2713 generated by GNU Autoconf 2.69. Invocation command line was
2725 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2726 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2727 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2728 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2729 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2731 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2732 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2734 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2735 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2736 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2737 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2738 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2739 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2740 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2748 test -z "$as_dir" && as_dir
=.
2749 $as_echo "PATH: $as_dir"
2765 # Keep a trace of the command line.
2766 # Strip out --no-create and --no-recursion so they do not pile up.
2767 # Strip out --silent because we don't want to record it for future runs.
2768 # Also quote any args containing shell meta-characters.
2769 # Make two passes to allow for proper duplicate-argument suppression.
2773 ac_must_keep_next
=false
2779 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2780 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2781 |
-silent |
--silent |
--silen |
--sile |
--sil)
2784 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2787 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2789 as_fn_append ac_configure_args1
" '$ac_arg'"
2790 if test $ac_must_keep_next = true
; then
2791 ac_must_keep_next
=false
# Got value, back to normal.
2794 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2795 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2796 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2797 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2798 case "$ac_configure_args0 " in
2799 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2802 -* ) ac_must_keep_next
=true
;;
2805 as_fn_append ac_configure_args
" '$ac_arg'"
2810 { ac_configure_args0
=; unset ac_configure_args0
;}
2811 { ac_configure_args1
=; unset ac_configure_args1
;}
2813 # When interrupted or exit'd, cleanup temporary files, and complete
2814 # config.log. We remove comments because anyway the quotes in there
2815 # would cause problems or look ugly.
2816 # WARNING: Use '\'' to represent an apostrophe within the trap.
2817 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2818 trap 'exit_status=$?
2819 # Save into config.log some information that might help in debugging.
2823 $as_echo "## ---------------- ##
2824 ## Cache variables. ##
2825 ## ---------------- ##"
2827 # The following way of writing the cache mishandles newlines in values,
2829 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2830 eval ac_val=\$$ac_var
2834 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2835 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2838 _ | IFS | as_nl) ;; #(
2839 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2840 *) { eval $ac_var=; unset $ac_var;} ;;
2845 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2846 *${as_nl}ac_space=\ *)
2848 "s/'\''/'\''\\\\'\'''\''/g;
2849 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2852 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2859 $as_echo "## ----------------- ##
2860 ## Output variables. ##
2861 ## ----------------- ##"
2863 for ac_var in $ac_subst_vars
2865 eval ac_val=\$$ac_var
2867 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2869 $as_echo "$ac_var='\''$ac_val'\''"
2873 if test -n "$ac_subst_files"; then
2874 $as_echo "## ------------------- ##
2875 ## File substitutions. ##
2876 ## ------------------- ##"
2878 for ac_var
in $ac_subst_files
2880 eval ac_val
=\$
$ac_var
2882 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2884 $as_echo "$ac_var='\''$ac_val'\''"
2889 if test -s confdefs.h; then
2890 $as_echo "## ----------- ##
2897 test "$ac_signal" != 0 &&
2898 $as_echo "$as_me: caught signal $ac_signal"
2899 $as_echo "$as_me: exit $exit_status"
2901 rm -f core *.core core.conftest.* &&
2902 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2905 for ac_signal
in 1 2 13 15; do
2906 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2910 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2911 rm -f -r conftest
* confdefs.h
2913 $as_echo "/* confdefs.h */" > confdefs.h
2915 # Predefined preprocessor variables.
2917 cat >>confdefs.h
<<_ACEOF
2918 #define PACKAGE_NAME "$PACKAGE_NAME"
2921 cat >>confdefs.h
<<_ACEOF
2922 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2925 cat >>confdefs.h
<<_ACEOF
2926 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2929 cat >>confdefs.h
<<_ACEOF
2930 #define PACKAGE_STRING "$PACKAGE_STRING"
2933 cat >>confdefs.h
<<_ACEOF
2934 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2937 cat >>confdefs.h
<<_ACEOF
2938 #define PACKAGE_URL "$PACKAGE_URL"
2942 # Let the site file select an alternate cache file if it wants to.
2943 # Prefer an explicitly selected file to automatically selected ones.
2946 if test -n "$CONFIG_SITE"; then
2947 # We do not want a PATH search for config.site.
2948 case $CONFIG_SITE in #((
2949 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2950 */*) ac_site_file1
=$CONFIG_SITE;;
2951 *) ac_site_file1
=.
/$CONFIG_SITE;;
2953 elif test "x$prefix" != xNONE
; then
2954 ac_site_file1
=$prefix/share
/config.site
2955 ac_site_file2
=$prefix/etc
/config.site
2957 ac_site_file1
=$ac_default_prefix/share
/config.site
2958 ac_site_file2
=$ac_default_prefix/etc
/config.site
2960 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2962 test "x$ac_site_file" = xNONE
&& continue
2963 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2965 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2966 sed 's/^/| /' "$ac_site_file" >&5
2968 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2969 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2970 as_fn_error $?
"failed to load site script $ac_site_file
2971 See \`config.log' for more details" "$LINENO" 5; }
2975 if test -r "$cache_file"; then
2976 # Some versions of bash will fail to source /dev/null (special files
2977 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2978 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2980 $as_echo "$as_me: loading cache $cache_file" >&6;}
2982 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2983 *) .
"./$cache_file";;
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2988 $as_echo "$as_me: creating cache $cache_file" >&6;}
2992 # Check that the precious variables saved in the cache have kept the same
2994 ac_cache_corrupted
=false
2995 for ac_var
in $ac_precious_vars; do
2996 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2997 eval ac_new_set
=\
$ac_env_${ac_var}_set
2998 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2999 eval ac_new_val
=\
$ac_env_${ac_var}_value
3000 case $ac_old_set,$ac_new_set in
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3003 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3004 ac_cache_corrupted
=: ;;
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3007 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3008 ac_cache_corrupted
=: ;;
3011 if test "x$ac_old_val" != "x$ac_new_val"; then
3012 # differences in whitespace do not lead to failure.
3013 ac_old_val_w
=`echo x $ac_old_val`
3014 ac_new_val_w
=`echo x $ac_new_val`
3015 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3017 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3018 ac_cache_corrupted
=:
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3021 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3022 eval $ac_var=\
$ac_old_val
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3025 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3027 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3030 # Pass precious variables to config.status.
3031 if test "$ac_new_set" = set; then
3033 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3034 *) ac_arg
=$ac_var=$ac_new_val ;;
3036 case " $ac_configure_args " in
3037 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3038 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3042 if $ac_cache_corrupted; then
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3044 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3046 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3047 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3049 ## -------------------- ##
3050 ## Main body of script. ##
3051 ## -------------------- ##
3054 ac_cpp
='$CPP $CPPFLAGS'
3055 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3056 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3057 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3061 ac_config_headers
="$ac_config_headers include/config.h"
3064 for ac_dir
in tools
"$srcdir"/tools
; do
3065 if test -f "$ac_dir/install-sh"; then
3067 ac_install_sh
="$ac_aux_dir/install-sh -c"
3069 elif test -f "$ac_dir/install.sh"; then
3071 ac_install_sh
="$ac_aux_dir/install.sh -c"
3073 elif test -f "$ac_dir/shtool"; then
3075 ac_install_sh
="$ac_aux_dir/shtool install -c"
3079 if test -z "$ac_aux_dir"; then
3080 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3083 # These three variables are undocumented and unsupported,
3084 # and are intended to be withdrawn in a future Autoconf release.
3085 # They can cause serious problems if a builder's source tree is in a directory
3086 # whose full name contains unusual characters.
3087 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3088 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3089 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3095 # Check whether --enable-win16 was given.
3096 if test "${enable_win16+set}" = set; then :
3097 enableval
=$enable_win16;
3100 # Check whether --enable-win64 was given.
3101 if test "${enable_win64+set}" = set; then :
3102 enableval
=$enable_win64;
3105 # Check whether --enable-tests was given.
3106 if test "${enable_tests+set}" = set; then :
3107 enableval
=$enable_tests;
3110 # Check whether --enable-maintainer-mode was given.
3111 if test "${enable_maintainer_mode+set}" = set; then :
3112 enableval
=$enable_maintainer_mode;
3117 # Check whether --with-alsa was given.
3118 if test "${with_alsa+set}" = set; then :
3119 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3123 # Check whether --with-capi was given.
3124 if test "${with_capi+set}" = set; then :
3129 # Check whether --with-cms was given.
3130 if test "${with_cms+set}" = set; then :
3135 # Check whether --with-coreaudio was given.
3136 if test "${with_coreaudio+set}" = set; then :
3137 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3141 # Check whether --with-cups was given.
3142 if test "${with_cups+set}" = set; then :
3147 # Check whether --with-curses was given.
3148 if test "${with_curses+set}" = set; then :
3149 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3153 # Check whether --with-dbus was given.
3154 if test "${with_dbus+set}" = set; then :
3159 # Check whether --with-fontconfig was given.
3160 if test "${with_fontconfig+set}" = set; then :
3161 withval
=$with_fontconfig;
3165 # Check whether --with-freetype was given.
3166 if test "${with_freetype+set}" = set; then :
3167 withval
=$with_freetype;
3171 # Check whether --with-gettext was given.
3172 if test "${with_gettext+set}" = set; then :
3173 withval
=$with_gettext;
3177 # Check whether --with-gettextpo was given.
3178 if test "${with_gettextpo+set}" = set; then :
3179 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3183 # Check whether --with-gphoto was given.
3184 if test "${with_gphoto+set}" = set; then :
3185 withval
=$with_gphoto;
3189 # Check whether --with-glu was given.
3190 if test "${with_glu+set}" = set; then :
3195 # Check whether --with-gnutls was given.
3196 if test "${with_gnutls+set}" = set; then :
3197 withval
=$with_gnutls;
3201 # Check whether --with-gsm was given.
3202 if test "${with_gsm+set}" = set; then :
3203 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3207 # Check whether --with-gstreamer was given.
3208 if test "${with_gstreamer+set}" = set; then :
3209 withval
=$with_gstreamer;
3213 # Check whether --with-hal was given.
3214 if test "${with_hal+set}" = set; then :
3219 # Check whether --with-jpeg was given.
3220 if test "${with_jpeg+set}" = set; then :
3225 # Check whether --with-ldap was given.
3226 if test "${with_ldap+set}" = set; then :
3227 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3231 # Check whether --with-mpg123 was given.
3232 if test "${with_mpg123+set}" = set; then :
3233 withval
=$with_mpg123;
3237 # Check whether --with-netapi was given.
3238 if test "${with_netapi+set}" = set; then :
3239 withval
=$with_netapi;
3243 # Check whether --with-openal was given.
3244 if test "${with_openal+set}" = set; then :
3245 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3249 # Check whether --with-opencl was given.
3250 if test "${with_opencl+set}" = set; then :
3251 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3255 # Check whether --with-opengl was given.
3256 if test "${with_opengl+set}" = set; then :
3257 withval
=$with_opengl;
3261 # Check whether --with-osmesa was given.
3262 if test "${with_osmesa+set}" = set; then :
3263 withval
=$with_osmesa;
3267 # Check whether --with-oss was given.
3268 if test "${with_oss+set}" = set; then :
3273 # Check whether --with-png was given.
3274 if test "${with_png+set}" = set; then :
3279 # Check whether --with-pthread was given.
3280 if test "${with_pthread+set}" = set; then :
3281 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3285 # Check whether --with-sane was given.
3286 if test "${with_sane+set}" = set; then :
3291 # Check whether --with-tiff was given.
3292 if test "${with_tiff+set}" = set; then :
3297 # Check whether --with-v4l was given.
3298 if test "${with_v4l+set}" = set; then :
3303 # Check whether --with-xcomposite was given.
3304 if test "${with_xcomposite+set}" = set; then :
3305 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3309 # Check whether --with-xcursor was given.
3310 if test "${with_xcursor+set}" = set; then :
3311 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3315 # Check whether --with-xinerama was given.
3316 if test "${with_xinerama+set}" = set; then :
3317 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3321 # Check whether --with-xinput was given.
3322 if test "${with_xinput+set}" = set; then :
3323 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3327 # Check whether --with-xinput2 was given.
3328 if test "${with_xinput2+set}" = set; then :
3329 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3333 # Check whether --with-xml was given.
3334 if test "${with_xml+set}" = set; then :
3339 # Check whether --with-xrandr was given.
3340 if test "${with_xrandr+set}" = set; then :
3341 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3345 # Check whether --with-xrender was given.
3346 if test "${with_xrender+set}" = set; then :
3347 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3351 # Check whether --with-xshape was given.
3352 if test "${with_xshape+set}" = set; then :
3353 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3357 # Check whether --with-xshm was given.
3358 if test "${with_xshm+set}" = set; then :
3359 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3363 # Check whether --with-xslt was given.
3364 if test "${with_xslt+set}" = set; then :
3369 # Check whether --with-xxf86vm was given.
3370 if test "${with_xxf86vm+set}" = set; then :
3371 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
3375 # Check whether --with-zlib was given.
3376 if test "${with_zlib+set}" = set; then :
3377 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3382 # Check whether --with-wine-tools was given.
3383 if test "${with_wine_tools+set}" = set; then :
3384 withval
=$with_wine_tools;
3388 # Check whether --with-wine64 was given.
3389 if test "${with_wine64+set}" = set; then :
3390 withval
=$with_wine64;
3394 # Make sure we can run config.sub.
3395 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3396 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3399 $as_echo_n "checking build system type... " >&6; }
3400 if ${ac_cv_build+:} false
; then :
3401 $as_echo_n "(cached) " >&6
3403 ac_build_alias
=$build_alias
3404 test "x$ac_build_alias" = x
&&
3405 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3406 test "x$ac_build_alias" = x
&&
3407 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3408 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3409 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3413 $as_echo "$ac_cv_build" >&6; }
3414 case $ac_cv_build in
3416 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3419 ac_save_IFS
=$IFS; IFS
='-'
3425 # Remember, the first character of IFS is used to create $*,
3426 # except with old shells:
3429 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3433 $as_echo_n "checking host system type... " >&6; }
3434 if ${ac_cv_host+:} false
; then :
3435 $as_echo_n "(cached) " >&6
3437 if test "x$host_alias" = x
; then
3438 ac_cv_host
=$ac_cv_build
3440 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3441 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3446 $as_echo "$ac_cv_host" >&6; }
3449 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3452 ac_save_IFS
=$IFS; IFS
='-'
3458 # Remember, the first character of IFS is used to create $*,
3459 # except with old shells:
3462 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3468 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3469 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3470 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3476 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3478 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3479 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3480 $as_echo_n "(cached) " >&6
3482 cat >conftest.
make <<\_ACEOF
3485 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3487 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3488 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3490 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3492 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3496 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3498 $as_echo "yes" >&6; }
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3502 $as_echo "no" >&6; }
3503 SET_MAKE
="MAKE=${MAKE-make}"
3507 ac_cpp
='$CPP $CPPFLAGS'
3508 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3509 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3510 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3511 if test -n "$ac_tool_prefix"; then
3512 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3513 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3515 $as_echo_n "checking for $ac_word... " >&6; }
3516 if ${ac_cv_prog_CC+:} false
; then :
3517 $as_echo_n "(cached) " >&6
3519 if test -n "$CC"; then
3520 ac_cv_prog_CC
="$CC" # Let the user override the test.
3522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3526 test -z "$as_dir" && as_dir
=.
3527 for ac_exec_ext
in '' $ac_executable_extensions; do
3528 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3529 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3540 if test -n "$CC"; then
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3542 $as_echo "$CC" >&6; }
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3545 $as_echo "no" >&6; }
3550 if test -z "$ac_cv_prog_CC"; then
3552 # Extract the first word of "gcc", so it can be a program name with args.
3553 set dummy gcc
; ac_word
=$2
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3555 $as_echo_n "checking for $ac_word... " >&6; }
3556 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3557 $as_echo_n "(cached) " >&6
3559 if test -n "$ac_ct_CC"; then
3560 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3566 test -z "$as_dir" && as_dir
=.
3567 for ac_exec_ext
in '' $ac_executable_extensions; do
3568 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3569 ac_cv_prog_ac_ct_CC
="gcc"
3570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3579 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3580 if test -n "$ac_ct_CC"; then
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3582 $as_echo "$ac_ct_CC" >&6; }
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3585 $as_echo "no" >&6; }
3588 if test "x$ac_ct_CC" = x
; then
3591 case $cross_compiling:$ac_tool_warned in
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3594 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3595 ac_tool_warned
=yes ;;
3603 if test -z "$CC"; then
3604 if test -n "$ac_tool_prefix"; then
3605 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3606 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3608 $as_echo_n "checking for $ac_word... " >&6; }
3609 if ${ac_cv_prog_CC+:} false
; then :
3610 $as_echo_n "(cached) " >&6
3612 if test -n "$CC"; then
3613 ac_cv_prog_CC
="$CC" # Let the user override the test.
3615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3619 test -z "$as_dir" && as_dir
=.
3620 for ac_exec_ext
in '' $ac_executable_extensions; do
3621 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3622 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3633 if test -n "$CC"; then
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3635 $as_echo "$CC" >&6; }
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3638 $as_echo "no" >&6; }
3644 if test -z "$CC"; then
3645 # Extract the first word of "cc", so it can be a program name with args.
3646 set dummy cc
; ac_word
=$2
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3648 $as_echo_n "checking for $ac_word... " >&6; }
3649 if ${ac_cv_prog_CC+:} false
; then :
3650 $as_echo_n "(cached) " >&6
3652 if test -n "$CC"; then
3653 ac_cv_prog_CC
="$CC" # Let the user override the test.
3656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3660 test -z "$as_dir" && as_dir
=.
3661 for ac_exec_ext
in '' $ac_executable_extensions; do
3662 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3663 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3664 ac_prog_rejected
=yes
3668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3675 if test $ac_prog_rejected = yes; then
3676 # We found a bogon in the path, so make sure we never use it.
3677 set dummy
$ac_cv_prog_CC
3679 if test $# != 0; then
3680 # We chose a different compiler from the bogus one.
3681 # However, it has the same basename, so the bogon will be chosen
3682 # first if we set CC to just the basename; use the full file name.
3684 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3690 if test -n "$CC"; then
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3692 $as_echo "$CC" >&6; }
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3695 $as_echo "no" >&6; }
3700 if test -z "$CC"; then
3701 if test -n "$ac_tool_prefix"; then
3702 for ac_prog
in cl.exe
3704 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3705 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3707 $as_echo_n "checking for $ac_word... " >&6; }
3708 if ${ac_cv_prog_CC+:} false
; then :
3709 $as_echo_n "(cached) " >&6
3711 if test -n "$CC"; then
3712 ac_cv_prog_CC
="$CC" # Let the user override the test.
3714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3718 test -z "$as_dir" && as_dir
=.
3719 for ac_exec_ext
in '' $ac_executable_extensions; do
3720 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3721 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3732 if test -n "$CC"; then
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3734 $as_echo "$CC" >&6; }
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3737 $as_echo "no" >&6; }
3741 test -n "$CC" && break
3744 if test -z "$CC"; then
3746 for ac_prog
in cl.exe
3748 # Extract the first word of "$ac_prog", so it can be a program name with args.
3749 set dummy
$ac_prog; ac_word
=$2
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3751 $as_echo_n "checking for $ac_word... " >&6; }
3752 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3753 $as_echo_n "(cached) " >&6
3755 if test -n "$ac_ct_CC"; then
3756 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3762 test -z "$as_dir" && as_dir
=.
3763 for ac_exec_ext
in '' $ac_executable_extensions; do
3764 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3765 ac_cv_prog_ac_ct_CC
="$ac_prog"
3766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3775 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3776 if test -n "$ac_ct_CC"; then
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3778 $as_echo "$ac_ct_CC" >&6; }
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3781 $as_echo "no" >&6; }
3785 test -n "$ac_ct_CC" && break
3788 if test "x$ac_ct_CC" = x
; then
3791 case $cross_compiling:$ac_tool_warned in
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3794 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3795 ac_tool_warned
=yes ;;
3804 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3806 as_fn_error $?
"no acceptable C compiler found in \$PATH
3807 See \`config.log' for more details" "$LINENO" 5; }
3809 # Provide some information about the compiler.
3810 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3813 for ac_option
in --version -v -V -qversion; do
3814 { { ac_try
="$ac_compiler $ac_option >&5"
3816 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3817 *) ac_try_echo=$ac_try;;
3819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3820 $as_echo "$ac_try_echo"; } >&5
3821 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3823 if test -s conftest.err; then
3825 ... rest of stderr output deleted ...
3826 10q' conftest.err >conftest.er1
3827 cat conftest.er1 >&5
3829 rm -f conftest.er1 conftest.err
3830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3831 test $ac_status = 0; }
3834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3835 /* end confdefs.h. */
3845 ac_clean_files_save=$ac_clean_files
3846 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3847 # Try to create an executable without -o first, disregard a.out.
3848 # It will help us diagnose broken compilers, and finding out an intuition
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3851 $as_echo_n "checking whether the C compiler works... " >&6; }
3852 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3854 # The possible output files:
3855 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3858 for ac_file in $ac_files
3861 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3862 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3867 if { { ac_try="$ac_link_default"
3869 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3870 *) ac_try_echo
=$ac_try;;
3872 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3873 $as_echo "$ac_try_echo"; } >&5
3874 (eval "$ac_link_default") 2>&5
3876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3877 test $ac_status = 0; }; then :
3878 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3879 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3880 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3881 # so that the user can short-circuit this test for compilers unknown to
3883 for ac_file
in $ac_files ''
3885 test -f "$ac_file" ||
continue
3887 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3890 # We found the default executable, but exeext='' is most
3894 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3896 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3898 # We set ac_cv_exeext here because the later test for it is not
3899 # safe: cross compilers may not add the suffix if given an `-o'
3900 # argument, so we may need to know it at that point already.
3901 # Even if this section looks crufty: it has the advantage of
3908 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3913 if test -z "$ac_file"; then :
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3915 $as_echo "no" >&6; }
3916 $as_echo "$as_me: failed program was:" >&5
3917 sed 's/^/| /' conftest.
$ac_ext >&5
3919 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3920 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3921 as_fn_error
77 "C compiler cannot create executables
3922 See \`config.log' for more details" "$LINENO" 5; }
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3925 $as_echo "yes" >&6; }
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3928 $as_echo_n "checking for C compiler default output file name... " >&6; }
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3930 $as_echo "$ac_file" >&6; }
3931 ac_exeext
=$ac_cv_exeext
3933 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3934 ac_clean_files
=$ac_clean_files_save
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3936 $as_echo_n "checking for suffix of executables... " >&6; }
3937 if { { ac_try
="$ac_link"
3939 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3940 *) ac_try_echo=$ac_try;;
3942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3943 $as_echo "$ac_try_echo"; } >&5
3944 (eval "$ac_link") 2>&5
3946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3947 test $ac_status = 0; }; then :
3948 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3949 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3950 # work properly (i.e., refer to `conftest.exe'), while it won't with
3952 for ac_file
in conftest.exe conftest conftest.
*; do
3953 test -f "$ac_file" ||
continue
3955 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3956 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3962 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3964 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3965 See \`config.log' for more details" "$LINENO" 5; }
3967 rm -f conftest conftest
$ac_cv_exeext
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3969 $as_echo "$ac_cv_exeext" >&6; }
3971 rm -f conftest.
$ac_ext
3972 EXEEXT
=$ac_cv_exeext
3974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3975 /* end confdefs.h. */
3980 FILE *f = fopen ("conftest.out", "w");
3981 return ferror (f) || fclose (f) != 0;
3987 ac_clean_files
="$ac_clean_files conftest.out"
3988 # Check that the compiler produces executables we can run. If not, either
3989 # the compiler is broken, or we cross compile.
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3991 $as_echo_n "checking whether we are cross compiling... " >&6; }
3992 if test "$cross_compiling" != yes; then
3993 { { ac_try
="$ac_link"
3995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3996 *) ac_try_echo=$ac_try;;
3998 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3999 $as_echo "$ac_try_echo"; } >&5
4000 (eval "$ac_link") 2>&5
4002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4003 test $ac_status = 0; }
4004 if { ac_try='./conftest$ac_cv_exeext'
4005 { { case "(($ac_try" in
4006 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4007 *) ac_try_echo
=$ac_try;;
4009 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4010 $as_echo "$ac_try_echo"; } >&5
4011 (eval "$ac_try") 2>&5
4013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4014 test $ac_status = 0; }; }; then
4017 if test "$cross_compiling" = maybe
; then
4020 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4021 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4022 as_fn_error $?
"cannot run C compiled programs.
4023 If you meant to cross compile, use \`--host'.
4024 See \`config.log' for more details" "$LINENO" 5; }
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4029 $as_echo "$cross_compiling" >&6; }
4031 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4032 ac_clean_files
=$ac_clean_files_save
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4034 $as_echo_n "checking for suffix of object files... " >&6; }
4035 if ${ac_cv_objext+:} false
; then :
4036 $as_echo_n "(cached) " >&6
4038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4039 /* end confdefs.h. */
4049 rm -f conftest.o conftest.obj
4050 if { { ac_try
="$ac_compile"
4052 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4053 *) ac_try_echo=$ac_try;;
4055 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4056 $as_echo "$ac_try_echo"; } >&5
4057 (eval "$ac_compile") 2>&5
4059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4060 test $ac_status = 0; }; then :
4061 for ac_file in conftest.o conftest.obj conftest.*; do
4062 test -f "$ac_file" || continue;
4064 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4065 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4070 $as_echo "$as_me: failed program was:" >&5
4071 sed 's/^/| /' conftest.$ac_ext >&5
4073 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4074 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4075 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4076 See \
`config.log' for more details" "$LINENO" 5; }
4078 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4081 $as_echo "$ac_cv_objext" >&6; }
4082 OBJEXT=$ac_cv_objext
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4085 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4086 if ${ac_cv_c_compiler_gnu+:} false; then :
4087 $as_echo_n "(cached) " >&6
4089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4090 /* end confdefs.h. */
4103 if ac_fn_c_try_compile "$LINENO"; then :
4108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4109 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4113 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4114 if test $ac_compiler_gnu = yes; then
4119 ac_test_CFLAGS=${CFLAGS+set}
4120 ac_save_CFLAGS=$CFLAGS
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4122 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4123 if ${ac_cv_prog_cc_g+:} false; then :
4124 $as_echo_n "(cached) " >&6
4126 ac_save_c_werror_flag=$ac_c_werror_flag
4127 ac_c_werror_flag=yes
4130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4131 /* end confdefs.h. */
4141 if ac_fn_c_try_compile "$LINENO"; then :
4145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4146 /* end confdefs.h. */
4156 if ac_fn_c_try_compile "$LINENO"; then :
4159 ac_c_werror_flag=$ac_save_c_werror_flag
4161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4162 /* end confdefs.h. */
4172 if ac_fn_c_try_compile "$LINENO"; then :
4175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4180 ac_c_werror_flag=$ac_save_c_werror_flag
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4183 $as_echo "$ac_cv_prog_cc_g" >&6; }
4184 if test "$ac_test_CFLAGS" = set; then
4185 CFLAGS=$ac_save_CFLAGS
4186 elif test $ac_cv_prog_cc_g = yes; then
4187 if test "$GCC" = yes; then
4193 if test "$GCC" = yes; then
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4200 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4201 if ${ac_cv_prog_cc_c89+:} false; then :
4202 $as_echo_n "(cached) " >&6
4204 ac_cv_prog_cc_c89=no
4206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4207 /* end confdefs.h. */
4211 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4212 struct buf { int x; };
4213 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4214 static char *e (p, i)
4220 static char *f (char * (*g) (char **, int), char **p, ...)
4225 s = g (p, va_arg (v,int));
4230 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4231 function prototypes and stuff, but not '\xHH' hex character constants.
4232 These don't provoke an error unfortunately, instead are silently treated
4233 as 'x'. The following induces an error, until -std is added to get
4234 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4235 array size at least. It's necessary to write '\x00'==0 to get something
4236 that's true only with -std. */
4237 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4239 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4240 inside strings and character constants. */
4242 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4244 int test (int i, double x);
4245 struct s1 {int (*f) (int a);};
4246 struct s2 {int (*f) (double a);};
4247 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4253 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4258 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4259 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4261 CC="$ac_save_CC $ac_arg"
4262 if ac_fn_c_try_compile "$LINENO"; then :
4263 ac_cv_prog_cc_c89=$ac_arg
4265 rm -f core conftest.err conftest.$ac_objext
4266 test "x$ac_cv_prog_cc_c89" != "xno" && break
4268 rm -f conftest.$ac_ext
4273 case "x$ac_cv_prog_cc_c89" in
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4276 $as_echo "none needed" >&6; } ;;
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4279 $as_echo "unsupported" >&6; } ;;
4281 CC="$CC $ac_cv_prog_cc_c89"
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4283 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4285 if test "x$ac_cv_prog_cc_c89" != xno; then :
4290 ac_cpp='$CPP $CPPFLAGS'
4291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4296 ac_cpp='$CXXCPP $CPPFLAGS'
4297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4300 if test -z "$CXX"; then
4301 if test -n "$CCC"; then
4304 if test -n "$ac_tool_prefix"; then
4305 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4307 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4308 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4310 $as_echo_n "checking for $ac_word... " >&6; }
4311 if ${ac_cv_prog_CXX+:} false; then :
4312 $as_echo_n "(cached) " >&6
4314 if test -n "$CXX"; then
4315 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4321 test -z "$as_dir" && as_dir=.
4322 for ac_exec_ext in '' $ac_executable_extensions; do
4323 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4324 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4335 if test -n "$CXX"; then
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4337 $as_echo "$CXX" >&6; }
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4340 $as_echo "no" >&6; }
4344 test -n "$CXX" && break
4347 if test -z "$CXX"; then
4349 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4351 # Extract the first word of "$ac_prog", so it can be a program name with args.
4352 set dummy $ac_prog; ac_word=$2
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4354 $as_echo_n "checking for $ac_word... " >&6; }
4355 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4356 $as_echo_n "(cached) " >&6
4358 if test -n "$ac_ct_CXX"; then
4359 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4365 test -z "$as_dir" && as_dir=.
4366 for ac_exec_ext in '' $ac_executable_extensions; do
4367 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4368 ac_cv_prog_ac_ct_CXX="$ac_prog"
4369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4378 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4379 if test -n "$ac_ct_CXX"; then
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4381 $as_echo "$ac_ct_CXX" >&6; }
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4384 $as_echo "no" >&6; }
4388 test -n "$ac_ct_CXX" && break
4391 if test "x$ac_ct_CXX" = x; then
4394 case $cross_compiling:$ac_tool_warned in
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4397 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4398 ac_tool_warned=yes ;;
4406 # Provide some information about the compiler.
4407 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4410 for ac_option in --version -v -V -qversion; do
4411 { { ac_try="$ac_compiler $ac_option >&5"
4413 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4414 *) ac_try_echo
=$ac_try;;
4416 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4417 $as_echo "$ac_try_echo"; } >&5
4418 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4420 if test -s conftest.err
; then
4422 ... rest of stderr output deleted ...
4423 10q' conftest.err
>conftest.er1
4424 cat conftest.er1
>&5
4426 rm -f conftest.er1 conftest.err
4427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4428 test $ac_status = 0; }
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4432 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4433 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4434 $as_echo_n "(cached) " >&6
4436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4437 /* end confdefs.h. */
4450 if ac_fn_cxx_try_compile
"$LINENO"; then :
4455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4456 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4460 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4461 if test $ac_compiler_gnu = yes; then
4466 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4467 ac_save_CXXFLAGS
=$CXXFLAGS
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4469 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4470 if ${ac_cv_prog_cxx_g+:} false
; then :
4471 $as_echo_n "(cached) " >&6
4473 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4474 ac_cxx_werror_flag
=yes
4477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4478 /* end confdefs.h. */
4488 if ac_fn_cxx_try_compile
"$LINENO"; then :
4489 ac_cv_prog_cxx_g
=yes
4492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4493 /* end confdefs.h. */
4503 if ac_fn_cxx_try_compile
"$LINENO"; then :
4506 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4509 /* end confdefs.h. */
4519 if ac_fn_cxx_try_compile
"$LINENO"; then :
4520 ac_cv_prog_cxx_g
=yes
4522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4524 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4526 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4527 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4530 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4531 if test "$ac_test_CXXFLAGS" = set; then
4532 CXXFLAGS
=$ac_save_CXXFLAGS
4533 elif test $ac_cv_prog_cxx_g = yes; then
4534 if test "$GXX" = yes; then
4540 if test "$GXX" = yes; then
4547 ac_cpp
='$CPP $CPPFLAGS'
4548 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4549 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4550 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4552 if test -n "$ac_tool_prefix"; then
4553 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4554 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4556 $as_echo_n "checking for $ac_word... " >&6; }
4557 if ${ac_cv_prog_CPPBIN+:} false
; then :
4558 $as_echo_n "(cached) " >&6
4560 if test -n "$CPPBIN"; then
4561 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4567 test -z "$as_dir" && as_dir
=.
4568 for ac_exec_ext
in '' $ac_executable_extensions; do
4569 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4570 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4580 CPPBIN
=$ac_cv_prog_CPPBIN
4581 if test -n "$CPPBIN"; then
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4583 $as_echo "$CPPBIN" >&6; }
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4586 $as_echo "no" >&6; }
4591 if test -z "$ac_cv_prog_CPPBIN"; then
4592 ac_ct_CPPBIN
=$CPPBIN
4593 # Extract the first word of "cpp", so it can be a program name with args.
4594 set dummy cpp
; ac_word
=$2
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4596 $as_echo_n "checking for $ac_word... " >&6; }
4597 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4598 $as_echo_n "(cached) " >&6
4600 if test -n "$ac_ct_CPPBIN"; then
4601 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4607 test -z "$as_dir" && as_dir
=.
4608 for ac_exec_ext
in '' $ac_executable_extensions; do
4609 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4610 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4620 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4621 if test -n "$ac_ct_CPPBIN"; then
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4623 $as_echo "$ac_ct_CPPBIN" >&6; }
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4626 $as_echo "no" >&6; }
4629 if test "x$ac_ct_CPPBIN" = x
; then
4632 case $cross_compiling:$ac_tool_warned in
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4635 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4636 ac_tool_warned
=yes ;;
4638 CPPBIN
=$ac_ct_CPPBIN
4641 CPPBIN
="$ac_cv_prog_CPPBIN"
4645 cat >>confdefs.h
<<_ACEOF
4646 #define EXEEXT "$ac_exeext"
4652 if test "x$enable_win64" = "xyes"
4657 notice_platform
="64-bit "
4664 notice_platform
="32-bit "
4667 enable_win16
=${enable_win16:-yes}
4669 with_fontconfig
=${with_fontconfig:-no}
4672 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4677 $as_echo_n "checking whether $CC works... " >&6; }
4679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4680 /* end confdefs.h. */
4690 if ac_fn_c_try_link
"$LINENO"; then :
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4692 $as_echo "yes" >&6; }
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4695 $as_echo "no" >&6; }
4696 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4698 rm -f core conftest.err conftest.
$ac_objext \
4699 conftest
$ac_exeext conftest.
$ac_ext
4701 notice_platform
="32-bit "
4704 enable_win16
=${enable_win16:-yes}
4706 if test "x${GCC}" = "xyes"
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4709 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4711 /* end confdefs.h. */
4716 void func(__builtin_ms_va_list *args);
4721 if ac_fn_c_try_compile
"$LINENO"; then :
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4723 $as_echo "yes" >&6; }
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4726 $as_echo "no" >&6; }
4727 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4729 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4737 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4739 /* end confdefs.h. */
4740 int ac_test(int i) { return i; }
4744 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4749 if ac_fn_c_try_link
"$LINENO"; then :
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4751 $as_echo "yes" >&6; }
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4754 $as_echo "no" >&6; }
4755 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4757 rm -f core conftest.err conftest.
$ac_objext \
4758 conftest
$ac_exeext conftest.
$ac_ext
4759 CFLAGS
="$CFLAGS -marm"
4761 *-mingw32*|
*-cygwin*)
4762 enable_win16
=${enable_win16:-no}
4763 CFLAGS
="$CFLAGS -D_WIN32"
4766 enable_win16
=${enable_win16:-yes}
4770 enable_win16
=${enable_win16:-no}
4771 enable_win64
=${enable_win64:-no}
4773 enable_winetest
=${enable_winetest:-$enable_tests}
4775 if test -n "$with_wine64"
4777 if test "x$enable_win64" = "xyes"
4779 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4780 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4782 enable_fonts
=${enable_fonts:-no}
4783 enable_server
=${enable_server:-no}
4784 elif test "x$enable_win64" = "xyes"
4786 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4790 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4791 if ${wine_cv_toolsdir+:} false
; then :
4792 $as_echo_n "(cached) " >&6
4794 wine_cv_toolsdir
="$with_wine_tools"
4795 if test -z "$with_wine_tools"; then
4796 if test "$cross_compiling" = "yes"; then
4797 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4798 elif test -n "$with_wine64"; then
4799 wine_cv_toolsdir
="$with_wine64"
4802 if test -z "$wine_cv_toolsdir"; then
4803 wine_cv_toolsdir
="\$(top_builddir)"
4804 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4805 case "$wine_cv_toolsdir" in
4807 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4809 enable_tools
=${enable_tools:-no}
4811 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4815 $as_echo "$wine_cv_toolsdir" >&6; }
4816 TOOLSDIR
=$wine_cv_toolsdir
4818 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4820 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4826 # Extract the first word of "$ac_prog", so it can be a program name with args.
4827 set dummy
$ac_prog; ac_word
=$2
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4829 $as_echo_n "checking for $ac_word... " >&6; }
4830 if ${ac_cv_prog_FLEX+:} false
; then :
4831 $as_echo_n "(cached) " >&6
4833 if test -n "$FLEX"; then
4834 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4840 test -z "$as_dir" && as_dir
=.
4841 for ac_exec_ext
in '' $ac_executable_extensions; do
4842 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4843 ac_cv_prog_FLEX
="$ac_prog"
4844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4853 FLEX
=$ac_cv_prog_FLEX
4854 if test -n "$FLEX"; then
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4856 $as_echo "$FLEX" >&6; }
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4859 $as_echo "no" >&6; }
4863 test -n "$FLEX" && break
4865 test -n "$FLEX" || FLEX
="none"
4867 if test "$FLEX" = "none"
4869 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4872 $as_echo_n "checking whether flex is recent enough... " >&6; }
4873 cat >conftest.l
<<EOF
4875 #include "prediluvian.h"
4879 if $FLEX -t conftest.l
>/dev
/null
2>&5
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4882 $as_echo "yes" >&6; }
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4885 $as_echo "no" >&6; }
4886 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4889 for ac_prog
in bison
4891 # Extract the first word of "$ac_prog", so it can be a program name with args.
4892 set dummy
$ac_prog; ac_word
=$2
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4894 $as_echo_n "checking for $ac_word... " >&6; }
4895 if ${ac_cv_prog_BISON+:} false
; then :
4896 $as_echo_n "(cached) " >&6
4898 if test -n "$BISON"; then
4899 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4905 test -z "$as_dir" && as_dir
=.
4906 for ac_exec_ext
in '' $ac_executable_extensions; do
4907 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4908 ac_cv_prog_BISON
="$ac_prog"
4909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4918 BISON
=$ac_cv_prog_BISON
4919 if test -n "$BISON"; then
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4921 $as_echo "$BISON" >&6; }
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4924 $as_echo "no" >&6; }
4928 test -n "$BISON" && break
4930 test -n "$BISON" || BISON
="none"
4932 if test "$BISON" = "none"
4934 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4937 if test -n "$ac_tool_prefix"; then
4938 for ac_prog
in ar gar
4940 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4941 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4943 $as_echo_n "checking for $ac_word... " >&6; }
4944 if ${ac_cv_prog_AR+:} false
; then :
4945 $as_echo_n "(cached) " >&6
4947 if test -n "$AR"; then
4948 ac_cv_prog_AR
="$AR" # Let the user override the test.
4950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4954 test -z "$as_dir" && as_dir
=.
4955 for ac_exec_ext
in '' $ac_executable_extensions; do
4956 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4957 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4968 if test -n "$AR"; then
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4970 $as_echo "$AR" >&6; }
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4973 $as_echo "no" >&6; }
4977 test -n "$AR" && break
4980 if test -z "$AR"; then
4982 for ac_prog
in ar gar
4984 # Extract the first word of "$ac_prog", so it can be a program name with args.
4985 set dummy
$ac_prog; ac_word
=$2
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4987 $as_echo_n "checking for $ac_word... " >&6; }
4988 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4989 $as_echo_n "(cached) " >&6
4991 if test -n "$ac_ct_AR"; then
4992 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4998 test -z "$as_dir" && as_dir
=.
4999 for ac_exec_ext
in '' $ac_executable_extensions; do
5000 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5001 ac_cv_prog_ac_ct_AR
="$ac_prog"
5002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5011 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5012 if test -n "$ac_ct_AR"; then
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5014 $as_echo "$ac_ct_AR" >&6; }
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5017 $as_echo "no" >&6; }
5021 test -n "$ac_ct_AR" && break
5024 if test "x$ac_ct_AR" = x
; then
5027 case $cross_compiling:$ac_tool_warned in
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5031 ac_tool_warned
=yes ;;
5037 if test -n "$ac_tool_prefix"; then
5038 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5039 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5041 $as_echo_n "checking for $ac_word... " >&6; }
5042 if ${ac_cv_prog_STRIP+:} false
; then :
5043 $as_echo_n "(cached) " >&6
5045 if test -n "$STRIP"; then
5046 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5052 test -z "$as_dir" && as_dir
=.
5053 for ac_exec_ext
in '' $ac_executable_extensions; do
5054 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5055 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5065 STRIP
=$ac_cv_prog_STRIP
5066 if test -n "$STRIP"; then
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5068 $as_echo "$STRIP" >&6; }
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5071 $as_echo "no" >&6; }
5076 if test -z "$ac_cv_prog_STRIP"; then
5078 # Extract the first word of "strip", so it can be a program name with args.
5079 set dummy strip
; ac_word
=$2
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5081 $as_echo_n "checking for $ac_word... " >&6; }
5082 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5083 $as_echo_n "(cached) " >&6
5085 if test -n "$ac_ct_STRIP"; then
5086 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5092 test -z "$as_dir" && as_dir
=.
5093 for ac_exec_ext
in '' $ac_executable_extensions; do
5094 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5095 ac_cv_prog_ac_ct_STRIP
="strip"
5096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5105 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5106 if test -n "$ac_ct_STRIP"; then
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5108 $as_echo "$ac_ct_STRIP" >&6; }
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5111 $as_echo "no" >&6; }
5114 if test "x$ac_ct_STRIP" = x
; then
5117 case $cross_compiling:$ac_tool_warned in
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5121 ac_tool_warned
=yes ;;
5126 STRIP
="$ac_cv_prog_STRIP"
5131 if test -n "$ac_tool_prefix"; then
5132 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5133 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5135 $as_echo_n "checking for $ac_word... " >&6; }
5136 if ${ac_cv_prog_RANLIB+:} false
; then :
5137 $as_echo_n "(cached) " >&6
5139 if test -n "$RANLIB"; then
5140 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5146 test -z "$as_dir" && as_dir
=.
5147 for ac_exec_ext
in '' $ac_executable_extensions; do
5148 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5149 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5159 RANLIB
=$ac_cv_prog_RANLIB
5160 if test -n "$RANLIB"; then
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5162 $as_echo "$RANLIB" >&6; }
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5165 $as_echo "no" >&6; }
5170 if test -z "$ac_cv_prog_RANLIB"; then
5171 ac_ct_RANLIB
=$RANLIB
5172 # Extract the first word of "ranlib", so it can be a program name with args.
5173 set dummy ranlib
; ac_word
=$2
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5175 $as_echo_n "checking for $ac_word... " >&6; }
5176 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5177 $as_echo_n "(cached) " >&6
5179 if test -n "$ac_ct_RANLIB"; then
5180 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5186 test -z "$as_dir" && as_dir
=.
5187 for ac_exec_ext
in '' $ac_executable_extensions; do
5188 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5189 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5199 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5200 if test -n "$ac_ct_RANLIB"; then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5202 $as_echo "$ac_ct_RANLIB" >&6; }
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 $as_echo "no" >&6; }
5208 if test "x$ac_ct_RANLIB" = x
; then
5211 case $cross_compiling:$ac_tool_warned in
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5215 ac_tool_warned
=yes ;;
5217 RANLIB
=$ac_ct_RANLIB
5220 RANLIB
="$ac_cv_prog_RANLIB"
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5224 $as_echo_n "checking whether ln -s works... " >&6; }
5226 if test "$LN_S" = "ln -s"; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5228 $as_echo "yes" >&6; }
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5231 $as_echo "no, using $LN_S" >&6; }
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5235 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5236 if ${ac_cv_path_GREP+:} false
; then :
5237 $as_echo_n "(cached) " >&6
5239 if test -z "$GREP"; then
5240 ac_path_GREP_found
=false
5241 # Loop through the user's path and test for each of PROGNAME-LIST
5242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5243 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5246 test -z "$as_dir" && as_dir
=.
5247 for ac_prog
in grep ggrep
; do
5248 for ac_exec_ext
in '' $ac_executable_extensions; do
5249 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5250 as_fn_executable_p
"$ac_path_GREP" ||
continue
5251 # Check for GNU ac_path_GREP and select it if it is found.
5252 # Check for GNU $ac_path_GREP
5253 case `"$ac_path_GREP" --version 2>&1` in
5255 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5258 $as_echo_n 0123456789 >"conftest.in"
5261 cat "conftest.in" "conftest.in" >"conftest.tmp"
5262 mv "conftest.tmp" "conftest.in"
5263 cp "conftest.in" "conftest.nl"
5264 $as_echo 'GREP' >> "conftest.nl"
5265 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5266 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5267 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5268 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5269 # Best one so far, save it but keep looking for a better one
5270 ac_cv_path_GREP
="$ac_path_GREP"
5271 ac_path_GREP_max
=$ac_count
5273 # 10*(2^10) chars as input seems more than enough
5274 test $ac_count -gt 10 && break
5276 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5279 $ac_path_GREP_found && break 3
5284 if test -z "$ac_cv_path_GREP"; then
5285 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5288 ac_cv_path_GREP
=$GREP
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5293 $as_echo "$ac_cv_path_GREP" >&6; }
5294 GREP
="$ac_cv_path_GREP"
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5298 $as_echo_n "checking for egrep... " >&6; }
5299 if ${ac_cv_path_EGREP+:} false
; then :
5300 $as_echo_n "(cached) " >&6
5302 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5303 then ac_cv_path_EGREP
="$GREP -E"
5305 if test -z "$EGREP"; then
5306 ac_path_EGREP_found
=false
5307 # Loop through the user's path and test for each of PROGNAME-LIST
5308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5309 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5312 test -z "$as_dir" && as_dir
=.
5313 for ac_prog
in egrep; do
5314 for ac_exec_ext
in '' $ac_executable_extensions; do
5315 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5316 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5317 # Check for GNU ac_path_EGREP and select it if it is found.
5318 # Check for GNU $ac_path_EGREP
5319 case `"$ac_path_EGREP" --version 2>&1` in
5321 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5324 $as_echo_n 0123456789 >"conftest.in"
5327 cat "conftest.in" "conftest.in" >"conftest.tmp"
5328 mv "conftest.tmp" "conftest.in"
5329 cp "conftest.in" "conftest.nl"
5330 $as_echo 'EGREP' >> "conftest.nl"
5331 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5332 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5333 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5334 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5335 # Best one so far, save it but keep looking for a better one
5336 ac_cv_path_EGREP
="$ac_path_EGREP"
5337 ac_path_EGREP_max
=$ac_count
5339 # 10*(2^10) chars as input seems more than enough
5340 test $ac_count -gt 10 && break
5342 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5345 $ac_path_EGREP_found && break 3
5350 if test -z "$ac_cv_path_EGREP"; then
5351 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5354 ac_cv_path_EGREP
=$EGREP
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5360 $as_echo "$ac_cv_path_EGREP" >&6; }
5361 EGREP
="$ac_cv_path_EGREP"
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5365 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5366 if test -z "$MKDIR_P"; then
5367 if ${ac_cv_path_mkdir+:} false
; then :
5368 $as_echo_n "(cached) " >&6
5370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5371 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
5374 test -z "$as_dir" && as_dir
=.
5375 for ac_prog
in mkdir gmkdir
; do
5376 for ac_exec_ext
in '' $ac_executable_extensions; do
5377 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
5378 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5379 'mkdir (GNU coreutils) '* | \
5380 'mkdir (coreutils) '* | \
5381 'mkdir (fileutils) '4.1*)
5382 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
5392 test -d .
/--version && rmdir .
/--version
5393 if test "${ac_cv_path_mkdir+set}" = set; then
5394 MKDIR_P
="$ac_cv_path_mkdir -p"
5396 # As a last resort, use the slow shell script. Don't cache a
5397 # value for MKDIR_P within a source directory, because that will
5398 # break other packages using the cache if that directory is
5399 # removed, or if the value is a relative name.
5400 MKDIR_P
="$ac_install_sh -d"
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5404 $as_echo "$MKDIR_P" >&6; }
5406 # Extract the first word of "ldconfig", so it can be a program name with args.
5407 set dummy ldconfig
; ac_word
=$2
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5409 $as_echo_n "checking for $ac_word... " >&6; }
5410 if ${ac_cv_path_LDCONFIG+:} false
; then :
5411 $as_echo_n "(cached) " >&6
5415 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5419 for as_dir
in /sbin
/usr
/sbin
$PATH
5422 test -z "$as_dir" && as_dir
=.
5423 for ac_exec_ext
in '' $ac_executable_extensions; do
5424 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5425 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5433 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5437 LDCONFIG
=$ac_cv_path_LDCONFIG
5438 if test -n "$LDCONFIG"; then
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5440 $as_echo "$LDCONFIG" >&6; }
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5443 $as_echo "no" >&6; }
5448 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
="STRIPPROG=\"\$(STRIP)\" \$(top_srcdir)/tools/install-sh"
5449 # Find a good install program. We prefer a C program (faster),
5450 # so one script is as good as another. But avoid the broken or
5451 # incompatible versions:
5452 # SysV /etc/install, /usr/sbin/install
5453 # SunOS /usr/etc/install
5454 # IRIX /sbin/install
5456 # AmigaOS /C/install, which installs bootblocks on floppy discs
5457 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5458 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5459 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5460 # OS/2's system install, which has a completely different semantic
5461 # ./install, which can be erroneously created by make from ./install.sh.
5462 # Reject install programs that cannot install multiple files.
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5464 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5465 if test -z "$INSTALL"; then
5466 if ${ac_cv_path_install+:} false
; then :
5467 $as_echo_n "(cached) " >&6
5469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5473 test -z "$as_dir" && as_dir
=.
5474 # Account for people who put trailing slashes in PATH elements.
5475 case $as_dir/ in #((
5476 .
/ | .
// |
/[cC
]/* | \
5477 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5478 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
5481 # OSF1 and SCO ODT 3.0 have their own names for install.
5482 # Don't use installbsd from OSF since it installs stuff as root
5484 for ac_prog
in ginstall scoinst
install; do
5485 for ac_exec_ext
in '' $ac_executable_extensions; do
5486 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
5487 if test $ac_prog = install &&
5488 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5489 # AIX install. It has an incompatible calling convention.
5491 elif test $ac_prog = install &&
5492 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5493 # program-specific install script used by HP pwplus--don't use.
5496 rm -rf conftest.one conftest.two conftest.dir
5497 echo one
> conftest.one
5498 echo two
> conftest.two
5500 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
5501 test -s conftest.one
&& test -s conftest.two
&&
5502 test -s conftest.dir
/conftest.one
&&
5503 test -s conftest.dir
/conftest.two
5505 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5518 rm -rf conftest.one conftest.two conftest.dir
5521 if test "${ac_cv_path_install+set}" = set; then
5522 INSTALL
=$ac_cv_path_install
5524 # As a last resort, use the slow shell script. Don't cache a
5525 # value for INSTALL within a source directory, because that will
5526 # break other packages using the cache if that directory is
5527 # removed, or if the value is a relative name.
5528 INSTALL
=$ac_install_sh
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
5532 $as_echo "$INSTALL" >&6; }
5534 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5535 # It thinks the first close brace ends the variable substitution.
5536 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5538 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5540 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5543 for ac_prog
in fontforge
5545 # Extract the first word of "$ac_prog", so it can be a program name with args.
5546 set dummy
$ac_prog; ac_word
=$2
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5548 $as_echo_n "checking for $ac_word... " >&6; }
5549 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5550 $as_echo_n "(cached) " >&6
5552 if test -n "$FONTFORGE"; then
5553 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5559 test -z "$as_dir" && as_dir
=.
5560 for ac_exec_ext
in '' $ac_executable_extensions; do
5561 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5562 ac_cv_prog_FONTFORGE
="$ac_prog"
5563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5572 FONTFORGE
=$ac_cv_prog_FONTFORGE
5573 if test -n "$FONTFORGE"; then
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5575 $as_echo "$FONTFORGE" >&6; }
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5578 $as_echo "no" >&6; }
5582 test -n "$FONTFORGE" && break
5584 test -n "$FONTFORGE" || FONTFORGE
="false"
5588 # Extract the first word of "$ac_prog", so it can be a program name with args.
5589 set dummy
$ac_prog; ac_word
=$2
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5591 $as_echo_n "checking for $ac_word... " >&6; }
5592 if ${ac_cv_prog_RSVG+:} false
; then :
5593 $as_echo_n "(cached) " >&6
5595 if test -n "$RSVG"; then
5596 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5602 test -z "$as_dir" && as_dir
=.
5603 for ac_exec_ext
in '' $ac_executable_extensions; do
5604 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5605 ac_cv_prog_RSVG
="$ac_prog"
5606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5615 RSVG
=$ac_cv_prog_RSVG
5616 if test -n "$RSVG"; then
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5618 $as_echo "$RSVG" >&6; }
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5621 $as_echo "no" >&6; }
5625 test -n "$RSVG" && break
5627 test -n "$RSVG" || RSVG
="false"
5629 for ac_prog
in convert
5631 # Extract the first word of "$ac_prog", so it can be a program name with args.
5632 set dummy
$ac_prog; ac_word
=$2
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5634 $as_echo_n "checking for $ac_word... " >&6; }
5635 if ${ac_cv_prog_CONVERT+:} false
; then :
5636 $as_echo_n "(cached) " >&6
5638 if test -n "$CONVERT"; then
5639 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5645 test -z "$as_dir" && as_dir
=.
5646 for ac_exec_ext
in '' $ac_executable_extensions; do
5647 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5648 ac_cv_prog_CONVERT
="$ac_prog"
5649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5658 CONVERT
=$ac_cv_prog_CONVERT
5659 if test -n "$CONVERT"; then
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5661 $as_echo "$CONVERT" >&6; }
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5664 $as_echo "no" >&6; }
5668 test -n "$CONVERT" && break
5670 test -n "$CONVERT" || CONVERT
="false"
5672 for ac_prog
in icotool
5674 # Extract the first word of "$ac_prog", so it can be a program name with args.
5675 set dummy
$ac_prog; ac_word
=$2
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5677 $as_echo_n "checking for $ac_word... " >&6; }
5678 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5679 $as_echo_n "(cached) " >&6
5681 if test -n "$ICOTOOL"; then
5682 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5688 test -z "$as_dir" && as_dir
=.
5689 for ac_exec_ext
in '' $ac_executable_extensions; do
5690 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5691 ac_cv_prog_ICOTOOL
="$ac_prog"
5692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5701 ICOTOOL
=$ac_cv_prog_ICOTOOL
5702 if test -n "$ICOTOOL"; then
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5704 $as_echo "$ICOTOOL" >&6; }
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5707 $as_echo "no" >&6; }
5711 test -n "$ICOTOOL" && break
5713 test -n "$ICOTOOL" || ICOTOOL
="false"
5715 for ac_prog
in msgfmt
5717 # Extract the first word of "$ac_prog", so it can be a program name with args.
5718 set dummy
$ac_prog; ac_word
=$2
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5720 $as_echo_n "checking for $ac_word... " >&6; }
5721 if ${ac_cv_prog_MSGFMT+:} false
; then :
5722 $as_echo_n "(cached) " >&6
5724 if test -n "$MSGFMT"; then
5725 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5731 test -z "$as_dir" && as_dir
=.
5732 for ac_exec_ext
in '' $ac_executable_extensions; do
5733 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5734 ac_cv_prog_MSGFMT
="$ac_prog"
5735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5744 MSGFMT
=$ac_cv_prog_MSGFMT
5745 if test -n "$MSGFMT"; then
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5747 $as_echo "$MSGFMT" >&6; }
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5750 $as_echo "no" >&6; }
5754 test -n "$MSGFMT" && break
5756 test -n "$MSGFMT" || MSGFMT
="false"
5758 if test -n "$ac_tool_prefix"; then
5759 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5760 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5762 $as_echo_n "checking for $ac_word... " >&6; }
5763 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5764 $as_echo_n "(cached) " >&6
5766 if test -n "$PKG_CONFIG"; then
5767 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5773 test -z "$as_dir" && as_dir
=.
5774 for ac_exec_ext
in '' $ac_executable_extensions; do
5775 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5776 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5786 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5787 if test -n "$PKG_CONFIG"; then
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5789 $as_echo "$PKG_CONFIG" >&6; }
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5792 $as_echo "no" >&6; }
5797 if test -n "$ac_cv_prog_PKG_CONFIG"; then
5798 PKG_CONFIG
="$ac_cv_prog_PKG_CONFIG"
5799 elif test "$cross_compiling" != yes; then
5800 unset ac_cv_prog_PKG_CONFIG
5801 # Extract the first word of "pkg-config", so it can be a program name with args.
5802 set dummy pkg-config
; ac_word
=$2
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5804 $as_echo_n "checking for $ac_word... " >&6; }
5805 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5806 $as_echo_n "(cached) " >&6
5808 if test -n "$PKG_CONFIG"; then
5809 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5815 test -z "$as_dir" && as_dir
=.
5816 for ac_exec_ext
in '' $ac_executable_extensions; do
5817 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5818 ac_cv_prog_PKG_CONFIG
="pkg-config"
5819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5828 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5829 if test -n "$PKG_CONFIG"; then
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5831 $as_echo "$PKG_CONFIG" >&6; }
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5834 $as_echo "no" >&6; }
5840 if test "x$enable_maintainer_mode" != "xyes"
5845 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5846 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5847 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5849 if test "$CONVERT" = false
5851 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5854 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5855 convert_version
=`convert --version | head -n1`
5856 if test "x$convert_version" != "x"
5858 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5859 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5860 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5865 if test "$CONVERT" = false
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5868 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5869 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5872 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5876 if test "$ICOTOOL" = false
5878 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5881 $as_echo_n "checking for recent enough icotool... " >&6; }
5882 icotool_version
=`icotool --version | head -n1`
5883 if test "x$icotool_version" != "x"
5885 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5886 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5887 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5890 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5893 if test "$ICOTOOL" = false
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5896 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5897 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5900 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5906 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5909 test "x$with_gettext" != xno || MSGFMT
=false
5910 if test "$MSGFMT" != "false"
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5913 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5914 cat >conftest.po
<<EOF
5920 if $MSGFMT -o /dev
/null conftest.po
2>&5
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5923 $as_echo "yes" >&6; }
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5926 $as_echo "no" >&6; }
5930 if test "$MSGFMT" = false
; then :
5931 case "x$with_gettext" in
5932 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5934 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5935 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5941 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5942 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5943 $as_echo_n "(cached) " >&6
5945 ac_check_lib_save_LIBS
=$LIBS
5947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5948 /* end confdefs.h. */
5950 /* Override any GCC internal prototype to avoid an error.
5951 Use char because int might match the return type of a GCC
5952 builtin and then its argument prototype would still apply. */
5956 char i386_set_ldt ();
5960 return i386_set_ldt ();
5965 if ac_fn_c_try_link
"$LINENO"; then :
5966 ac_cv_lib_i386_i386_set_ldt
=yes
5968 ac_cv_lib_i386_i386_set_ldt
=no
5970 rm -f core conftest.err conftest.
$ac_objext \
5971 conftest
$ac_exeext conftest.
$ac_ext
5972 LIBS
=$ac_check_lib_save_LIBS
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5975 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5976 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5977 cat >>confdefs.h
<<_ACEOF
5978 #define HAVE_LIBI386 1
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5986 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5987 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5988 $as_echo_n "(cached) " >&6
5990 ac_check_lib_save_LIBS
=$LIBS
5991 LIBS
="-lossaudio $LIBS"
5992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5993 /* end confdefs.h. */
5995 /* Override any GCC internal prototype to avoid an error.
5996 Use char because int might match the return type of a GCC
5997 builtin and then its argument prototype would still apply. */
6005 return _oss_ioctl ();
6010 if ac_fn_c_try_link
"$LINENO"; then :
6011 ac_cv_lib_ossaudio__oss_ioctl
=yes
6013 ac_cv_lib_ossaudio__oss_ioctl
=no
6015 rm -f core conftest.err conftest.
$ac_objext \
6016 conftest
$ac_exeext conftest.
$ac_ext
6017 LIBS
=$ac_check_lib_save_LIBS
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6020 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6021 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6022 cat >>confdefs.h
<<_ACEOF
6023 #define HAVE_LIBOSSAUDIO 1
6026 LIBS
="-lossaudio $LIBS"
6037 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h
=no
6039 # Check whether --enable-largefile was given.
6040 if test "${enable_largefile+set}" = set; then :
6041 enableval
=$enable_largefile;
6044 if test "$enable_largefile" != no
; then
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6047 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6048 if ${ac_cv_sys_largefile_CC+:} false
; then :
6049 $as_echo_n "(cached) " >&6
6051 ac_cv_sys_largefile_CC
=no
6052 if test "$GCC" != yes; then
6055 # IRIX 6.2 and later do not support large files by default,
6056 # so use the C compiler's -n32 option if that helps.
6057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6058 /* end confdefs.h. */
6059 #include <sys/types.h>
6060 /* Check that off_t can represent 2**63 - 1 correctly.
6061 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6062 since some C++ compilers masquerading as C compilers
6063 incorrectly reject 9223372036854775807. */
6064 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6065 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6066 && LARGE_OFF_T % 2147483647 == 1)
6076 if ac_fn_c_try_compile
"$LINENO"; then :
6079 rm -f core conftest.err conftest.
$ac_objext
6081 if ac_fn_c_try_compile
"$LINENO"; then :
6082 ac_cv_sys_largefile_CC
=' -n32'; break
6084 rm -f core conftest.err conftest.
$ac_objext
6088 rm -f conftest.
$ac_ext
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6092 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6093 if test "$ac_cv_sys_largefile_CC" != no
; then
6094 CC
=$CC$ac_cv_sys_largefile_CC
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6098 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6099 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6100 $as_echo_n "(cached) " >&6
6103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6104 /* end confdefs.h. */
6105 #include <sys/types.h>
6106 /* Check that off_t can represent 2**63 - 1 correctly.
6107 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6108 since some C++ compilers masquerading as C compilers
6109 incorrectly reject 9223372036854775807. */
6110 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6111 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6112 && LARGE_OFF_T % 2147483647 == 1)
6122 if ac_fn_c_try_compile
"$LINENO"; then :
6123 ac_cv_sys_file_offset_bits
=no
; break
6125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6127 /* end confdefs.h. */
6128 #define _FILE_OFFSET_BITS 64
6129 #include <sys/types.h>
6130 /* Check that off_t can represent 2**63 - 1 correctly.
6131 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6132 since some C++ compilers masquerading as C compilers
6133 incorrectly reject 9223372036854775807. */
6134 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6135 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6136 && LARGE_OFF_T % 2147483647 == 1)
6146 if ac_fn_c_try_compile
"$LINENO"; then :
6147 ac_cv_sys_file_offset_bits
=64; break
6149 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6150 ac_cv_sys_file_offset_bits
=unknown
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6155 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6156 case $ac_cv_sys_file_offset_bits in #(
6159 cat >>confdefs.h
<<_ACEOF
6160 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6165 if test $ac_cv_sys_file_offset_bits = unknown
; then
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6167 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6168 if ${ac_cv_sys_large_files+:} false
; then :
6169 $as_echo_n "(cached) " >&6
6172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6173 /* end confdefs.h. */
6174 #include <sys/types.h>
6175 /* Check that off_t can represent 2**63 - 1 correctly.
6176 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6177 since some C++ compilers masquerading as C compilers
6178 incorrectly reject 9223372036854775807. */
6179 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6180 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6181 && LARGE_OFF_T % 2147483647 == 1)
6191 if ac_fn_c_try_compile
"$LINENO"; then :
6192 ac_cv_sys_large_files
=no
; break
6194 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6196 /* end confdefs.h. */
6197 #define _LARGE_FILES 1
6198 #include <sys/types.h>
6199 /* Check that off_t can represent 2**63 - 1 correctly.
6200 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6201 since some C++ compilers masquerading as C compilers
6202 incorrectly reject 9223372036854775807. */
6203 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6204 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6205 && LARGE_OFF_T % 2147483647 == 1)
6215 if ac_fn_c_try_compile
"$LINENO"; then :
6216 ac_cv_sys_large_files
=1; break
6218 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6219 ac_cv_sys_large_files
=unknown
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6224 $as_echo "$ac_cv_sys_large_files" >&6; }
6225 case $ac_cv_sys_large_files in #(
6228 cat >>confdefs.h
<<_ACEOF
6229 #define _LARGE_FILES $ac_cv_sys_large_files
6241 ac_cpp
='$CPP $CPPFLAGS'
6242 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6243 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6244 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6246 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6247 # On Suns, sometimes $CPP names a directory.
6248 if test -n "$CPP" && test -d "$CPP"; then
6251 if test -z "$CPP"; then
6252 if ${ac_cv_prog_CPP+:} false
; then :
6253 $as_echo_n "(cached) " >&6
6255 # Double quotes because CPP needs to be expanded
6256 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6259 for ac_c_preproc_warn_flag
in '' yes
6261 # Use a header file that comes with gcc, so configuring glibc
6262 # with a fresh cross-compiler works.
6263 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6264 # <limits.h> exists even on freestanding compilers.
6265 # On the NeXT, cc -E runs the code through the compiler's parser,
6266 # not just through cpp. "Syntax error" is here to catch this case.
6267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6268 /* end confdefs.h. */
6270 # include <limits.h>
6272 # include <assert.h>
6276 if ac_fn_c_try_cpp
"$LINENO"; then :
6279 # Broken: fails on valid input.
6282 rm -f conftest.err conftest.i conftest.
$ac_ext
6284 # OK, works on sane cases. Now check whether nonexistent headers
6285 # can be detected and how.
6286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6287 /* end confdefs.h. */
6288 #include <ac_nonexistent.h>
6290 if ac_fn_c_try_cpp
"$LINENO"; then :
6291 # Broken: success on invalid input.
6294 # Passes both tests.
6298 rm -f conftest.err conftest.i conftest.
$ac_ext
6301 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6302 rm -f conftest.i conftest.err conftest.
$ac_ext
6303 if $ac_preproc_ok; then :
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6316 $as_echo "$CPP" >&6; }
6318 for ac_c_preproc_warn_flag
in '' yes
6320 # Use a header file that comes with gcc, so configuring glibc
6321 # with a fresh cross-compiler works.
6322 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6323 # <limits.h> exists even on freestanding compilers.
6324 # On the NeXT, cc -E runs the code through the compiler's parser,
6325 # not just through cpp. "Syntax error" is here to catch this case.
6326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6327 /* end confdefs.h. */
6329 # include <limits.h>
6331 # include <assert.h>
6335 if ac_fn_c_try_cpp
"$LINENO"; then :
6338 # Broken: fails on valid input.
6341 rm -f conftest.err conftest.i conftest.
$ac_ext
6343 # OK, works on sane cases. Now check whether nonexistent headers
6344 # can be detected and how.
6345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6346 /* end confdefs.h. */
6347 #include <ac_nonexistent.h>
6349 if ac_fn_c_try_cpp
"$LINENO"; then :
6350 # Broken: success on invalid input.
6353 # Passes both tests.
6357 rm -f conftest.err conftest.i conftest.
$ac_ext
6360 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6361 rm -f conftest.i conftest.err conftest.
$ac_ext
6362 if $ac_preproc_ok; then :
6365 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6367 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6368 See \`config.log' for more details" "$LINENO" 5; }
6372 ac_cpp
='$CPP $CPPFLAGS'
6373 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6374 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6375 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6379 $as_echo_n "checking for ANSI C header files... " >&6; }
6380 if ${ac_cv_header_stdc+:} false
; then :
6381 $as_echo_n "(cached) " >&6
6383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6384 /* end confdefs.h. */
6398 if ac_fn_c_try_compile
"$LINENO"; then :
6399 ac_cv_header_stdc
=yes
6401 ac_cv_header_stdc
=no
6403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6405 if test $ac_cv_header_stdc = yes; then
6406 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6408 /* end confdefs.h. */
6412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6413 $EGREP "memchr" >/dev
/null
2>&1; then :
6416 ac_cv_header_stdc
=no
6422 if test $ac_cv_header_stdc = yes; then
6423 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6425 /* end confdefs.h. */
6429 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6430 $EGREP "free" >/dev
/null
2>&1; then :
6433 ac_cv_header_stdc
=no
6439 if test $ac_cv_header_stdc = yes; then
6440 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6441 if test "$cross_compiling" = yes; then :
6444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6445 /* end confdefs.h. */
6448 #if ((' ' & 0x0FF) == 0x020)
6449 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6450 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6452 # define ISLOWER(c) \
6453 (('a' <= (c) && (c) <= 'i') \
6454 || ('j' <= (c) && (c) <= 'r') \
6455 || ('s' <= (c) && (c) <= 'z'))
6456 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6459 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6464 for (i = 0; i < 256; i++)
6465 if (XOR (islower (i), ISLOWER (i))
6466 || toupper (i) != TOUPPER (i))
6471 if ac_fn_c_try_run
"$LINENO"; then :
6474 ac_cv_header_stdc
=no
6476 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6477 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6483 $as_echo "$ac_cv_header_stdc" >&6; }
6484 if test $ac_cv_header_stdc = yes; then
6486 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6490 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6491 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6492 inttypes.h stdint.h unistd.h
6494 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6495 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6497 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6498 cat >>confdefs.h
<<_ACEOF
6499 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6509 ApplicationServices
/ApplicationServices.h \
6510 AudioToolbox
/AudioConverter.h \
6511 AudioUnit
/AudioUnit.h \
6512 AudioUnit
/AudioComponent.h \
6515 CoreAudio
/CoreAudio.h \
6516 CoreServices
/CoreServices.h \
6517 DiskArbitration
/DiskArbitration.h \
6519 IOKit
/hid
/IOHIDLib.h \
6522 QuickTime
/ImageCompression.h \
6523 Security
/Security.h \
6537 fontconfig
/fontconfig.h \
6575 netinet
/in_systm.h \
6636 valgrind
/memcheck.h \
6637 valgrind
/valgrind.h \
6641 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6642 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6643 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6644 cat >>confdefs.h
<<_ACEOF
6645 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6653 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6654 if ${ac_cv_header_stat_broken+:} false
; then :
6655 $as_echo_n "(cached) " >&6
6657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6658 /* end confdefs.h. */
6659 #include <sys/types.h>
6660 #include <sys/stat.h>
6662 #if defined S_ISBLK && defined S_IFDIR
6663 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6666 #if defined S_ISBLK && defined S_IFCHR
6667 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6670 #if defined S_ISLNK && defined S_IFREG
6671 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6674 #if defined S_ISSOCK && defined S_IFREG
6675 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6679 if ac_fn_c_try_compile
"$LINENO"; then :
6680 ac_cv_header_stat_broken
=no
6682 ac_cv_header_stat_broken
=yes
6684 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6687 $as_echo "$ac_cv_header_stat_broken" >&6; }
6688 if test $ac_cv_header_stat_broken = yes; then
6690 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6696 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6698 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6699 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6700 #ifdef HAVE_SYS_PARAM_H
6701 # include <sys/param.h>
6704 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6705 cat >>confdefs.h
<<_ACEOF
6706 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6721 netinet
/if_ether.h \
6722 netinet
/if_inarp.h \
6731 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6732 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6733 #ifdef HAVE_SYS_SOCKET_H
6734 # include <sys/socket.h>
6736 #ifdef HAVE_SYS_SOCKETVAR_H
6737 # include <sys/socketvar.h>
6739 #ifdef HAVE_NET_ROUTE_H
6740 # include <net/route.h>
6742 #ifdef HAVE_NETINET_IN_H
6743 # include <netinet/in.h>
6745 #ifdef HAVE_NETINET_IN_SYSTM_H
6746 # include <netinet/in_systm.h>
6748 #ifdef HAVE_NET_IF_H
6749 # include <net/if.h>
6751 #ifdef HAVE_NETINET_IP_H
6752 # include <netinet/ip.h>
6755 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6756 cat >>confdefs.h
<<_ACEOF
6757 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6765 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6767 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6768 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6772 #ifdef HAVE_SYS_SOCKET_H
6773 # include <sys/socket.h>
6775 #ifdef HAVE_SYS_SOCKETVAR_H
6776 # include <sys/socketvar.h>
6778 #ifdef HAVE_SYS_TIMEOUT_H
6779 # include <sys/timeout.h>
6781 #ifdef HAVE_NETINET_IN_H
6782 # include <netinet/in.h>
6784 #ifdef HAVE_NETINET_IN_SYSTM_H
6785 # include <netinet/in_systm.h>
6787 #ifdef HAVE_NETINET_IP_H
6788 # include <netinet/ip.h>
6790 #ifdef HAVE_NETINET_IP_VAR_H
6791 # include <netinet/ip_var.h>
6793 #ifdef HAVE_NETINET_IP_ICMP_H
6794 # include <netinet/ip_icmp.h>
6796 #ifdef HAVE_NETINET_UDP_H
6797 # include <netinet/udp.h>
6799 #ifdef HAVE_NETINET_TCP_H
6800 # include <netinet/tcp.h>
6802 #ifdef HAVE_NETINET_TCP_TIMER_H
6803 #include <netinet/tcp_timer.h>
6806 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6807 cat >>confdefs.h
<<_ACEOF
6808 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6816 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6818 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6819 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6820 #ifdef HAVE_ASM_TYPES_H
6821 # include <asm/types.h>
6823 #ifdef HAVE_SYS_SOCKET_H
6824 # include <sys/socket.h>
6826 #ifdef HAVE_LINUX_TYPES_H
6827 # include <linux/types.h>
6830 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6831 cat >>confdefs.h
<<_ACEOF
6832 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6840 for ac_header
in mach-o
/dyld_images.h
6842 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6843 # include <stdbool.h>
6845 #ifdef HAVE_STDINT_H
6846 # include <stdint.h>
6849 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6850 cat >>confdefs.h
<<_ACEOF
6851 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6859 for ac_header
in resolv.h
6861 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6862 #ifdef HAVE_SYS_SOCKET_H
6863 # include <sys/socket.h>
6865 #ifdef HAVE_NETINET_IN_H
6866 # include <netinet/in.h>
6868 #ifdef HAVE_ARPA_NAMESER_H
6869 # include <arpa/nameser.h>
6872 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6873 cat >>confdefs.h
<<_ACEOF
6874 #define HAVE_RESOLV_H 1
6882 for ac_header
in ifaddrs.h
6884 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6886 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6887 cat >>confdefs.h
<<_ACEOF
6888 #define HAVE_IFADDRS_H 1
6896 for ac_header
in ucontext.h
6898 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6900 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6901 cat >>confdefs.h
<<_ACEOF
6902 #define HAVE_UCONTEXT_H 1
6910 for ac_header
in sys
/thr.h
6912 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6913 #ifdef HAVE_UCONTEXT_H
6914 #include <ucontext.h>
6917 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6918 cat >>confdefs.h
<<_ACEOF
6919 #define HAVE_SYS_THR_H 1
6927 for ac_header
in pthread_np.h
6929 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6930 #include <pthread.h>
6933 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6934 cat >>confdefs.h
<<_ACEOF
6935 #define HAVE_PTHREAD_NP_H 1
6943 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6945 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6946 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6947 #include <sys/time.h>
6949 #include <sys/types.h>
6950 #ifdef HAVE_ASM_TYPES_H
6951 #include <asm/types.h>
6954 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6955 cat >>confdefs.h
<<_ACEOF
6956 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6964 for ac_header
in libprocstat.h
6966 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6967 #include <sys/param.h>
6969 #ifdef HAVE_SYS_QUEUE_H
6970 #include <sys/queue.h>
6972 #ifdef HAVE_SYS_SOCKET_H
6973 #include <sys/socket.h>
6976 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6977 cat >>confdefs.h
<<_ACEOF
6978 #define HAVE_LIBPROCSTAT_H 1
6987 dlldir
="\${libdir}/wine"
6991 DLLFLAGS
="-D_REENTRANT"
7001 STATIC_IMPLIBEXT
="def.a"
7002 # Extract the first word of "ldd", so it can be a program name with args.
7003 set dummy ldd
; ac_word
=$2
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7005 $as_echo_n "checking for $ac_word... " >&6; }
7006 if ${ac_cv_path_LDD+:} false
; then :
7007 $as_echo_n "(cached) " >&6
7011 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7015 as_dummy
="/sbin:/usr/sbin:$PATH"
7016 for as_dir
in $as_dummy
7019 test -z "$as_dir" && as_dir
=.
7020 for ac_exec_ext
in '' $ac_executable_extensions; do
7021 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7022 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7030 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7035 if test -n "$LDD"; then
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7037 $as_echo "$LDD" >&6; }
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7040 $as_echo "no" >&6; }
7044 if test -n "$ac_tool_prefix"; then
7045 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7046 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7048 $as_echo_n "checking for $ac_word... " >&6; }
7049 if ${ac_cv_prog_READELF+:} false
; then :
7050 $as_echo_n "(cached) " >&6
7052 if test -n "$READELF"; then
7053 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7059 test -z "$as_dir" && as_dir
=.
7060 for ac_exec_ext
in '' $ac_executable_extensions; do
7061 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7062 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7072 READELF
=$ac_cv_prog_READELF
7073 if test -n "$READELF"; then
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7075 $as_echo "$READELF" >&6; }
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7078 $as_echo "no" >&6; }
7083 if test -z "$ac_cv_prog_READELF"; then
7084 ac_ct_READELF
=$READELF
7085 # Extract the first word of "readelf", so it can be a program name with args.
7086 set dummy readelf
; ac_word
=$2
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7088 $as_echo_n "checking for $ac_word... " >&6; }
7089 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7090 $as_echo_n "(cached) " >&6
7092 if test -n "$ac_ct_READELF"; then
7093 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7099 test -z "$as_dir" && as_dir
=.
7100 for ac_exec_ext
in '' $ac_executable_extensions; do
7101 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7102 ac_cv_prog_ac_ct_READELF
="readelf"
7103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7112 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7113 if test -n "$ac_ct_READELF"; then
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7115 $as_echo "$ac_ct_READELF" >&6; }
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7118 $as_echo "no" >&6; }
7121 if test "x$ac_ct_READELF" = x
; then
7124 case $cross_compiling:$ac_tool_warned in
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7128 ac_tool_warned
=yes ;;
7130 READELF
=$ac_ct_READELF
7133 READELF
="$ac_cv_prog_READELF"
7138 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7141 all: $wine_binary wine-installed
7143 install install-lib:: wine-installed \$(DESTDIR)\$(bindir)
7144 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7147 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7153 if test -n "$ac_tool_prefix"; then
7154 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7155 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7157 $as_echo_n "checking for $ac_word... " >&6; }
7158 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7159 $as_echo_n "(cached) " >&6
7161 if test -n "$DLLTOOL"; then
7162 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7168 test -z "$as_dir" && as_dir
=.
7169 for ac_exec_ext
in '' $ac_executable_extensions; do
7170 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7171 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7181 DLLTOOL
=$ac_cv_prog_DLLTOOL
7182 if test -n "$DLLTOOL"; then
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7184 $as_echo "$DLLTOOL" >&6; }
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7187 $as_echo "no" >&6; }
7192 if test -z "$ac_cv_prog_DLLTOOL"; then
7193 ac_ct_DLLTOOL
=$DLLTOOL
7194 # Extract the first word of "dlltool", so it can be a program name with args.
7195 set dummy dlltool
; ac_word
=$2
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7197 $as_echo_n "checking for $ac_word... " >&6; }
7198 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7199 $as_echo_n "(cached) " >&6
7201 if test -n "$ac_ct_DLLTOOL"; then
7202 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7208 test -z "$as_dir" && as_dir
=.
7209 for ac_exec_ext
in '' $ac_executable_extensions; do
7210 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7211 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7221 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7222 if test -n "$ac_ct_DLLTOOL"; then
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7224 $as_echo "$ac_ct_DLLTOOL" >&6; }
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7227 $as_echo "no" >&6; }
7230 if test "x$ac_ct_DLLTOOL" = x
; then
7233 case $cross_compiling:$ac_tool_warned in
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7237 ac_tool_warned
=yes ;;
7239 DLLTOOL
=$ac_ct_DLLTOOL
7242 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7248 STATIC_IMPLIBEXT
="a"
7249 enable_iphlpapi
=${enable_iphlpapi:-no}
7250 enable_kernel32
=${enable_kernel32:-no}
7251 enable_msvcrt
=${enable_msvcrt:-no}
7252 enable_ntdll
=${enable_ntdll:-no}
7253 enable_ws2_32
=${enable_ws2_32:-no}
7254 enable_loader
=${enable_loader:-no}
7255 enable_server
=${enable_server:-no}
7256 with_x
=${with_x:-no}
7257 with_pthread
=${with_pthread:-no}
7263 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7268 all: libwine.dll libwine.a
7271 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7273 libwine.dll: \$(OBJS) wine.def Makefile.in
7274 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7276 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
7277 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7279 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
7280 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7283 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7286 \$(RM) libwine.dll version.c
7293 DLLFLAGS
="$DLLFLAGS -fPIC"
7294 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7295 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7296 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7297 COREFOUNDATIONLIB
="-framework CoreFoundation"
7299 IOKITLIB
="-framework IOKit -framework CoreFoundation"
7301 FORCEFEEDBACKLIB
="-framework ForceFeedback -framework CoreFoundation"
7303 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
7305 CORESERVICESLIB
="-framework CoreServices"
7307 APPKITLIB
="-framework AppKit"
7309 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7311 darwin11
*) LDEXECFLAGS
="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7313 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7315 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
7318 if test "$ac_cv_header_Security_Security_h" = "yes"
7320 SECURITYLIB
="-framework Security -framework CoreFoundation"
7322 ac_save_LIBS
="$LIBS"
7323 LIBS
="$LIBS $SECURITYLIB"
7324 for ac_func
in SSLCopyPeerCertificates
7326 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7327 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7328 cat >>confdefs.h
<<_ACEOF
7329 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7335 LIBS
="$ac_save_LIBS"
7336 with_gnutls
=${with_gnutls:-no}
7338 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7340 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7342 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7345 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7348 ac_save_LIBS
="$LIBS"
7349 LIBS
="$LIBS $COREAUDIO"
7350 for ac_func
in AUGraphAddNode
7352 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7353 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7354 cat >>confdefs.h
<<_ACEOF
7355 #define HAVE_AUGRAPHADDNODE 1
7361 LIBS
="$ac_save_LIBS"
7363 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7365 FRAMEWORK_OPENAL
="-framework OpenAL"
7368 cat >>confdefs.h
<<_ACEOF
7369 #define HAVE_OPENAL 1
7372 ac_cv_lib_openal
=yes
7374 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7376 LIBOPENCL
="-framework OpenCL"
7378 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7380 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7382 ac_save_LIBS
="$LIBS"
7383 LIBS
="$LIBS $IOKITLIB"
7384 for ac_func
in IOHIDManagerCreate
7386 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7387 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7388 cat >>confdefs.h
<<_ACEOF
7389 #define HAVE_IOHIDMANAGERCREATE 1
7395 LIBS
="$ac_save_LIBS"
7397 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7399 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7401 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7403 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7405 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7407 CARBONLIB
="-framework Carbon"
7411 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7413 ac_save_LIBS
="$LIBS"
7414 LIBS
="$LIBS $APPLICATIONSERVICESLIB"
7415 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7416 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7417 enable_winemac_drv
=${enable_winemac_drv:-yes}
7420 LIBS
="$ac_save_LIBS"
7423 if test "x$enable_win16" = "xyes"
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7426 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7427 if test "$cross_compiling" = yes; then :
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7429 $as_echo "cross-compiling, assuming yes" >&6; }
7431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7432 /* end confdefs.h. */
7435 "good:\tnop;nop\n\t"
7436 ".globl _testfunc\n"
7437 "_testfunc:\tcallw good");
7438 extern void testfunc();
7442 unsigned short *p = (unsigned short *)testfunc;
7443 return p[0] != 0xe866 || p[1] != 0xfffa
7448 if ac_fn_c_try_run
"$LINENO"; then :
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7450 $as_echo "yes" >&6; }
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7453 $as_echo "no" >&6; }
7454 as_fn_error $?
"Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support." "$LINENO" 5
7456 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7457 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7465 libwine.\$(VERSION).dylib: \$(OBJS) Makefile.in
7466 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7468 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
7469 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
7471 libwine.dylib: libwine.\$(SOVERSION).dylib
7472 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
7474 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
7475 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
7476 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7478 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7479 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
7482 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7485 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
7489 as_fn_append LOADER_RULES
"
7490 $wine_binary: main.o Makefile.in wine_info.plist
7491 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7493 wine-installed: main.o Makefile.in wine_info.plist
7494 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7496 wine_info.plist: wine_info.plist.in \$(top_builddir)/include/config.h
7497 LC_ALL=C sed -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g' \$(srcdir)/wine_info.plist.in >\$@ || (\$(RM) \$@ && false)
7502 DLLFLAGS
="$DLLFLAGS -fPIC"
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7507 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7508 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7509 $as_echo_n "(cached) " >&6
7511 ac_wine_try_cflags_saved
=$CFLAGS
7512 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7514 /* end confdefs.h. */
7515 int main(int argc, char **argv) { return 0; }
7517 if ac_fn_c_try_link
"$LINENO"; then :
7518 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7520 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7522 rm -f core conftest.err conftest.
$ac_objext \
7523 conftest
$ac_exeext conftest.
$ac_ext
7524 CFLAGS
=$ac_wine_try_cflags_saved
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7527 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7528 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7529 LDEXECFLAGS
="-Wl,--export-dynamic"
7531 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7533 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7534 if eval \
${$as_ac_var+:} false
; then :
7535 $as_echo_n "(cached) " >&6
7537 ac_wine_try_cflags_saved
=$CFLAGS
7538 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7540 /* end confdefs.h. */
7541 int main(int argc, char **argv) { return 0; }
7543 if ac_fn_c_try_link
"$LINENO"; then :
7544 eval "$as_ac_var=yes"
7546 eval "$as_ac_var=no"
7548 rm -f core conftest.err conftest.
$ac_objext \
7549 conftest
$ac_exeext conftest.
$ac_ext
7550 CFLAGS
=$ac_wine_try_cflags_saved
7552 eval ac_res
=\$
$as_ac_var
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7554 $as_echo "$ac_res" >&6; }
7555 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7556 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7557 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7559 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7561 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7562 if eval \
${$as_ac_var+:} false
; then :
7563 $as_echo_n "(cached) " >&6
7565 ac_wine_try_cflags_saved
=$CFLAGS
7566 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7568 /* end confdefs.h. */
7569 int main(int argc, char **argv) { return 0; }
7571 if ac_fn_c_try_link
"$LINENO"; then :
7572 eval "$as_ac_var=yes"
7574 eval "$as_ac_var=no"
7576 rm -f core conftest.err conftest.
$ac_objext \
7577 conftest
$ac_exeext conftest.
$ac_ext
7578 CFLAGS
=$ac_wine_try_cflags_saved
7580 eval ac_res
=\$
$as_ac_var
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7582 $as_echo "$ac_res" >&6; }
7583 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7584 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7585 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7590 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7591 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7592 $as_echo_n "(cached) " >&6
7594 ac_wine_try_cflags_saved
=$CFLAGS
7595 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7597 /* end confdefs.h. */
7598 int main(int argc, char **argv) { return 0; }
7600 if ac_fn_c_try_link
"$LINENO"; then :
7601 ac_cv_cflags__Wl___enable_new_dtags
=yes
7603 ac_cv_cflags__Wl___enable_new_dtags
=no
7605 rm -f core conftest.err conftest.
$ac_objext \
7606 conftest
$ac_exeext conftest.
$ac_ext
7607 CFLAGS
=$ac_wine_try_cflags_saved
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7610 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7611 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7612 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7616 *i
[3456789]86* | x86_64
)
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7618 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7619 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7620 $as_echo_n "(cached) " >&6
7622 ac_wine_try_cflags_saved
=$CFLAGS
7623 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7625 /* end confdefs.h. */
7626 int main(int argc, char **argv) { return 0; }
7628 if ac_fn_c_try_link
"$LINENO"; then :
7629 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7631 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7633 rm -f core conftest.err conftest.
$ac_objext \
7634 conftest
$ac_exeext conftest.
$ac_ext
7635 CFLAGS
=$ac_wine_try_cflags_saved
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7638 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7639 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7640 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7648 libwine.so: \$(OBJS) Makefile.in
7649 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7651 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
7652 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
7655 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
7658 \$(RM) libwine.so version.c
7662 as_fn_append LOADER_RULES
"
7663 $wine_binary: main.o Makefile.in
7664 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7666 wine-installed: main.o Makefile.in
7667 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7672 DLLFLAGS
="$DLLFLAGS -fPIC"
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7675 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7676 if ${ac_cv_c_dll_gnuelf+:} false
; then :
7677 $as_echo_n "(cached) " >&6
7679 ac_wine_try_cflags_saved
=$CFLAGS
7680 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7682 /* end confdefs.h. */
7685 if ac_fn_c_try_link
"$LINENO"; then :
7686 ac_cv_c_dll_gnuelf
="yes"
7688 ac_cv_c_dll_gnuelf
="no"
7690 rm -f core conftest.err conftest.
$ac_objext \
7691 conftest
$ac_exeext conftest.
$ac_ext
7692 CFLAGS
=$ac_wine_try_cflags_saved
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7695 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7696 if test "$ac_cv_c_dll_gnuelf" = "yes"
7698 LDSHARED
="\$(CC) -shared"
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7700 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7701 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
7702 $as_echo_n "(cached) " >&6
7704 ac_wine_try_cflags_saved
=$CFLAGS
7705 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7707 /* end confdefs.h. */
7708 int main(int argc, char **argv) { return 0; }
7710 if ac_fn_c_try_link
"$LINENO"; then :
7711 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
7713 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
7715 rm -f core conftest.err conftest.
$ac_objext \
7716 conftest
$ac_exeext conftest.
$ac_ext
7717 CFLAGS
=$ac_wine_try_cflags_saved
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7720 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7721 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7722 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7725 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7726 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
7727 $as_echo_n "(cached) " >&6
7729 ac_wine_try_cflags_saved
=$CFLAGS
7730 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7732 /* end confdefs.h. */
7733 int main(int argc, char **argv) { return 0; }
7735 if ac_fn_c_try_link
"$LINENO"; then :
7736 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
7738 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
7740 rm -f core conftest.err conftest.
$ac_objext \
7741 conftest
$ac_exeext conftest.
$ac_ext
7742 CFLAGS
=$ac_wine_try_cflags_saved
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7745 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7746 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7747 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7751 echo '{ global: *; };' >conftest.map
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7753 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7754 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
7755 $as_echo_n "(cached) " >&6
7757 ac_wine_try_cflags_saved
=$CFLAGS
7758 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7760 /* end confdefs.h. */
7761 int main(int argc, char **argv) { return 0; }
7763 if ac_fn_c_try_link
"$LINENO"; then :
7764 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
7766 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
7768 rm -f core conftest.err conftest.
$ac_objext \
7769 conftest
$ac_exeext conftest.
$ac_ext
7770 CFLAGS
=$ac_wine_try_cflags_saved
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7773 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7774 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7775 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7780 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7781 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7782 $as_echo_n "(cached) " >&6
7784 ac_wine_try_cflags_saved
=$CFLAGS
7785 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7787 /* end confdefs.h. */
7788 int main(int argc, char **argv) { return 0; }
7790 if ac_fn_c_try_link
"$LINENO"; then :
7791 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7793 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7795 rm -f core conftest.err conftest.
$ac_objext \
7796 conftest
$ac_exeext conftest.
$ac_ext
7797 CFLAGS
=$ac_wine_try_cflags_saved
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7800 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7801 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7802 LDEXECFLAGS
="-Wl,--export-dynamic"
7805 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7807 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7808 if eval \
${$as_ac_var+:} false
; then :
7809 $as_echo_n "(cached) " >&6
7811 ac_wine_try_cflags_saved
=$CFLAGS
7812 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7814 /* end confdefs.h. */
7815 int main(int argc, char **argv) { return 0; }
7817 if ac_fn_c_try_link
"$LINENO"; then :
7818 eval "$as_ac_var=yes"
7820 eval "$as_ac_var=no"
7822 rm -f core conftest.err conftest.
$ac_objext \
7823 conftest
$ac_exeext conftest.
$ac_ext
7824 CFLAGS
=$ac_wine_try_cflags_saved
7826 eval ac_res
=\$
$as_ac_var
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7828 $as_echo "$ac_res" >&6; }
7829 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7830 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7831 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7833 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7835 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7836 if eval \
${$as_ac_var+:} false
; then :
7837 $as_echo_n "(cached) " >&6
7839 ac_wine_try_cflags_saved
=$CFLAGS
7840 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7842 /* end confdefs.h. */
7843 int main(int argc, char **argv) { return 0; }
7845 if ac_fn_c_try_link
"$LINENO"; then :
7846 eval "$as_ac_var=yes"
7848 eval "$as_ac_var=no"
7850 rm -f core conftest.err conftest.
$ac_objext \
7851 conftest
$ac_exeext conftest.
$ac_ext
7852 CFLAGS
=$ac_wine_try_cflags_saved
7854 eval ac_res
=\$
$as_ac_var
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7856 $as_echo "$ac_res" >&6; }
7857 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7858 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7859 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7864 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7865 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7866 $as_echo_n "(cached) " >&6
7868 ac_wine_try_cflags_saved
=$CFLAGS
7869 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7871 /* end confdefs.h. */
7872 int main(int argc, char **argv) { return 0; }
7874 if ac_fn_c_try_link
"$LINENO"; then :
7875 ac_cv_cflags__Wl___enable_new_dtags
=yes
7877 ac_cv_cflags__Wl___enable_new_dtags
=no
7879 rm -f core conftest.err conftest.
$ac_objext \
7880 conftest
$ac_exeext conftest.
$ac_ext
7881 CFLAGS
=$ac_wine_try_cflags_saved
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7884 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7885 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7886 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7890 *i
[3456789]86* | x86_64
)
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7892 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7893 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7894 $as_echo_n "(cached) " >&6
7896 ac_wine_try_cflags_saved
=$CFLAGS
7897 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7899 /* end confdefs.h. */
7900 int main(int argc, char **argv) { return 0; }
7902 if ac_fn_c_try_link
"$LINENO"; then :
7903 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7905 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7907 rm -f core conftest.err conftest.
$ac_objext \
7908 conftest
$ac_exeext conftest.
$ac_ext
7909 CFLAGS
=$ac_wine_try_cflags_saved
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7912 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7913 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7915 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7916 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7920 # Extract the first word of "prelink", so it can be a program name with args.
7921 set dummy prelink
; ac_word
=$2
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7923 $as_echo_n "checking for $ac_word... " >&6; }
7924 if ${ac_cv_path_PRELINK+:} false
; then :
7925 $as_echo_n "(cached) " >&6
7929 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
7932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7933 for as_dir
in /sbin
/usr
/sbin
$PATH
7936 test -z "$as_dir" && as_dir
=.
7937 for ac_exec_ext
in '' $ac_executable_extensions; do
7938 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7939 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
7940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7947 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
7951 PRELINK
=$ac_cv_path_PRELINK
7952 if test -n "$PRELINK"; then
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7954 $as_echo "$PRELINK" >&6; }
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7957 $as_echo "no" >&6; }
7961 if test "x$PRELINK" = xfalse
7963 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7970 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7971 if ${ac_cv_c_dll_unixware+:} false
; then :
7972 $as_echo_n "(cached) " >&6
7974 ac_wine_try_cflags_saved
=$CFLAGS
7975 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7977 /* end confdefs.h. */
7980 if ac_fn_c_try_link
"$LINENO"; then :
7981 ac_cv_c_dll_unixware
="yes"
7983 ac_cv_c_dll_unixware
="no"
7985 rm -f core conftest.err conftest.
$ac_objext \
7986 conftest
$ac_exeext conftest.
$ac_ext
7987 CFLAGS
=$ac_wine_try_cflags_saved
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7990 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7991 if test "$ac_cv_c_dll_unixware" = "yes"
7993 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
7999 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
8000 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8002 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
8003 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
8005 libwine.so: libwine.so.\$(SOVERSION)
8006 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
8008 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
8009 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
8010 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8012 install install-dev:: \$(DESTDIR)\$(libdir) dummy
8013 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
8016 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8019 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
8023 as_fn_append LOADER_RULES
"
8024 $wine_binary: main.o Makefile.in
8025 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8027 wine-installed: main.o Makefile.in
8028 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8033 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8034 enable_winemac_drv
=${enable_winemac_drv:-no}
8038 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8042 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
8045 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 " ;;
8047 ac_prefix_list
="" ;;
8049 for ac_prog
in $ac_prefix_list
8051 # Extract the first word of "$ac_prog", so it can be a program name with args.
8052 set dummy
$ac_prog; ac_word
=$2
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8054 $as_echo_n "checking for $ac_word... " >&6; }
8055 if ${ac_cv_prog_CROSSCC+:} false
; then :
8056 $as_echo_n "(cached) " >&6
8058 if test -n "$CROSSCC"; then
8059 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8065 test -z "$as_dir" && as_dir
=.
8066 for ac_exec_ext
in '' $ac_executable_extensions; do
8067 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8068 ac_cv_prog_CROSSCC
="$ac_prog"
8069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8078 CROSSCC
=$ac_cv_prog_CROSSCC
8079 if test -n "$CROSSCC"; then
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8081 $as_echo "$CROSSCC" >&6; }
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8084 $as_echo "no" >&6; }
8088 test -n "$CROSSCC" && break
8090 test -n "$CROSSCC" || CROSSCC
="false"
8092 if test "$CROSSCC" != "false"
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8097 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8099 /* end confdefs.h. */
8109 if ac_fn_c_try_compile
"$LINENO"; then :
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8111 $as_echo "yes" >&6; }
8117 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8123 $as_echo "no" >&6; }
8125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8131 if test "$ac_cv_header_pthread_h" = "yes"
8133 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8134 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8138 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8139 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8140 $as_echo_n "(cached) " >&6
8142 ac_check_lib_save_LIBS
=$LIBS
8143 LIBS
="-lpthread $LIBS"
8144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8145 /* end confdefs.h. */
8147 /* Override any GCC internal prototype to avoid an error.
8148 Use char because int might match the return type of a GCC
8149 builtin and then its argument prototype would still apply. */
8153 char pthread_create ();
8157 return pthread_create ();
8162 if ac_fn_c_try_link
"$LINENO"; then :
8163 ac_cv_lib_pthread_pthread_create
=yes
8165 ac_cv_lib_pthread_pthread_create
=no
8167 rm -f core conftest.err conftest.
$ac_objext \
8168 conftest
$ac_exeext conftest.
$ac_ext
8169 LIBS
=$ac_check_lib_save_LIBS
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8172 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8173 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8174 LIBPTHREAD
="-lpthread"
8181 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$LIBPTHREAD" = x
; then :
8182 case "x$with_pthread" in
8184 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8185 Wine cannot support threads without libpthread.
8186 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8192 $as_echo_n "checking for X... " >&6; }
8195 # Check whether --with-x was given.
8196 if test "${with_x+set}" = set; then :
8200 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8201 if test "x$with_x" = xno
; then
8202 # The user explicitly disabled X.
8205 case $x_includes,$x_libraries in #(
8206 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8207 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8208 $as_echo_n "(cached) " >&6
8210 # One or both of the vars are not set, and there is no cached value.
8211 ac_x_includes
=no ac_x_libraries
=no
8212 rm -f -r conftest.dir
8213 if mkdir conftest.dir
; then
8215 cat >Imakefile
<<'_ACEOF'
8217 @echo incroot='${INCROOT}'
8219 @echo usrlibdir='${USRLIBDIR}'
8221 @echo libdir='${LIBDIR}'
8223 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8224 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8225 for ac_var
in incroot usrlibdir libdir
; do
8226 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8228 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8229 for ac_extension
in a so sl dylib la dll
; do
8230 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8231 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8232 ac_im_usrlibdir
=$ac_im_libdir; break
8235 # Screen out bogus values from the imake configuration. They are
8236 # bogus both because they are the default anyway, and because
8237 # using them would break gcc on systems where it needs fixed includes.
8238 case $ac_im_incroot in
8239 /usr
/include
) ac_x_includes
= ;;
8240 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8242 case $ac_im_usrlibdir in
8243 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8244 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8248 rm -f -r conftest.dir
8251 # Standard set of common directories for X headers.
8252 # Check X11 before X11Rn because it is often a symlink to the current release.
8266 /usr/local/X11/include
8267 /usr/local/X11R7/include
8268 /usr/local/X11R6/include
8269 /usr/local/X11R5/include
8270 /usr/local/X11R4/include
8272 /usr/local/include/X11
8273 /usr/local/include/X11R7
8274 /usr/local/include/X11R6
8275 /usr/local/include/X11R5
8276 /usr/local/include/X11R4
8280 /usr/XFree86/include/X11
8284 /usr/unsupported/include
8286 /usr/local/x11r5/include
8287 /usr/lpp/Xamples/include
8289 /usr/openwin/include
8290 /usr/openwin/share/include'
8292 if test "$ac_x_includes" = no
; then
8293 # Guess where to find include files, by looking for Xlib.h.
8294 # First, try using that file with no special directory specified.
8295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8296 /* end confdefs.h. */
8297 #include <X11/Xlib.h>
8299 if ac_fn_c_try_cpp
"$LINENO"; then :
8300 # We can compile using X headers with no special include directory.
8303 for ac_dir
in $ac_x_header_dirs; do
8304 if test -r "$ac_dir/X11/Xlib.h"; then
8305 ac_x_includes
=$ac_dir
8310 rm -f conftest.err conftest.i conftest.
$ac_ext
8311 fi # $ac_x_includes = no
8313 if test "$ac_x_libraries" = no
; then
8314 # Check for the libraries.
8315 # See if we find them without any special options.
8316 # Don't add to $LIBS permanently.
8319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8320 /* end confdefs.h. */
8321 #include <X11/Xlib.h>
8330 if ac_fn_c_try_link
"$LINENO"; then :
8332 # We can link X programs with no special library path.
8336 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8338 # Don't even attempt the hair of trying to link an X program!
8339 for ac_extension
in a so sl dylib la dll
; do
8340 if test -r "$ac_dir/libX11.$ac_extension"; then
8341 ac_x_libraries
=$ac_dir
8347 rm -f core conftest.err conftest.
$ac_objext \
8348 conftest
$ac_exeext conftest.
$ac_ext
8349 fi # $ac_x_libraries = no
8351 case $ac_x_includes,$ac_x_libraries in #(
8353 # Didn't find X, or a directory has "'" in its name.
8354 ac_cv_have_x
="have_x=no";; #(
8356 # Record where we found X for the cache.
8357 ac_cv_have_x
="have_x=yes\
8358 ac_x_includes='$ac_x_includes'\
8359 ac_x_libraries='$ac_x_libraries'"
8365 eval "$ac_cv_have_x"
8368 if test "$have_x" != yes; then
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8370 $as_echo "$have_x" >&6; }
8373 # If each of the values was on the command line, it overrides each guess.
8374 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8375 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8376 # Update the cache value to reflect the command line values.
8377 ac_cv_have_x
="have_x=yes\
8378 ac_x_includes='$x_includes'\
8379 ac_x_libraries='$x_libraries'"
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8381 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8384 if test "$no_x" = yes; then
8385 # Not all programs may use this symbol, but it does not hurt to define it.
8387 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8389 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8391 if test -n "$x_includes"; then
8392 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8395 # It would also be nice to do this for all -L options, not just this one.
8396 if test -n "$x_libraries"; then
8397 X_LIBS
="$X_LIBS -L$x_libraries"
8398 # For Solaris; some versions of Sun CC require a space after -R and
8399 # others require no space. Words are not sufficient . . . .
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8401 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8402 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8403 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8404 ac_c_werror_flag
=yes
8405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8406 /* end confdefs.h. */
8416 if ac_fn_c_try_link
"$LINENO"; then :
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8418 $as_echo "no" >&6; }
8419 X_LIBS
="$X_LIBS -R$x_libraries"
8421 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8423 /* end confdefs.h. */
8433 if ac_fn_c_try_link
"$LINENO"; then :
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8435 $as_echo "yes" >&6; }
8436 X_LIBS
="$X_LIBS -R $x_libraries"
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8439 $as_echo "neither works" >&6; }
8441 rm -f core conftest.err conftest.
$ac_objext \
8442 conftest
$ac_exeext conftest.
$ac_ext
8444 rm -f core conftest.err conftest.
$ac_objext \
8445 conftest
$ac_exeext conftest.
$ac_ext
8446 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8450 # Check for system-dependent libraries X programs must link with.
8451 # Do this before checking for the system-independent R6 libraries
8452 # (-lICE), since we may need -lsocket or whatever for X linking.
8454 if test "$ISC" = yes; then
8455 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8457 # Martyn Johnson says this is needed for Ultrix, if the X
8458 # libraries were built with DECnet support. And Karl Berry says
8459 # the Alpha needs dnet_stub (dnet does not exist).
8460 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8462 /* end confdefs.h. */
8464 /* Override any GCC internal prototype to avoid an error.
8465 Use char because int might match the return type of a GCC
8466 builtin and then its argument prototype would still apply. */
8470 char XOpenDisplay ();
8474 return XOpenDisplay ();
8479 if ac_fn_c_try_link
"$LINENO"; then :
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8483 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8484 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8485 $as_echo_n "(cached) " >&6
8487 ac_check_lib_save_LIBS
=$LIBS
8489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8490 /* end confdefs.h. */
8492 /* Override any GCC internal prototype to avoid an error.
8493 Use char because int might match the return type of a GCC
8494 builtin and then its argument prototype would still apply. */
8502 return dnet_ntoa ();
8507 if ac_fn_c_try_link
"$LINENO"; then :
8508 ac_cv_lib_dnet_dnet_ntoa
=yes
8510 ac_cv_lib_dnet_dnet_ntoa
=no
8512 rm -f core conftest.err conftest.
$ac_objext \
8513 conftest
$ac_exeext conftest.
$ac_ext
8514 LIBS
=$ac_check_lib_save_LIBS
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8517 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8518 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8519 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8522 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8524 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8525 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8526 $as_echo_n "(cached) " >&6
8528 ac_check_lib_save_LIBS
=$LIBS
8529 LIBS
="-ldnet_stub $LIBS"
8530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8531 /* end confdefs.h. */
8533 /* Override any GCC internal prototype to avoid an error.
8534 Use char because int might match the return type of a GCC
8535 builtin and then its argument prototype would still apply. */
8543 return dnet_ntoa ();
8548 if ac_fn_c_try_link
"$LINENO"; then :
8549 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8551 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8553 rm -f core conftest.err conftest.
$ac_objext \
8554 conftest
$ac_exeext conftest.
$ac_ext
8555 LIBS
=$ac_check_lib_save_LIBS
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8558 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8559 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8560 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8565 rm -f core conftest.err conftest.
$ac_objext \
8566 conftest
$ac_exeext conftest.
$ac_ext
8567 LIBS
="$ac_xsave_LIBS"
8569 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8570 # to get the SysV transport functions.
8571 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8573 # The nsl library prevents programs from opening the X display
8574 # on Irix 5.2, according to T.E. Dickey.
8575 # The functions gethostbyname, getservbyname, and inet_addr are
8576 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8577 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8578 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8582 if test $ac_cv_func_gethostbyname = no
; then
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8584 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8585 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8586 $as_echo_n "(cached) " >&6
8588 ac_check_lib_save_LIBS
=$LIBS
8590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8591 /* end confdefs.h. */
8593 /* Override any GCC internal prototype to avoid an error.
8594 Use char because int might match the return type of a GCC
8595 builtin and then its argument prototype would still apply. */
8599 char gethostbyname ();
8603 return gethostbyname ();
8608 if ac_fn_c_try_link
"$LINENO"; then :
8609 ac_cv_lib_nsl_gethostbyname
=yes
8611 ac_cv_lib_nsl_gethostbyname
=no
8613 rm -f core conftest.err conftest.
$ac_objext \
8614 conftest
$ac_exeext conftest.
$ac_ext
8615 LIBS
=$ac_check_lib_save_LIBS
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8618 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8619 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
8620 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8623 if test $ac_cv_lib_nsl_gethostbyname = no
; then
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8625 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8626 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
8627 $as_echo_n "(cached) " >&6
8629 ac_check_lib_save_LIBS
=$LIBS
8631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8632 /* end confdefs.h. */
8634 /* Override any GCC internal prototype to avoid an error.
8635 Use char because int might match the return type of a GCC
8636 builtin and then its argument prototype would still apply. */
8640 char gethostbyname ();
8644 return gethostbyname ();
8649 if ac_fn_c_try_link
"$LINENO"; then :
8650 ac_cv_lib_bsd_gethostbyname
=yes
8652 ac_cv_lib_bsd_gethostbyname
=no
8654 rm -f core conftest.err conftest.
$ac_objext \
8655 conftest
$ac_exeext conftest.
$ac_ext
8656 LIBS
=$ac_check_lib_save_LIBS
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8659 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8660 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
8661 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
8667 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8668 # socket/setsockopt and other routines are undefined under SCO ODT
8669 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8670 # on later versions), says Simon Leinen: it contains gethostby*
8671 # variants that don't use the name server (or something). -lsocket
8672 # must be given before -lnsl if both are needed. We assume that
8673 # if connect needs -lnsl, so does gethostbyname.
8674 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
8675 if test "x$ac_cv_func_connect" = xyes
; then :
8679 if test $ac_cv_func_connect = no
; then
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8681 $as_echo_n "checking for connect in -lsocket... " >&6; }
8682 if ${ac_cv_lib_socket_connect+:} false
; then :
8683 $as_echo_n "(cached) " >&6
8685 ac_check_lib_save_LIBS
=$LIBS
8686 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8688 /* end confdefs.h. */
8690 /* Override any GCC internal prototype to avoid an error.
8691 Use char because int might match the return type of a GCC
8692 builtin and then its argument prototype would still apply. */
8705 if ac_fn_c_try_link
"$LINENO"; then :
8706 ac_cv_lib_socket_connect
=yes
8708 ac_cv_lib_socket_connect
=no
8710 rm -f core conftest.err conftest.
$ac_objext \
8711 conftest
$ac_exeext conftest.
$ac_ext
8712 LIBS
=$ac_check_lib_save_LIBS
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8715 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8716 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
8717 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8722 # Guillermo Gomez says -lposix is necessary on A/UX.
8723 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
8724 if test "x$ac_cv_func_remove" = xyes
; then :
8728 if test $ac_cv_func_remove = no
; then
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8730 $as_echo_n "checking for remove in -lposix... " >&6; }
8731 if ${ac_cv_lib_posix_remove+:} false
; then :
8732 $as_echo_n "(cached) " >&6
8734 ac_check_lib_save_LIBS
=$LIBS
8735 LIBS
="-lposix $LIBS"
8736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8737 /* end confdefs.h. */
8739 /* Override any GCC internal prototype to avoid an error.
8740 Use char because int might match the return type of a GCC
8741 builtin and then its argument prototype would still apply. */
8754 if ac_fn_c_try_link
"$LINENO"; then :
8755 ac_cv_lib_posix_remove
=yes
8757 ac_cv_lib_posix_remove
=no
8759 rm -f core conftest.err conftest.
$ac_objext \
8760 conftest
$ac_exeext conftest.
$ac_ext
8761 LIBS
=$ac_check_lib_save_LIBS
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8764 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8765 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
8766 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8771 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8772 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
8773 if test "x$ac_cv_func_shmat" = xyes
; then :
8777 if test $ac_cv_func_shmat = no
; then
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8779 $as_echo_n "checking for shmat in -lipc... " >&6; }
8780 if ${ac_cv_lib_ipc_shmat+:} false
; then :
8781 $as_echo_n "(cached) " >&6
8783 ac_check_lib_save_LIBS
=$LIBS
8785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8786 /* end confdefs.h. */
8788 /* Override any GCC internal prototype to avoid an error.
8789 Use char because int might match the return type of a GCC
8790 builtin and then its argument prototype would still apply. */
8803 if ac_fn_c_try_link
"$LINENO"; then :
8804 ac_cv_lib_ipc_shmat
=yes
8806 ac_cv_lib_ipc_shmat
=no
8808 rm -f core conftest.err conftest.
$ac_objext \
8809 conftest
$ac_exeext conftest.
$ac_ext
8810 LIBS
=$ac_check_lib_save_LIBS
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8813 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8814 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
8815 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8821 # Check for libraries that X11R6 Xt/Xaw programs need.
8822 ac_save_LDFLAGS
=$LDFLAGS
8823 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8824 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8825 # check for ICE first), but we must link in the order -lSM -lICE or
8826 # we get undefined symbols. So assume we have SM if we have ICE.
8827 # These have to be linked with before -lX11, unlike the other
8828 # libraries we check for below, so use a different variable.
8829 # John Interrante, Karl Berry
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8831 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8832 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
8833 $as_echo_n "(cached) " >&6
8835 ac_check_lib_save_LIBS
=$LIBS
8836 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8838 /* end confdefs.h. */
8840 /* Override any GCC internal prototype to avoid an error.
8841 Use char because int might match the return type of a GCC
8842 builtin and then its argument prototype would still apply. */
8846 char IceConnectionNumber ();
8850 return IceConnectionNumber ();
8855 if ac_fn_c_try_link
"$LINENO"; then :
8856 ac_cv_lib_ICE_IceConnectionNumber
=yes
8858 ac_cv_lib_ICE_IceConnectionNumber
=no
8860 rm -f core conftest.err conftest.
$ac_objext \
8861 conftest
$ac_exeext conftest.
$ac_ext
8862 LIBS
=$ac_check_lib_save_LIBS
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8865 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8866 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
8867 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8870 LDFLAGS
=$ac_save_LDFLAGS
8875 if test "$have_x" = "yes"
8878 ac_save_CPPFLAGS
="$CPPFLAGS"
8879 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8882 $as_echo_n "checking for -lX11... " >&6; }
8883 if ${ac_cv_lib_soname_X11+:} false
; then :
8884 $as_echo_n "(cached) " >&6
8886 ac_check_soname_save_LIBS
=$LIBS
8887 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8889 /* end confdefs.h. */
8891 /* Override any GCC internal prototype to avoid an error.
8892 Use char because int might match the return type of a GCC
8893 builtin and then its argument prototype would still apply. */
8897 char XCreateWindow ();
8901 return XCreateWindow ();
8906 if ac_fn_c_try_link
"$LINENO"; then :
8908 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8909 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'` ;;
8910 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8911 if test "x$ac_cv_lib_soname_X11" = x
; then :
8912 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8916 rm -f core conftest.err conftest.
$ac_objext \
8917 conftest
$ac_exeext conftest.
$ac_ext
8918 LIBS
=$ac_check_soname_save_LIBS
8920 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8922 $as_echo "not found" >&6; }
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8926 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8928 cat >>confdefs.h
<<_ACEOF
8929 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8935 $as_echo_n "checking for -lXext... " >&6; }
8936 if ${ac_cv_lib_soname_Xext+:} false
; then :
8937 $as_echo_n "(cached) " >&6
8939 ac_check_soname_save_LIBS
=$LIBS
8940 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8942 /* end confdefs.h. */
8944 /* Override any GCC internal prototype to avoid an error.
8945 Use char because int might match the return type of a GCC
8946 builtin and then its argument prototype would still apply. */
8950 char XextCreateExtension ();
8954 return XextCreateExtension ();
8959 if ac_fn_c_try_link
"$LINENO"; then :
8961 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8962 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'` ;;
8963 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8964 if test "x$ac_cv_lib_soname_Xext" = x
; then :
8965 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8969 rm -f core conftest.err conftest.
$ac_objext \
8970 conftest
$ac_exeext conftest.
$ac_ext
8971 LIBS
=$ac_check_soname_save_LIBS
8973 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8975 $as_echo "not found" >&6; }
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8979 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8981 cat >>confdefs.h
<<_ACEOF
8982 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8988 for ac_header
in X11
/Xlib.h \
8991 X11
/Xcursor
/Xcursor.h \
8992 X11
/extensions
/shape.h \
8993 X11
/extensions
/XInput.h \
8994 X11
/extensions
/XInput2.h \
8995 X11
/extensions
/XShm.h \
8996 X11
/extensions
/Xcomposite.h \
8997 X11
/extensions
/Xinerama.h \
8998 X11
/extensions
/Xrandr.h \
8999 X11
/extensions
/Xrender.h \
9000 X11
/extensions
/xf86vmode.h \
9001 X11
/extensions
/xf86vmproto.h
9003 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9004 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9005 # include <X11/Xlib.h>
9007 #ifdef HAVE_X11_XUTIL_H
9008 # include <X11/Xutil.h>
9011 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9012 cat >>confdefs.h
<<_ACEOF
9013 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9021 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9024 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9025 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9026 $as_echo_n "(cached) " >&6
9028 ac_check_lib_save_LIBS
=$LIBS
9029 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9031 /* end confdefs.h. */
9033 /* Override any GCC internal prototype to avoid an error.
9034 Use char because int might match the return type of a GCC
9035 builtin and then its argument prototype would still apply. */
9039 char XkbQueryExtension ();
9043 return XkbQueryExtension ();
9048 if ac_fn_c_try_link
"$LINENO"; then :
9049 ac_cv_lib_X11_XkbQueryExtension
=yes
9051 ac_cv_lib_X11_XkbQueryExtension
=no
9053 rm -f core conftest.err conftest.
$ac_objext \
9054 conftest
$ac_exeext conftest.
$ac_ext
9055 LIBS
=$ac_check_lib_save_LIBS
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9058 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9059 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9061 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9067 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9070 $as_echo_n "checking for -lXcursor... " >&6; }
9071 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9072 $as_echo_n "(cached) " >&6
9074 ac_check_soname_save_LIBS
=$LIBS
9075 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9077 /* end confdefs.h. */
9079 /* Override any GCC internal prototype to avoid an error.
9080 Use char because int might match the return type of a GCC
9081 builtin and then its argument prototype would still apply. */
9085 char XcursorImageLoadCursor ();
9089 return XcursorImageLoadCursor ();
9094 if ac_fn_c_try_link
"$LINENO"; then :
9096 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9097 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'` ;;
9098 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9099 if test "x$ac_cv_lib_soname_Xcursor" = x
; then :
9100 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9104 rm -f core conftest.err conftest.
$ac_objext \
9105 conftest
$ac_exeext conftest.
$ac_ext
9106 LIBS
=$ac_check_soname_save_LIBS
9108 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9110 $as_echo "not found" >&6; }
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9114 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9116 cat >>confdefs.h
<<_ACEOF
9117 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9123 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9124 case "x$with_xcursor" in
9125 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9127 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9128 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9132 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9135 $as_echo_n "checking for -lXi... " >&6; }
9136 if ${ac_cv_lib_soname_Xi+:} false
; then :
9137 $as_echo_n "(cached) " >&6
9139 ac_check_soname_save_LIBS
=$LIBS
9140 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9142 /* end confdefs.h. */
9144 /* Override any GCC internal prototype to avoid an error.
9145 Use char because int might match the return type of a GCC
9146 builtin and then its argument prototype would still apply. */
9150 char XOpenDevice ();
9154 return XOpenDevice ();
9159 if ac_fn_c_try_link
"$LINENO"; then :
9161 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9162 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'` ;;
9163 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9164 if test "x$ac_cv_lib_soname_Xi" = x
; then :
9165 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9169 rm -f core conftest.err conftest.
$ac_objext \
9170 conftest
$ac_exeext conftest.
$ac_ext
9171 LIBS
=$ac_check_soname_save_LIBS
9173 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9175 $as_echo "not found" >&6; }
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9179 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9181 cat >>confdefs.h
<<_ACEOF
9182 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9188 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9189 case "x$with_xinput" in
9190 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9192 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9193 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9197 if test "x$ac_cv_lib_soname_Xi" != x
9199 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9200 case "x$with_xinput2" in
9201 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9203 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9204 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9209 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9212 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9213 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9214 $as_echo_n "(cached) " >&6
9216 ac_check_lib_save_LIBS
=$LIBS
9217 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9219 /* end confdefs.h. */
9221 /* Override any GCC internal prototype to avoid an error.
9222 Use char because int might match the return type of a GCC
9223 builtin and then its argument prototype would still apply. */
9227 char XShmQueryExtension ();
9231 return XShmQueryExtension ();
9236 if ac_fn_c_try_link
"$LINENO"; then :
9237 ac_cv_lib_Xext_XShmQueryExtension
=yes
9239 ac_cv_lib_Xext_XShmQueryExtension
=no
9241 rm -f core conftest.err conftest.
$ac_objext \
9242 conftest
$ac_exeext conftest.
$ac_ext
9243 LIBS
=$ac_check_lib_save_LIBS
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9246 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9247 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9249 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9254 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9255 case "x$with_xshm" in
9256 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9258 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9259 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9263 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9266 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9267 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9268 $as_echo_n "(cached) " >&6
9270 ac_check_lib_save_LIBS
=$LIBS
9271 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9273 /* end confdefs.h. */
9275 /* Override any GCC internal prototype to avoid an error.
9276 Use char because int might match the return type of a GCC
9277 builtin and then its argument prototype would still apply. */
9281 char XShapeQueryExtension ();
9285 return XShapeQueryExtension ();
9290 if ac_fn_c_try_link
"$LINENO"; then :
9291 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9293 ac_cv_lib_Xext_XShapeQueryExtension
=no
9295 rm -f core conftest.err conftest.
$ac_objext \
9296 conftest
$ac_exeext conftest.
$ac_ext
9297 LIBS
=$ac_check_lib_save_LIBS
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9300 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9301 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9303 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9308 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9309 case "x$with_xshape" in
9310 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9312 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9313 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9317 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9320 $as_echo_n "checking for -lXxf86vm... " >&6; }
9321 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9322 $as_echo_n "(cached) " >&6
9324 ac_check_soname_save_LIBS
=$LIBS
9325 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9327 /* end confdefs.h. */
9329 /* Override any GCC internal prototype to avoid an error.
9330 Use char because int might match the return type of a GCC
9331 builtin and then its argument prototype would still apply. */
9335 char XF86VidModeQueryExtension ();
9339 return XF86VidModeQueryExtension ();
9344 if ac_fn_c_try_link
"$LINENO"; then :
9346 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9347 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'` ;;
9348 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9349 if test "x$ac_cv_lib_soname_Xxf86vm" = x
; then :
9350 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9354 rm -f core conftest.err conftest.
$ac_objext \
9355 conftest
$ac_exeext conftest.
$ac_ext
9356 LIBS
=$ac_check_soname_save_LIBS
9358 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9360 $as_echo "not found" >&6; }
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9364 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9366 cat >>confdefs.h
<<_ACEOF
9367 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9373 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9374 case "x$with_xxf86vm" in
9375 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9377 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9378 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9382 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"
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9385 $as_echo_n "checking for -lXrender... " >&6; }
9386 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9387 $as_echo_n "(cached) " >&6
9389 ac_check_soname_save_LIBS
=$LIBS
9390 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9392 /* end confdefs.h. */
9394 /* Override any GCC internal prototype to avoid an error.
9395 Use char because int might match the return type of a GCC
9396 builtin and then its argument prototype would still apply. */
9400 char XRenderQueryExtension ();
9404 return XRenderQueryExtension ();
9409 if ac_fn_c_try_link
"$LINENO"; then :
9411 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9412 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'` ;;
9413 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9414 if test "x$ac_cv_lib_soname_Xrender" = x
; then :
9415 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9419 rm -f core conftest.err conftest.
$ac_objext \
9420 conftest
$ac_exeext conftest.
$ac_ext
9421 LIBS
=$ac_check_soname_save_LIBS
9423 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9425 $as_echo "not found" >&6; }
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9429 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9431 cat >>confdefs.h
<<_ACEOF
9432 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9436 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9437 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9438 $as_echo_n "(cached) " >&6
9440 ac_check_lib_save_LIBS
=$LIBS
9441 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9443 /* end confdefs.h. */
9445 /* Override any GCC internal prototype to avoid an error.
9446 Use char because int might match the return type of a GCC
9447 builtin and then its argument prototype would still apply. */
9451 char XRenderSetPictureTransform ();
9455 return XRenderSetPictureTransform ();
9460 if ac_fn_c_try_link
"$LINENO"; then :
9461 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9463 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9465 rm -f core conftest.err conftest.
$ac_objext \
9466 conftest
$ac_exeext conftest.
$ac_ext
9467 LIBS
=$ac_check_lib_save_LIBS
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9470 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9471 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9473 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9478 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9479 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9480 $as_echo_n "(cached) " >&6
9482 ac_check_lib_save_LIBS
=$LIBS
9483 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9485 /* end confdefs.h. */
9487 /* Override any GCC internal prototype to avoid an error.
9488 Use char because int might match the return type of a GCC
9489 builtin and then its argument prototype would still apply. */
9493 char XRenderCreateLinearGradient ();
9497 return XRenderCreateLinearGradient ();
9502 if ac_fn_c_try_link
"$LINENO"; then :
9503 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9505 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9507 rm -f core conftest.err conftest.
$ac_objext \
9508 conftest
$ac_exeext conftest.
$ac_ext
9509 LIBS
=$ac_check_lib_save_LIBS
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9512 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9513 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9515 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9522 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9523 case "x$with_xrender" in
9524 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9526 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9527 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9531 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9534 /* end confdefs.h. */
9535 #include <X11/Xlib.h>
9536 #include <X11/extensions/Xrandr.h>
9540 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9545 if ac_fn_c_try_compile
"$LINENO"; then :
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9547 $as_echo_n "checking for -lXrandr... " >&6; }
9548 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9549 $as_echo_n "(cached) " >&6
9551 ac_check_soname_save_LIBS
=$LIBS
9552 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9554 /* end confdefs.h. */
9556 /* Override any GCC internal prototype to avoid an error.
9557 Use char because int might match the return type of a GCC
9558 builtin and then its argument prototype would still apply. */
9562 char XRRQueryExtension ();
9566 return XRRQueryExtension ();
9571 if ac_fn_c_try_link
"$LINENO"; then :
9573 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9574 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'` ;;
9575 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9576 if test "x$ac_cv_lib_soname_Xrandr" = x
; then :
9577 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9581 rm -f core conftest.err conftest.
$ac_objext \
9582 conftest
$ac_exeext conftest.
$ac_ext
9583 LIBS
=$ac_check_soname_save_LIBS
9585 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9587 $as_echo "not found" >&6; }
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9591 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9593 cat >>confdefs.h
<<_ACEOF
9594 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9598 /* end confdefs.h. */
9599 #include <X11/Xlib.h>
9600 #include <X11/extensions/Xrandr.h>
9604 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9609 if ac_fn_c_try_compile
"$LINENO"; then :
9611 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9619 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9620 case "x$with_xrandr" in
9621 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9623 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9624 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9628 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9631 /* end confdefs.h. */
9632 #include <X11/Xlib.h>
9633 #include <X11/extensions/Xinerama.h>
9637 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9642 if ac_fn_c_try_compile
"$LINENO"; then :
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9644 $as_echo_n "checking for -lXinerama... " >&6; }
9645 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
9646 $as_echo_n "(cached) " >&6
9648 ac_check_soname_save_LIBS
=$LIBS
9649 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9651 /* end confdefs.h. */
9653 /* Override any GCC internal prototype to avoid an error.
9654 Use char because int might match the return type of a GCC
9655 builtin and then its argument prototype would still apply. */
9659 char XineramaQueryScreens ();
9663 return XineramaQueryScreens ();
9668 if ac_fn_c_try_link
"$LINENO"; then :
9670 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9671 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'` ;;
9672 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9673 if test "x$ac_cv_lib_soname_Xinerama" = x
; then :
9674 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9678 rm -f core conftest.err conftest.
$ac_objext \
9679 conftest
$ac_exeext conftest.
$ac_ext
9680 LIBS
=$ac_check_soname_save_LIBS
9682 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9684 $as_echo "not found" >&6; }
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9688 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9690 cat >>confdefs.h
<<_ACEOF
9691 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9699 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9700 case "x$with_xinerama" in
9701 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9703 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9704 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9708 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9711 $as_echo_n "checking for -lXcomposite... " >&6; }
9712 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
9713 $as_echo_n "(cached) " >&6
9715 ac_check_soname_save_LIBS
=$LIBS
9716 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9718 /* end confdefs.h. */
9720 /* Override any GCC internal prototype to avoid an error.
9721 Use char because int might match the return type of a GCC
9722 builtin and then its argument prototype would still apply. */
9726 char XCompositeRedirectWindow ();
9730 return XCompositeRedirectWindow ();
9735 if ac_fn_c_try_link
"$LINENO"; then :
9737 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9738 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'` ;;
9739 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9740 if test "x$ac_cv_lib_soname_Xcomposite" = x
; then :
9741 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9745 rm -f core conftest.err conftest.
$ac_objext \
9746 conftest
$ac_exeext conftest.
$ac_ext
9747 LIBS
=$ac_check_soname_save_LIBS
9749 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9751 $as_echo "not found" >&6; }
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9755 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9757 cat >>confdefs.h
<<_ACEOF
9758 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9764 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9765 case "x$with_xcomposite" in
9766 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9768 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9769 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9773 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9774 #include <X11/Xlib.h>
9777 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
9779 cat >>confdefs.h
<<_ACEOF
9780 #define HAVE_XICCALLBACK_CALLBACK 1
9785 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9786 #include <X11/Xlib.h>
9789 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
9791 cat >>confdefs.h
<<_ACEOF
9792 #define HAVE_XEVENT_XCOOKIE 1
9801 if test "x$with_opengl" != "xno"
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9804 $as_echo_n "checking for -lGL... " >&6; }
9805 if ${ac_cv_lib_soname_GL+:} false
; then :
9806 $as_echo_n "(cached) " >&6
9808 ac_check_soname_save_LIBS
=$LIBS
9809 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9811 /* end confdefs.h. */
9813 /* Override any GCC internal prototype to avoid an error.
9814 Use char because int might match the return type of a GCC
9815 builtin and then its argument prototype would still apply. */
9819 char glXCreateContext ();
9823 return glXCreateContext ();
9828 if ac_fn_c_try_link
"$LINENO"; then :
9830 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9831 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'` ;;
9832 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9833 if test "x$ac_cv_lib_soname_GL" = x
; then :
9834 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9838 rm -f core conftest.err conftest.
$ac_objext \
9839 conftest
$ac_exeext conftest.
$ac_ext
9840 LIBS
=$ac_check_soname_save_LIBS
9842 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9844 $as_echo "not found" >&6; }
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9846 $as_echo_n "checking for -lGL... " >&6; }
9847 if ${ac_cv_lib_soname_GL+:} false
; then :
9848 $as_echo_n "(cached) " >&6
9850 ac_check_soname_save_LIBS
=$LIBS
9851 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"
9852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9853 /* end confdefs.h. */
9855 /* Override any GCC internal prototype to avoid an error.
9856 Use char because int might match the return type of a GCC
9857 builtin and then its argument prototype would still apply. */
9861 char glXCreateContext ();
9865 return glXCreateContext ();
9870 if ac_fn_c_try_link
"$LINENO"; then :
9872 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9873 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'` ;;
9874 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9875 if test "x$ac_cv_lib_soname_GL" = x
; then :
9876 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9880 rm -f core conftest.err conftest.
$ac_objext \
9881 conftest
$ac_exeext conftest.
$ac_ext
9882 LIBS
=$ac_check_soname_save_LIBS
9884 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9886 $as_echo "not found" >&6; }
9887 if test -f /usr
/X11R
6/lib
/libGL.a
9889 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
9890 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9892 opengl_msg
="No OpenGL library found on this system."
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"
9902 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"
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9906 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9908 cat >>confdefs.h
<<_ACEOF
9909 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9914 if test "x$with_glu" != "xno"
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9917 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9918 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
9919 $as_echo_n "(cached) " >&6
9921 ac_check_lib_save_LIBS
=$LIBS
9922 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9924 /* end confdefs.h. */
9926 /* Override any GCC internal prototype to avoid an error.
9927 Use char because int might match the return type of a GCC
9928 builtin and then its argument prototype would still apply. */
9936 return gluLookAt ();
9941 if ac_fn_c_try_link
"$LINENO"; then :
9942 ac_cv_lib_GLU_gluLookAt
=yes
9944 ac_cv_lib_GLU_gluLookAt
=no
9946 rm -f core conftest.err conftest.
$ac_objext \
9947 conftest
$ac_exeext conftest.
$ac_ext
9948 LIBS
=$ac_check_lib_save_LIBS
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9951 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9952 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
9956 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
9957 case "x$with_glu" in
9958 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9960 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
9961 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9966 if test "x$with_osmesa" != "xno"
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9969 $as_echo_n "checking for -lOSMesa... " >&6; }
9970 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
9971 $as_echo_n "(cached) " >&6
9973 ac_check_soname_save_LIBS
=$LIBS
9974 LIBS
="-lOSMesa $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9976 /* end confdefs.h. */
9978 /* Override any GCC internal prototype to avoid an error.
9979 Use char because int might match the return type of a GCC
9980 builtin and then its argument prototype would still apply. */
9993 if ac_fn_c_try_link
"$LINENO"; then :
9995 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9996 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'` ;;
9997 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9998 if test "x$ac_cv_lib_soname_OSMesa" = x
; then :
9999 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10003 rm -f core conftest.err conftest.
$ac_objext \
10004 conftest
$ac_exeext conftest.
$ac_ext
10005 LIBS
=$ac_check_soname_save_LIBS
10007 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10009 $as_echo "not found" >&6; }
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10013 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10015 cat >>confdefs.h
<<_ACEOF
10016 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10021 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10022 case "x$with_osmesa" in
10023 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10025 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10026 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10031 if test -n "$opengl_msg"; then :
10032 case "x$with_opengl" in
10033 x
) as_fn_append wine_warnings
"|$opengl_msg
10034 OpenGL and Direct3D won't be supported." ;;
10036 *) as_fn_error $?
"$opengl_msg
10037 OpenGL and Direct3D won't be supported.
10038 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10042 CPPFLAGS
="$ac_save_CPPFLAGS"
10047 enable_winex11_drv
=${enable_winex11_drv:-no}
10049 if test "x$XLIB" = "x"; then :
10052 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10053 without X support, which probably isn't what you want. You will need
10054 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10055 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10059 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10061 if test "$ac_cv_header_CL_cl_h" = "yes"
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10064 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10065 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10066 $as_echo_n "(cached) " >&6
10068 ac_check_lib_save_LIBS
=$LIBS
10069 LIBS
="-lOpenCL $LIBS"
10070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10071 /* end confdefs.h. */
10073 /* Override any GCC internal prototype to avoid an error.
10074 Use char because int might match the return type of a GCC
10075 builtin and then its argument prototype would still apply. */
10079 char clGetPlatformInfo ();
10083 return clGetPlatformInfo ();
10088 if ac_fn_c_try_link
"$LINENO"; then :
10089 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10091 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10093 rm -f core conftest.err conftest.
$ac_objext \
10094 conftest
$ac_exeext conftest.
$ac_ext
10095 LIBS
=$ac_check_lib_save_LIBS
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10098 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10099 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10100 LIBOPENCL
="-lOpenCL"
10105 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10106 case "x$with_opencl" in
10107 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10109 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10110 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10113 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10116 if test "x$with_xml" != "xno"
10118 if test -n "$XML2_CFLAGS"; then :
10120 elif test -n "$PKG_CONFIG"; then :
10121 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10123 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10124 if test -n "$XML2_LIBS"; then :
10126 elif test -n "$PKG_CONFIG"; then :
10127 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10129 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10130 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10131 ac_save_CPPFLAGS
=$CPPFLAGS
10132 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10133 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10135 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10136 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10137 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10138 cat >>confdefs.h
<<_ACEOF
10139 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10146 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"
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10149 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10150 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10151 $as_echo_n "(cached) " >&6
10153 ac_check_lib_save_LIBS
=$LIBS
10154 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10156 /* end confdefs.h. */
10158 /* Override any GCC internal prototype to avoid an error.
10159 Use char because int might match the return type of a GCC
10160 builtin and then its argument prototype would still apply. */
10164 char xmlParseMemory ();
10168 return xmlParseMemory ();
10173 if ac_fn_c_try_link
"$LINENO"; then :
10174 ac_cv_lib_xml2_xmlParseMemory
=yes
10176 ac_cv_lib_xml2_xmlParseMemory
=no
10178 rm -f core conftest.err conftest.
$ac_objext \
10179 conftest
$ac_exeext conftest.
$ac_ext
10180 LIBS
=$ac_check_lib_save_LIBS
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10183 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10184 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10186 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10193 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10194 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10195 $as_echo_n "(cached) " >&6
10197 ac_check_lib_save_LIBS
=$LIBS
10198 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10200 /* end confdefs.h. */
10202 /* Override any GCC internal prototype to avoid an error.
10203 Use char because int might match the return type of a GCC
10204 builtin and then its argument prototype would still apply. */
10208 char xmlReadMemory ();
10212 return xmlReadMemory ();
10217 if ac_fn_c_try_link
"$LINENO"; then :
10218 ac_cv_lib_xml2_xmlReadMemory
=yes
10220 ac_cv_lib_xml2_xmlReadMemory
=no
10222 rm -f core conftest.err conftest.
$ac_objext \
10223 conftest
$ac_exeext conftest.
$ac_ext
10224 LIBS
=$ac_check_lib_save_LIBS
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10227 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10228 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10230 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10235 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10236 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10237 $as_echo_n "(cached) " >&6
10239 ac_check_lib_save_LIBS
=$LIBS
10240 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10242 /* end confdefs.h. */
10244 /* Override any GCC internal prototype to avoid an error.
10245 Use char because int might match the return type of a GCC
10246 builtin and then its argument prototype would still apply. */
10250 char xmlNewDocPI ();
10254 return xmlNewDocPI ();
10259 if ac_fn_c_try_link
"$LINENO"; then :
10260 ac_cv_lib_xml2_xmlNewDocPI
=yes
10262 ac_cv_lib_xml2_xmlNewDocPI
=no
10264 rm -f core conftest.err conftest.
$ac_objext \
10265 conftest
$ac_exeext conftest.
$ac_ext
10266 LIBS
=$ac_check_lib_save_LIBS
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10269 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10270 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10272 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10277 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10278 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10279 $as_echo_n "(cached) " >&6
10281 ac_check_lib_save_LIBS
=$LIBS
10282 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10284 /* end confdefs.h. */
10286 /* Override any GCC internal prototype to avoid an error.
10287 Use char because int might match the return type of a GCC
10288 builtin and then its argument prototype would still apply. */
10292 char xmlSchemaSetParserStructuredErrors ();
10296 return xmlSchemaSetParserStructuredErrors ();
10301 if ac_fn_c_try_link
"$LINENO"; then :
10302 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10304 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10306 rm -f core conftest.err conftest.
$ac_objext \
10307 conftest
$ac_exeext conftest.
$ac_ext
10308 LIBS
=$ac_check_lib_save_LIBS
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10311 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10312 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10314 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10319 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10320 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10321 $as_echo_n "(cached) " >&6
10323 ac_check_lib_save_LIBS
=$LIBS
10324 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10326 /* end confdefs.h. */
10328 /* Override any GCC internal prototype to avoid an error.
10329 Use char because int might match the return type of a GCC
10330 builtin and then its argument prototype would still apply. */
10334 char xmlSchemaSetValidStructuredErrors ();
10338 return xmlSchemaSetValidStructuredErrors ();
10343 if ac_fn_c_try_link
"$LINENO"; then :
10344 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10346 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10348 rm -f core conftest.err conftest.
$ac_objext \
10349 conftest
$ac_exeext conftest.
$ac_ext
10350 LIBS
=$ac_check_lib_save_LIBS
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10353 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10354 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10356 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10361 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10362 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10363 $as_echo_n "(cached) " >&6
10365 ac_check_lib_save_LIBS
=$LIBS
10366 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10368 /* end confdefs.h. */
10370 /* Override any GCC internal prototype to avoid an error.
10371 Use char because int might match the return type of a GCC
10372 builtin and then its argument prototype would still apply. */
10376 char xmlFirstElementChild ();
10380 return xmlFirstElementChild ();
10385 if ac_fn_c_try_link
"$LINENO"; then :
10386 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10388 ac_cv_lib_xml2_xmlFirstElementChild
=no
10390 rm -f core conftest.err conftest.
$ac_objext \
10391 conftest
$ac_exeext conftest.
$ac_ext
10392 LIBS
=$ac_check_lib_save_LIBS
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10395 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10396 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10398 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10402 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10404 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10406 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10414 CPPFLAGS
=$ac_save_CPPFLAGS
10415 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10416 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10419 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10420 case "x$with_xml" in
10421 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10423 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10424 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10428 if test "x$with_xslt" != "xno"
10430 if test -n "$XSLT_CFLAGS"; then :
10432 elif test -n "$PKG_CONFIG"; then :
10433 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10435 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10436 if test -n "$XSLT_LIBS"; then :
10438 elif test -n "$PKG_CONFIG"; then :
10439 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10441 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10442 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10443 ac_save_CPPFLAGS
=$CPPFLAGS
10444 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10445 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10447 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10448 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10449 # include <libxslt/pattern.h>
10452 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10453 cat >>confdefs.h
<<_ACEOF
10454 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10461 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10464 $as_echo_n "checking for -lxslt... " >&6; }
10465 if ${ac_cv_lib_soname_xslt+:} false
; then :
10466 $as_echo_n "(cached) " >&6
10468 ac_check_soname_save_LIBS
=$LIBS
10469 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10471 /* end confdefs.h. */
10473 /* Override any GCC internal prototype to avoid an error.
10474 Use char because int might match the return type of a GCC
10475 builtin and then its argument prototype would still apply. */
10479 char xsltCompilePattern ();
10483 return xsltCompilePattern ();
10488 if ac_fn_c_try_link
"$LINENO"; then :
10490 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10491 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'` ;;
10492 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10493 if test "x$ac_cv_lib_soname_xslt" = x
; then :
10494 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10498 rm -f core conftest.err conftest.
$ac_objext \
10499 conftest
$ac_exeext conftest.
$ac_ext
10500 LIBS
=$ac_check_soname_save_LIBS
10502 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10504 $as_echo "not found" >&6; }
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10508 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10510 cat >>confdefs.h
<<_ACEOF
10511 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10519 CPPFLAGS
=$ac_save_CPPFLAGS
10520 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10521 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10524 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10525 case "x$with_xslt" in
10526 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10528 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10529 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10533 if test "x$with_dbus" != "xno"
10535 if test -n "$DBUS_CFLAGS"; then :
10537 elif test -n "$PKG_CONFIG"; then :
10538 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10541 if test -n "$DBUS_LIBS"; then :
10543 elif test -n "$PKG_CONFIG"; then :
10544 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10548 ac_save_CPPFLAGS
=$CPPFLAGS
10549 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10550 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10551 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10553 $as_echo_n "checking for -ldbus-1... " >&6; }
10554 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10555 $as_echo_n "(cached) " >&6
10557 ac_check_soname_save_LIBS
=$LIBS
10558 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10560 /* end confdefs.h. */
10562 /* Override any GCC internal prototype to avoid an error.
10563 Use char because int might match the return type of a GCC
10564 builtin and then its argument prototype would still apply. */
10568 char dbus_connection_close ();
10572 return dbus_connection_close ();
10577 if ac_fn_c_try_link
"$LINENO"; then :
10579 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10580 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'` ;;
10581 *) 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'`
10582 if test "x$ac_cv_lib_soname_dbus_1" = x
; then :
10583 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10587 rm -f core conftest.err conftest.
$ac_objext \
10588 conftest
$ac_exeext conftest.
$ac_ext
10589 LIBS
=$ac_check_soname_save_LIBS
10591 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10593 $as_echo "not found" >&6; }
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10597 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10599 cat >>confdefs.h
<<_ACEOF
10600 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10610 CPPFLAGS
=$ac_save_CPPFLAGS
10611 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10612 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10615 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10616 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10617 case "x$with_dbus" in
10618 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10620 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
10621 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10625 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10627 if test -n "$HAL_CFLAGS"; then :
10629 elif test -n "$PKG_CONFIG"; then :
10630 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
10633 if test -n "$HAL_LIBS"; then :
10635 elif test -n "$PKG_CONFIG"; then :
10636 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
10639 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
10640 ac_save_CPPFLAGS
=$CPPFLAGS
10641 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
10642 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10643 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10645 $as_echo_n "checking for -lhal... " >&6; }
10646 if ${ac_cv_lib_soname_hal+:} false
; then :
10647 $as_echo_n "(cached) " >&6
10649 ac_check_soname_save_LIBS
=$LIBS
10650 LIBS
="-lhal $HAL_LIBS $LIBS"
10651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10652 /* end confdefs.h. */
10654 /* Override any GCC internal prototype to avoid an error.
10655 Use char because int might match the return type of a GCC
10656 builtin and then its argument prototype would still apply. */
10660 char libhal_ctx_new ();
10664 return libhal_ctx_new ();
10669 if ac_fn_c_try_link
"$LINENO"; then :
10671 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10672 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'` ;;
10673 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10674 if test "x$ac_cv_lib_soname_hal" = x
; then :
10675 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10679 rm -f core conftest.err conftest.
$ac_objext \
10680 conftest
$ac_exeext conftest.
$ac_ext
10681 LIBS
=$ac_check_soname_save_LIBS
10683 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10685 $as_echo "not found" >&6; }
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10689 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10691 cat >>confdefs.h
<<_ACEOF
10692 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10702 CPPFLAGS
=$ac_save_CPPFLAGS
10703 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10704 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10706 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10707 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10708 case "x$with_hal" in
10709 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10711 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
10712 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10717 if test "x$with_gnutls" != "xno"
10719 if test -n "$GNUTLS_CFLAGS"; then :
10721 elif test -n "$PKG_CONFIG"; then :
10722 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10725 if test -n "$GNUTLS_LIBS"; then :
10727 elif test -n "$PKG_CONFIG"; then :
10728 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10732 ac_save_CPPFLAGS
=$CPPFLAGS
10733 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
10734 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10735 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
10736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10737 /* end confdefs.h. */
10738 #include <gnutls/gnutls.h>
10739 #include <gnutls/crypto.h>
10743 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10748 if ac_fn_c_try_compile
"$LINENO"; then :
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10750 $as_echo_n "checking for -lgnutls... " >&6; }
10751 if ${ac_cv_lib_soname_gnutls+:} false
; then :
10752 $as_echo_n "(cached) " >&6
10754 ac_check_soname_save_LIBS
=$LIBS
10755 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
10756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10757 /* end confdefs.h. */
10759 /* Override any GCC internal prototype to avoid an error.
10760 Use char because int might match the return type of a GCC
10761 builtin and then its argument prototype would still apply. */
10765 char gnutls_global_init ();
10769 return gnutls_global_init ();
10774 if ac_fn_c_try_link
"$LINENO"; then :
10776 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10777 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'` ;;
10778 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10779 if test "x$ac_cv_lib_soname_gnutls" = x
; then :
10780 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10784 rm -f core conftest.err conftest.
$ac_objext \
10785 conftest
$ac_exeext conftest.
$ac_ext
10786 LIBS
=$ac_check_soname_save_LIBS
10788 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10790 $as_echo "not found" >&6; }
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10794 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10796 cat >>confdefs.h
<<_ACEOF
10797 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10809 CPPFLAGS
=$ac_save_CPPFLAGS
10810 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10811 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10814 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10815 case "x$with_gnutls" in
10816 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10818 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
10819 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10824 if test "$ac_cv_header_ncurses_h" = "yes"
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10827 $as_echo_n "checking for -lncurses... " >&6; }
10828 if ${ac_cv_lib_soname_ncurses+:} false
; then :
10829 $as_echo_n "(cached) " >&6
10831 ac_check_soname_save_LIBS
=$LIBS
10832 LIBS
="-lncurses $LIBS"
10833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10834 /* end confdefs.h. */
10836 /* Override any GCC internal prototype to avoid an error.
10837 Use char because int might match the return type of a GCC
10838 builtin and then its argument prototype would still apply. */
10851 if ac_fn_c_try_link
"$LINENO"; then :
10853 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10854 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'` ;;
10855 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10856 if test "x$ac_cv_lib_soname_ncurses" = x
; then :
10857 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10861 rm -f core conftest.err conftest.
$ac_objext \
10862 conftest
$ac_exeext conftest.
$ac_ext
10863 LIBS
=$ac_check_soname_save_LIBS
10865 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10867 $as_echo "not found" >&6; }
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10871 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10873 cat >>confdefs.h
<<_ACEOF
10874 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10877 CURSESLIBS
="-lncurses"
10879 elif test "$ac_cv_header_curses_h" = "yes"
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10882 $as_echo_n "checking for -lcurses... " >&6; }
10883 if ${ac_cv_lib_soname_curses+:} false
; then :
10884 $as_echo_n "(cached) " >&6
10886 ac_check_soname_save_LIBS
=$LIBS
10887 LIBS
="-lcurses $LIBS"
10888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10889 /* end confdefs.h. */
10891 /* Override any GCC internal prototype to avoid an error.
10892 Use char because int might match the return type of a GCC
10893 builtin and then its argument prototype would still apply. */
10906 if ac_fn_c_try_link
"$LINENO"; then :
10908 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10909 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'` ;;
10910 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10911 if test "x$ac_cv_lib_soname_curses" = x
; then :
10912 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10916 rm -f core conftest.err conftest.
$ac_objext \
10917 conftest
$ac_exeext conftest.
$ac_ext
10918 LIBS
=$ac_check_soname_save_LIBS
10920 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10922 $as_echo "not found" >&6; }
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10926 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10928 cat >>confdefs.h
<<_ACEOF
10929 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10932 CURSESLIBS
="-lcurses"
10935 ac_save_LIBS
="$LIBS"
10936 LIBS
="$LIBS $CURSESLIBS"
10937 for ac_func
in mousemask
10939 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
10940 if test "x$ac_cv_func_mousemask" = xyes
; then :
10941 cat >>confdefs.h
<<_ACEOF
10942 #define HAVE_MOUSEMASK 1
10948 LIBS
="$ac_save_LIBS"
10949 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10950 case "x$with_curses" in
10951 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10953 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10954 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10958 if test "x$with_sane" != "xno"
10960 if test -n "$SANE_CFLAGS"; then :
10962 elif test -n "$PKG_CONFIG"; then :
10963 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
10965 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
10966 if test -n "$SANE_LIBS"; then :
10968 elif test -n "$PKG_CONFIG"; then :
10969 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
10971 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
10973 ac_save_CPPFLAGS
=$CPPFLAGS
10974 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
10975 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10976 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10978 $as_echo_n "checking for -lsane... " >&6; }
10979 if ${ac_cv_lib_soname_sane+:} false
; then :
10980 $as_echo_n "(cached) " >&6
10982 ac_check_soname_save_LIBS
=$LIBS
10983 LIBS
="-lsane $SANE_LIBS $LIBS"
10984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10985 /* end confdefs.h. */
10987 /* Override any GCC internal prototype to avoid an error.
10988 Use char because int might match the return type of a GCC
10989 builtin and then its argument prototype would still apply. */
10997 return sane_init ();
11002 if ac_fn_c_try_link
"$LINENO"; then :
11004 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11005 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'` ;;
11006 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11007 if test "x$ac_cv_lib_soname_sane" = x
; then :
11008 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11012 rm -f core conftest.err conftest.
$ac_objext \
11013 conftest
$ac_exeext conftest.
$ac_ext
11014 LIBS
=$ac_check_soname_save_LIBS
11016 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11018 $as_echo "not found" >&6; }
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11022 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11024 cat >>confdefs.h
<<_ACEOF
11025 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11035 CPPFLAGS
=$ac_save_CPPFLAGS
11036 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11037 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11040 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11041 case "x$with_sane" in
11042 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11044 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11045 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11049 if test "x$with_v4l" != "xno"
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11052 $as_echo_n "checking for -lv4l1... " >&6; }
11053 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11054 $as_echo_n "(cached) " >&6
11056 ac_check_soname_save_LIBS
=$LIBS
11057 LIBS
="-lv4l1 $LIBS"
11058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11059 /* end confdefs.h. */
11061 /* Override any GCC internal prototype to avoid an error.
11062 Use char because int might match the return type of a GCC
11063 builtin and then its argument prototype would still apply. */
11071 return v4l1_open ();
11076 if ac_fn_c_try_link
"$LINENO"; then :
11078 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11079 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'` ;;
11080 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11081 if test "x$ac_cv_lib_soname_v4l1" = x
; then :
11082 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11086 rm -f core conftest.err conftest.
$ac_objext \
11087 conftest
$ac_exeext conftest.
$ac_ext
11088 LIBS
=$ac_check_soname_save_LIBS
11090 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11092 $as_echo "not found" >&6; }
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11096 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11098 cat >>confdefs.h
<<_ACEOF
11099 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11105 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11106 case "x$with_v4l" in
11107 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11109 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11110 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11114 if test "x$with_gphoto" != "xno"
11116 if test -n "$GPHOTO2_CFLAGS"; then :
11118 elif test -n "$PKG_CONFIG"; then :
11119 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11121 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11122 if test -n "$GPHOTO2_LIBS"; then :
11124 elif test -n "$PKG_CONFIG"; then :
11125 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11127 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11128 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11129 ac_save_CPPFLAGS
=$CPPFLAGS
11130 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11131 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11132 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11134 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11135 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11136 $as_echo_n "(cached) " >&6
11138 ac_check_lib_save_LIBS
=$LIBS
11139 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11141 /* end confdefs.h. */
11143 /* Override any GCC internal prototype to avoid an error.
11144 Use char because int might match the return type of a GCC
11145 builtin and then its argument prototype would still apply. */
11149 char gp_camera_new ();
11153 return gp_camera_new ();
11158 if ac_fn_c_try_link
"$LINENO"; then :
11159 ac_cv_lib_gphoto2_gp_camera_new
=yes
11161 ac_cv_lib_gphoto2_gp_camera_new
=no
11163 rm -f core conftest.err conftest.
$ac_objext \
11164 conftest
$ac_exeext conftest.
$ac_ext
11165 LIBS
=$ac_check_lib_save_LIBS
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11168 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11169 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11171 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11174 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11178 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11182 CPPFLAGS
=$ac_save_CPPFLAGS
11183 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11184 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11186 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
11188 elif test -n "$PKG_CONFIG"; then :
11189 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11191 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11192 if test -n "$GPHOTO2_PORT_LIBS"; then :
11194 elif test -n "$PKG_CONFIG"; then :
11195 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11197 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11198 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11199 ac_save_CPPFLAGS
=$CPPFLAGS
11200 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11201 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11202 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11204 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11205 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11206 $as_echo_n "(cached) " >&6
11208 ac_check_lib_save_LIBS
=$LIBS
11209 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11211 /* end confdefs.h. */
11213 /* Override any GCC internal prototype to avoid an error.
11214 Use char because int might match the return type of a GCC
11215 builtin and then its argument prototype would still apply. */
11219 char gp_port_info_list_new ();
11223 return gp_port_info_list_new ();
11228 if ac_fn_c_try_link
"$LINENO"; then :
11229 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11231 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11233 rm -f core conftest.err conftest.
$ac_objext \
11234 conftest
$ac_exeext conftest.
$ac_ext
11235 LIBS
=$ac_check_lib_save_LIBS
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11238 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11239 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11241 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11244 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11248 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11252 CPPFLAGS
=$ac_save_CPPFLAGS
11253 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11254 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11257 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11258 case "x$with_gphoto" in
11259 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11261 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11262 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11265 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11266 case "x$with_gphoto" in
11267 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11269 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11270 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11275 if test "$ac_cv_header_resolv_h" = "yes"
11277 ac_save_LIBS
="$LIBS"
11278 for lib
in '' -lresolv
11280 LIBS
="$lib $ac_save_LIBS"
11281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11282 /* end confdefs.h. */
11283 #ifdef HAVE_NETINET_IN_H
11284 #include <netinet/in.h>
11286 #include <resolv.h>
11290 res_query("foo",ns_c_in,0,0,0);
11295 if ac_fn_c_try_link
"$LINENO"; then :
11297 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11302 rm -f core conftest.err conftest.
$ac_objext \
11303 conftest
$ac_exeext conftest.
$ac_ext
11304 if test "${RESOLVLIBS+set}" = set; then
11308 LIBS
="$ac_save_LIBS"
11311 if test "x$with_lcms2" != "xno"
11313 if test -n "$LCMS2_CFLAGS"; then :
11315 elif test -n "$PKG_CONFIG"; then :
11316 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11319 if test -n "$LCMS2_LIBS"; then :
11321 elif test -n "$PKG_CONFIG"; then :
11322 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11325 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11326 ac_save_CPPFLAGS
=$CPPFLAGS
11327 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11328 for ac_header
in lcms2.h
11330 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11331 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11332 cat >>confdefs.h
<<_ACEOF
11333 #define HAVE_LCMS2_H 1
11340 if test "$ac_cv_header_lcms2_h" = "yes"
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11343 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11344 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11345 $as_echo_n "(cached) " >&6
11347 ac_check_lib_save_LIBS
=$LIBS
11348 LIBS
="-llcms2 $LIBS"
11349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11350 /* end confdefs.h. */
11352 /* Override any GCC internal prototype to avoid an error.
11353 Use char because int might match the return type of a GCC
11354 builtin and then its argument prototype would still apply. */
11358 char cmsOpenProfileFromFile ();
11362 return cmsOpenProfileFromFile ();
11367 if ac_fn_c_try_link
"$LINENO"; then :
11368 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11370 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11372 rm -f core conftest.err conftest.
$ac_objext \
11373 conftest
$ac_exeext conftest.
$ac_ext
11374 LIBS
=$ac_check_lib_save_LIBS
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11377 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11378 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11380 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11390 CPPFLAGS
=$ac_save_CPPFLAGS
11391 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11392 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11395 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11396 case "x$with_cms" in
11397 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11399 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11400 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11404 if test "x$with_freetype" != "xno"
11406 if test -n "$FREETYPE_CFLAGS"; then :
11408 elif test -n "$PKG_CONFIG"; then :
11409 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11411 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11412 if test -n "$FREETYPE_LIBS"; then :
11414 elif test -n "$PKG_CONFIG"; then :
11415 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11417 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11418 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11419 ac_save_CPPFLAGS
=$CPPFLAGS
11420 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11422 $as_echo_n "checking for -lfreetype... " >&6; }
11423 if ${ac_cv_lib_soname_freetype+:} false
; then :
11424 $as_echo_n "(cached) " >&6
11426 ac_check_soname_save_LIBS
=$LIBS
11427 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11429 /* end confdefs.h. */
11431 /* Override any GCC internal prototype to avoid an error.
11432 Use char because int might match the return type of a GCC
11433 builtin and then its argument prototype would still apply. */
11437 char FT_Init_FreeType ();
11441 return FT_Init_FreeType ();
11446 if ac_fn_c_try_link
"$LINENO"; then :
11448 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11449 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'` ;;
11450 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11451 if test "x$ac_cv_lib_soname_freetype" = x
; then :
11452 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11456 rm -f core conftest.err conftest.
$ac_objext \
11457 conftest
$ac_exeext conftest.
$ac_ext
11458 LIBS
=$ac_check_soname_save_LIBS
11460 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11462 $as_echo "not found" >&6; }
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11466 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11468 cat >>confdefs.h
<<_ACEOF
11469 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11474 if test "$ft_lib" = "yes"
11476 for ac_header
in ft2build.h \
11477 freetype
/freetype.h \
11478 freetype
/ftglyph.h \
11479 freetype
/fttypes.h \
11480 freetype
/tttables.h \
11481 freetype
/ftsnames.h \
11482 freetype
/ttnameid.h \
11483 freetype
/ftoutln.h \
11484 freetype
/ftwinfnt.h \
11485 freetype
/ftmodapi.h \
11486 freetype
/ftlcdfil.h
11488 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11489 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
11490 # include <ft2build.h>
11493 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11494 cat >>confdefs.h
<<_ACEOF
11495 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11503 /* end confdefs.h. */
11504 #include <ft2build.h>
11505 #include <freetype/fttrigon.h>
11507 if ac_fn_c_try_cpp
"$LINENO"; then :
11509 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
11511 wine_cv_fttrigon
=yes
11513 wine_cv_fttrigon
=no
11515 rm -f conftest.err conftest.i conftest.
$ac_ext
11516 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
11518 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
11520 cat >>confdefs.h
<<_ACEOF
11521 #define HAVE_FT_TRUETYPEENGINETYPE 1
11527 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11530 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11538 CPPFLAGS
=$ac_save_CPPFLAGS
11539 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11540 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11543 if test "x$ac_cv_header_freetype_freetype_h" != xyes
-o "x$wine_cv_fttrigon" != xyes
; then :
11544 case "x$with_freetype" in
11546 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
11547 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11550 test "x$ac_cv_header_freetype_freetype_h" = xyes
-a "x$wine_cv_fttrigon" = xyes || enable_fonts
=${enable_fonts:-no}
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11553 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11554 if ${ac_cv_c_ppdev+:} false
; then :
11555 $as_echo_n "(cached) " >&6
11557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11558 /* end confdefs.h. */
11559 #ifdef HAVE_SYS_IOCTL_H
11560 # include <sys/ioctl.h>
11562 #include <linux/ppdev.h>
11566 ioctl (1,PPCLAIM,0)
11571 if ac_fn_c_try_compile
"$LINENO"; then :
11572 ac_cv_c_ppdev
="yes"
11576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11579 $as_echo "$ac_cv_c_ppdev" >&6; }
11580 if test "$ac_cv_c_ppdev" = "yes"
11583 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11587 ac_wine_check_funcs_save_LIBS
="$LIBS"
11588 LIBS
="$LIBS $LIBPTHREAD"
11590 pthread_attr_get_np \
11591 pthread_getattr_np \
11592 pthread_getthreadid_np \
11593 pthread_get_stackaddr_np \
11594 pthread_get_stacksize_np
11596 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11597 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11598 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11599 cat >>confdefs.h
<<_ACEOF
11600 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11606 LIBS
="$ac_wine_check_funcs_save_LIBS"
11608 if test "$ac_cv_header_zlib_h" = "yes"
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11611 $as_echo_n "checking for inflate in -lz... " >&6; }
11612 if ${ac_cv_lib_z_inflate+:} false
; then :
11613 $as_echo_n "(cached) " >&6
11615 ac_check_lib_save_LIBS
=$LIBS
11617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11618 /* end confdefs.h. */
11620 /* Override any GCC internal prototype to avoid an error.
11621 Use char because int might match the return type of a GCC
11622 builtin and then its argument prototype would still apply. */
11635 if ac_fn_c_try_link
"$LINENO"; then :
11636 ac_cv_lib_z_inflate
=yes
11638 ac_cv_lib_z_inflate
=no
11640 rm -f core conftest.err conftest.
$ac_objext \
11641 conftest
$ac_exeext conftest.
$ac_ext
11642 LIBS
=$ac_check_lib_save_LIBS
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11645 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11646 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
11648 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11655 if test "x$ZLIB" = "x"; then :
11656 case "x$with_zlib" in
11657 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11659 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
11660 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11664 if test "x$enable_tools" != xno
11666 if test "$ac_cv_header_gettext_po_h" = "yes"
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11669 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11670 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
11671 $as_echo_n "(cached) " >&6
11673 ac_check_lib_save_LIBS
=$LIBS
11674 LIBS
="-lgettextpo $LIBS"
11675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11676 /* end confdefs.h. */
11678 /* Override any GCC internal prototype to avoid an error.
11679 Use char because int might match the return type of a GCC
11680 builtin and then its argument prototype would still apply. */
11684 char po_message_msgctxt ();
11688 return po_message_msgctxt ();
11693 if ac_fn_c_try_link
"$LINENO"; then :
11694 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
11696 ac_cv_lib_gettextpo_po_message_msgctxt
=no
11698 rm -f core conftest.err conftest.
$ac_objext \
11699 conftest
$ac_exeext conftest.
$ac_ext
11700 LIBS
=$ac_check_lib_save_LIBS
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11703 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11704 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
11706 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11708 LIBGETTEXTPO
="-lgettextpo"
11713 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
11714 case "x$with_gettextpo" in
11715 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11717 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11718 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11723 if test "x$with_gstreamer" != "xno"
11725 if test -n "$GSTREAMER_CFLAGS"; then :
11727 elif test -n "$PKG_CONFIG"; then :
11728 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11731 if test -n "$GSTREAMER_LIBS"; then :
11733 elif test -n "$PKG_CONFIG"; then :
11734 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
11738 ac_save_CPPFLAGS
=$CPPFLAGS
11739 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
11741 for i
in $GSTREAMER_CFLAGS
11744 -I*) ac_gst_incl
="$ac_gst_incl $i";;
11747 GSTREAMER_CFLAGS
=$ac_gst_incl
11748 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
11749 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11750 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
11751 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11752 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11754 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11756 /* end confdefs.h. */
11757 #include <gst/app/gstappsink.h>
11761 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11766 if ac_fn_c_try_compile
"$LINENO"; then :
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11768 $as_echo "yes" >&6; }
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11770 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11771 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
11772 $as_echo_n "(cached) " >&6
11774 ac_check_lib_save_LIBS
=$LIBS
11775 LIBS
="-lgstreamer-0.10 $LIBS"
11776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11777 /* end confdefs.h. */
11779 /* Override any GCC internal prototype to avoid an error.
11780 Use char because int might match the return type of a GCC
11781 builtin and then its argument prototype would still apply. */
11785 char gst_pad_get_caps_reffed ();
11789 return gst_pad_get_caps_reffed ();
11794 if ac_fn_c_try_link
"$LINENO"; then :
11795 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
11797 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
11799 rm -f core conftest.err conftest.
$ac_objext \
11800 conftest
$ac_exeext conftest.
$ac_ext
11801 LIBS
=$ac_check_lib_save_LIBS
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11804 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11805 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11807 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11808 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
11809 $as_echo_n "(cached) " >&6
11811 ac_check_lib_save_LIBS
=$LIBS
11812 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
11813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11814 /* end confdefs.h. */
11816 /* Override any GCC internal prototype to avoid an error.
11817 Use char because int might match the return type of a GCC
11818 builtin and then its argument prototype would still apply. */
11822 char gst_app_buffer_new ();
11826 return gst_app_buffer_new ();
11831 if ac_fn_c_try_link
"$LINENO"; then :
11832 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
11834 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
11836 rm -f core conftest.err conftest.
$ac_objext \
11837 conftest
$ac_exeext conftest.
$ac_ext
11838 LIBS
=$ac_check_lib_save_LIBS
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11841 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11842 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11850 $as_echo "no" >&6; }
11852 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11857 GSTREAMER_CFLAGS
=""
11861 CPPFLAGS
=$ac_save_CPPFLAGS
11862 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11863 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11866 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
11867 case "x$with_gstreamer" in
11868 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11870 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11871 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11874 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
11878 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11881 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11882 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
11883 $as_echo_n "(cached) " >&6
11885 ac_check_lib_save_LIBS
=$LIBS
11886 LIBS
="-lasound $LIBS"
11887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11888 /* end confdefs.h. */
11890 /* Override any GCC internal prototype to avoid an error.
11891 Use char because int might match the return type of a GCC
11892 builtin and then its argument prototype would still apply. */
11896 char snd_pcm_hw_params_get_access_mask ();
11900 return snd_pcm_hw_params_get_access_mask ();
11905 if ac_fn_c_try_link
"$LINENO"; then :
11906 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
11908 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
11910 rm -f core conftest.err conftest.
$ac_objext \
11911 conftest
$ac_exeext conftest.
$ac_ext
11912 LIBS
=$ac_check_lib_save_LIBS
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11915 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11916 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
11917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11918 /* end confdefs.h. */
11919 #ifdef HAVE_ALSA_ASOUNDLIB_H
11920 #include <alsa/asoundlib.h>
11921 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11922 #include <sys/asoundlib.h>
11927 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11932 if ac_fn_c_try_compile
"$LINENO"; then :
11933 ALSALIBS
="-lasound"
11935 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11940 if test "x$with_oss" != xno
11942 ac_save_CPPFLAGS
="$CPPFLAGS"
11943 if test -f /etc
/oss.conf
11947 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11948 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
11949 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11950 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
11951 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11953 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
11955 cat >>confdefs.h
<<_ACEOF
11956 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11959 OSS4INCL
="$ac_oss_incl"
11966 CPPFLAGS
="$ac_save_CPPFLAGS"
11967 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11969 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11973 if test "x$with_capi" != "xno"
11975 if test -n "$CAPI20_CFLAGS"; then :
11977 elif test -n "$PKG_CONFIG"; then :
11978 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
11981 if test -n "$CAPI20_LIBS"; then :
11983 elif test -n "$PKG_CONFIG"; then :
11984 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
11988 ac_save_CPPFLAGS
=$CPPFLAGS
11989 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
11990 for ac_header
in capi20.h linux
/capi.h
11992 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11993 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
11995 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11996 cat >>confdefs.h
<<_ACEOF
11997 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12004 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12007 $as_echo_n "checking for -lcapi20... " >&6; }
12008 if ${ac_cv_lib_soname_capi20+:} false
; then :
12009 $as_echo_n "(cached) " >&6
12011 ac_check_soname_save_LIBS
=$LIBS
12012 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12014 /* end confdefs.h. */
12016 /* Override any GCC internal prototype to avoid an error.
12017 Use char because int might match the return type of a GCC
12018 builtin and then its argument prototype would still apply. */
12022 char capi20_register ();
12026 return capi20_register ();
12031 if ac_fn_c_try_link
"$LINENO"; then :
12033 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12034 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'` ;;
12035 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12036 if test "x$ac_cv_lib_soname_capi20" = x
; then :
12037 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12041 rm -f core conftest.err conftest.
$ac_objext \
12042 conftest
$ac_exeext conftest.
$ac_ext
12043 LIBS
=$ac_check_soname_save_LIBS
12045 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12047 $as_echo "not found" >&6; }
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12051 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12053 cat >>confdefs.h
<<_ACEOF
12054 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12060 CPPFLAGS
=$ac_save_CPPFLAGS
12061 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12062 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12065 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12066 case "x$with_capi" in
12067 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12069 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12070 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12076 if test "x$with_cups" != "xno"
12078 ac_save_CPPFLAGS
="$CPPFLAGS"
12079 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12080 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12081 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12082 for ac_header
in cups
/cups.h
12084 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12085 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12086 cat >>confdefs.h
<<_ACEOF
12087 #define HAVE_CUPS_CUPS_H 1
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12090 $as_echo_n "checking for -lcups... " >&6; }
12091 if ${ac_cv_lib_soname_cups+:} false
; then :
12092 $as_echo_n "(cached) " >&6
12094 ac_check_soname_save_LIBS
=$LIBS
12095 LIBS
="-lcups $ac_cups_libs $LIBS"
12096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12097 /* end confdefs.h. */
12099 /* Override any GCC internal prototype to avoid an error.
12100 Use char because int might match the return type of a GCC
12101 builtin and then its argument prototype would still apply. */
12105 char cupsGetDefault ();
12109 return cupsGetDefault ();
12114 if ac_fn_c_try_link
"$LINENO"; then :
12116 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12117 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'` ;;
12118 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12119 if test "x$ac_cv_lib_soname_cups" = x
; then :
12120 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12124 rm -f core conftest.err conftest.
$ac_objext \
12125 conftest
$ac_exeext conftest.
$ac_ext
12126 LIBS
=$ac_check_soname_save_LIBS
12128 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12130 $as_echo "not found" >&6; }
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12134 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12136 cat >>confdefs.h
<<_ACEOF
12137 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12140 CUPSINCL
="$ac_cups_cflags"
12146 CPPFLAGS
="$ac_save_CPPFLAGS"
12148 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12149 case "x$with_cups" in
12150 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12152 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12153 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12157 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12160 $as_echo_n "checking for -lfontconfig... " >&6; }
12161 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12162 $as_echo_n "(cached) " >&6
12164 ac_check_soname_save_LIBS
=$LIBS
12165 LIBS
="-lfontconfig $LIBS"
12166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12167 /* end confdefs.h. */
12169 /* Override any GCC internal prototype to avoid an error.
12170 Use char because int might match the return type of a GCC
12171 builtin and then its argument prototype would still apply. */
12184 if ac_fn_c_try_link
"$LINENO"; then :
12186 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12187 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'` ;;
12188 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12189 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
12190 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12194 rm -f core conftest.err conftest.
$ac_objext \
12195 conftest
$ac_exeext conftest.
$ac_ext
12196 LIBS
=$ac_check_soname_save_LIBS
12198 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12200 $as_echo "not found" >&6; }
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12204 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12206 cat >>confdefs.h
<<_ACEOF
12207 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12212 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
12214 ac_save_CPPFLAGS
="$CPPFLAGS"
12215 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
12216 $as_unset ac_cv_header_fontconfig_fontconfig_h
12217 for ac_header
in fontconfig
/fontconfig.h
12219 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12220 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12221 cat >>confdefs.h
<<_ACEOF
12222 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12229 CPPFLAGS
="$ac_save_CPPFLAGS"
12230 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12232 FONTCONFIGINCL
="$X_CFLAGS"
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12235 $as_echo_n "checking for -lfontconfig... " >&6; }
12236 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12237 $as_echo_n "(cached) " >&6
12239 ac_check_soname_save_LIBS
=$LIBS
12240 LIBS
="-lfontconfig $X_LIBS $LIBS"
12241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12242 /* end confdefs.h. */
12244 /* Override any GCC internal prototype to avoid an error.
12245 Use char because int might match the return type of a GCC
12246 builtin and then its argument prototype would still apply. */
12259 if ac_fn_c_try_link
"$LINENO"; then :
12261 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12262 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'` ;;
12263 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12264 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
12265 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12269 rm -f core conftest.err conftest.
$ac_objext \
12270 conftest
$ac_exeext conftest.
$ac_ext
12271 LIBS
=$ac_check_soname_save_LIBS
12273 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12275 $as_echo "not found" >&6; }
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12279 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12281 cat >>confdefs.h
<<_ACEOF
12282 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12289 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12290 case "x$with_fontconfig" in
12291 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12293 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12294 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12298 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12301 $as_echo_n "checking for -lgsm... " >&6; }
12302 if ${ac_cv_lib_soname_gsm+:} false
; then :
12303 $as_echo_n "(cached) " >&6
12305 ac_check_soname_save_LIBS
=$LIBS
12307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12308 /* end confdefs.h. */
12310 /* Override any GCC internal prototype to avoid an error.
12311 Use char because int might match the return type of a GCC
12312 builtin and then its argument prototype would still apply. */
12316 char gsm_create ();
12320 return gsm_create ();
12325 if ac_fn_c_try_link
"$LINENO"; then :
12327 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12328 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'` ;;
12329 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12330 if test "x$ac_cv_lib_soname_gsm" = x
; then :
12331 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12335 rm -f core conftest.err conftest.
$ac_objext \
12336 conftest
$ac_exeext conftest.
$ac_ext
12337 LIBS
=$ac_check_soname_save_LIBS
12339 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12341 $as_echo "not found" >&6; }
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12345 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12347 cat >>confdefs.h
<<_ACEOF
12348 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12354 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12355 case "x$with_gsm" in
12356 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12358 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12359 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12363 if test "x$with_jpeg" != "xno"
12365 if test -n "$JPEG_CFLAGS"; then :
12367 elif test -n "$PKG_CONFIG"; then :
12368 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12371 if test -n "$JPEG_LIBS"; then :
12373 elif test -n "$PKG_CONFIG"; then :
12374 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12378 ac_save_CPPFLAGS
=$CPPFLAGS
12379 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12380 for ac_header
in jpeglib.h
12382 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12383 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12384 cat >>confdefs.h
<<_ACEOF
12385 #define HAVE_JPEGLIB_H 1
12392 if test "$ac_cv_header_jpeglib_h" = "yes"
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12395 $as_echo_n "checking for -ljpeg... " >&6; }
12396 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12397 $as_echo_n "(cached) " >&6
12399 ac_check_soname_save_LIBS
=$LIBS
12400 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12402 /* end confdefs.h. */
12404 /* Override any GCC internal prototype to avoid an error.
12405 Use char because int might match the return type of a GCC
12406 builtin and then its argument prototype would still apply. */
12410 char jpeg_start_decompress ();
12414 return jpeg_start_decompress ();
12419 if ac_fn_c_try_link
"$LINENO"; then :
12421 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12422 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'` ;;
12423 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12424 if test "x$ac_cv_lib_soname_jpeg" = x
; then :
12425 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12429 rm -f core conftest.err conftest.
$ac_objext \
12430 conftest
$ac_exeext conftest.
$ac_ext
12431 LIBS
=$ac_check_soname_save_LIBS
12433 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12435 $as_echo "not found" >&6; }
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12439 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12441 cat >>confdefs.h
<<_ACEOF
12442 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12450 CPPFLAGS
=$ac_save_CPPFLAGS
12451 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12452 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12455 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12456 case "x$with_jpeg" in
12457 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12459 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12460 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12464 if test "x$with_png" != "xno"
12466 if test -n "$PNG_CFLAGS"; then :
12468 elif test -n "$PKG_CONFIG"; then :
12469 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12471 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12472 if test -n "$PNG_LIBS"; then :
12474 elif test -n "$PKG_CONFIG"; then :
12475 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12477 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12479 ac_save_CPPFLAGS
=$CPPFLAGS
12480 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12481 for ac_header
in png.h
12483 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12484 if test "x$ac_cv_header_png_h" = xyes
; then :
12485 cat >>confdefs.h
<<_ACEOF
12486 #define HAVE_PNG_H 1
12493 if test "$ac_cv_header_png_h" = "yes"
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12496 $as_echo_n "checking for -lpng... " >&6; }
12497 if ${ac_cv_lib_soname_png+:} false
; then :
12498 $as_echo_n "(cached) " >&6
12500 ac_check_soname_save_LIBS
=$LIBS
12501 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12503 /* end confdefs.h. */
12505 /* Override any GCC internal prototype to avoid an error.
12506 Use char because int might match the return type of a GCC
12507 builtin and then its argument prototype would still apply. */
12511 char png_create_read_struct ();
12515 return png_create_read_struct ();
12520 if ac_fn_c_try_link
"$LINENO"; then :
12522 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12523 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'` ;;
12524 *) 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'`
12525 if test "x$ac_cv_lib_soname_png" = x
; then :
12526 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12530 rm -f core conftest.err conftest.
$ac_objext \
12531 conftest
$ac_exeext conftest.
$ac_ext
12532 LIBS
=$ac_check_soname_save_LIBS
12534 if test "x$ac_cv_lib_soname_png" = "x"; then :
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12536 $as_echo "not found" >&6; }
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12540 $as_echo "$ac_cv_lib_soname_png" >&6; }
12542 cat >>confdefs.h
<<_ACEOF
12543 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12547 /* end confdefs.h. */
12552 typeof(png_set_expand_gray_1_2_4_to_8) *p
12557 if ac_fn_c_try_compile
"$LINENO"; then :
12559 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12567 CPPFLAGS
=$ac_save_CPPFLAGS
12568 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12569 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12572 if test "x$ac_cv_lib_soname_png" = "x"; then :
12573 case "x$with_png" in
12574 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12576 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
12577 This is an error since --with-png was requested." "$LINENO" 5 ;;
12581 if test "x$with_tiff" != "xno"
12583 if test -n "$TIFF_CFLAGS"; then :
12585 elif test -n "$PKG_CONFIG"; then :
12586 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12589 if test -n "$TIFF_LIBS"; then :
12591 elif test -n "$PKG_CONFIG"; then :
12592 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12596 ac_save_CPPFLAGS
=$CPPFLAGS
12597 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
12598 for ac_header
in tiffio.h
12600 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12601 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
12602 cat >>confdefs.h
<<_ACEOF
12603 #define HAVE_TIFFIO_H 1
12610 if test "$ac_cv_header_tiffio_h" = "yes"
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12613 $as_echo_n "checking for -ltiff... " >&6; }
12614 if ${ac_cv_lib_soname_tiff+:} false
; then :
12615 $as_echo_n "(cached) " >&6
12617 ac_check_soname_save_LIBS
=$LIBS
12618 LIBS
="-ltiff $TIFF_LIBS $LIBS"
12619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12620 /* end confdefs.h. */
12622 /* Override any GCC internal prototype to avoid an error.
12623 Use char because int might match the return type of a GCC
12624 builtin and then its argument prototype would still apply. */
12628 char TIFFClientOpen ();
12632 return TIFFClientOpen ();
12637 if ac_fn_c_try_link
"$LINENO"; then :
12639 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12640 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'` ;;
12641 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12642 if test "x$ac_cv_lib_soname_tiff" = x
; then :
12643 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12647 rm -f core conftest.err conftest.
$ac_objext \
12648 conftest
$ac_exeext conftest.
$ac_ext
12649 LIBS
=$ac_check_soname_save_LIBS
12651 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12653 $as_echo "not found" >&6; }
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12657 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12659 cat >>confdefs.h
<<_ACEOF
12660 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12666 CPPFLAGS
=$ac_save_CPPFLAGS
12667 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12668 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12671 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12672 case "x$with_tiff" in
12673 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12675 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
12676 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12680 if test "x$with_mpg123" != "xno"
12682 if test -n "$MPG123_CFLAGS"; then :
12684 elif test -n "$PKG_CONFIG"; then :
12685 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
12688 if test -n "$MPG123_LIBS"; then :
12690 elif test -n "$PKG_CONFIG"; then :
12691 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
12694 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
12695 ac_save_CPPFLAGS
=$CPPFLAGS
12696 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
12697 for ac_header
in mpg123.h
12699 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
12700 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
12701 cat >>confdefs.h
<<_ACEOF
12702 #define HAVE_MPG123_H 1
12709 if test "$ac_cv_header_mpg123_h" = "yes"
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12712 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12713 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
12714 $as_echo_n "(cached) " >&6
12716 ac_check_lib_save_LIBS
=$LIBS
12717 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
12718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12719 /* end confdefs.h. */
12721 /* Override any GCC internal prototype to avoid an error.
12722 Use char because int might match the return type of a GCC
12723 builtin and then its argument prototype would still apply. */
12727 char mpg123_feed ();
12731 return mpg123_feed ();
12736 if ac_fn_c_try_link
"$LINENO"; then :
12737 ac_cv_lib_mpg123_mpg123_feed
=yes
12739 ac_cv_lib_mpg123_mpg123_feed
=no
12741 rm -f core conftest.err conftest.
$ac_objext \
12742 conftest
$ac_exeext conftest.
$ac_ext
12743 LIBS
=$ac_check_lib_save_LIBS
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12746 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12747 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
12757 CPPFLAGS
=$ac_save_CPPFLAGS
12758 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12759 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12762 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
12763 case "x$with_mpg123" in
12764 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12766 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12767 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12770 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}
12772 if test "$ac_cv_header_AL_al_h" = "yes"
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12775 $as_echo_n "checking for -lopenal... " >&6; }
12776 if ${ac_cv_lib_soname_openal+:} false
; then :
12777 $as_echo_n "(cached) " >&6
12779 ac_check_soname_save_LIBS
=$LIBS
12780 LIBS
="-lopenal $LIBS"
12781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12782 /* end confdefs.h. */
12784 /* Override any GCC internal prototype to avoid an error.
12785 Use char because int might match the return type of a GCC
12786 builtin and then its argument prototype would still apply. */
12790 char alGetSource3i ();
12794 return alGetSource3i ();
12799 if ac_fn_c_try_link
"$LINENO"; then :
12801 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12802 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'` ;;
12803 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12804 if test "x$ac_cv_lib_soname_openal" = x
; then :
12805 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12809 rm -f core conftest.err conftest.
$ac_objext \
12810 conftest
$ac_exeext conftest.
$ac_ext
12811 LIBS
=$ac_check_soname_save_LIBS
12813 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12815 $as_echo "not found" >&6; }
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12819 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12821 cat >>confdefs.h
<<_ACEOF
12822 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12825 LIBOPENAL
="-lopenal"
12827 ac_cv_lib_openal
=yes
12829 cat >>confdefs.h
<<_ACEOF
12830 #define HAVE_OPENAL 1
12835 if test "x$ac_cv_lib_openal" != xyes
; then :
12836 case "x$with_openal" in
12837 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12839 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12840 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12843 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
12845 if test "$ac_cv_header_kstat_h" = "yes"
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12848 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12849 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
12850 $as_echo_n "(cached) " >&6
12852 ac_check_lib_save_LIBS
=$LIBS
12853 LIBS
="-lkstat $LIBS"
12854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12855 /* end confdefs.h. */
12857 /* Override any GCC internal prototype to avoid an error.
12858 Use char because int might match the return type of a GCC
12859 builtin and then its argument prototype would still apply. */
12863 char kstat_open ();
12867 return kstat_open ();
12872 if ac_fn_c_try_link
"$LINENO"; then :
12873 ac_cv_lib_kstat_kstat_open
=yes
12875 ac_cv_lib_kstat_kstat_open
=no
12877 rm -f core conftest.err conftest.
$ac_objext \
12878 conftest
$ac_exeext conftest.
$ac_ext
12879 LIBS
=$ac_check_lib_save_LIBS
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12882 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12883 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
12885 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12893 if test "$ac_cv_header_libprocstat_h" = "yes"
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
12896 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
12897 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
12898 $as_echo_n "(cached) " >&6
12900 ac_check_lib_save_LIBS
=$LIBS
12901 LIBS
="-lprocstat $LIBS"
12902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12903 /* end confdefs.h. */
12905 /* Override any GCC internal prototype to avoid an error.
12906 Use char because int might match the return type of a GCC
12907 builtin and then its argument prototype would still apply. */
12911 char procstat_open_sysctl ();
12915 return procstat_open_sysctl ();
12920 if ac_fn_c_try_link
"$LINENO"; then :
12921 ac_cv_lib_procstat_procstat_open_sysctl
=yes
12923 ac_cv_lib_procstat_procstat_open_sysctl
=no
12925 rm -f core conftest.err conftest.
$ac_objext \
12926 conftest
$ac_exeext conftest.
$ac_ext
12927 LIBS
=$ac_check_lib_save_LIBS
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
12930 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
12931 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
12933 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
12935 LIBPROCSTAT
="-lprocstat"
12941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12942 $as_echo_n "checking for -lodbc... " >&6; }
12943 if ${ac_cv_lib_soname_odbc+:} false
; then :
12944 $as_echo_n "(cached) " >&6
12946 ac_check_soname_save_LIBS
=$LIBS
12947 LIBS
="-lodbc $LIBS"
12948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12949 /* end confdefs.h. */
12951 /* Override any GCC internal prototype to avoid an error.
12952 Use char because int might match the return type of a GCC
12953 builtin and then its argument prototype would still apply. */
12957 char SQLConnect ();
12961 return SQLConnect ();
12966 if ac_fn_c_try_link
"$LINENO"; then :
12968 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12969 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'` ;;
12970 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12971 if test "x$ac_cv_lib_soname_odbc" = x
; then :
12972 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12976 rm -f core conftest.err conftest.
$ac_objext \
12977 conftest
$ac_exeext conftest.
$ac_ext
12978 LIBS
=$ac_check_soname_save_LIBS
12980 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12982 $as_echo "not found" >&6; }
12983 cat >>confdefs.h
<<_ACEOF
12984 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12989 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12991 cat >>confdefs.h
<<_ACEOF
12992 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12998 if test "x$with_netapi" != "xno"
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13001 $as_echo_n "checking for -lnetapi... " >&6; }
13002 if ${ac_cv_lib_soname_netapi+:} false
; then :
13003 $as_echo_n "(cached) " >&6
13005 ac_check_soname_save_LIBS
=$LIBS
13006 LIBS
="-lnetapi $LIBS"
13007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13008 /* end confdefs.h. */
13010 /* Override any GCC internal prototype to avoid an error.
13011 Use char because int might match the return type of a GCC
13012 builtin and then its argument prototype would still apply. */
13016 char libnetapi_init ();
13020 return libnetapi_init ();
13025 if ac_fn_c_try_link
"$LINENO"; then :
13027 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13028 dylib
) ac_cv_lib_soname_netapi
=`otool -L conftest$ac_exeext | grep "libnetapi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libnetapi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13029 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13030 if test "x$ac_cv_lib_soname_netapi" = x
; then :
13031 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13035 rm -f core conftest.err conftest.
$ac_objext \
13036 conftest
$ac_exeext conftest.
$ac_ext
13037 LIBS
=$ac_check_soname_save_LIBS
13039 if test "x$ac_cv_lib_soname_netapi" = "x"; then :
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13041 $as_echo "not found" >&6; }
13042 cat >>confdefs.h
<<_ACEOF
13043 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13048 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13050 cat >>confdefs.h
<<_ACEOF
13051 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13058 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13059 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13060 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13061 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13063 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
13064 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13065 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13067 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13073 if test "x${GCC}" = "xyes"
13075 EXTRACFLAGS
="-Wall -pipe"
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13078 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13079 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13080 $as_echo_n "(cached) " >&6
13082 if test "$cross_compiling" = yes; then :
13083 ac_cv_c_gcc_strength_bug
="yes"
13085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13086 /* end confdefs.h. */
13087 int L[4] = {0,1,2,3};
13091 static int Array[3];
13092 unsigned int B = 3;
13094 for(i=0; i<B; i++) Array[i] = i - 3;
13095 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13097 return (Array[1] != -2 || L[2] != 3)
13102 if ac_fn_c_try_run
"$LINENO"; then :
13103 ac_cv_c_gcc_strength_bug
="no"
13105 ac_cv_c_gcc_strength_bug
="yes"
13107 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13108 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13113 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13114 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13116 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13120 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13121 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13122 $as_echo_n "(cached) " >&6
13124 ac_wine_try_cflags_saved
=$CFLAGS
13125 CFLAGS
="$CFLAGS -fno-builtin"
13126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13127 /* end confdefs.h. */
13128 int main(int argc, char **argv) { return 0; }
13130 if ac_fn_c_try_link
"$LINENO"; then :
13131 ac_cv_cflags__fno_builtin
=yes
13133 ac_cv_cflags__fno_builtin
=no
13135 rm -f core conftest.err conftest.
$ac_objext \
13136 conftest
$ac_exeext conftest.
$ac_ext
13137 CFLAGS
=$ac_wine_try_cflags_saved
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13140 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13141 if test $ac_cv_cflags__fno_builtin = yes; then :
13142 BUILTINFLAG
="-fno-builtin"
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13146 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13147 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13148 $as_echo_n "(cached) " >&6
13150 ac_wine_try_cflags_saved
=$CFLAGS
13151 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13153 /* end confdefs.h. */
13154 int main(int argc, char **argv) { return 0; }
13156 if ac_fn_c_try_link
"$LINENO"; then :
13157 ac_cv_cflags__fno_strict_aliasing
=yes
13159 ac_cv_cflags__fno_strict_aliasing
=no
13161 rm -f core conftest.err conftest.
$ac_objext \
13162 conftest
$ac_exeext conftest.
$ac_ext
13163 CFLAGS
=$ac_wine_try_cflags_saved
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13166 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13167 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
13168 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13170 saved_CFLAGS
=$CFLAGS
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13172 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13173 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13174 $as_echo_n "(cached) " >&6
13176 ac_wine_try_cflags_saved
=$CFLAGS
13177 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13179 /* end confdefs.h. */
13180 int main(int argc, char **argv) { return 0; }
13182 if ac_fn_c_try_link
"$LINENO"; then :
13183 ac_cv_cflags__Werror_unknown_warning_option
=yes
13185 ac_cv_cflags__Werror_unknown_warning_option
=no
13187 rm -f core conftest.err conftest.
$ac_objext \
13188 conftest
$ac_exeext conftest.
$ac_ext
13189 CFLAGS
=$ac_wine_try_cflags_saved
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13192 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13193 if test $ac_cv_cflags__Werror_unknown_warning_option = yes; then :
13194 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13197 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13198 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13199 $as_echo_n "(cached) " >&6
13201 ac_wine_try_cflags_saved
=$CFLAGS
13202 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13204 /* end confdefs.h. */
13205 int main(int argc, char **argv) { return 0; }
13207 if ac_fn_c_try_link
"$LINENO"; then :
13208 ac_cv_cflags__Wdeclaration_after_statement
=yes
13210 ac_cv_cflags__Wdeclaration_after_statement
=no
13212 rm -f core conftest.err conftest.
$ac_objext \
13213 conftest
$ac_exeext conftest.
$ac_ext
13214 CFLAGS
=$ac_wine_try_cflags_saved
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13217 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13218 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
13219 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13222 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13223 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13224 $as_echo_n "(cached) " >&6
13226 ac_wine_try_cflags_saved
=$CFLAGS
13227 CFLAGS
="$CFLAGS -Wempty-body"
13228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13229 /* end confdefs.h. */
13230 int main(int argc, char **argv) { return 0; }
13232 if ac_fn_c_try_link
"$LINENO"; then :
13233 ac_cv_cflags__Wempty_body
=yes
13235 ac_cv_cflags__Wempty_body
=no
13237 rm -f core conftest.err conftest.
$ac_objext \
13238 conftest
$ac_exeext conftest.
$ac_ext
13239 CFLAGS
=$ac_wine_try_cflags_saved
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13242 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13243 if test $ac_cv_cflags__Wempty_body = yes; then :
13244 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13247 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13248 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13249 $as_echo_n "(cached) " >&6
13251 ac_wine_try_cflags_saved
=$CFLAGS
13252 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13254 /* end confdefs.h. */
13255 int main(int argc, char **argv) { return 0; }
13257 if ac_fn_c_try_link
"$LINENO"; then :
13258 ac_cv_cflags__Wignored_qualifiers
=yes
13260 ac_cv_cflags__Wignored_qualifiers
=no
13262 rm -f core conftest.err conftest.
$ac_objext \
13263 conftest
$ac_exeext conftest.
$ac_ext
13264 CFLAGS
=$ac_wine_try_cflags_saved
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13267 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13268 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
13269 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13272 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13273 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13274 $as_echo_n "(cached) " >&6
13276 ac_wine_try_cflags_saved
=$CFLAGS
13277 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13279 /* end confdefs.h. */
13280 int main(int argc, char **argv) { return 0; }
13282 if ac_fn_c_try_link
"$LINENO"; then :
13283 ac_cv_cflags__Wstrict_prototypes
=yes
13285 ac_cv_cflags__Wstrict_prototypes
=no
13287 rm -f core conftest.err conftest.
$ac_objext \
13288 conftest
$ac_exeext conftest.
$ac_ext
13289 CFLAGS
=$ac_wine_try_cflags_saved
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13292 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13293 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
13294 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13297 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13298 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13299 $as_echo_n "(cached) " >&6
13301 ac_wine_try_cflags_saved
=$CFLAGS
13302 CFLAGS
="$CFLAGS -Wtype-limits"
13303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13304 /* end confdefs.h. */
13305 int main(int argc, char **argv) { return 0; }
13307 if ac_fn_c_try_link
"$LINENO"; then :
13308 ac_cv_cflags__Wtype_limits
=yes
13310 ac_cv_cflags__Wtype_limits
=no
13312 rm -f core conftest.err conftest.
$ac_objext \
13313 conftest
$ac_exeext conftest.
$ac_ext
13314 CFLAGS
=$ac_wine_try_cflags_saved
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13317 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13318 if test $ac_cv_cflags__Wtype_limits = yes; then :
13319 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13322 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13323 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13324 $as_echo_n "(cached) " >&6
13326 ac_wine_try_cflags_saved
=$CFLAGS
13327 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13329 /* end confdefs.h. */
13330 int main(int argc, char **argv) { return 0; }
13332 if ac_fn_c_try_link
"$LINENO"; then :
13333 ac_cv_cflags__Wunused_but_set_parameter
=yes
13335 ac_cv_cflags__Wunused_but_set_parameter
=no
13337 rm -f core conftest.err conftest.
$ac_objext \
13338 conftest
$ac_exeext conftest.
$ac_ext
13339 CFLAGS
=$ac_wine_try_cflags_saved
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13342 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13343 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
13344 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13347 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13348 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13349 $as_echo_n "(cached) " >&6
13351 ac_wine_try_cflags_saved
=$CFLAGS
13352 CFLAGS
="$CFLAGS -Wwrite-strings"
13353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13354 /* end confdefs.h. */
13355 int main(int argc, char **argv) { return 0; }
13357 if ac_fn_c_try_link
"$LINENO"; then :
13358 ac_cv_cflags__Wwrite_strings
=yes
13360 ac_cv_cflags__Wwrite_strings
=no
13362 rm -f core conftest.err conftest.
$ac_objext \
13363 conftest
$ac_exeext conftest.
$ac_ext
13364 CFLAGS
=$ac_wine_try_cflags_saved
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13367 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13368 if test $ac_cv_cflags__Wwrite_strings = yes; then :
13369 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13373 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13374 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13375 $as_echo_n "(cached) " >&6
13377 ac_wine_try_cflags_saved
=$CFLAGS
13378 CFLAGS
="$CFLAGS -Wpointer-arith"
13379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13380 /* end confdefs.h. */
13381 int main(int argc, char **argv) { return 0; }
13383 if ac_fn_c_try_link
"$LINENO"; then :
13384 ac_cv_cflags__Wpointer_arith
=yes
13386 ac_cv_cflags__Wpointer_arith
=no
13388 rm -f core conftest.err conftest.
$ac_objext \
13389 conftest
$ac_exeext conftest.
$ac_ext
13390 CFLAGS
=$ac_wine_try_cflags_saved
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13393 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13394 if test $ac_cv_cflags__Wpointer_arith = yes; then :
13395 saved_string_h_CFLAGS
=$CFLAGS
13396 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13398 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13399 if ${ac_cv_c_string_h_warnings+:} false
; then :
13400 $as_echo_n "(cached) " >&6
13402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13403 /* end confdefs.h. */
13404 #include <string.h>
13413 if ac_fn_c_try_compile
"$LINENO"; then :
13414 ac_cv_c_string_h_warnings
=no
13416 ac_cv_c_string_h_warnings
=yes
13418 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13421 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13422 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13423 CFLAGS
=$saved_string_h_CFLAGS
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13427 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13428 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13429 $as_echo_n "(cached) " >&6
13431 ac_wine_try_cflags_saved
=$CFLAGS
13432 CFLAGS
="$CFLAGS -Wlogical-op"
13433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13434 /* end confdefs.h. */
13435 int main(int argc, char **argv) { return 0; }
13437 if ac_fn_c_try_link
"$LINENO"; then :
13438 ac_cv_cflags__Wlogical_op
=yes
13440 ac_cv_cflags__Wlogical_op
=no
13442 rm -f core conftest.err conftest.
$ac_objext \
13443 conftest
$ac_exeext conftest.
$ac_ext
13444 CFLAGS
=$ac_wine_try_cflags_saved
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13447 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13448 if test $ac_cv_cflags__Wlogical_op = yes; then :
13449 saved_string_h_CFLAGS
=$CFLAGS
13450 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13452 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13453 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13454 $as_echo_n "(cached) " >&6
13456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13457 /* end confdefs.h. */
13458 #include <string.h>
13459 char*f(const char *h,char n) {return strchr(h,n);}
13468 if ac_fn_c_try_compile
"$LINENO"; then :
13469 ac_cv_c_logicalop_noisy
=no
13471 ac_cv_c_logicalop_noisy
=yes
13473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13476 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13477 CFLAGS
=$saved_string_h_CFLAGS
13478 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13481 CFLAGS
=$saved_CFLAGS
13483 for ac_flag
in $CFLAGS; do
13485 -g) case $host_os in
13486 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13487 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13488 if ${ac_cv_cflags__gstabsp+:} false
; then :
13489 $as_echo_n "(cached) " >&6
13491 ac_wine_try_cflags_saved
=$CFLAGS
13492 CFLAGS
="$CFLAGS -gstabs+"
13493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13494 /* end confdefs.h. */
13495 int main(int argc, char **argv) { return 0; }
13497 if ac_fn_c_try_link
"$LINENO"; then :
13498 ac_cv_cflags__gstabsp
=yes
13500 ac_cv_cflags__gstabsp
=no
13502 rm -f core conftest.err conftest.
$ac_objext \
13503 conftest
$ac_exeext conftest.
$ac_ext
13504 CFLAGS
=$ac_wine_try_cflags_saved
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13507 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13508 if test $ac_cv_cflags__gstabsp = yes; then :
13509 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
13511 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13512 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13513 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
13514 $as_echo_n "(cached) " >&6
13516 ac_wine_try_cflags_saved
=$CFLAGS
13517 CFLAGS
="$CFLAGS -gdwarf-2"
13518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13519 /* end confdefs.h. */
13520 int main(int argc, char **argv) { return 0; }
13522 if ac_fn_c_try_link
"$LINENO"; then :
13523 ac_cv_cflags__gdwarf_2
=yes
13525 ac_cv_cflags__gdwarf_2
=no
13527 rm -f core conftest.err conftest.
$ac_objext \
13528 conftest
$ac_exeext conftest.
$ac_ext
13529 CFLAGS
=$ac_wine_try_cflags_saved
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13532 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13533 if test $ac_cv_cflags__gdwarf_2 = yes; then :
13534 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13537 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13538 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
13539 $as_echo_n "(cached) " >&6
13541 ac_wine_try_cflags_saved
=$CFLAGS
13542 CFLAGS
="$CFLAGS -gstrict-dwarf"
13543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13544 /* end confdefs.h. */
13545 int main(int argc, char **argv) { return 0; }
13547 if ac_fn_c_try_link
"$LINENO"; then :
13548 ac_cv_cflags__gstrict_dwarf
=yes
13550 ac_cv_cflags__gstrict_dwarf
=no
13552 rm -f core conftest.err conftest.
$ac_objext \
13553 conftest
$ac_exeext conftest.
$ac_ext
13554 CFLAGS
=$ac_wine_try_cflags_saved
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13557 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13558 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
13559 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
13566 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13567 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13568 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
13569 $as_echo_n "(cached) " >&6
13571 ac_wine_try_cflags_saved
=$CFLAGS
13572 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
13573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13574 /* end confdefs.h. */
13575 int main(int argc, char **argv) { return 0; }
13577 if ac_fn_c_try_link
"$LINENO"; then :
13578 ac_cv_cflags__fno_omit_frame_pointer
=yes
13580 ac_cv_cflags__fno_omit_frame_pointer
=no
13582 rm -f core conftest.err conftest.
$ac_objext \
13583 conftest
$ac_exeext conftest.
$ac_ext
13584 CFLAGS
=$ac_wine_try_cflags_saved
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13587 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13588 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
13589 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
13594 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13595 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13596 if ${ac_cv_cflags__Wno_format+:} false
; then :
13597 $as_echo_n "(cached) " >&6
13599 ac_wine_try_cflags_saved
=$CFLAGS
13600 CFLAGS
="$CFLAGS -Wno-format"
13601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13602 /* end confdefs.h. */
13603 int main(int argc, char **argv) { return 0; }
13605 if ac_fn_c_try_link
"$LINENO"; then :
13606 ac_cv_cflags__Wno_format
=yes
13608 ac_cv_cflags__Wno_format
=no
13610 rm -f core conftest.err conftest.
$ac_objext \
13611 conftest
$ac_exeext conftest.
$ac_ext
13612 CFLAGS
=$ac_wine_try_cflags_saved
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13615 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13616 if test $ac_cv_cflags__Wno_format = yes; then :
13617 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
13621 if test "x$enable_maintainer_mode" = "xyes"
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13624 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13625 if ${ac_cv_cflags__Werror+:} false
; then :
13626 $as_echo_n "(cached) " >&6
13628 ac_wine_try_cflags_saved
=$CFLAGS
13629 CFLAGS
="$CFLAGS -Werror"
13630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13631 /* end confdefs.h. */
13632 int main(int argc, char **argv) { return 0; }
13634 if ac_fn_c_try_link
"$LINENO"; then :
13635 ac_cv_cflags__Werror
=yes
13637 ac_cv_cflags__Werror
=no
13639 rm -f core conftest.err conftest.
$ac_objext \
13640 conftest
$ac_exeext conftest.
$ac_ext
13641 CFLAGS
=$ac_wine_try_cflags_saved
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13644 $as_echo "$ac_cv_cflags__Werror" >&6; }
13645 if test $ac_cv_cflags__Werror = yes; then :
13646 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
13650 saved_CFLAGS
="$CFLAGS"
13651 CFLAGS
="$CFLAGS -Werror"
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13653 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
13654 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
13655 $as_echo_n "(cached) " >&6
13657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13658 /* end confdefs.h. */
13659 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
13668 if ac_fn_c_try_compile
"$LINENO"; then :
13669 ac_cv_have_ms_hook_prologue
="yes"
13671 ac_cv_have_ms_hook_prologue
="no"
13673 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
13676 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
13677 CFLAGS
="$saved_CFLAGS"
13678 if test "$ac_cv_have_ms_hook_prologue" = "yes"
13681 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
13684 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
13691 $as_echo_n "checking for the need to disable Fortify... " >&6; }
13692 if ${ac_cv_c_fortify_enabled+:} false
; then :
13693 $as_echo_n "(cached) " >&6
13695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13696 /* end confdefs.h. */
13697 #include <string.h>
13701 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
13702 #error Fortify enabled
13708 if ac_fn_c_try_compile
"$LINENO"; then :
13709 ac_cv_c_fortify_enabled
=no
13711 ac_cv_c_fortify_enabled
=yes
13713 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
13716 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
13717 if test "$ac_cv_c_fortify_enabled" = yes
13719 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
13724 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
13725 if ${ac_cv_c_extern_prefix+:} false
; then :
13726 $as_echo_n "(cached) " >&6
13728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13729 /* end confdefs.h. */
13730 extern int ac_test;
13734 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
13739 if ac_fn_c_try_link
"$LINENO"; then :
13740 ac_cv_c_extern_prefix
="yes"
13742 ac_cv_c_extern_prefix
="no"
13744 rm -f core conftest.err conftest.
$ac_objext \
13745 conftest
$ac_exeext conftest.
$ac_ext
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
13748 $as_echo "$ac_cv_c_extern_prefix" >&6; }
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
13753 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
13754 if ${ac_cv_c_stdcall_suffix+:} false
; then :
13755 $as_echo_n "(cached) " >&6
13757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13758 /* end confdefs.h. */
13760 #define __stdcall __attribute__((__stdcall__))
13762 int __stdcall ac_test(int i) { return i; }
13766 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
13771 if ac_fn_c_try_link
"$LINENO"; then :
13772 ac_cv_c_stdcall_suffix
="yes"
13774 ac_cv_c_stdcall_suffix
="no"
13776 rm -f core conftest.err conftest.
$ac_objext \
13777 conftest
$ac_exeext conftest.
$ac_ext
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
13780 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
13781 *) ac_cv_c_stdcall_suffix
="no" ;;
13785 if test "$ac_cv_c_extern_prefix" = "yes"
13787 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
13789 asm_name_prefix
="_"
13791 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
13797 if test "$ac_cv_c_stdcall_suffix" = "yes"
13799 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
13802 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
13808 $as_echo_n "checking how to define a function in assembly code... " >&6; }
13809 if ${ac_cv_asm_func_def+:} false
; then :
13810 $as_echo_n "(cached) " >&6
13812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13813 /* end confdefs.h. */
13818 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13823 if ac_fn_c_try_link
"$LINENO"; then :
13824 ac_cv_asm_func_def
=".def"
13826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13827 /* end confdefs.h. */
13832 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13837 if ac_fn_c_try_link
"$LINENO"; then :
13838 ac_cv_asm_func_def
=".type @function"
13840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13841 /* end confdefs.h. */
13846 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13851 if ac_fn_c_try_link
"$LINENO"; then :
13852 ac_cv_asm_func_def
=".type 2"
13854 ac_cv_asm_func_def
="unknown"
13856 rm -f core conftest.err conftest.
$ac_objext \
13857 conftest
$ac_exeext conftest.
$ac_ext
13859 rm -f core conftest.err conftest.
$ac_objext \
13860 conftest
$ac_exeext conftest.
$ac_ext
13862 rm -f core conftest.err conftest.
$ac_objext \
13863 conftest
$ac_exeext conftest.
$ac_ext
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
13866 $as_echo "$ac_cv_asm_func_def" >&6; }
13869 case "$ac_cv_asm_func_def" in
13871 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13873 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13875 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13877 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
13879 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13881 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
13883 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13885 asm_func_header
="" ;;
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13889 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13890 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
13891 $as_echo_n "(cached) " >&6
13893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13894 /* end confdefs.h. */
13895 asm(".text\n\t.long 0");
13904 if ac_fn_c_try_compile
"$LINENO"; then :
13905 ac_cv_c_asm_outside_funcs
="yes"
13907 ac_cv_c_asm_outside_funcs
="no"
13909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13912 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13915 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13916 if ${ac_cv_c_dot_previous+:} false
; then :
13917 $as_echo_n "(cached) " >&6
13919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13920 /* end confdefs.h. */
13925 asm(".text\nac_test:\t.long 0\n\t.previous");
13930 if ac_fn_c_try_link
"$LINENO"; then :
13931 ac_cv_c_dot_previous
="yes"
13933 ac_cv_c_dot_previous
="no"
13935 rm -f core conftest.err conftest.
$ac_objext \
13936 conftest
$ac_exeext conftest.
$ac_ext
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13939 $as_echo "$ac_cv_c_dot_previous" >&6; }
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13942 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13943 if ${ac_cv_c_cfi_support+:} false
; then :
13944 $as_echo_n "(cached) " >&6
13946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13947 /* end confdefs.h. */
13948 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13957 if ac_fn_c_try_compile
"$LINENO"; then :
13958 ac_cv_c_cfi_support
="yes"
13960 ac_cv_c_cfi_support
="no"
13962 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13965 $as_echo "$ac_cv_c_cfi_support" >&6; }
13967 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13968 asm_func_trailer
=""
13969 if test "$ac_cv_c_dot_previous" = "yes"
13971 asm_func_trailer
="\\n\\t.previous"
13973 if test "$ac_cv_c_cfi_support" = "yes"
13975 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
13976 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
13978 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13980 UNWINDFLAGS
=-fasynchronous-unwind-tables
13983 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13987 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
13990 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13992 cat >>confdefs.h
<<_ACEOF
13993 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13997 cat >>confdefs.h
<<_ACEOF
13998 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14003 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14006 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14011 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14018 *i
[3456789]86*|x86_64
*)
14019 as_fn_append LOADER_RULES
"
14020 all: $wine_binary-preloader
14022 $wine_binary-preloader: preloader.o Makefile.in
14023 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14025 install install-lib:: $wine_binary-preloader \$(DESTDIR)\$(bindir)
14026 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14029 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14036 ac_save_CFLAGS
="$CFLAGS"
14037 CFLAGS
="$CFLAGS $BUILTINFLAG"
14115 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14116 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14117 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14118 cat >>confdefs.h
<<_ACEOF
14119 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14125 CFLAGS
="$ac_save_CFLAGS"
14127 if test "$ac_cv_func_dlopen" = no
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14130 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14131 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14132 $as_echo_n "(cached) " >&6
14134 ac_check_lib_save_LIBS
=$LIBS
14136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14137 /* end confdefs.h. */
14139 /* Override any GCC internal prototype to avoid an error.
14140 Use char because int might match the return type of a GCC
14141 builtin and then its argument prototype would still apply. */
14154 if ac_fn_c_try_link
"$LINENO"; then :
14155 ac_cv_lib_dl_dlopen
=yes
14157 ac_cv_lib_dl_dlopen
=no
14159 rm -f core conftest.err conftest.
$ac_objext \
14160 conftest
$ac_exeext conftest.
$ac_ext
14161 LIBS
=$ac_check_lib_save_LIBS
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14164 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14165 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14166 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14172 ac_wine_check_funcs_save_LIBS
="$LIBS"
14173 LIBS
="$LIBS $LIBDL"
14174 for ac_func
in dladdr
14176 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14177 if test "x$ac_cv_func_dladdr" = xyes
; then :
14178 cat >>confdefs.h
<<_ACEOF
14179 #define HAVE_DLADDR 1
14185 LIBS
="$ac_wine_check_funcs_save_LIBS"
14187 if test "$ac_cv_func_poll" = no
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14190 $as_echo_n "checking for poll in -lpoll... " >&6; }
14191 if ${ac_cv_lib_poll_poll+:} false
; then :
14192 $as_echo_n "(cached) " >&6
14194 ac_check_lib_save_LIBS
=$LIBS
14195 LIBS
="-lpoll $LIBS"
14196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14197 /* end confdefs.h. */
14199 /* Override any GCC internal prototype to avoid an error.
14200 Use char because int might match the return type of a GCC
14201 builtin and then its argument prototype would still apply. */
14214 if ac_fn_c_try_link
"$LINENO"; then :
14215 ac_cv_lib_poll_poll
=yes
14217 ac_cv_lib_poll_poll
=no
14219 rm -f core conftest.err conftest.
$ac_objext \
14220 conftest
$ac_exeext conftest.
$ac_ext
14221 LIBS
=$ac_check_lib_save_LIBS
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14224 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14225 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14226 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14234 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14235 if ${ac_cv_search_gethostbyname+:} false
; then :
14236 $as_echo_n "(cached) " >&6
14238 ac_func_search_save_LIBS
=$LIBS
14239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14240 /* end confdefs.h. */
14242 /* Override any GCC internal prototype to avoid an error.
14243 Use char because int might match the return type of a GCC
14244 builtin and then its argument prototype would still apply. */
14248 char gethostbyname ();
14252 return gethostbyname ();
14257 for ac_lib
in '' nsl
; do
14258 if test -z "$ac_lib"; then
14259 ac_res
="none required"
14262 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14264 if ac_fn_c_try_link
"$LINENO"; then :
14265 ac_cv_search_gethostbyname
=$ac_res
14267 rm -f core conftest.err conftest.
$ac_objext \
14269 if ${ac_cv_search_gethostbyname+:} false
; then :
14273 if ${ac_cv_search_gethostbyname+:} false
; then :
14276 ac_cv_search_gethostbyname
=no
14278 rm conftest.
$ac_ext
14279 LIBS
=$ac_func_search_save_LIBS
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14282 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14283 ac_res
=$ac_cv_search_gethostbyname
14284 if test "$ac_res" != no
; then :
14285 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14291 $as_echo_n "checking for library containing connect... " >&6; }
14292 if ${ac_cv_search_connect+:} false
; then :
14293 $as_echo_n "(cached) " >&6
14295 ac_func_search_save_LIBS
=$LIBS
14296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14297 /* end confdefs.h. */
14299 /* Override any GCC internal prototype to avoid an error.
14300 Use char because int might match the return type of a GCC
14301 builtin and then its argument prototype would still apply. */
14314 for ac_lib
in '' socket
; do
14315 if test -z "$ac_lib"; then
14316 ac_res
="none required"
14319 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14321 if ac_fn_c_try_link
"$LINENO"; then :
14322 ac_cv_search_connect
=$ac_res
14324 rm -f core conftest.err conftest.
$ac_objext \
14326 if ${ac_cv_search_connect+:} false
; then :
14330 if ${ac_cv_search_connect+:} false
; then :
14333 ac_cv_search_connect
=no
14335 rm conftest.
$ac_ext
14336 LIBS
=$ac_func_search_save_LIBS
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14339 $as_echo "$ac_cv_search_connect" >&6; }
14340 ac_res
=$ac_cv_search_connect
14341 if test "$ac_res" != no
; then :
14342 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14348 $as_echo_n "checking for library containing inet_aton... " >&6; }
14349 if ${ac_cv_search_inet_aton+:} false
; then :
14350 $as_echo_n "(cached) " >&6
14352 ac_func_search_save_LIBS
=$LIBS
14353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14354 /* end confdefs.h. */
14356 /* Override any GCC internal prototype to avoid an error.
14357 Use char because int might match the return type of a GCC
14358 builtin and then its argument prototype would still apply. */
14366 return inet_aton ();
14371 for ac_lib
in '' resolv
; do
14372 if test -z "$ac_lib"; then
14373 ac_res
="none required"
14376 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14378 if ac_fn_c_try_link
"$LINENO"; then :
14379 ac_cv_search_inet_aton
=$ac_res
14381 rm -f core conftest.err conftest.
$ac_objext \
14383 if ${ac_cv_search_inet_aton+:} false
; then :
14387 if ${ac_cv_search_inet_aton+:} false
; then :
14390 ac_cv_search_inet_aton
=no
14392 rm conftest.
$ac_ext
14393 LIBS
=$ac_func_search_save_LIBS
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14396 $as_echo "$ac_cv_search_inet_aton" >&6; }
14397 ac_res
=$ac_cv_search_inet_aton
14398 if test "$ac_res" != no
; then :
14399 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14419 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14420 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14421 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14422 cat >>confdefs.h
<<_ACEOF
14423 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14432 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14433 if ${ac_cv_search_clock_gettime+:} false
; then :
14434 $as_echo_n "(cached) " >&6
14436 ac_func_search_save_LIBS
=$LIBS
14437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14438 /* end confdefs.h. */
14440 /* Override any GCC internal prototype to avoid an error.
14441 Use char because int might match the return type of a GCC
14442 builtin and then its argument prototype would still apply. */
14446 char clock_gettime ();
14450 return clock_gettime ();
14455 for ac_lib
in '' rt
; do
14456 if test -z "$ac_lib"; then
14457 ac_res
="none required"
14460 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14462 if ac_fn_c_try_link
"$LINENO"; then :
14463 ac_cv_search_clock_gettime
=$ac_res
14465 rm -f core conftest.err conftest.
$ac_objext \
14467 if ${ac_cv_search_clock_gettime+:} false
; then :
14471 if ${ac_cv_search_clock_gettime+:} false
; then :
14474 ac_cv_search_clock_gettime
=no
14476 rm conftest.
$ac_ext
14477 LIBS
=$ac_func_search_save_LIBS
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14480 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14481 ac_res
=$ac_cv_search_clock_gettime
14482 if test "$ac_res" != no
; then :
14483 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14485 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14487 test "$ac_res" = "none required" || LIBRT
="$ac_res"
14495 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14497 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14499 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14501 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14502 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
14503 $as_echo_n "(cached) " >&6
14505 ac_check_lib_save_LIBS
=$LIBS
14506 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
14507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14508 /* end confdefs.h. */
14510 /* Override any GCC internal prototype to avoid an error.
14511 Use char because int might match the return type of a GCC
14512 builtin and then its argument prototype would still apply. */
14516 char ldap_initialize ();
14520 return ldap_initialize ();
14525 if ac_fn_c_try_link
"$LINENO"; then :
14526 ac_cv_lib_ldap_r_ldap_initialize
=yes
14528 ac_cv_lib_ldap_r_ldap_initialize
=no
14530 rm -f core conftest.err conftest.
$ac_objext \
14531 conftest
$ac_exeext conftest.
$ac_ext
14532 LIBS
=$ac_check_lib_save_LIBS
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14535 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14536 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14538 $as_echo_n "checking for ber_init in -llber... " >&6; }
14539 if ${ac_cv_lib_lber_ber_init+:} false
; then :
14540 $as_echo_n "(cached) " >&6
14542 ac_check_lib_save_LIBS
=$LIBS
14543 LIBS
="-llber $LIBPTHREAD $LIBS"
14544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14545 /* end confdefs.h. */
14547 /* Override any GCC internal prototype to avoid an error.
14548 Use char because int might match the return type of a GCC
14549 builtin and then its argument prototype would still apply. */
14557 return ber_init ();
14562 if ac_fn_c_try_link
"$LINENO"; then :
14563 ac_cv_lib_lber_ber_init
=yes
14565 ac_cv_lib_lber_ber_init
=no
14567 rm -f core conftest.err conftest.
$ac_objext \
14568 conftest
$ac_exeext conftest.
$ac_ext
14569 LIBS
=$ac_check_lib_save_LIBS
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14572 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14573 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
14575 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14577 LDAPLIBS
="-lldap_r -llber"
14584 ac_wine_check_funcs_save_LIBS
="$LIBS"
14585 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
14587 ldap_count_references \
14588 ldap_first_reference \
14589 ldap_next_reference \
14590 ldap_parse_reference \
14591 ldap_parse_sort_control \
14592 ldap_parse_sortresponse_control \
14593 ldap_parse_vlv_control \
14594 ldap_parse_vlvresponse_control
14596 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14597 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14598 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14599 cat >>confdefs.h
<<_ACEOF
14600 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14606 LIBS
="$ac_wine_check_funcs_save_LIBS"
14608 if test "x$LDAPLIBS" = "x"; then :
14609 case "x$with_ldap" in
14610 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14612 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14613 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14618 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14619 if ${wine_cv_one_arg_mkdir+:} false
; then :
14620 $as_echo_n "(cached) " >&6
14622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14623 /* end confdefs.h. */
14624 #include <sys/stat.h>
14633 if ac_fn_c_try_compile
"$LINENO"; then :
14634 wine_cv_one_arg_mkdir
=yes
14636 wine_cv_one_arg_mkdir
=no
14638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14641 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14642 if test "$wine_cv_one_arg_mkdir" = "yes"
14645 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
14650 $as_echo_n "checking for sched_setaffinity... " >&6; }
14651 if ${wine_cv_have_sched_setaffinity+:} false
; then :
14652 $as_echo_n "(cached) " >&6
14654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14655 /* end confdefs.h. */
14656 #define _GNU_SOURCE
14661 sched_setaffinity(0, 0, 0);
14666 if ac_fn_c_try_link
"$LINENO"; then :
14667 wine_cv_have_sched_setaffinity
=yes
14669 wine_cv_have_sched_setaffinity
=no
14671 rm -f core conftest.err conftest.
$ac_objext \
14672 conftest
$ac_exeext conftest.
$ac_ext
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
14675 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
14676 if test "$wine_cv_have_sched_setaffinity" = "yes"
14679 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
14684 $as_echo_n "checking for fallocate... " >&6; }
14685 if ${wine_cv_have_fallocate+:} false
; then :
14686 $as_echo_n "(cached) " >&6
14688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14689 /* end confdefs.h. */
14690 #define _GNU_SOURCE
14695 fallocate(-1, 0, 0, 0);
14700 if ac_fn_c_try_link
"$LINENO"; then :
14701 wine_cv_have_fallocate
=yes
14703 wine_cv_have_fallocate
=no
14705 rm -f core conftest.err conftest.
$ac_objext \
14706 conftest
$ac_exeext conftest.
$ac_ext
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
14709 $as_echo "$wine_cv_have_fallocate" >&6; }
14710 if test "$wine_cv_have_fallocate" = "yes"
14713 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14719 $as_echo_n "checking for inline... " >&6; }
14720 if ${ac_cv_c_inline+:} false
; then :
14721 $as_echo_n "(cached) " >&6
14724 for ac_kw
in inline __inline__ __inline
; do
14725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14726 /* end confdefs.h. */
14727 #ifndef __cplusplus
14729 static $ac_kw foo_t static_foo () {return 0; }
14730 $ac_kw foo_t foo () {return 0; }
14734 if ac_fn_c_try_compile
"$LINENO"; then :
14735 ac_cv_c_inline
=$ac_kw
14737 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14738 test "$ac_cv_c_inline" != no
&& break
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14743 $as_echo "$ac_cv_c_inline" >&6; }
14745 case $ac_cv_c_inline in
14748 case $ac_cv_c_inline in
14750 *) ac_val
=$ac_cv_c_inline;;
14752 cat >>confdefs.h
<<_ACEOF
14753 #ifndef __cplusplus
14754 #define inline $ac_val
14760 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
14761 if test "x$ac_cv_type_mode_t" = xyes
; then :
14763 cat >>confdefs.h
<<_ACEOF
14764 #define HAVE_MODE_T 1
14769 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14770 if test "x$ac_cv_type_off_t" = xyes
; then :
14772 cat >>confdefs.h
<<_ACEOF
14773 #define HAVE_OFF_T 1
14778 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14779 if test "x$ac_cv_type_pid_t" = xyes
; then :
14781 cat >>confdefs.h
<<_ACEOF
14782 #define HAVE_PID_T 1
14787 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14788 if test "x$ac_cv_type_size_t" = xyes
; then :
14790 cat >>confdefs.h
<<_ACEOF
14791 #define HAVE_SIZE_T 1
14796 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
14797 if test "x$ac_cv_type_ssize_t" = xyes
; then :
14799 cat >>confdefs.h
<<_ACEOF
14800 #define HAVE_SSIZE_T 1
14805 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
14806 if test "x$ac_cv_type_long_long" = xyes
; then :
14808 cat >>confdefs.h
<<_ACEOF
14809 #define HAVE_LONG_LONG 1
14814 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14815 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
14817 cat >>confdefs.h
<<_ACEOF
14818 #define HAVE_FSBLKCNT_T 1
14823 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14824 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
14826 cat >>confdefs.h
<<_ACEOF
14827 #define HAVE_FSFILCNT_T 1
14833 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14834 #include <signal.h>
14836 if test "x$ac_cv_type_sigset_t" = xyes
; then :
14838 cat >>confdefs.h
<<_ACEOF
14839 #define HAVE_SIGSET_T 1
14845 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14847 if test "x$ac_cv_type_request_sense" = xyes
; then :
14849 cat >>confdefs.h
<<_ACEOF
14850 #define HAVE_REQUEST_SENSE 1
14857 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14858 #ifdef HAVE_SYS_SOCKET_H
14859 #include <sys/socket.h>
14861 #ifdef HAVE_SYS_SOCKETVAR_H
14862 #include <sys/socketvar.h>
14864 #ifdef HAVE_NET_ROUTE_H
14865 #include <net/route.h>
14867 #ifdef HAVE_NETINET_IN_H
14868 #include <netinet/in.h>
14870 #ifdef HAVE_NETINET_IN_SYSTM_H
14871 #include <netinet/in_systm.h>
14873 #ifdef HAVE_NETINET_IP_H
14874 #include <netinet/ip.h>
14876 #ifdef HAVE_NETINET_IN_PCB_H
14877 #include <netinet/in_pcb.h>
14880 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
14882 cat >>confdefs.h
<<_ACEOF
14883 #define HAVE_STRUCT_XINPGEN 1
14890 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
14893 #ifdef HAVE_SYS_LINK_H
14894 #include <sys/link.h>
14897 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
14899 cat >>confdefs.h
<<_ACEOF
14900 #define HAVE_STRUCT_R_DEBUG 1
14905 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
14908 #ifdef HAVE_SYS_LINK_H
14909 #include <sys/link.h>
14912 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
14914 cat >>confdefs.h
<<_ACEOF
14915 #define HAVE_STRUCT_LINK_MAP 1
14922 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14923 #include <linux/input.h>
14926 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
14928 cat >>confdefs.h
<<_ACEOF
14929 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14937 $as_echo_n "checking for sigaddset... " >&6; }
14938 if ${wine_cv_have_sigaddset+:} false
; then :
14939 $as_echo_n "(cached) " >&6
14941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14942 /* end confdefs.h. */
14943 #include <signal.h>
14947 sigset_t set; sigaddset(&set,SIGTERM);
14952 if ac_fn_c_try_link
"$LINENO"; then :
14953 wine_cv_have_sigaddset
=yes
14955 wine_cv_have_sigaddset
=no
14957 rm -f core conftest.err conftest.
$ac_objext \
14958 conftest
$ac_exeext conftest.
$ac_ext
14960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14961 $as_echo "$wine_cv_have_sigaddset" >&6; }
14962 if test "$wine_cv_have_sigaddset" = "yes"
14965 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14971 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14972 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
14973 $as_echo_n "(cached) " >&6
14975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14976 /* end confdefs.h. */
14984 struct hostent *result;
14991 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14992 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14998 if ac_fn_c_try_link
"$LINENO"; then :
14999 wine_cv_linux_gethostbyname_r_6
=yes
15001 wine_cv_linux_gethostbyname_r_6
=no
15004 rm -f core conftest.err conftest.
$ac_objext \
15005 conftest
$ac_exeext conftest.
$ac_ext
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15009 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15010 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15013 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15017 if test "$ac_cv_header_linux_joystick_h" = "yes"
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15020 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15021 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15022 $as_echo_n "(cached) " >&6
15024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15025 /* end confdefs.h. */
15027 #include <sys/ioctl.h>
15028 #include <sys/types.h>
15029 #include <linux/joystick.h>
15031 struct js_event blub;
15032 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15033 #error "no 2.2 header"
15044 if ac_fn_c_try_compile
"$LINENO"; then :
15045 wine_cv_linux_joystick_22_api
=yes
15047 wine_cv_linux_joystick_22_api
=no
15049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15053 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15054 if test "$wine_cv_linux_joystick_22_api" = "yes"
15057 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15063 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15064 #ifdef HAVE_SYS_PARAM_H
15065 # include <sys/param.h>
15067 #ifdef HAVE_SYS_MOUNT_H
15068 # include <sys/mount.h>
15070 #ifdef HAVE_SYS_VFS_H
15071 # include <sys/vfs.h>
15073 #ifdef HAVE_SYS_STATFS_H
15074 # include <sys/statfs.h>
15077 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15079 cat >>confdefs.h
<<_ACEOF
15080 #define HAVE_STRUCT_STATFS_F_BFREE 1
15085 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15086 #ifdef HAVE_SYS_PARAM_H
15087 # include <sys/param.h>
15089 #ifdef HAVE_SYS_MOUNT_H
15090 # include <sys/mount.h>
15092 #ifdef HAVE_SYS_VFS_H
15093 # include <sys/vfs.h>
15095 #ifdef HAVE_SYS_STATFS_H
15096 # include <sys/statfs.h>
15099 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15101 cat >>confdefs.h
<<_ACEOF
15102 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15107 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15108 #ifdef HAVE_SYS_PARAM_H
15109 # include <sys/param.h>
15111 #ifdef HAVE_SYS_MOUNT_H
15112 # include <sys/mount.h>
15114 #ifdef HAVE_SYS_VFS_H
15115 # include <sys/vfs.h>
15117 #ifdef HAVE_SYS_STATFS_H
15118 # include <sys/statfs.h>
15121 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15123 cat >>confdefs.h
<<_ACEOF
15124 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15129 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15130 #ifdef HAVE_SYS_PARAM_H
15131 # include <sys/param.h>
15133 #ifdef HAVE_SYS_MOUNT_H
15134 # include <sys/mount.h>
15136 #ifdef HAVE_SYS_VFS_H
15137 # include <sys/vfs.h>
15139 #ifdef HAVE_SYS_STATFS_H
15140 # include <sys/statfs.h>
15143 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15145 cat >>confdefs.h
<<_ACEOF
15146 #define HAVE_STRUCT_STATFS_F_FFREE 1
15151 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15152 #ifdef HAVE_SYS_PARAM_H
15153 # include <sys/param.h>
15155 #ifdef HAVE_SYS_MOUNT_H
15156 # include <sys/mount.h>
15158 #ifdef HAVE_SYS_VFS_H
15159 # include <sys/vfs.h>
15161 #ifdef HAVE_SYS_STATFS_H
15162 # include <sys/statfs.h>
15165 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15167 cat >>confdefs.h
<<_ACEOF
15168 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15173 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15174 #ifdef HAVE_SYS_PARAM_H
15175 # include <sys/param.h>
15177 #ifdef HAVE_SYS_MOUNT_H
15178 # include <sys/mount.h>
15180 #ifdef HAVE_SYS_VFS_H
15181 # include <sys/vfs.h>
15183 #ifdef HAVE_SYS_STATFS_H
15184 # include <sys/statfs.h>
15187 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15189 cat >>confdefs.h
<<_ACEOF
15190 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15197 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15198 #include <sys/statvfs.h>
15201 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15203 cat >>confdefs.h
<<_ACEOF
15204 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15211 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15212 #include <dirent.h>
15215 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15217 cat >>confdefs.h
<<_ACEOF
15218 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15225 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15226 #ifdef HAVE_SYS_SOCKET_H
15227 # include <sys/socket.h>
15229 #ifdef HAVE_SYS_UN_H
15230 # include <sys/un.h>
15233 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15235 cat >>confdefs.h
<<_ACEOF
15236 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15241 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15242 #ifdef HAVE_SYS_SOCKET_H
15243 # include <sys/socket.h>
15245 #ifdef HAVE_SYS_UN_H
15246 # include <sys/un.h>
15249 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15251 cat >>confdefs.h
<<_ACEOF
15252 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15257 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15258 #ifdef HAVE_SYS_SOCKET_H
15259 # include <sys/socket.h>
15261 #ifdef HAVE_SYS_UN_H
15262 # include <sys/un.h>
15265 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15267 cat >>confdefs.h
<<_ACEOF
15268 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15275 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15276 #ifdef HAVE_SCSI_SG_H
15277 #include <scsi/sg.h>
15280 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15282 cat >>confdefs.h
<<_ACEOF
15283 #define HAVE_SCSIREQ_T_CMD 1
15288 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>
15289 #ifdef HAVE_SCSI_SG_H
15290 #include <scsi/sg.h>
15293 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15295 cat >>confdefs.h
<<_ACEOF
15296 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15303 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15305 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15307 cat >>confdefs.h
<<_ACEOF
15308 #define HAVE_SIGINFO_T_SI_FD 1
15315 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15316 #ifdef HAVE_SYS_MTIO_H
15317 #include <sys/mtio.h>
15320 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15322 cat >>confdefs.h
<<_ACEOF
15323 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15328 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15329 #ifdef HAVE_SYS_MTIO_H
15330 #include <sys/mtio.h>
15333 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15335 cat >>confdefs.h
<<_ACEOF
15336 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15341 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15342 #ifdef HAVE_SYS_MTIO_H
15343 #include <sys/mtio.h>
15346 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15348 cat >>confdefs.h
<<_ACEOF
15349 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15356 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15357 #include <getopt.h>
15360 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15362 cat >>confdefs.h
<<_ACEOF
15363 #define HAVE_STRUCT_OPTION_NAME 1
15370 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15371 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15373 cat >>confdefs.h
<<_ACEOF
15374 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15379 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15380 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15382 cat >>confdefs.h
<<_ACEOF
15383 #define HAVE_STRUCT_STAT_ST_MTIM 1
15388 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15389 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15391 cat >>confdefs.h
<<_ACEOF
15392 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15397 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15398 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15400 cat >>confdefs.h
<<_ACEOF
15401 #define HAVE_STRUCT_STAT_ST_CTIM 1
15406 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15407 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15409 cat >>confdefs.h
<<_ACEOF
15410 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15415 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15416 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15418 cat >>confdefs.h
<<_ACEOF
15419 #define HAVE_STRUCT_STAT_ST_ATIM 1
15424 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15425 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15427 cat >>confdefs.h
<<_ACEOF
15428 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15433 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15434 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15436 cat >>confdefs.h
<<_ACEOF
15437 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15442 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15443 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15445 cat >>confdefs.h
<<_ACEOF
15446 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15451 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15452 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15454 cat >>confdefs.h
<<_ACEOF
15455 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15460 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15461 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15463 cat >>confdefs.h
<<_ACEOF
15464 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15469 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15470 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15472 cat >>confdefs.h
<<_ACEOF
15473 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15480 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
15481 #include <sys/types.h>
15483 #ifdef HAVE_NETINET_IN_H
15484 #include <netinet/in.h>
15487 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15489 cat >>confdefs.h
<<_ACEOF
15490 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15497 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15498 #include <resolv.h>
15501 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
15503 cat >>confdefs.h
<<_ACEOF
15504 #define HAVE_STRUCT___RES_STATE 1
15511 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
15512 #include <resolv.h>
15515 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
15517 cat >>confdefs.h
<<_ACEOF
15518 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15525 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15526 #include <sys/types.h>
15528 #ifdef HAVE_NETINET_IN_H
15529 # include <netinet/in.h>
15531 #ifdef HAVE_ARPA_NAMESER_H
15532 # include <arpa/nameser.h>
15535 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
15537 cat >>confdefs.h
<<_ACEOF
15538 #define HAVE_NS_MSG__MSG_PTR 1
15545 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15546 #include <sys/types.h>
15548 #ifdef HAVE_NETINET_IP_H
15549 #include <netinet/ip.h>
15551 #ifdef HAVE_NETINET_IP_ICMP_H
15552 #include <netinet/ip_icmp.h>
15554 #ifdef HAVE_NETINET_ICMP_VAR_H
15555 #include <netinet/icmp_var.h>
15558 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
15560 cat >>confdefs.h
<<_ACEOF
15561 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15568 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15569 #include <sys/types.h>
15571 #ifdef HAVE_ALIAS_H
15574 #ifdef HAVE_SYS_SOCKET_H
15575 #include <sys/socket.h>
15577 #ifdef HAVE_SYS_SOCKETVAR_H
15578 #include <sys/socketvar.h>
15580 #ifdef HAVE_SYS_TIMEOUT_H
15581 #include <sys/timeout.h>
15583 #ifdef HAVE_NETINET_IN_H
15584 #include <netinet/in.h>
15586 #ifdef HAVE_NETINET_IN_SYSTM_H
15587 #include <netinet/in_systm.h>
15589 #ifdef HAVE_NETINET_IP_H
15590 #include <netinet/ip.h>
15592 #ifdef HAVE_NETINET_IP_VAR_H
15593 #include <netinet/ip_var.h>
15595 #ifdef HAVE_NETINET_IP_ICMP_H
15596 #include <netinet/ip_icmp.h>
15598 #ifdef HAVE_NETINET_ICMP_VAR_H
15599 #include <netinet/icmp_var.h>
15602 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
15604 cat >>confdefs.h
<<_ACEOF
15605 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15612 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15613 #include <sys/types.h>
15615 #ifdef HAVE_SYS_SOCKETVAR_H
15616 #include <sys/socketvar.h>
15618 #ifdef HAVE_NETINET_IN_H
15619 #include <netinet/in.h>
15621 #ifdef HAVE_NETINET_IP_VAR_H
15622 #include <netinet/ip_var.h>
15625 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
15627 cat >>confdefs.h
<<_ACEOF
15628 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15635 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
15636 #include <netinet/ip_var.h>
15639 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
15641 cat >>confdefs.h
<<_ACEOF
15642 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15649 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
15650 #include <sys/types.h>
15652 #ifdef HAVE_SYS_SOCKETVAR_H
15653 #include <sys/socketvar.h>
15655 #ifdef HAVE_NETINET_IN_H
15656 #include <netinet/in.h>
15658 #ifdef HAVE_NETINET_TCP_H
15659 #include <netinet/tcp.h>
15661 #ifdef HAVE_NETINET_TCP_VAR_H
15662 #include <netinet/tcp_var.h>
15665 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
15667 cat >>confdefs.h
<<_ACEOF
15668 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
15675 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
15676 #include <netinet/tcp_var.h>
15679 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
15681 cat >>confdefs.h
<<_ACEOF
15682 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
15689 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
15690 #include <sys/types.h>
15692 #ifdef HAVE_NETINET_IN_H
15693 #include <netinet/in.h>
15695 #ifdef HAVE_NETINET_IP_VAR_H
15696 #include <netinet/ip_var.h>
15698 #ifdef HAVE_NETINET_UDP_H
15699 #include <netinet/udp.h>
15701 #ifdef HAVE_NETINET_UDP_VAR_H
15702 #include <netinet/udp_var.h>
15705 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
15707 cat >>confdefs.h
<<_ACEOF
15708 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
15715 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
15716 #include <sys/types.h>
15718 #ifdef HAVE_NET_IF_H
15719 # include <net/if.h>
15722 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
15724 cat >>confdefs.h
<<_ACEOF
15725 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
15733 $as_echo_n "checking for timezone variable... " >&6; }
15734 if ${ac_cv_have_timezone+:} false
; then :
15735 $as_echo_n "(cached) " >&6
15737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15738 /* end confdefs.h. */
15748 if ac_fn_c_try_link
"$LINENO"; then :
15749 ac_cv_have_timezone
="yes"
15751 ac_cv_have_timezone
="no"
15753 rm -f core conftest.err conftest.
$ac_objext \
15754 conftest
$ac_exeext conftest.
$ac_ext
15756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
15757 $as_echo "$ac_cv_have_timezone" >&6; }
15758 if test "$ac_cv_have_timezone" = "yes"
15761 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
15765 $as_echo_n "checking for daylight variable... " >&6; }
15766 if ${ac_cv_have_daylight+:} false
; then :
15767 $as_echo_n "(cached) " >&6
15769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15770 /* end confdefs.h. */
15780 if ac_fn_c_try_link
"$LINENO"; then :
15781 ac_cv_have_daylight
="yes"
15783 ac_cv_have_daylight
="no"
15785 rm -f core conftest.err conftest.
$ac_objext \
15786 conftest
$ac_exeext conftest.
$ac_ext
15788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
15789 $as_echo "$ac_cv_have_daylight" >&6; }
15790 if test "$ac_cv_have_daylight" = "yes"
15793 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
15797 ac_save_LIBS
="$LIBS"
15799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
15800 $as_echo_n "checking for isinf... " >&6; }
15801 if ${ac_cv_have_isinf+:} false
; then :
15802 $as_echo_n "(cached) " >&6
15804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15805 /* end confdefs.h. */
15810 float f = 0.0; return isinf(f)
15815 if ac_fn_c_try_link
"$LINENO"; then :
15816 ac_cv_have_isinf
="yes"
15818 ac_cv_have_isinf
="no"
15820 rm -f core conftest.err conftest.
$ac_objext \
15821 conftest
$ac_exeext conftest.
$ac_ext
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
15824 $as_echo "$ac_cv_have_isinf" >&6; }
15825 if test "$ac_cv_have_isinf" = "yes"
15828 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
15832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
15833 $as_echo_n "checking for isnan... " >&6; }
15834 if ${ac_cv_have_isnan+:} false
; then :
15835 $as_echo_n "(cached) " >&6
15837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15838 /* end confdefs.h. */
15843 float f = 0.0; return isnan(f)
15848 if ac_fn_c_try_link
"$LINENO"; then :
15849 ac_cv_have_isnan
="yes"
15851 ac_cv_have_isnan
="no"
15853 rm -f core conftest.err conftest.
$ac_objext \
15854 conftest
$ac_exeext conftest.
$ac_ext
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
15857 $as_echo "$ac_cv_have_isnan" >&6; }
15858 if test "$ac_cv_have_isnan" = "yes"
15861 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
15864 LIBS
="$ac_save_LIBS"
15868 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
15869 $as_echo_n "checking whether we need to define __i386__... " >&6; }
15870 if ${ac_cv_cpp_def___i386__+:} false
; then :
15871 $as_echo_n "(cached) " >&6
15873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15874 /* end confdefs.h. */
15879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15880 $EGREP "yes" >/dev
/null
2>&1; then :
15881 ac_cv_cpp_def___i386__
=yes
15883 ac_cv_cpp_def___i386__
=no
15888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15889 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15890 if test $ac_cv_cpp_def___i386__ = yes; then :
15891 CFLAGS
="$CFLAGS -D__i386__"
15892 LINTFLAGS
="$LINTFLAGS -D__i386__"
15894 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15895 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15896 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
15897 $as_echo_n "(cached) " >&6
15899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15900 /* end confdefs.h. */
15905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15906 $EGREP "yes" >/dev
/null
2>&1; then :
15907 ac_cv_cpp_def___x86_64__
=yes
15909 ac_cv_cpp_def___x86_64__
=no
15914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15915 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15916 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15917 CFLAGS
="$CFLAGS -D__x86_64__"
15918 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
15920 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15921 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15922 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
15923 $as_echo_n "(cached) " >&6
15925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15926 /* end confdefs.h. */
15927 #ifndef __sparc64__
15931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15932 $EGREP "yes" >/dev
/null
2>&1; then :
15933 ac_cv_cpp_def___sparc64__
=yes
15935 ac_cv_cpp_def___sparc64__
=no
15940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15941 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15942 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15943 CFLAGS
="$CFLAGS -D__sparc64__"
15944 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
15946 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15947 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15948 if ${ac_cv_cpp_def___sparc__+:} false
; then :
15949 $as_echo_n "(cached) " >&6
15951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15952 /* end confdefs.h. */
15957 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15958 $EGREP "yes" >/dev
/null
2>&1; then :
15959 ac_cv_cpp_def___sparc__
=yes
15961 ac_cv_cpp_def___sparc__
=no
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15967 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15968 if test $ac_cv_cpp_def___sparc__ = yes; then :
15969 CFLAGS
="$CFLAGS -D__sparc__"
15970 LINTFLAGS
="$LINTFLAGS -D__sparc__"
15972 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15973 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15974 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
15975 $as_echo_n "(cached) " >&6
15977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15978 /* end confdefs.h. */
15979 #ifndef __powerpc64__
15983 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15984 $EGREP "yes" >/dev
/null
2>&1; then :
15985 ac_cv_cpp_def___powerpc64__
=yes
15987 ac_cv_cpp_def___powerpc64__
=no
15992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15993 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15994 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15995 CFLAGS
="$CFLAGS -D__powerpc64__"
15996 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
15998 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15999 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16000 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16001 $as_echo_n "(cached) " >&6
16003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16004 /* end confdefs.h. */
16005 #ifndef __powerpc__
16009 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16010 $EGREP "yes" >/dev
/null
2>&1; then :
16011 ac_cv_cpp_def___powerpc__
=yes
16013 ac_cv_cpp_def___powerpc__
=no
16018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16019 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16020 if test $ac_cv_cpp_def___powerpc__ = yes; then :
16021 CFLAGS
="$CFLAGS -D__powerpc__"
16022 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16024 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16025 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16026 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16027 $as_echo_n "(cached) " >&6
16029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16030 /* end confdefs.h. */
16031 #ifndef __aarch64__
16035 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16036 $EGREP "yes" >/dev
/null
2>&1; then :
16037 ac_cv_cpp_def___aarch64__
=yes
16039 ac_cv_cpp_def___aarch64__
=no
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16045 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16046 if test $ac_cv_cpp_def___aarch64__ = yes; then :
16047 CFLAGS
="$CFLAGS -D__aarch64__"
16048 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16050 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16051 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16052 if ${ac_cv_cpp_def___arm__+:} false
; then :
16053 $as_echo_n "(cached) " >&6
16055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16056 /* end confdefs.h. */
16061 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16062 $EGREP "yes" >/dev
/null
2>&1; then :
16063 ac_cv_cpp_def___arm__
=yes
16065 ac_cv_cpp_def___arm__
=no
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16071 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16072 if test $ac_cv_cpp_def___arm__ = yes; then :
16073 CFLAGS
="$CFLAGS -D__arm__"
16074 LINTFLAGS
="$LINTFLAGS -D__arm__"
16078 case $host_vendor in
16079 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16080 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16081 if ${ac_cv_cpp_def___sun__+:} false
; then :
16082 $as_echo_n "(cached) " >&6
16084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16085 /* end confdefs.h. */
16090 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16091 $EGREP "yes" >/dev
/null
2>&1; then :
16092 ac_cv_cpp_def___sun__
=yes
16094 ac_cv_cpp_def___sun__
=no
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16100 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16101 if test $ac_cv_cpp_def___sun__ = yes; then :
16102 CFLAGS
="$CFLAGS -D__sun__"
16103 LINTFLAGS
="$LINTFLAGS -D__sun__"
16111 ac_config_commands
="$ac_config_commands include/stamp-h"
16113 $as_echo_n "creating Makefile rules..." >&6
16116 MAKE_IMPLIB_RULES
="DLLFLAGS = $DLLFLAGS
16119 if test -n "$CROSSTARGET"
16121 as_fn_append MAKE_IMPLIB_RULES
"MAKEDEPFLAGS = -xo -xcross.o
16122 all: \$(STATICLIB:.a=.cross.a)
16127 if test -n "$DLLEXT"
16129 deps
="\$(MODULE)$DLLEXT \$(MODULE).fake"
16135 DLLFLAGS = $DLLFLAGS
16136 MAINSPEC = \$(MODULE:%.dll=%).spec
16137 IDL_TLB_RES = \$(IDL_TLB_SRCS:.idl=_t.res)
16138 MODULEFLAGS = -shared \$(srcdir)/\$(MAINSPEC) \$(EXTRADLLFLAGS)
16143 \$(C2MAN) -o \$(top_builddir)/documentation/man\$(api_manext) -R\$(top_builddir) -C\$(srcdir) \$(PARENTSRC:%=-P%) -I\$(top_srcdir)/include \$(MAINSPEC:%=-w %) \$(C_SRCS)
16145 \$(C2MAN) -o \$(top_builddir)/documentation/html -R\$(top_builddir) -C\$(srcdir) \$(PARENTSRC:%=-P%) -I\$(top_srcdir)/include -Th \$(MAINSPEC:%=-w %) \$(C_SRCS)
16147 \$(C2MAN) -o \$(top_builddir)/documentation/api-guide -R\$(top_builddir) -C\$(srcdir) \$(PARENTSRC:%=-P%) -I\$(top_srcdir)/include -Ts \$(MAINSPEC:%=-w %) \$(C_SRCS)
16149 \$(C2MAN) -o \$(top_builddir)/documentation/api-guide-xml -R\$(top_builddir) -C\$(srcdir) \$(PARENTSRC:%=-P%) -I\$(top_srcdir)/include -Tx \$(MAINSPEC:%=-w %) \$(C_SRCS)
16150 .PHONY: manpages htmlpages sgmlpages xmlpages
16155 DLLFLAGS = $DLLFLAGS
16163 DLLFLAGS = $DLLFLAGS
16164 TESTMODULE = \$(TESTDLL:%.dll=%)_test.exe
16165 TESTMODULE_STRIPPED = \$(TESTDLL:%.dll=%)_test-stripped.exe$DLLEXT
16166 WINETEST_RES = \$(top_builddir)/programs/winetest/\$(TESTDLL:%.dll=%)_test.res
16167 RUNTESTFLAGS = -q -P wine -T \$(top_builddir) -M \$(TESTDLL) -p \$(TESTMODULE)$DLLEXT
16168 EXTRA_OBJS = testlist.o
16170 all: \$(TESTMODULE)$DLLEXT \$(WINETEST_RES)
16172 \$(C_SRCS:.c=.ok): \$(TESTMODULE)$DLLEXT \$(TESTDLL:%=../%$DLLEXT)
16174 .PHONY: check test testclean crosstest
16177 if test -n "$CROSSTARGET"
16179 as_fn_append MAKE_TEST_RULES
"
16180 MAKEDEPFLAGS = -xo -xcross.o
16181 CROSSTESTMODULE = \$(TESTDLL:%.dll=%)_crosstest.exe
16183 crosstest: \$(CROSSTESTMODULE)
16188 wine_rules_file
=conf$
$rules.
make
16189 rm -f $wine_rules_file
16191 ALL_TEST_RESOURCES
=""
16194 wine_fn_append_file
()
16196 as_fn_append
$1 " \\$as_nl $2"
16199 wine_fn_append_rule
()
16201 $as_echo "$1" >>$wine_rules_file
16204 wine_fn_has_flag
()
16206 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
16209 wine_fn_depend_rules
()
16212 ac_makedep
="\$(MAKEDEP)"
16213 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
16215 *.
in) ac_input
=$ac_input:$1 ;;
16216 *) ac_makedep
="$1 $ac_makedep" ;;
16219 wine_fn_append_rule \
16220 "$ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps \$(MAKEDEP)
16221 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
16222 depend: $ac_dir/depend
16223 .PHONY: $ac_dir/depend
16224 $ac_dir/depend: $ac_makedep dummy
16225 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
16228 wine_fn_pot_rules
()
16230 test "x$with_gettextpo" = xyes ||
return
16232 if wine_fn_has_flag mc
16234 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
16235 wine_fn_append_rule \
16236 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
16237 @cd $ac_dir && \$(MAKE) msg.pot
16238 $ac_dir/msg.pot: tools/wmc include"
16240 if wine_fn_has_flag po
16242 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
16243 wine_fn_append_rule \
16244 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
16245 @cd $ac_dir && \$(MAKE) rsrc.pot
16246 $ac_dir/rsrc.pot: tools/wrc include"
16250 wine_fn_all_rules
()
16254 wine_fn_depend_rules
${ac_rules:-Make.rules}
16255 wine_fn_append_rule \
16258 $ac_dir: $ac_dir/Makefile dummy
16259 @cd $ac_dir && \$(MAKE)"
16262 wine_fn_install_rules
()
16264 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
16266 wine_fn_append_rule \
16267 ".PHONY: $ac_dir/install $ac_dir/uninstall
16268 $ac_dir/install:: $ac_dir
16269 @cd $ac_dir && \$(MAKE) install
16270 $ac_dir/uninstall:: $ac_dir/Makefile
16271 @cd $ac_dir && \$(MAKE) uninstall
16272 install:: $ac_dir/install
16273 __uninstall__: $ac_dir/uninstall"
16275 if wine_fn_has_flag install-lib
16277 wine_fn_append_rule \
16278 ".PHONY: $ac_dir/install-lib
16279 $ac_dir/install-lib:: $ac_dir
16280 @cd $ac_dir && \$(MAKE) install-lib
16281 install-lib:: $ac_dir/install-lib"
16284 if wine_fn_has_flag install-dev
16286 wine_fn_append_rule \
16287 ".PHONY: $ac_dir/install-dev
16288 $ac_dir/install-dev:: $ac_dir
16289 @cd $ac_dir && \$(MAKE) install-dev
16290 install-dev:: $ac_dir/install-dev"
16294 wine_fn_clean_rules
()
16298 if wine_fn_has_flag clean
16300 wine_fn_append_rule \
16301 "__clean__: $ac_dir/clean
16302 .PHONY: $ac_dir/clean
16303 $ac_dir/clean: $ac_dir/Makefile
16304 @cd $ac_dir && \$(MAKE) clean
16305 \$(RM) $ac_dir/Makefile"
16307 wine_fn_append_rule \
16309 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
16313 wine_fn_disabled_rules
()
16317 wine_fn_append_rule \
16319 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
16322 wine_fn_config_makefile
()
16328 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
16329 wine_fn_disabled_rules
; return
16332 wine_fn_install_rules
16333 wine_fn_clean_rules
16336 wine_fn_config_lib
()
16340 ac_dir
=dlls
/$ac_name
16342 wine_fn_all_rules Make.rules.
in
16343 wine_fn_clean_rules
16345 wine_fn_append_rule \
16346 ".PHONY: $ac_dir/install $ac_dir/uninstall
16347 $ac_dir/install:: $ac_dir \$(DESTDIR)\$(dlldir)
16348 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16349 $ac_dir/uninstall::
16350 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16351 install install-dev:: $ac_dir/install
16352 __uninstall__: $ac_dir/uninstall
16353 __builddeps__: $ac_dir
16354 $ac_dir: tools/widl tools/winebuild tools/winegcc include"
16357 wine_fn_config_dll
()
16360 ac_dir
=dlls
/$ac_name
16363 ac_implib
=${4:-$ac_name}
16364 ac_file
=$ac_dir/lib
$ac_implib
16366 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
16370 *16) ac_implibflags
=" -m16" ;;
16372 *) ac_dll
=$ac_dll.dll
;;
16376 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
16377 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
16378 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
16379 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
16381 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
16382 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
16384 wine_fn_depend_rules Make.rules.
in
16385 wine_fn_clean_rules
$ac_clean
16387 wine_fn_disabled_rules
$ac_clean
16391 wine_fn_all_rules Make.rules.
in
16392 wine_fn_clean_rules
$ac_clean
16393 wine_fn_append_rule \
16394 "$ac_dir: __builddeps__
16395 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
16396 @cd $ac_dir && \$(MAKE) \$@
16397 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
16398 install install-lib:: $ac_dir/install-lib
16399 __uninstall__: $ac_dir/uninstall"
16400 if test -n "$DLLEXT"
16402 wine_fn_append_rule \
16403 "$ac_dir/install-lib:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16404 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
16405 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
16406 $ac_dir/uninstall::
16407 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
16409 wine_fn_append_rule \
16410 "$ac_dir/install-lib:: $ac_dir \$(DESTDIR)\$(dlldir)
16411 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
16412 $ac_dir/uninstall::
16413 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
16419 if wine_fn_has_flag staticimplib
16421 wine_fn_append_rule \
16422 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
16423 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
16424 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16425 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
16426 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
16427 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
16428 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
16429 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16430 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16431 $ac_dir/uninstall::
16432 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16433 install install-dev:: $ac_dir/install-dev
16434 __uninstall__: $ac_dir/uninstall"
16436 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
16438 wine_fn_append_rule \
16439 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
16440 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
16441 $ac_dir/uninstall::
16442 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
16445 if test -n "$CROSSTARGET"
16447 wine_fn_append_rule \
16448 "__builddeps__: $ac_file.cross.a
16449 $ac_file.cross.a: $ac_dir/Makefile dummy
16450 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
16453 elif wine_fn_has_flag implib
16455 wine_fn_append_rule \
16456 "__builddeps__: $ac_file.$IMPLIBEXT
16457 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16458 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
16459 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16460 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
16461 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
16462 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16463 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16464 $ac_dir/uninstall::
16465 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16466 install install-dev:: $ac_dir/install-dev
16467 __uninstall__: $ac_dir/uninstall"
16468 if test -n "$CROSSTARGET"
16470 wine_fn_append_rule \
16471 "__builddeps__: $ac_file.cross.a
16472 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16473 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
16476 if test "$ac_name" != "$ac_implib"
16478 wine_fn_append_rule \
16479 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
16480 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
16481 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
16483 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
16484 if test -n "$CROSSTARGET"
16486 wine_fn_append_rule \
16487 "__builddeps__: dlls/lib$ac_implib.cross.a
16488 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
16489 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
16491 \$(RM) dlls/lib$ac_implib.cross.a"
16497 wine_fn_config_program
()
16500 ac_dir
=programs
/$ac_name
16503 ac_program
=$ac_name
16507 *) ac_program
=$ac_program.exe
;;
16511 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
16512 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
16513 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
16514 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
16516 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
16517 wine_fn_disabled_rules
$ac_clean; return
16520 wine_fn_all_rules Make.rules.
in
16521 wine_fn_clean_rules
$ac_clean
16522 wine_fn_append_rule
"$ac_dir: __builddeps__"
16525 wine_fn_has_flag
install ||
return
16526 wine_fn_append_rule \
16527 ".PHONY: $ac_dir/install $ac_dir/uninstall
16528 install install-lib:: $ac_dir/install
16529 __uninstall__: $ac_dir/uninstall"
16531 if test -n "$DLLEXT"
16533 wine_fn_append_rule \
16534 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16535 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
16536 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
16537 $ac_dir/uninstall::
16538 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
16540 if test -z "$with_wine64" && wine_fn_has_flag installbin
16542 wine_fn_append_rule \
16543 "$ac_dir/install:: __tooldeps__ \$(DESTDIR)\$(bindir)
16544 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
16545 $ac_dir/uninstall::
16546 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
16549 wine_fn_append_rule \
16550 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(bindir)
16551 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
16552 $ac_dir/uninstall::
16553 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
16556 if test -z "$with_wine64" && wine_fn_has_flag manpage
16558 wine_fn_append_rule \
16559 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
16560 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
16561 $ac_dir/uninstall::
16562 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
16566 wine_fn_config_test
()
16573 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
16574 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
16575 ac_clean
="$ac_clean $ac_dir/testlist.c"
16577 if test "x$enable_tests" = xno
; then :
16578 wine_fn_disabled_rules
$ac_clean; return
16581 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
16582 wine_fn_all_rules Make.rules.
in
16583 wine_fn_clean_rules
$ac_clean
16585 wine_fn_append_rule \
16586 "$ac_dir: programs/winetest/Makefile __builddeps__
16587 programs/winetest: $ac_dir
16588 check test: $ac_dir/test
16589 .PHONY: $ac_dir/test
16590 $ac_dir/test: dummy
16591 @cd $ac_dir && \$(MAKE) test
16593 \$(RM) $ac_dir/*.ok"
16595 if test -n "$CROSSTARGET"
16597 wine_fn_append_rule \
16598 "crosstest: $ac_dir/crosstest
16599 .PHONY: $ac_dir/crosstest
16600 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
16601 @cd $ac_dir && \$(MAKE) crosstest"
16605 wine_fn_config_tool
()
16609 if test "x$enable_tools" = xno
; then :
16614 wine_fn_install_rules
16615 wine_fn_clean_rules
16617 wine_fn_append_rule
"__tooldeps__: $ac_dir"
16618 wine_fn_append_rule
"$ac_dir: libs/port"
16620 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
16624 wine_fn_config_makerules
()
16628 wine_fn_append_rule \
16629 "$ac_rules: $ac_rules.in $ac_deps config.status
16630 @./config.status $ac_rules
16635 wine_fn_config_symlink
()
16638 if test "x$1" = "x-d"
16644 wine_fn_append_rule \
16646 @./config.status \$@
16649 test -n "$ac_linkdir" ||
return
16650 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
16653 if test -z "$CROSSTARGET"
16655 wine_fn_append_rule \
16657 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16659 wine_fn_append_rule
"
16660 # Rules automatically generated by configure
16665 Makefile: Makefile.in Make.vars.in Make.rules config.status
16666 @./config.status Make.tmp Makefile"
16668 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
16669 wine_fn_config_symlink
-d dlls
/shell32 dlls
/shell32
/AUTHORS
16670 if test "x$enable_fonts" != xno
; then
16671 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16672 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16673 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16674 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16675 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16677 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16678 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16679 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16680 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16681 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16682 wine_fn_config_symlink wine
16683 if test "x$enable_win64" != xno
; then
16684 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16685 wine_fn_config_symlink wine64
16688 ac_config_commands
="$ac_config_commands dlls/gdi32/dibdrv"
16690 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
16692 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
16694 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
16696 ac_config_commands
="$ac_config_commands dlls/user32/resources"
16698 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
16700 ac_config_commands
="$ac_config_commands include/wine"
16703 wine_fn_config_makerules Make.rules
16704 MAKE_RULES
=Make.rules
16705 ac_config_files
="$ac_config_files Make.rules"
16708 wine_fn_config_dll acledit enable_acledit
16709 wine_fn_config_dll aclui enable_aclui implib
16710 wine_fn_config_dll activeds enable_activeds implib
16711 wine_fn_config_dll actxprxy enable_actxprxy clean
16712 wine_fn_config_lib adsiid
16713 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16714 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16715 wine_fn_config_dll advpack enable_advpack implib
16716 wine_fn_config_test dlls
/advpack
/tests advpack_test
16717 wine_fn_config_dll amstream enable_amstream clean
16718 wine_fn_config_test dlls
/amstream
/tests amstream_test
16719 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16720 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16721 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16722 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16723 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16724 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16725 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16726 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16727 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16728 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16729 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16730 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16731 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16732 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16733 wine_fn_config_dll apphelp enable_apphelp
16734 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16735 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16736 wine_fn_config_dll atl enable_atl clean
,implib
16737 wine_fn_config_test dlls
/atl
/tests atl_test
16738 wine_fn_config_dll atl100 enable_atl100 implib
16739 wine_fn_config_test dlls
/atl100
/tests atl100_test
16740 wine_fn_config_dll atl110 enable_atl110
16741 wine_fn_config_dll atl80 enable_atl80 implib
16742 wine_fn_config_test dlls
/atl80
/tests atl80_test
16743 wine_fn_config_dll atl90 enable_atl90
16744 wine_fn_config_dll authz enable_authz
16745 wine_fn_config_dll avicap32 enable_avicap32 implib
16746 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16747 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16748 wine_fn_config_dll avifile.dll16 enable_win16
16749 wine_fn_config_dll avrt enable_avrt implib
16750 wine_fn_config_dll bcrypt enable_bcrypt
16751 wine_fn_config_dll browseui enable_browseui clean
,po
16752 wine_fn_config_test dlls
/browseui
/tests browseui_test
16753 wine_fn_config_dll cabinet enable_cabinet implib
16754 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16755 wine_fn_config_dll capi2032 enable_capi2032 implib
16756 wine_fn_config_dll cards enable_cards implib
16757 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16758 wine_fn_config_dll clusapi enable_clusapi implib
16759 wine_fn_config_dll comcat enable_comcat
16760 wine_fn_config_test dlls
/comcat
/tests comcat_test
16761 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16762 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16763 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16764 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16765 wine_fn_config_dll
comm.drv16 enable_win16
16766 wine_fn_config_dll commdlg.dll16 enable_win16
16767 wine_fn_config_dll compobj.dll16 enable_win16
16768 wine_fn_config_dll compstui enable_compstui implib
16769 wine_fn_config_dll comsvcs enable_comsvcs implib
16770 wine_fn_config_dll credui enable_credui implib
,po
16771 wine_fn_config_test dlls
/credui
/tests credui_test
16772 wine_fn_config_dll crtdll enable_crtdll implib
16773 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16774 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16775 wine_fn_config_dll cryptdlg enable_cryptdlg po
16776 wine_fn_config_dll cryptdll enable_cryptdll implib
16777 wine_fn_config_dll cryptnet enable_cryptnet implib
16778 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16779 wine_fn_config_dll cryptui enable_cryptui implib
,po
16780 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16781 wine_fn_config_dll ctapi32 enable_ctapi32
16782 wine_fn_config_dll ctl3d.dll16 enable_win16
16783 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16784 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16785 wine_fn_config_dll d3d10 enable_d3d10 implib
16786 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16787 wine_fn_config_dll d3d10core enable_d3d10core implib
16788 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16789 wine_fn_config_dll d3d11 enable_d3d11
16790 wine_fn_config_dll d3d8 enable_d3d8 implib
16791 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16792 wine_fn_config_dll d3d9 enable_d3d9 implib
16793 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16794 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16795 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16796 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16797 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16798 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16799 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16800 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16801 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16802 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16803 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16804 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16805 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16806 wine_fn_config_dll d3dim enable_d3dim implib
16807 wine_fn_config_dll d3drm enable_d3drm implib
16808 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16809 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16810 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16811 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16812 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16813 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16814 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16815 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16816 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16817 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16818 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16819 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16820 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16821 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16822 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16823 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16824 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16825 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16826 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16827 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16828 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16829 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16830 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16831 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16832 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16833 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16834 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16835 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16836 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16837 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16838 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16839 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16840 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16841 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16842 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16843 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16844 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16845 wine_fn_config_dll dbgeng enable_dbgeng implib
16846 wine_fn_config_dll dbghelp enable_dbghelp implib
16847 wine_fn_config_dll dciman32 enable_dciman32 implib
16848 wine_fn_config_dll ddeml.dll16 enable_win16
16849 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16850 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16851 wine_fn_config_dll ddrawex enable_ddrawex clean
16852 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16853 wine_fn_config_dll devenum enable_devenum clean
,po
16854 wine_fn_config_test dlls
/devenum
/tests devenum_test
16855 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16856 wine_fn_config_dll difxapi enable_difxapi
16857 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16858 wine_fn_config_test dlls
/dinput
/tests dinput_test
16859 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16860 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16861 wine_fn_config_dll dispdib.dll16 enable_win16
16862 wine_fn_config_dll dispex enable_dispex clean
16863 wine_fn_config_test dlls
/dispex
/tests dispex_test
16864 wine_fn_config_dll display.drv16 enable_win16
16865 wine_fn_config_dll dmband enable_dmband clean
16866 wine_fn_config_test dlls
/dmband
/tests dmband_test
16867 wine_fn_config_dll dmcompos enable_dmcompos clean
16868 wine_fn_config_dll dmime enable_dmime clean
16869 wine_fn_config_test dlls
/dmime
/tests dmime_test
16870 wine_fn_config_dll dmloader enable_dmloader clean
16871 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16872 wine_fn_config_dll dmscript enable_dmscript clean
16873 wine_fn_config_dll dmstyle enable_dmstyle clean
16874 wine_fn_config_dll dmsynth enable_dmsynth clean
16875 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16876 wine_fn_config_dll dmusic enable_dmusic clean
16877 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16878 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16879 wine_fn_config_dll dnsapi enable_dnsapi implib
16880 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16881 wine_fn_config_dll dplay enable_dplay implib
16882 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16883 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16884 wine_fn_config_dll dpnaddr enable_dpnaddr
16885 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16886 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16887 wine_fn_config_dll dpnhpast enable_dpnhpast
16888 wine_fn_config_dll dpnlobby enable_dpnlobby
16889 wine_fn_config_dll dpwsockx enable_dpwsockx
16890 wine_fn_config_dll drmclien enable_drmclien
16891 wine_fn_config_dll dsound enable_dsound clean
,implib
16892 wine_fn_config_test dlls
/dsound
/tests dsound_test
16893 wine_fn_config_dll dssenh enable_dssenh
16894 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16895 wine_fn_config_dll dswave enable_dswave clean
16896 wine_fn_config_dll dwmapi enable_dwmapi implib
16897 wine_fn_config_dll dwrite enable_dwrite implib
16898 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16899 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16900 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16901 wine_fn_config_lib dxerr8
16902 wine_fn_config_lib dxerr9
16903 wine_fn_config_dll dxgi enable_dxgi implib
16904 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16905 wine_fn_config_lib dxguid
16906 wine_fn_config_dll explorerframe enable_explorerframe clean
16907 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16908 wine_fn_config_dll faultrep enable_faultrep implib
16909 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16910 wine_fn_config_dll fltlib enable_fltlib
16911 wine_fn_config_dll fusion enable_fusion
16912 wine_fn_config_test dlls
/fusion
/tests fusion_test
16913 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16914 wine_fn_config_dll gameux enable_gameux clean
16915 wine_fn_config_test dlls
/gameux
/tests gameux_test
16916 wine_fn_config_dll gdi.exe16 enable_win16
16917 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
16918 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16919 wine_fn_config_dll gdiplus enable_gdiplus implib
16920 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16921 wine_fn_config_dll glu32 enable_glu32 implib
16922 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16923 wine_fn_config_dll gpkcsp enable_gpkcsp
16924 wine_fn_config_dll hal enable_hal
16925 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
16926 wine_fn_config_dll hid enable_hid implib
16927 wine_fn_config_dll hlink enable_hlink clean
,implib
16928 wine_fn_config_test dlls
/hlink
/tests hlink_test
16929 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16930 wine_fn_config_dll httpapi enable_httpapi
16931 wine_fn_config_dll iccvid enable_iccvid po
16932 wine_fn_config_dll icmp enable_icmp
16933 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
16934 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
16935 wine_fn_config_dll ifsmgr.vxd enable_win16
16936 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16937 wine_fn_config_dll imagehlp enable_imagehlp implib
16938 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
16939 wine_fn_config_dll imm.dll16 enable_win16
16940 wine_fn_config_dll imm32 enable_imm32 implib
16941 wine_fn_config_test dlls
/imm32
/tests imm32_test
16942 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
16943 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
16944 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16945 wine_fn_config_dll inetmib1 enable_inetmib1
16946 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
16947 wine_fn_config_dll infosoft enable_infosoft clean
16948 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
16949 wine_fn_config_dll initpki enable_initpki
16950 wine_fn_config_dll inkobj enable_inkobj
16951 wine_fn_config_dll inseng enable_inseng clean
16952 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16953 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
16954 wine_fn_config_dll itircl enable_itircl
16955 wine_fn_config_dll itss enable_itss clean
16956 wine_fn_config_test dlls
/itss
/tests itss_test
16957 wine_fn_config_dll joy.cpl enable_joy_cpl po
16958 wine_fn_config_dll jscript enable_jscript clean
,po
16959 wine_fn_config_test dlls
/jscript
/tests jscript_test
16960 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
16961 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
16962 wine_fn_config_dll keyboard.drv16 enable_win16
16963 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16964 wine_fn_config_dll ktmw32 enable_ktmw32
16965 wine_fn_config_dll loadperf enable_loadperf implib
16966 wine_fn_config_dll localspl enable_localspl po
16967 wine_fn_config_test dlls
/localspl
/tests localspl_test
16968 wine_fn_config_dll localui enable_localui po
16969 wine_fn_config_test dlls
/localui
/tests localui_test
16970 wine_fn_config_dll lz32 enable_lz32 implib
16971 wine_fn_config_test dlls
/lz32
/tests lz32_test
16972 wine_fn_config_dll lzexpand.dll16 enable_win16
16973 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16974 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16975 wine_fn_config_dll mapistub enable_mapistub
16976 wine_fn_config_dll mciavi32 enable_mciavi32
16977 wine_fn_config_dll mcicda enable_mcicda
16978 wine_fn_config_dll mciqtz32 enable_mciqtz32
16979 wine_fn_config_dll mciseq enable_mciseq
16980 wine_fn_config_dll mciwave enable_mciwave
16981 wine_fn_config_dll mgmtapi enable_mgmtapi
16982 wine_fn_config_dll midimap enable_midimap
16983 wine_fn_config_dll mlang enable_mlang clean
,implib
16984 wine_fn_config_test dlls
/mlang
/tests mlang_test
16985 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16986 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16987 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16988 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16989 wine_fn_config_dll mmdevldr.vxd enable_win16
16990 wine_fn_config_dll mmsystem.dll16 enable_win16
16991 wine_fn_config_dll monodebg.vxd enable_win16
16992 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16993 wine_fn_config_dll mouse.drv16 enable_win16
16994 wine_fn_config_dll mpr enable_mpr implib
,po
16995 wine_fn_config_test dlls
/mpr
/tests mpr_test
16996 wine_fn_config_dll mprapi enable_mprapi implib
16997 wine_fn_config_dll msacm.dll16 enable_win16
16998 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16999 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17000 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17001 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17002 wine_fn_config_dll mscat32 enable_mscat32
17003 wine_fn_config_dll mscms enable_mscms implib
17004 wine_fn_config_test dlls
/mscms
/tests mscms_test
17005 wine_fn_config_dll mscoree enable_mscoree clean
17006 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17007 wine_fn_config_dll msctf enable_msctf clean
17008 wine_fn_config_test dlls
/msctf
/tests msctf_test
17009 wine_fn_config_dll msdaps enable_msdaps clean
17010 wine_fn_config_dll msdmo enable_msdmo implib
17011 wine_fn_config_dll msftedit enable_msftedit
17012 wine_fn_config_dll msg711.acm enable_msg711_acm
17013 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17014 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17015 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17016 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17017 wine_fn_config_dll msi enable_msi clean
,implib
,po
17018 wine_fn_config_test dlls
/msi
/tests msi_test
17019 wine_fn_config_dll msident enable_msident clean
17020 wine_fn_config_dll msimg32 enable_msimg32 implib
17021 wine_fn_config_dll msimsg enable_msimsg
17022 wine_fn_config_dll msimtf enable_msimtf clean
17023 wine_fn_config_dll msisip enable_msisip
17024 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17025 wine_fn_config_dll msls31 enable_msls31
17026 wine_fn_config_dll msnet32 enable_msnet32
17027 wine_fn_config_dll mspatcha enable_mspatcha
17028 wine_fn_config_dll msrle32 enable_msrle32 po
17029 wine_fn_config_dll mssign32 enable_mssign32
17030 wine_fn_config_dll mssip32 enable_mssip32
17031 wine_fn_config_dll mstask enable_mstask clean
17032 wine_fn_config_test dlls
/mstask
/tests mstask_test
17033 wine_fn_config_dll msvcirt enable_msvcirt
17034 wine_fn_config_dll msvcm80 enable_msvcm80
17035 wine_fn_config_dll msvcm90 enable_msvcm90
17036 wine_fn_config_dll msvcp100 enable_msvcp100
17037 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17038 wine_fn_config_dll msvcp110 enable_msvcp110
17039 wine_fn_config_dll msvcp60 enable_msvcp60
17040 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17041 wine_fn_config_dll msvcp70 enable_msvcp70
17042 wine_fn_config_dll msvcp71 enable_msvcp71
17043 wine_fn_config_dll msvcp80 enable_msvcp80
17044 wine_fn_config_dll msvcp90 enable_msvcp90
17045 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17046 wine_fn_config_dll msvcr100 enable_msvcr100
17047 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17048 wine_fn_config_dll msvcr110 enable_msvcr110
17049 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17050 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17051 wine_fn_config_dll msvcr80 enable_msvcr80
17052 wine_fn_config_dll msvcr90 enable_msvcr90
17053 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17054 wine_fn_config_dll msvcrt enable_msvcrt implib
17055 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17056 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17057 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17058 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17059 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17060 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17061 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17062 wine_fn_config_dll msvidc32 enable_msvidc32 po
17063 wine_fn_config_dll msvideo.dll16 enable_win16
17064 wine_fn_config_dll mswsock enable_mswsock implib
17065 wine_fn_config_dll msxml enable_msxml clean
17066 wine_fn_config_dll msxml2 enable_msxml2 clean
17067 wine_fn_config_dll msxml3 enable_msxml3 clean
17068 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17069 wine_fn_config_dll msxml4 enable_msxml4 clean
17070 wine_fn_config_dll msxml6 enable_msxml6 clean
17071 wine_fn_config_dll nddeapi enable_nddeapi implib
17072 wine_fn_config_dll netapi32 enable_netapi32 implib
17073 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17074 wine_fn_config_dll netcfgx enable_netcfgx
17075 wine_fn_config_dll newdev enable_newdev implib
17076 wine_fn_config_dll normaliz enable_normaliz implib
17077 wine_fn_config_dll npmshtml enable_npmshtml
17078 wine_fn_config_dll ntdll enable_ntdll implib
17079 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17080 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17081 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17082 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17083 wine_fn_config_dll ntprint enable_ntprint
17084 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17085 wine_fn_config_dll objsel enable_objsel clean
17086 wine_fn_config_dll odbc32 enable_odbc32 implib
17087 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17088 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17089 wine_fn_config_dll odbccu32 enable_odbccu32
17090 wine_fn_config_dll ole2.dll16 enable_win16
17091 wine_fn_config_dll ole2conv.dll16 enable_win16
17092 wine_fn_config_dll ole2disp.dll16 enable_win16
17093 wine_fn_config_dll ole2nls.dll16 enable_win16
17094 wine_fn_config_dll ole2prox.dll16 enable_win16
17095 wine_fn_config_dll ole2thk.dll16 enable_win16
17096 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17097 wine_fn_config_test dlls
/ole32
/tests ole32_test
17098 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17099 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17100 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17101 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17102 wine_fn_config_dll olecli.dll16 enable_win16
17103 wine_fn_config_dll olecli32 enable_olecli32 implib
17104 wine_fn_config_dll oledb32 enable_oledb32 clean
17105 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17106 wine_fn_config_dll oledlg enable_oledlg implib
,po
17107 wine_fn_config_dll olepro32 enable_olepro32 implib
17108 wine_fn_config_dll olesvr.dll16 enable_win16
17109 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17110 wine_fn_config_dll olethk32 enable_olethk32
17111 wine_fn_config_dll openal32 enable_openal32
17112 wine_fn_config_dll opencl enable_opencl
17113 wine_fn_config_dll opengl32 enable_opengl32 implib
17114 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17115 wine_fn_config_dll pdh enable_pdh implib
17116 wine_fn_config_test dlls
/pdh
/tests pdh_test
17117 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17118 wine_fn_config_dll pidgen enable_pidgen
17119 wine_fn_config_dll powrprof enable_powrprof implib
17120 wine_fn_config_dll printui enable_printui
17121 wine_fn_config_dll propsys enable_propsys clean
,implib
17122 wine_fn_config_test dlls
/propsys
/tests propsys_test
17123 wine_fn_config_dll psapi enable_psapi implib
17124 wine_fn_config_test dlls
/psapi
/tests psapi_test
17125 wine_fn_config_dll pstorec enable_pstorec clean
17126 wine_fn_config_dll qcap enable_qcap
17127 wine_fn_config_test dlls
/qcap
/tests qcap_test
17128 wine_fn_config_dll qedit enable_qedit clean
17129 wine_fn_config_test dlls
/qedit
/tests qedit_test
17130 wine_fn_config_dll qmgr enable_qmgr clean
17131 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17132 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17133 wine_fn_config_dll quartz enable_quartz clean
,implib
17134 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17135 wine_fn_config_dll query enable_query
17136 wine_fn_config_dll rasapi16.dll16 enable_win16
17137 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17138 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17139 wine_fn_config_dll rasdlg enable_rasdlg implib
17140 wine_fn_config_dll regapi enable_regapi
17141 wine_fn_config_dll resutils enable_resutils implib
17142 wine_fn_config_dll riched20 enable_riched20 implib
17143 wine_fn_config_test dlls
/riched20
/tests riched20_test
17144 wine_fn_config_dll riched32 enable_riched32
17145 wine_fn_config_test dlls
/riched32
/tests riched32_test
17146 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17147 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17148 wine_fn_config_dll rsabase enable_rsabase
17149 wine_fn_config_dll rsaenh enable_rsaenh implib
17150 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17151 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17152 wine_fn_config_dll rtutils enable_rtutils implib
17153 wine_fn_config_dll samlib enable_samlib
17154 wine_fn_config_dll sane.ds enable_sane_ds po
17155 wine_fn_config_dll scarddlg enable_scarddlg
17156 wine_fn_config_dll sccbase enable_sccbase
17157 wine_fn_config_dll schannel enable_schannel
17158 wine_fn_config_test dlls
/schannel
/tests schannel_test
17159 wine_fn_config_dll scrrun enable_scrrun clean
17160 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17161 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17162 wine_fn_config_dll secur32 enable_secur32 implib
17163 wine_fn_config_test dlls
/secur32
/tests secur32_test
17164 wine_fn_config_dll security enable_security
17165 wine_fn_config_dll sensapi enable_sensapi implib
17166 wine_fn_config_dll serialui enable_serialui implib
,po
17167 wine_fn_config_test dlls
/serialui
/tests serialui_test
17168 wine_fn_config_dll setupapi enable_setupapi implib
,po
17169 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17170 wine_fn_config_dll setupx.dll16 enable_win16
17171 wine_fn_config_dll sfc enable_sfc implib
17172 wine_fn_config_dll sfc_os enable_sfc_os implib
17173 wine_fn_config_dll shdoclc enable_shdoclc po
17174 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17175 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17176 wine_fn_config_dll shell.dll16 enable_win16
17177 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17178 wine_fn_config_test dlls
/shell32
/tests shell32_test
17179 wine_fn_config_dll shfolder enable_shfolder implib
17180 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17181 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17182 wine_fn_config_dll slbcsp enable_slbcsp
17183 wine_fn_config_dll slc enable_slc implib
17184 wine_fn_config_dll snmpapi enable_snmpapi implib
17185 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17186 wine_fn_config_dll softpub enable_softpub
17187 wine_fn_config_dll sound.drv16 enable_win16
17188 wine_fn_config_dll spoolss enable_spoolss implib
17189 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17190 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17191 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17192 wine_fn_config_dll sti enable_sti clean
,implib
17193 wine_fn_config_test dlls
/sti
/tests sti_test
17194 wine_fn_config_dll storage.dll16 enable_win16
17195 wine_fn_config_dll stress.dll16 enable_win16
17196 wine_fn_config_lib strmbase
17197 wine_fn_config_lib strmiids
17198 wine_fn_config_dll svrapi enable_svrapi
17199 wine_fn_config_dll sxs enable_sxs implib
17200 wine_fn_config_test dlls
/sxs
/tests sxs_test
17201 wine_fn_config_dll system.drv16 enable_win16
17202 wine_fn_config_dll t2embed enable_t2embed
17203 wine_fn_config_dll tapi32 enable_tapi32 implib
17204 wine_fn_config_dll toolhelp.dll16 enable_win16
17205 wine_fn_config_dll traffic enable_traffic
17206 wine_fn_config_dll twain.dll16 enable_win16
17207 wine_fn_config_dll twain_32 enable_twain_32
17208 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17209 wine_fn_config_dll typelib.dll16 enable_win16
17210 wine_fn_config_dll unicows enable_unicows implib
17211 wine_fn_config_dll updspapi enable_updspapi
17212 wine_fn_config_dll url enable_url implib
17213 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17214 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17215 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17216 wine_fn_config_dll user.exe16 enable_win16
17217 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17218 wine_fn_config_test dlls
/user32
/tests user32_test
17219 wine_fn_config_dll userenv enable_userenv implib
17220 wine_fn_config_test dlls
/userenv
/tests userenv_test
17221 wine_fn_config_dll usp10 enable_usp10 implib
17222 wine_fn_config_test dlls
/usp10
/tests usp10_test
17223 wine_fn_config_lib uuid
17224 wine_fn_config_dll uxtheme enable_uxtheme implib
17225 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17226 wine_fn_config_dll vbscript enable_vbscript clean
17227 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17228 wine_fn_config_dll vcomp enable_vcomp
17229 wine_fn_config_dll vcomp100 enable_vcomp100
17230 wine_fn_config_dll vcomp90 enable_vcomp90
17231 wine_fn_config_dll vdhcp.vxd enable_win16
17232 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17233 wine_fn_config_dll ver.dll16 enable_win16
17234 wine_fn_config_dll version enable_version implib
17235 wine_fn_config_test dlls
/version
/tests version_test
17236 wine_fn_config_dll vmm.vxd enable_win16
17237 wine_fn_config_dll vnbt.vxd enable_win16
17238 wine_fn_config_dll vnetbios.vxd enable_win16
17239 wine_fn_config_dll vtdapi.vxd enable_win16
17240 wine_fn_config_dll vwin32.vxd enable_win16
17241 wine_fn_config_dll w32skrnl enable_win16
17242 wine_fn_config_dll w32sys.dll16 enable_win16
17243 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17244 wine_fn_config_dll wbemprox enable_wbemprox clean
17245 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17246 wine_fn_config_dll webservices enable_webservices implib
17247 wine_fn_config_dll wer enable_wer implib
17248 wine_fn_config_test dlls
/wer
/tests wer_test
17249 wine_fn_config_dll wevtapi enable_wevtapi
17250 wine_fn_config_dll wiaservc enable_wiaservc clean
17251 wine_fn_config_dll win32s16.dll16 enable_win16
17252 wine_fn_config_dll win87em.dll16 enable_win16
17253 wine_fn_config_dll winaspi.dll16 enable_win16
17254 wine_fn_config_dll windebug.dll16 enable_win16
17255 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17256 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17257 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17258 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17259 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17260 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17261 wine_fn_config_lib winecrt0
17262 wine_fn_config_dll wined3d enable_wined3d implib
17263 wine_fn_config_dll winegstreamer enable_winegstreamer
17264 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17265 wine_fn_config_dll winemac.drv enable_winemac_drv
17266 wine_fn_config_dll winemapi enable_winemapi
17267 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17268 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17269 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17270 wine_fn_config_dll wineps16.drv16 enable_win16
17271 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17272 wine_fn_config_dll winex11.drv enable_winex11_drv
17273 wine_fn_config_dll wing.dll16 enable_win16
17274 wine_fn_config_dll wing32 enable_wing32
17275 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17276 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17277 wine_fn_config_dll wininet enable_wininet implib
,po
17278 wine_fn_config_test dlls
/wininet
/tests wininet_test
17279 wine_fn_config_dll winmm enable_winmm implib
,po
17280 wine_fn_config_test dlls
/winmm
/tests winmm_test
17281 wine_fn_config_dll winnls.dll16 enable_win16
17282 wine_fn_config_dll winnls32 enable_winnls32 implib
17283 wine_fn_config_dll winscard enable_winscard implib
17284 wine_fn_config_dll winsock.dll16 enable_win16
17285 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17286 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17287 wine_fn_config_dll winsta enable_winsta
17288 wine_fn_config_dll wintab.dll16 enable_win16
17289 wine_fn_config_dll wintab32 enable_wintab32 implib
17290 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17291 wine_fn_config_dll wintrust enable_wintrust implib
17292 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17293 wine_fn_config_dll wlanapi enable_wlanapi
17294 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17295 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17296 wine_fn_config_dll wmi enable_wmi
17297 wine_fn_config_dll wmiutils enable_wmiutils clean
17298 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17299 wine_fn_config_dll wmvcore enable_wmvcore
17300 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17301 wine_fn_config_dll wow32 enable_win16 implib
17302 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17303 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17304 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17305 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17306 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17307 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17308 wine_fn_config_dll wsock32 enable_wsock32 implib
17309 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17310 wine_fn_config_dll wuapi enable_wuapi clean
17311 wine_fn_config_dll wuaueng enable_wuaueng
17312 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17313 wine_fn_config_dll xinput1_1 enable_xinput1_1
17314 wine_fn_config_dll xinput1_2 enable_xinput1_2
17315 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17316 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17317 wine_fn_config_dll xinput1_4 enable_xinput1_4
17318 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17319 wine_fn_config_dll xmllite enable_xmllite
17320 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17321 wine_fn_config_dll xolehlp enable_xolehlp
17322 wine_fn_config_dll xpsprint enable_xpsprint
17323 wine_fn_config_dll xpssvcs enable_xpssvcs
17324 wine_fn_config_makefile documentation enable_documentation clean
17325 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17326 wine_fn_config_makefile include enable_include clean
,install-dev
17327 wine_fn_config_makefile libs
/port enable_libs_port
17328 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17329 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17330 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17331 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17332 wine_fn_config_program attrib enable_attrib
install,po
17333 wine_fn_config_program cabarc enable_cabarc
install
17334 wine_fn_config_program cacls enable_cacls
install
17335 wine_fn_config_program
clock enable_clock
install,po
17336 wine_fn_config_program cmd enable_cmd
install,po
17337 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17338 wine_fn_config_program conhost enable_conhost
install
17339 wine_fn_config_program control enable_control
install
17340 wine_fn_config_program cscript enable_cscript
install
17341 wine_fn_config_program dxdiag enable_dxdiag
install,po
17342 wine_fn_config_program eject enable_eject
install
17343 wine_fn_config_program
expand enable_expand
install
17344 wine_fn_config_program explorer enable_explorer
install,po
17345 wine_fn_config_program extrac32 enable_extrac32
install
17346 wine_fn_config_program findstr enable_findstr
install
17347 wine_fn_config_program hh enable_hh
install
17348 wine_fn_config_program hostname enable_hostname
install,po
17349 wine_fn_config_program icinfo enable_icinfo
install
17350 wine_fn_config_program iexplore enable_iexplore
install
17351 wine_fn_config_program ipconfig enable_ipconfig
install,po
17352 wine_fn_config_program lodctr enable_lodctr
install
17353 wine_fn_config_program mofcomp enable_mofcomp
install
17354 wine_fn_config_program mshta enable_mshta
install
17355 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17356 wine_fn_config_program net enable_net
install,po
17357 wine_fn_config_program netsh enable_netsh
install
17358 wine_fn_config_program netstat enable_netstat
install,po
17359 wine_fn_config_program ngen enable_ngen
install
17360 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17361 wine_fn_config_program oleview enable_oleview
install,po
17362 wine_fn_config_program
ping enable_ping
install
17363 wine_fn_config_program plugplay enable_plugplay
install
17364 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17365 wine_fn_config_program progman enable_progman
install,po
17366 wine_fn_config_program reg enable_reg
install,po
17367 wine_fn_config_program regasm enable_regasm
install
17368 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17369 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17370 wine_fn_config_program regsvcs enable_regsvcs
install
17371 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
17372 wine_fn_config_program rpcss enable_rpcss clean
,install
17373 wine_fn_config_program rundll.exe16 enable_win16
install
17374 wine_fn_config_program rundll32 enable_rundll32
install
17375 wine_fn_config_program sc enable_sc
install
17376 wine_fn_config_program schtasks enable_schtasks
install
17377 wine_fn_config_program secedit enable_secedit
install
17378 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17379 wine_fn_config_program services enable_services clean
,install
17380 wine_fn_config_test programs
/services
/tests services.exe_test
17381 wine_fn_config_program spoolsv enable_spoolsv
install
17382 wine_fn_config_program start enable_start
install,po
17383 wine_fn_config_program svchost enable_svchost
install
17384 wine_fn_config_program taskkill enable_taskkill
install,po
17385 wine_fn_config_program tasklist enable_tasklist
install
17386 wine_fn_config_program taskmgr enable_taskmgr
install,po
17387 wine_fn_config_program termsv enable_termsv
install
17388 wine_fn_config_program uninstaller enable_uninstaller
install,po
17389 wine_fn_config_program unlodctr enable_unlodctr
install
17390 wine_fn_config_program view enable_view
install,po
17391 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17392 wine_fn_config_program winebrowser enable_winebrowser
install
17393 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17394 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17395 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17396 wine_fn_config_program winedevice enable_winedevice
install
17397 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17398 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17399 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17400 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17401 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17402 wine_fn_config_program winetest enable_winetest clean
17403 wine_fn_config_program winevdm enable_win16
install
17404 wine_fn_config_program winhelp.exe16 enable_win16
install
17405 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17406 wine_fn_config_program winoldap.mod16 enable_win16
install
17407 wine_fn_config_program winver enable_winver
install
17408 wine_fn_config_program wmic enable_wmic
install,po
17409 wine_fn_config_program wordpad enable_wordpad
install,po
17410 wine_fn_config_program
write enable_write
install,po
17411 wine_fn_config_program wscript enable_wscript clean
,install
17412 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17413 wine_fn_config_program wusa enable_wusa
install
17414 wine_fn_config_program xcopy enable_xcopy
install,po
17415 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17416 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17417 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17418 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17419 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17420 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17421 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17422 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17473 ac_config_commands
="$ac_config_commands Makefile"
17476 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17480 if test "x$enable_maintainer_mode" = xyes
17482 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17483 autoconf --warnings=all
17484 include/config.h.in: include/stamp-h.in
17485 include/stamp-h.in: configure.ac aclocal.m4
17486 autoheader --warnings=all
17487 @echo timestamp > \$@"
17490 if test "x$with_gettextpo" = xyes
17492 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17493 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17494 \$(LINGUAS:%=po/%.po): po/wine.pot
17495 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17496 po/wine.pot: \$(ALL_POT_FILES)
17497 msgcat -o \$@ \$(ALL_POT_FILES)"
17500 if test "$MSGFMT" != false
17502 PORCFLAGS
="--po-dir=\$(top_builddir)/po"
17504 wine_fn_append_rule
"__builddeps__: \$(ALL_MO_FILES)
17506 \$(RM) \$(ALL_MO_FILES)"
17509 test "$srcdir" = . || posrc
="$srcdir/po"
17512 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17513 \$(MSGFMT) -o \$@ $posrc/$i.po"
17519 if test "x$enable_tools" != xno
17521 ac_config_commands
="$ac_config_commands tools"
17523 wine_fn_append_rule
"tools/makedep$ac_exeext: tools/makedep.c include/config.h
17524 \$(CC) -Iinclude -I$srcdir/include \$(ALLCFLAGS) -o \$@ $srcdir/tools/makedep.c \$(LDFLAGS)
17526 \$(RM) tools/makedep$ac_exeext"
17529 if test -n "$with_wine64"
17531 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17532 fonts server tools:
17533 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17534 $with_wine64/loader/wine:
17535 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17536 $with_wine64/loader/wine-preloader:
17537 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17539 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17541 as_fn_append LOADER_RULES
"
17544 wine.inf: wine.inf.in \$(top_builddir)/include/config.h
17545 LC_ALL=C sed -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' \$(srcdir)/wine.inf.in >\$@ || (\$(RM) \$@ && false)
17547 install install-lib:: wine.inf \$(DESTDIR)\$(datadir)/wine install-man-pages
17548 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17549 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17552 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17556 $as_echo " done" >&6
17557 cat >confcache
<<\_ACEOF
17558 # This file is a shell script that caches the results of configure
17559 # tests run on this system so they can be shared between configure
17560 # scripts and configure runs, see configure's option --config-cache.
17561 # It is not useful on other systems. If it contains results you don't
17562 # want to keep, you may remove or edit it.
17564 # config.status only pays attention to the cache file if you give it
17565 # the --recheck option to rerun configure.
17567 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17568 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17569 # following values.
17573 # The following way of writing the cache mishandles newlines in values,
17574 # but we know of no workaround that is simple, portable, and efficient.
17575 # So, we kill variables containing newlines.
17576 # Ultrix sh set writes to stderr and can't be redirected directly,
17577 # and sets the high bit in the cache file unless we assign to the vars.
17579 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17580 eval ac_val
=\$
$ac_var
17584 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17585 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17588 _ | IFS | as_nl
) ;; #(
17589 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17590 *) { eval $ac_var=; unset $ac_var;} ;;
17596 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17597 *${as_nl}ac_space
=\
*)
17598 # `set' does not quote correctly, so add quotes: double-quote
17599 # substitution turns \\\\ into \\, and sed turns \\ into \.
17602 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17605 # `set' quotes correctly as required by POSIX, so do not add quotes.
17606 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17615 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17617 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17619 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17620 if test -w "$cache_file"; then
17621 if test "x$cache_file" != "x/dev/null"; then
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17623 $as_echo "$as_me: updating cache $cache_file" >&6;}
17624 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17625 cat confcache
>"$cache_file"
17627 case $cache_file in #(
17629 mv -f confcache
"$cache_file"$$
&&
17630 mv -f "$cache_file"$$
"$cache_file" ;; #(
17632 mv -f confcache
"$cache_file" ;;
17637 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17638 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17643 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17644 # Let make expand exec_prefix.
17645 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17647 DEFS
=-DHAVE_CONFIG_H
17652 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17653 # 1. Remove the extension, and $U if already installed.
17654 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17655 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17656 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17657 # will be set to the directory where LIBOBJS objects are built.
17658 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17659 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17661 LIBOBJS
=$ac_libobjs
17663 LTLIBOBJS
=$ac_ltlibobjs
17667 : "${CONFIG_STATUS=./config.status}"
17669 ac_clean_files_save
=$ac_clean_files
17670 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17671 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17672 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17674 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17676 # Generated by $as_me.
17677 # Run this file to recreate the current configuration.
17678 # Compiler output produced by configure, useful for debugging
17679 # configure, is in config.log if it exists.
17682 ac_cs_recheck=false
17685 SHELL=\${CONFIG_SHELL-$SHELL}
17688 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17689 ## -------------------- ##
17690 ## M4sh Initialization. ##
17691 ## -------------------- ##
17693 # Be more Bourne compatible
17694 DUALCASE
=1; export DUALCASE
# for MKS sh
17695 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17698 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17699 # is contrary to our usage. Disable this feature.
17700 alias -g '${1+"$@"}'='"$@"'
17701 setopt NO_GLOB_SUBST
17703 case `(set -o) 2>/dev/null` in #(
17715 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17716 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17717 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17718 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17719 # Prefer a ksh shell builtin over an external printf program on Solaris,
17720 # but without wasting forks for bash or zsh.
17721 if test -z "$BASH_VERSION$ZSH_VERSION" \
17722 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17723 as_echo='print
-r --'
17724 as_echo_n='print
-rn --'
17725 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17726 as_echo='printf %s
\n'
17727 as_echo_n='printf %s
'
17729 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17730 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17731 as_echo_n='/usr
/ucb
/echo -n'
17733 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17734 as_echo_n_body='eval
17738 expr "X$arg" : "X\\(.*\\)$as_nl";
17739 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17741 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17743 export as_echo_n_body
17744 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17746 export as_echo_body
17747 as_echo='sh
-c $as_echo_body as_echo
'
17750 # The user is always right.
17751 if test "${PATH_SEPARATOR+set}" != set; then
17753 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17754 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17761 # We need space, tab and new line, in precisely that order. Quoting is
17762 # there to prevent editors from complaining about space-tab.
17763 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17764 # splitting by setting IFS to empty value.)
17767 # Find who we are. Look in the path if we contain no directory separator.
17770 *[\\/]* ) as_myself=$0 ;;
17771 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17772 for as_dir in $PATH
17775 test -z "$as_dir" && as_dir=.
17776 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17782 # We did not find ourselves, most probably we were run as `sh COMMAND'
17783 # in which case we are not to be found in the path.
17784 if test "x$as_myself" = x
; then
17787 if test ! -f "$as_myself"; then
17788 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17792 # Unset variables that we do not need and which cause bugs (e.g. in
17793 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17794 # suppresses any "Segmentation fault" message there. '((' could
17795 # trigger a bug in pdksh 5.2.14.
17796 for as_var
in BASH_ENV ENV MAIL MAILPATH
17797 do eval test x\
${$as_var+set} = xset \
17798 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17811 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17814 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17815 # ----------------------------------------
17816 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17817 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17818 # script with STATUS, using 1 if that was 0.
17821 as_status
=$1; test $as_status -eq 0 && as_status
=1
17823 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17824 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17826 $as_echo "$as_me: error: $2" >&2
17827 as_fn_exit
$as_status
17831 # as_fn_set_status STATUS
17832 # -----------------------
17833 # Set $? to STATUS, without forking.
17834 as_fn_set_status
()
17837 } # as_fn_set_status
17839 # as_fn_exit STATUS
17840 # -----------------
17841 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17845 as_fn_set_status
$1
17851 # Portably unset VAR.
17854 { eval $1=; unset $1;}
17856 as_unset
=as_fn_unset
17857 # as_fn_append VAR VALUE
17858 # ----------------------
17859 # Append the text in VALUE to the end of the definition contained in VAR. Take
17860 # advantage of any shell optimizations that allow amortized linear growth over
17861 # repeated appends, instead of the typical quadratic growth present in naive
17863 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17864 eval 'as_fn_append ()
17875 # as_fn_arith ARG...
17876 # ------------------
17877 # Perform arithmetic evaluation on the ARGs, and store the result in the
17878 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17879 # must be portable across $(()) and expr.
17880 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17881 eval 'as_fn_arith ()
17888 as_val
=`expr "$@" || test $? -eq 1`
17893 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17894 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17900 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17901 as_basename
=basename
17906 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17912 as_me
=`$as_basename -- "$0" ||
17913 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17914 X"$0" : 'X\(//\)$' \| \
17915 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17917 sed '/^.*\/\([^/][^/]*\)\/*$/{
17931 # Avoid depending upon Character Ranges.
17932 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17933 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17934 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17935 as_cr_digits
='0123456789'
17936 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17938 ECHO_C
= ECHO_N
= ECHO_T
=
17939 case `echo -n x` in #(((((
17941 case `echo 'xy\c'` in
17942 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17944 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17951 rm -f conf$$ conf$$.exe conf$$.
file
17952 if test -d conf$$.dir
; then
17953 rm -f conf$$.dir
/conf$$.
file
17956 mkdir conf$$.dir
2>/dev
/null
17958 if (echo >conf$$.
file) 2>/dev
/null
; then
17959 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17961 # ... but there are two gotchas:
17962 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17963 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17964 # In both cases, we have to default to `cp -pR'.
17965 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17967 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17975 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17976 rmdir conf$$.dir
2>/dev
/null
17981 # Create "$as_dir" as a directory, including parents if necessary.
17986 -*) as_dir
=.
/$as_dir;;
17988 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17992 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17993 *) as_qdir
=$as_dir;;
17995 as_dirs
="'$as_qdir' $as_dirs"
17996 as_dir
=`$as_dirname -- "$as_dir" ||
17997 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17998 X"$as_dir" : 'X\(//\)[^/]' \| \
17999 X"$as_dir" : 'X\(//\)$' \| \
18000 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18001 $as_echo X"$as_dir" |
18002 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18006 /^X\(\/\/\)[^/].*/{
18019 test -d "$as_dir" && break
18021 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18022 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18026 if mkdir
-p .
2>/dev
/null
; then
18027 as_mkdir_p
='mkdir -p "$as_dir"'
18029 test -d .
/-p && rmdir .
/-p
18034 # as_fn_executable_p FILE
18035 # -----------------------
18036 # Test if FILE is an executable regular file.
18037 as_fn_executable_p
()
18039 test -f "$1" && test -x "$1"
18040 } # as_fn_executable_p
18041 as_test_x
='test -x'
18042 as_executable_p
=as_fn_executable_p
18044 # Sed expression to map a string onto a valid CPP name.
18045 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18047 # Sed expression to map a string onto a valid variable name.
18048 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18052 ## ----------------------------------- ##
18053 ## Main body of $CONFIG_STATUS script. ##
18054 ## ----------------------------------- ##
18056 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18059 # Save the log message, to keep $0 and so on meaningful, and to
18060 # report actual input values of CONFIG_FILES etc. instead of their
18061 # values after options handling.
18063 This file was extended by Wine $as_me 1.7.6, which was
18064 generated by GNU Autoconf 2.69. Invocation command line was
18066 CONFIG_FILES = $CONFIG_FILES
18067 CONFIG_HEADERS = $CONFIG_HEADERS
18068 CONFIG_LINKS = $CONFIG_LINKS
18069 CONFIG_COMMANDS = $CONFIG_COMMANDS
18072 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18077 case $ac_config_files in *"
18078 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18081 case $ac_config_headers in *"
18082 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18086 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18087 # Files that config.status was made for.
18088 config_files="$ac_config_files"
18089 config_headers="$ac_config_headers"
18090 config_links="$ac_config_links"
18091 config_commands="$ac_config_commands"
18095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18097 \`$as_me' instantiates files and other configuration actions
18098 from templates according to the current configuration. Unless the files
18099 and actions are specified as TAGs, all are instantiated by default.
18101 Usage: $0 [OPTION]... [TAG]...
18103 -h, --help print this help, then exit
18104 -V, --version print version number and configuration settings, then exit
18105 --config print configuration, then exit
18106 -q, --quiet, --silent
18107 do not print progress messages
18108 -d, --debug don't remove temporary files
18109 --recheck update $as_me by reconfiguring in the same conditions
18110 --file=FILE[:TEMPLATE]
18111 instantiate the configuration file FILE
18112 --header=FILE[:TEMPLATE]
18113 instantiate the configuration header FILE
18115 Configuration files:
18118 Configuration headers:
18121 Configuration links:
18124 Configuration commands:
18127 Report bugs to <wine-devel@winehq.org>.
18128 Wine home page: <http://www.winehq.org>."
18131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18132 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18134 Wine config.status 1.7.6
18135 configured by $0, generated by GNU Autoconf 2.69,
18136 with options \\"\$ac_cs_config\\"
18138 Copyright (C) 2012 Free Software Foundation, Inc.
18139 This config.status script is free software; the Free Software Foundation
18140 gives unlimited permission to copy, distribute and modify it."
18146 test -n "\$AWK" || AWK=awk
18149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18150 # The default lists apply if the user does not specify any file.
18156 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18157 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18161 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18173 # Handling of the options.
18174 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18176 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18177 $as_echo "$ac_cs_version"; exit ;;
18178 --config |
--confi |
--conf |
--con |
--co |
--c )
18179 $as_echo "$ac_cs_config"; exit ;;
18180 --debug |
--debu |
--deb |
--de |
--d |
-d )
18182 --file |
--fil |
--fi |
--f )
18185 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18186 '') as_fn_error $?
"missing file argument" ;;
18188 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18189 ac_need_defaults
=false
;;
18190 --header |
--heade |
--head |
--hea )
18193 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18195 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18196 ac_need_defaults
=false
;;
18198 # Conflict between --help and --header
18199 as_fn_error $?
"ambiguous option: \`$1'
18200 Try \`$0 --help' for more information.";;
18201 --help |
--hel |
-h )
18202 $as_echo "$ac_cs_usage"; exit ;;
18203 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18204 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18207 # This is an error.
18208 -*) as_fn_error $?
"unrecognized option: \`$1'
18209 Try \`$0 --help' for more information." ;;
18211 *) as_fn_append ac_config_targets
" $1"
18212 ac_need_defaults
=false
;;
18218 ac_configure_extra_args
=
18220 if $ac_cs_silent; then
18222 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18226 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18227 if \$ac_cs_recheck; then
18228 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18230 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18231 CONFIG_SHELL='$SHELL'
18232 export CONFIG_SHELL
18237 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18241 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18242 ## Running $as_me. ##
18248 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18252 wine_fn_output_makefile ()
18254 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18255 `cat $wine_rules_file`
18257 as_fn_error $? "could not create Makefile" "$LINENO" 5
18262 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18264 # Handling of arguments.
18265 for ac_config_target
in $ac_config_targets
18267 case $ac_config_target in
18268 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18269 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18270 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
18271 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18272 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18273 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18274 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18275 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18276 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18277 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18278 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18279 "dlls/gdi32/dibdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
18280 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
18281 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
18282 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
18283 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
18284 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
18285 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
18286 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
18287 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18288 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18289 "tools") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools" ;;
18291 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18296 # If the user did not use the arguments to specify the items to instantiate,
18297 # then the envvar interface is used. Set only those that are not.
18298 # We use the long form for the default assignment because of an extremely
18299 # bizarre bug on SunOS 4.1.3.
18300 if $ac_need_defaults; then
18301 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18302 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18303 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18304 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18307 # Have a temporary directory for convenience. Make it in the build tree
18308 # simply because there is no reason against having it here, and in addition,
18309 # creating and moving files from /tmp can sometimes cause problems.
18310 # Hook for its removal unless debugging.
18311 # Note that there is a small window in which the directory will not be cleaned:
18312 # after its creation but before its name has been assigned to `$tmp'.
18316 trap 'exit_status=$?
18317 : "${ac_tmp:=$tmp}"
18318 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18320 trap 'as_fn_exit 1' 1 2 13 15
18322 # Create a (secure) tmp directory for tmp files.
18325 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18329 tmp
=.
/conf$$
-$RANDOM
18330 (umask 077 && mkdir
"$tmp")
18331 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18334 # Set up the scripts for CONFIG_FILES section.
18335 # No need to generate them if there are no CONFIG_FILES.
18336 # This happens for instance with `./config.status config.h'.
18337 if test -n "$CONFIG_FILES"; then
18339 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
18340 ac_cs_awk_getline
=:
18341 ac_cs_awk_pipe_init
=
18342 ac_cs_awk_read_file
='
18343 while ((getline aline < (F[key])) > 0)
18346 ac_cs_awk_pipe_fini
=
18348 ac_cs_awk_getline
=false
18349 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
18350 ac_cs_awk_read_file
='
18352 print "cat " F[key] " &&"
18353 '$ac_cs_awk_pipe_init
18354 # The final `:' finishes the AND list.
18355 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
18357 ac_cr
=`echo X | tr X '\015'`
18358 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18359 # But we know of no other shell where ac_cr would be empty at this
18360 # point, so we can use a bashism as a fallback.
18361 if test "x$ac_cr" = x
; then
18362 eval ac_cr
=\$
\'\\r
\'
18364 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18365 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18368 ac_cs_awk_cr
=$ac_cr
18371 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18374 # Create commands to substitute file output variables.
18376 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
18377 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
18378 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
18381 } >conf$
$files.sh
&&
18382 . .
/conf$
$files.sh ||
18383 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
18384 rm -f conf$
$files.sh
18387 echo "cat >conf$$subs.awk <<_ACEOF" &&
18388 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18390 } >conf$$subs.sh ||
18391 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18392 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18394 for ac_last_try in false false false false false :; do
18395 . ./conf$$subs.sh ||
18396 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18398 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18399 if test $ac_delim_n = $ac_delim_num; then
18401 elif $ac_last_try; then
18402 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18404 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18407 rm -f conf$$subs.sh
18409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18410 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18414 s/^/S["/; s
/!.
*/"]=/
18424 s/\(.\{148\}\)..*/\1/
18426 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18431 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18438 s/\(.\{148\}\)..*/\1/
18440 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18444 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18449 ' <conf$$subs.awk | sed '
18454 ' >>$CONFIG_STATUS || ac_write_fail=1
18455 rm -f conf$$subs.awk
18456 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18458 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18459 for (key in S) S_is_set[key] = 1
18461 \$ac_cs_awk_pipe_init
18465 nfields = split(line, field, "@
")
18467 len = length(field[1])
18468 for (i = 2; i < nfields; i++) {
18470 keylen = length(key)
18471 if (S_is_set[key]) {
18473 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18474 len += length(value) + length(field[++i])
18479 if (nfields == 3 && !substed) {
18481 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
18482 \$ac_cs_awk_read_file
18488 \$ac_cs_awk_pipe_fini
18491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18492 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18493 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18496 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18497 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18500 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18501 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18502 # trailing colons and then remove the whole line if VPATH becomes empty
18503 # (actually we leave an empty line to preserve line numbers).
18504 if test "x
$srcdir" = x.; then
18505 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18524 fi # test -n "$CONFIG_FILES"
18526 # Set up the scripts for CONFIG_HEADERS section.
18527 # No need to generate them if there are no CONFIG_HEADERS.
18528 # This happens for instance with `./config.status Makefile'.
18529 if test -n "$CONFIG_HEADERS"; then
18530 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18534 # Transform confdefs.h into an awk script `defines.awk', embedded as
18535 # here-document in config.status, that substitutes the proper values into
18536 # config.h.in to produce config.h.
18538 # Create a delimiter string that does not exist in confdefs.h, to ease
18539 # handling of long lines.
18541 for ac_last_try in false false :; do
18542 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18543 if test -z "$ac_tt"; then
18545 elif $ac_last_try; then
18546 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18548 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18552 # For the awk script, D is an array of macro values keyed by name,
18553 # likewise P contains macro parameters if any. Preserve backslash
18554 # newline sequences.
18556 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18558 s/.\{148\}/&'"$ac_delim"'/g
18561 s/^[ ]*#[ ]*define[ ][ ]*/ /
18568 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18570 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18574 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18575 D["\
1"]=" \
3\\\\\\n
"\\/p
18577 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18582 s/.\{148\}/&'"$ac_delim"'/g
18587 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18590 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18592 ' <confdefs.h | sed '
18593 s/'"$ac_delim"'/"\\\
18594 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18597 for (key in D) D_is_set[key] = 1
18600 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18602 split(line, arg, " ")
18603 if (arg[1] == "#") {
18607 defundef
= substr
(arg
[1], 2)
18610 split(mac1
, mac2
, "(") #)
18612 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18613 if (D_is_set
[macro
]) {
18614 # Preserve the white space surrounding the "#".
18615 print prefix
"define", macro P
[macro
] D
[macro
]
18618 # Replace #undef with comments. This is necessary, for example,
18619 # in the case of _POSIX_SOURCE, which is predefined and required
18620 # on some systems where configure will not decide to define it.
18621 if (defundef
== "undef") {
18622 print
"/*", prefix defundef
, macro
, "*/"
18630 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18631 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18632 fi # test -n "$CONFIG_HEADERS"
18635 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18640 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18642 case $ac_mode$ac_tag in
18644 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18645 :[FH
]-) ac_tag
=-:-;;
18646 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18663 -) ac_f
="$ac_tmp/stdin";;
18664 *) # Look for the file first in the build tree, then in the source tree
18665 # (if the path is not absolute). The absolute path cannot be DOS-style,
18666 # because $ac_f cannot contain `:'.
18670 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18672 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18674 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18675 as_fn_append ac_file_inputs
" '$ac_f'"
18678 # Let's still pretend it is `configure' which instantiates (i.e., don't
18679 # use $as_me), people would be surprised to read:
18680 # /* config.h. Generated by config.status. */
18681 configure_input
='Generated from '`
18682 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18684 if test x
"$ac_file" != x-
; then
18685 configure_input
="$ac_file. $configure_input"
18686 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18687 $as_echo "$as_me: creating $ac_file" >&6;}
18689 # Neutralize special characters interpreted by sed in replacement strings.
18690 case $configure_input in #(
18691 *\
&* |
*\|
* |
*\\* )
18692 ac_sed_conf_input
=`$as_echo "$configure_input" |
18693 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18694 *) ac_sed_conf_input
=$configure_input;;
18698 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18699 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18704 ac_dir
=`$as_dirname -- "$ac_file" ||
18705 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18706 X"$ac_file" : 'X\(//\)[^/]' \| \
18707 X"$ac_file" : 'X\(//\)$' \| \
18708 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18709 $as_echo X"$ac_file" |
18710 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18714 /^X\(\/\/\)[^/].*/{
18727 as_dir
="$ac_dir"; as_fn_mkdir_p
18731 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18733 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18734 # A ".." for each directory in $ac_dir_suffix.
18735 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18736 case $ac_top_builddir_sub in
18737 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18738 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18741 ac_abs_top_builddir
=$ac_pwd
18742 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18743 # for backward compatibility:
18744 ac_top_builddir
=$ac_top_build_prefix
18747 .
) # We are building in place.
18749 ac_top_srcdir
=$ac_top_builddir_sub
18750 ac_abs_top_srcdir
=$ac_pwd ;;
18751 [\\/]* | ?
:[\\/]* ) # Absolute name.
18752 ac_srcdir
=$srcdir$ac_dir_suffix;
18753 ac_top_srcdir
=$srcdir
18754 ac_abs_top_srcdir
=$srcdir ;;
18755 *) # Relative name.
18756 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18757 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18758 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18760 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18770 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18771 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18773 ac_MKDIR_P
=$MKDIR_P
18775 [\\/$
]* | ?
:[\\/]* ) ;;
18776 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18781 # If the template does not know about datarootdir, expand it.
18782 # FIXME: This hack should be removed a few years after 2.60.
18783 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18794 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18795 *datarootdir
*) ac_datarootdir_seen
=yes;;
18796 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18798 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18801 ac_datarootdir_hack='
18802 s&@datadir@&$datadir&g
18803 s&@docdir@&$docdir&g
18804 s&@infodir@&$infodir&g
18805 s&@localedir@&$localedir&g
18806 s&@mandir@&$mandir&g
18807 s&\\\${datarootdir}&$datarootdir&g' ;;
18811 # Neutralize VPATH when `$srcdir' = `.'.
18812 # Shell code in configure.ac might set extrasub.
18813 # FIXME: do we really want to maintain this feature?
18814 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18815 ac_sed_extra="$ac_vpsub
18818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18820 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18821 s|@configure_input@|
$ac_sed_conf_input|
;t t
18822 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18823 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18824 s
&@srcdir@
&$ac_srcdir&;t t
18825 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18826 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18827 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18828 s
&@builddir@
&$ac_builddir&;t t
18829 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18830 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18831 s
&@INSTALL@
&$ac_INSTALL&;t t
18832 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18833 $ac_datarootdir_hack
18835 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18836 if $ac_cs_awk_getline; then
18837 $AWK -f "$ac_tmp/subs.
awk"
18839 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
18841 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18843 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18844 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18845 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18846 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18848 which seems to be undefined. Please make sure it is defined" >&5
18849 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18850 which seems to be undefined. Please make sure it is defined" >&2;}
18852 rm -f "$ac_tmp/stdin"
18854 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18855 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18857 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18863 if test x"$ac_file" != x-; then
18865 $as_echo "/* $configure_input */" \
18866 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18867 } >"$ac_tmp/config.h" \
18868 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18869 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18870 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18871 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18874 mv "$ac_tmp/config.h" "$ac_file" \
18875 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18878 $as_echo "/* $configure_input */" \
18879 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18880 || as_fn_error $? "could not create -" "$LINENO" 5
18888 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18891 # Prefer the file from the source tree if names are identical.
18892 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18893 ac_source=$srcdir/$ac_source
18896 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18897 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18899 if test ! -r "$ac_source"; then
18900 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18904 # Try a relative symlink, then a hard link, then a copy.
18906 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18907 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18909 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18910 ln "$ac_source" "$ac_file" 2>/dev/null ||
18911 cp -p "$ac_source" "$ac_file" ||
18912 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18915 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18916 $as_echo "$as_me: executing $ac_file commands" >&6;}
18921 case $ac_file$ac_mode in
18922 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18923 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
18924 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
18925 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
18926 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
18927 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
18928 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
18929 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
18930 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
18931 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
18932 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
18933 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
18934 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
18935 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
18936 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
18937 "Makefile":C) wine_fn_output_makefile Makefile ;;
18938 "tools":C) as_dir=tools; as_fn_mkdir_p ;;
18946 ac_clean_files=$ac_clean_files_save
18948 test $ac_write_fail = 0 ||
18949 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18952 # configure is writing to config.log, and then calls config.status.
18953 # config.status does its own redirection, appending to config.log.
18954 # Unfortunately, on DOS this fails, as config.log is still kept open
18955 # by configure, so config.status won't be able to
write to it
; its
18956 # output is simply discarded. So we exec the FD to /dev/null,
18957 # effectively closing config.log, so it can be properly (re)opened and
18958 # appended to by config.status. When coming back to configure, we
18959 # need to make the FD available again.
18960 if test "$no_create" != yes; then
18962 ac_config_status_args
=
18963 test "$silent" = yes &&
18964 ac_config_status_args
="$ac_config_status_args --quiet"
18966 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18968 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18969 # would make configure fail if this is the last instruction.
18970 $ac_cs_success || as_fn_exit
1
18972 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18974 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18978 if test "$no_create" = "yes"
18984 if test "x$wine_notices != "x
; then
18987 for msg
in $wine_notices; do
18989 if test -n "$msg"; then
18990 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18991 $as_echo "$as_me: $msg" >&6;}
18996 for msg
in $wine_warnings; do
18998 if test -n "$msg"; then
19000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19001 $as_echo "$as_me: WARNING: $msg" >&2;}
19007 $as_me: Finished. Do '${ac_make}' to compile Wine.