2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.7.
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.7'
584 PACKAGE_STRING
='Wine 1.7.7'
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
1271 enable_aspnet_regiis
1303 enable_presentationfontcache
1315 enable_servicemodelreg
1334 enable_winemenubuilder
1336 enable_winemsibuilder
1350 ac_precious_vars
='build_alias
1397 # Initialize some variables set by options.
1399 ac_init_version
=false
1400 ac_unrecognized_opts
=
1401 ac_unrecognized_sep
=
1402 # The variables have the same names as the options, with
1403 # dashes changed to underlines.
1404 cache_file
=/dev
/null
1411 program_transform_name
=s
,x
,x
,
1419 # Installation directory options.
1420 # These are left unexpanded so users can "make install exec_prefix=/foo"
1421 # and all the variables that are supposed to be based on exec_prefix
1422 # by default will actually change.
1423 # Use braces instead of parens because sh, perl, etc. also accept them.
1424 # (The list follows the same order as the GNU Coding Standards.)
1425 bindir
='${exec_prefix}/bin'
1426 sbindir
='${exec_prefix}/sbin'
1427 libexecdir
='${exec_prefix}/libexec'
1428 datarootdir
='${prefix}/share'
1429 datadir
='${datarootdir}'
1430 sysconfdir
='${prefix}/etc'
1431 sharedstatedir
='${prefix}/com'
1432 localstatedir
='${prefix}/var'
1433 includedir
='${prefix}/include'
1434 oldincludedir
='/usr/include'
1435 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1436 infodir
='${datarootdir}/info'
1441 libdir
='${exec_prefix}/lib'
1442 localedir
='${datarootdir}/locale'
1443 mandir
='${datarootdir}/man'
1449 # If the previous option needs an argument, assign it.
1450 if test -n "$ac_prev"; then
1451 eval $ac_prev=\
$ac_option
1457 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1462 # Accept the important Cygnus configure options, so we can diagnose typos.
1464 case $ac_dashdash$ac_option in
1468 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1470 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1471 bindir
=$ac_optarg ;;
1473 -build |
--build |
--buil |
--bui |
--bu)
1474 ac_prev
=build_alias
;;
1475 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1476 build_alias
=$ac_optarg ;;
1478 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1479 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1480 ac_prev
=cache_file
;;
1481 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1482 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1483 cache_file
=$ac_optarg ;;
1485 --config-cache |
-C)
1486 cache_file
=config.cache
;;
1488 -datadir |
--datadir |
--datadi |
--datad)
1490 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1491 datadir
=$ac_optarg ;;
1493 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1494 |
--dataroo |
--dataro |
--datar)
1495 ac_prev
=datarootdir
;;
1496 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1497 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1498 datarootdir
=$ac_optarg ;;
1500 -disable-* |
--disable-*)
1501 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1502 # Reject names that are not valid shell variable names.
1503 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1504 as_fn_error $?
"invalid feature name: $ac_useropt"
1505 ac_useropt_orig
=$ac_useropt
1506 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1507 case $ac_user_opts in
1509 "enable_
$ac_useropt"
1511 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1512 ac_unrecognized_sep
=', ';;
1514 eval enable_
$ac_useropt=no
;;
1516 -docdir |
--docdir |
--docdi |
--doc |
--do)
1518 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1519 docdir
=$ac_optarg ;;
1521 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1523 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1524 dvidir
=$ac_optarg ;;
1526 -enable-* |
--enable-*)
1527 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1528 # Reject names that are not valid shell variable names.
1529 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1530 as_fn_error $?
"invalid feature name: $ac_useropt"
1531 ac_useropt_orig
=$ac_useropt
1532 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1533 case $ac_user_opts in
1535 "enable_
$ac_useropt"
1537 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1538 ac_unrecognized_sep
=', ';;
1540 eval enable_
$ac_useropt=\
$ac_optarg ;;
1542 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1543 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1544 |
--exec |
--exe |
--ex)
1545 ac_prev
=exec_prefix
;;
1546 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1547 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1548 |
--exec=* |
--exe=* |
--ex=*)
1549 exec_prefix
=$ac_optarg ;;
1551 -gas |
--gas |
--ga |
--g)
1552 # Obsolete; use --with-gas.
1555 -help |
--help |
--hel |
--he |
-h)
1556 ac_init_help
=long
;;
1557 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1558 ac_init_help
=recursive
;;
1559 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1560 ac_init_help
=short
;;
1562 -host |
--host |
--hos |
--ho)
1563 ac_prev
=host_alias
;;
1564 -host=* |
--host=* |
--hos=* |
--ho=*)
1565 host_alias
=$ac_optarg ;;
1567 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1569 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1571 htmldir
=$ac_optarg ;;
1573 -includedir |
--includedir |
--includedi |
--included |
--include \
1574 |
--includ |
--inclu |
--incl |
--inc)
1575 ac_prev
=includedir
;;
1576 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1577 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1578 includedir
=$ac_optarg ;;
1580 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1582 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1583 infodir
=$ac_optarg ;;
1585 -libdir |
--libdir |
--libdi |
--libd)
1587 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1588 libdir
=$ac_optarg ;;
1590 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1591 |
--libexe |
--libex |
--libe)
1592 ac_prev
=libexecdir
;;
1593 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1594 |
--libexe=* |
--libex=* |
--libe=*)
1595 libexecdir
=$ac_optarg ;;
1597 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1598 ac_prev
=localedir
;;
1599 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1600 localedir
=$ac_optarg ;;
1602 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1603 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1604 ac_prev
=localstatedir
;;
1605 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1606 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1607 localstatedir
=$ac_optarg ;;
1609 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1611 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1612 mandir
=$ac_optarg ;;
1614 -nfp |
--nfp |
--nf)
1615 # Obsolete; use --without-fp.
1618 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1619 |
--no-cr |
--no-c |
-n)
1622 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1623 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1626 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1627 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1628 |
--oldin |
--oldi |
--old |
--ol |
--o)
1629 ac_prev
=oldincludedir
;;
1630 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1631 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1632 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1633 oldincludedir
=$ac_optarg ;;
1635 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1637 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1638 prefix
=$ac_optarg ;;
1640 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1641 |
--program-pre |
--program-pr |
--program-p)
1642 ac_prev
=program_prefix
;;
1643 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1644 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1645 program_prefix
=$ac_optarg ;;
1647 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1648 |
--program-suf |
--program-su |
--program-s)
1649 ac_prev
=program_suffix
;;
1650 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1651 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1652 program_suffix
=$ac_optarg ;;
1654 -program-transform-name |
--program-transform-name \
1655 |
--program-transform-nam |
--program-transform-na \
1656 |
--program-transform-n |
--program-transform- \
1657 |
--program-transform |
--program-transfor \
1658 |
--program-transfo |
--program-transf \
1659 |
--program-trans |
--program-tran \
1660 |
--progr-tra |
--program-tr |
--program-t)
1661 ac_prev
=program_transform_name
;;
1662 -program-transform-name=* |
--program-transform-name=* \
1663 |
--program-transform-nam=* |
--program-transform-na=* \
1664 |
--program-transform-n=* |
--program-transform-=* \
1665 |
--program-transform=* |
--program-transfor=* \
1666 |
--program-transfo=* |
--program-transf=* \
1667 |
--program-trans=* |
--program-tran=* \
1668 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1669 program_transform_name
=$ac_optarg ;;
1671 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1673 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1674 pdfdir
=$ac_optarg ;;
1676 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1678 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1681 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1682 |
-silent |
--silent |
--silen |
--sile |
--sil)
1685 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1687 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1689 sbindir
=$ac_optarg ;;
1691 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1692 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1693 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1695 ac_prev
=sharedstatedir
;;
1696 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1697 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1698 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1700 sharedstatedir
=$ac_optarg ;;
1702 -site |
--site |
--sit)
1704 -site=* |
--site=* |
--sit=*)
1707 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1709 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1710 srcdir
=$ac_optarg ;;
1712 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1713 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1714 ac_prev
=sysconfdir
;;
1715 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1716 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1717 sysconfdir
=$ac_optarg ;;
1719 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1720 ac_prev
=target_alias
;;
1721 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1722 target_alias
=$ac_optarg ;;
1724 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1727 -version |
--version |
--versio |
--versi |
--vers |
-V)
1728 ac_init_version
=: ;;
1731 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1732 # Reject names that are not valid shell variable names.
1733 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1734 as_fn_error $?
"invalid package name: $ac_useropt"
1735 ac_useropt_orig
=$ac_useropt
1736 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1737 case $ac_user_opts in
1741 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1742 ac_unrecognized_sep
=', ';;
1744 eval with_
$ac_useropt=\
$ac_optarg ;;
1746 -without-* |
--without-*)
1747 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1748 # Reject names that are not valid shell variable names.
1749 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1750 as_fn_error $?
"invalid package name: $ac_useropt"
1751 ac_useropt_orig
=$ac_useropt
1752 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1753 case $ac_user_opts in
1757 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1758 ac_unrecognized_sep
=', ';;
1760 eval with_
$ac_useropt=no
;;
1763 # Obsolete; use --with-x.
1766 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1767 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1768 ac_prev
=x_includes
;;
1769 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1770 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1771 x_includes
=$ac_optarg ;;
1773 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1774 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1775 ac_prev
=x_libraries
;;
1776 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1777 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1778 x_libraries
=$ac_optarg ;;
1780 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1781 Try \`$0 --help' for more information"
1785 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1786 # Reject names that are not valid shell variable names.
1787 case $ac_envvar in #(
1788 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1789 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1791 eval $ac_envvar=\
$ac_optarg
1792 export $ac_envvar ;;
1795 # FIXME: should be removed in autoconf 3.0.
1796 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1797 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1798 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1799 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1805 if test -n "$ac_prev"; then
1806 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1807 as_fn_error $?
"missing argument to $ac_option"
1810 if test -n "$ac_unrecognized_opts"; then
1811 case $enable_option_checking in
1813 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1814 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1818 # Check all directory arguments for consistency.
1819 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1820 datadir sysconfdir sharedstatedir localstatedir includedir \
1821 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1822 libdir localedir mandir
1824 eval ac_val
=\$
$ac_var
1825 # Remove trailing slashes.
1828 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1829 eval $ac_var=\
$ac_val;;
1831 # Be sure to have absolute directory names.
1833 [\\/$
]* | ?
:[\\/]* ) continue;;
1834 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1836 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1839 # There might be people who depend on the old broken behavior: `$host'
1840 # used to hold the argument of --host etc.
1841 # FIXME: To remove some day.
1844 target
=$target_alias
1846 # FIXME: To remove some day.
1847 if test "x$host_alias" != x
; then
1848 if test "x$build_alias" = x
; then
1849 cross_compiling
=maybe
1850 elif test "x$build_alias" != "x$host_alias"; then
1856 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1858 test "$silent" = yes && exec 6>/dev
/null
1861 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1862 ac_ls_di
=`ls -di .` &&
1863 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1864 as_fn_error $?
"working directory cannot be determined"
1865 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1866 as_fn_error $?
"pwd does not report name of working directory"
1869 # Find the source files, if location was not specified.
1870 if test -z "$srcdir"; then
1871 ac_srcdir_defaulted
=yes
1872 # Try the directory containing this script, then the parent directory.
1873 ac_confdir
=`$as_dirname -- "$as_myself" ||
1874 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1875 X"$as_myself" : 'X\(//\)[^/]' \| \
1876 X"$as_myself" : 'X\(//\)$' \| \
1877 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1878 $as_echo X"$as_myself" |
1879 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1897 if test ! -r "$srcdir/$ac_unique_file"; then
1901 ac_srcdir_defaulted
=no
1903 if test ! -r "$srcdir/$ac_unique_file"; then
1904 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1905 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1907 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1909 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1911 # When building in place, set srcdir=.
1912 if test "$ac_abs_confdir" = "$ac_pwd"; then
1915 # Remove unnecessary trailing slashes from srcdir.
1916 # Double slashes in file names in object file debugging info
1917 # mess up M-x gdb in Emacs.
1919 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1921 for ac_var
in $ac_precious_vars; do
1922 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1923 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1924 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1925 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1929 # Report the --help message.
1931 if test "$ac_init_help" = "long"; then
1932 # Omit some internal or obsolete options to make the list less imposing.
1933 # This message is too long to be a string in the A/UX 3.1 sh.
1935 \`configure' configures Wine 1.7.7 to adapt to many kinds of systems.
1937 Usage: $0 [OPTION]... [VAR=VALUE]...
1939 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1940 VAR=VALUE. See below for descriptions of some of the useful variables.
1942 Defaults for the options are specified in brackets.
1945 -h, --help display this help and exit
1946 --help=short display options specific to this package
1947 --help=recursive display the short help of all the included packages
1948 -V, --version display version information and exit
1949 -q, --quiet, --silent do not print \`checking ...' messages
1950 --cache-file=FILE cache test results in FILE [disabled]
1951 -C, --config-cache alias for \`--cache-file=config.cache'
1952 -n, --no-create do not create output files
1953 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1955 Installation directories:
1956 --prefix=PREFIX install architecture-independent files in PREFIX
1957 [$ac_default_prefix]
1958 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1961 By default, \`make install' will install all the files in
1962 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1963 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1964 for instance \`--prefix=\$HOME'.
1966 For better control, use the options below.
1968 Fine tuning of the installation directories:
1969 --bindir=DIR user executables [EPREFIX/bin]
1970 --sbindir=DIR system admin executables [EPREFIX/sbin]
1971 --libexecdir=DIR program executables [EPREFIX/libexec]
1972 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1973 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1974 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1975 --libdir=DIR object code libraries [EPREFIX/lib]
1976 --includedir=DIR C header files [PREFIX/include]
1977 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1978 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1979 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1980 --infodir=DIR info documentation [DATAROOTDIR/info]
1981 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1982 --mandir=DIR man documentation [DATAROOTDIR/man]
1983 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1984 --htmldir=DIR html documentation [DOCDIR]
1985 --dvidir=DIR dvi documentation [DOCDIR]
1986 --pdfdir=DIR pdf documentation [DOCDIR]
1987 --psdir=DIR ps documentation [DOCDIR]
1993 --x-includes=DIR X include files are
in DIR
1994 --x-libraries=DIR X library files are
in DIR
1997 --build=BUILD configure
for building on BUILD
[guessed
]
1998 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2002 if test -n "$ac_init_help"; then
2003 case $ac_init_help in
2004 short | recursive
) echo "Configuration of Wine 1.7.7:";;
2009 --disable-option-checking ignore unrecognized
--enable/--with options
2010 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2011 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2012 --disable-win16 do not include Win16 support
2013 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2015 --disable-tests do not build the regression tests
2016 --enable-maintainer-mode
2017 enable maintainer-specific build rules
2018 --disable-largefile omit support for large files
2021 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2022 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2023 --without-alsa do not use the Alsa sound support
2024 --without-capi do not use CAPI (ISDN support)
2025 --without-cms do not use CMS (color management support)
2026 --without-coreaudio do not use the CoreAudio sound support
2027 --without-cups do not use CUPS
2028 --without-curses do not use (n)curses
2029 --without-dbus do not use DBus (dynamic device support)
2030 --without-fontconfig do not use fontconfig
2031 --without-freetype do not use the FreeType library
2032 --without-gettext do not use gettext
2033 --with-gettextpo use the GetTextPO library to rebuild po files
2034 --without-gphoto do not use gphoto (Digital Camera support)
2035 --without-glu do not use the GLU library
2036 --without-gnutls do not use GnuTLS (schannel support)
2037 --without-gsm do not use libgsm (GSM 06.10 codec support)
2038 --without-gstreamer do not use GStreamer (codecs support)
2039 --without-hal do not use HAL (dynamic device support)
2040 --without-jpeg do not use JPEG
2041 --without-ldap do not use LDAP
2042 --without-mpg123 do not use the mpg123 library
2043 --without-netapi do not use the Samba NetAPI library
2044 --without-openal do not use OpenAL
2045 --without-opencl do not use OpenCL
2046 --without-opengl do not use OpenGL
2047 --without-osmesa do not use the OSMesa library
2048 --without-oss do not use the OSS sound support
2049 --without-png do not use PNG
2050 --without-pthread do not use the pthread library
2051 --without-sane do not use SANE (scanner support)
2052 --without-tiff do not use TIFF
2053 --without-v4l do not use v4l1 (v4l support)
2054 --without-xcomposite do not use the Xcomposite extension
2055 --without-xcursor do not use the Xcursor extension
2056 --without-xinerama do not use Xinerama (multi-monitor support)
2057 --without-xinput do not use the Xinput extension
2058 --without-xinput2 do not use the Xinput 2 extension
2059 --without-xml do not use XML
2060 --without-xrandr do not use Xrandr (resolution changes)
2061 --without-xrender do not use the Xrender extension
2062 --without-xshape do not use the Xshape extension
2063 --without-xshm do not use XShm (shared memory extension)
2064 --without-xslt do not use XSLT
2065 --without-xxf86vm do not use XFree video mode extension
2066 --without-zlib do not use Zlib (data compression)
2067 --with-wine-tools=DIR use Wine tools from directory DIR
2068 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2069 --with-x use the X Window System
2071 Some influential environment variables:
2072 CC C compiler command
2073 CFLAGS C compiler flags
2074 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2075 nonstandard directory <lib dir>
2076 LIBS libraries to pass to the linker, e.g. -l<library>
2077 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2078 you have headers in a nonstandard directory <include dir>
2079 CXX C++ compiler command
2080 CXXFLAGS C++ compiler flags
2082 XMKMF Path to xmkmf, Makefile generator for X Window System
2083 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2084 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2085 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2086 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2087 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2088 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2089 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2090 HAL_LIBS Linker flags for hal, overriding pkg-config
2092 C compiler flags for gnutls, overriding pkg-config
2093 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2094 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2095 SANE_LIBS Linker flags for libsane, overriding pkg-config
2097 C compiler flags for libgphoto2, overriding pkg-config
2099 Linker flags for libgphoto2, overriding pkg-config
2101 C compiler flags for libgphoto2_port, overriding pkg-config
2103 Linker flags for libgphoto2_port, overriding pkg-config
2105 C compiler flags for lcms2, overriding pkg-config
2106 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2108 C compiler flags for freetype2, overriding pkg-config
2110 Linker flags for freetype2, overriding pkg-config
2112 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2114 Linker flags for gstreamer-app-0.10, overriding pkg-config
2116 C compiler flags for capi20, overriding pkg-config
2117 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2118 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2119 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2120 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2121 PNG_LIBS Linker flags for libpng, overriding pkg-config
2122 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2123 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2125 C compiler flags for libmpg123, overriding pkg-config
2126 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2128 Use these variables to override the choices made by `configure' or to
help
2129 it to
find libraries and programs with nonstandard names
/locations.
2131 Report bugs to
<wine-devel@winehq.org
>.
2132 Wine home page
: <http
://www.winehq.org
>.
2137 if test "$ac_init_help" = "recursive"; then
2138 # If there are subdirs, report their specific --help.
2139 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2140 test -d "$ac_dir" ||
2141 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2146 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2148 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2149 # A ".." for each directory in $ac_dir_suffix.
2150 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2151 case $ac_top_builddir_sub in
2152 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2153 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2156 ac_abs_top_builddir
=$ac_pwd
2157 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2158 # for backward compatibility:
2159 ac_top_builddir
=$ac_top_build_prefix
2162 .
) # We are building in place.
2164 ac_top_srcdir
=$ac_top_builddir_sub
2165 ac_abs_top_srcdir
=$ac_pwd ;;
2166 [\\/]* | ?
:[\\/]* ) # Absolute name.
2167 ac_srcdir
=$srcdir$ac_dir_suffix;
2168 ac_top_srcdir
=$srcdir
2169 ac_abs_top_srcdir
=$srcdir ;;
2171 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2172 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2173 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2175 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2177 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2178 # Check for guested configure.
2179 if test -f "$ac_srcdir/configure.gnu"; then
2181 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2182 elif test -f "$ac_srcdir/configure"; then
2184 $SHELL "$ac_srcdir/configure" --help=recursive
2186 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2188 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2192 test -n "$ac_init_help" && exit $ac_status
2193 if $ac_init_version; then
2195 Wine configure
1.7.7
2196 generated by GNU Autoconf
2.69
2198 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2199 This configure
script is free software
; the Free Software Foundation
2200 gives unlimited permission to copy
, distribute and modify it.
2205 ## ------------------------ ##
2206 ## Autoconf initialization. ##
2207 ## ------------------------ ##
2209 # ac_fn_c_try_compile LINENO
2210 # --------------------------
2211 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2212 ac_fn_c_try_compile
()
2214 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2215 rm -f conftest.
$ac_objext
2216 if { { ac_try
="$ac_compile"
2218 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2219 *) ac_try_echo=$ac_try;;
2221 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2222 $as_echo "$ac_try_echo"; } >&5
2223 (eval "$ac_compile") 2>conftest.err
2225 if test -s conftest.err; then
2226 grep -v '^ *+' conftest.err >conftest.er1
2227 cat conftest.er1 >&5
2228 mv -f conftest.er1 conftest.err
2230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2231 test $ac_status = 0; } && {
2232 test -z "$ac_c_werror_flag" ||
2233 test ! -s conftest.err
2234 } && test -s conftest.$ac_objext; then :
2237 $as_echo "$as_me: failed program was:" >&5
2238 sed 's/^/| /' conftest.$ac_ext >&5
2242 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2243 as_fn_set_status $ac_retval
2245 } # ac_fn_c_try_compile
2247 # ac_fn_cxx_try_compile LINENO
2248 # ----------------------------
2249 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2250 ac_fn_cxx_try_compile ()
2252 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2253 rm -f conftest.$ac_objext
2254 if { { ac_try="$ac_compile"
2256 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2257 *) ac_try_echo
=$ac_try;;
2259 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2260 $as_echo "$ac_try_echo"; } >&5
2261 (eval "$ac_compile") 2>conftest.err
2263 if test -s conftest.err
; then
2264 grep -v '^ *+' conftest.err
>conftest.er1
2265 cat conftest.er1
>&5
2266 mv -f conftest.er1 conftest.err
2268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2269 test $ac_status = 0; } && {
2270 test -z "$ac_cxx_werror_flag" ||
2271 test ! -s conftest.err
2272 } && test -s conftest.
$ac_objext; then :
2275 $as_echo "$as_me: failed program was:" >&5
2276 sed 's/^/| /' conftest.
$ac_ext >&5
2280 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2281 as_fn_set_status
$ac_retval
2283 } # ac_fn_cxx_try_compile
2285 # ac_fn_c_try_link LINENO
2286 # -----------------------
2287 # Try to link conftest.$ac_ext, and return whether this succeeded.
2290 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2291 rm -f conftest.
$ac_objext conftest
$ac_exeext
2292 if { { ac_try
="$ac_link"
2294 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2295 *) ac_try_echo=$ac_try;;
2297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2298 $as_echo "$ac_try_echo"; } >&5
2299 (eval "$ac_link") 2>conftest.err
2301 if test -s conftest.err; then
2302 grep -v '^ *+' conftest.err >conftest.er1
2303 cat conftest.er1 >&5
2304 mv -f conftest.er1 conftest.err
2306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2307 test $ac_status = 0; } && {
2308 test -z "$ac_c_werror_flag" ||
2309 test ! -s conftest.err
2310 } && test -s conftest$ac_exeext && {
2311 test "$cross_compiling" = yes ||
2312 test -x conftest$ac_exeext
2316 $as_echo "$as_me: failed program was:" >&5
2317 sed 's/^/| /' conftest.$ac_ext >&5
2321 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2322 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2323 # interfere with the next link command; also delete a directory that is
2324 # left behind by Apple's compiler. We do this before executing the actions.
2325 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2326 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2327 as_fn_set_status $ac_retval
2329 } # ac_fn_c_try_link
2331 # ac_fn_c_try_cpp LINENO
2332 # ----------------------
2333 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2336 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2337 if { { ac_try="$ac_cpp conftest.$ac_ext"
2339 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2340 *) ac_try_echo
=$ac_try;;
2342 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2343 $as_echo "$ac_try_echo"; } >&5
2344 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2346 if test -s conftest.err
; then
2347 grep -v '^ *+' conftest.err
>conftest.er1
2348 cat conftest.er1
>&5
2349 mv -f conftest.er1 conftest.err
2351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2352 test $ac_status = 0; } > conftest.i
&& {
2353 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2354 test ! -s conftest.err
2358 $as_echo "$as_me: failed program was:" >&5
2359 sed 's/^/| /' conftest.
$ac_ext >&5
2363 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2364 as_fn_set_status
$ac_retval
2368 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2369 # -------------------------------------------------------
2370 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2371 # the include files in INCLUDES and setting the cache variable VAR
2373 ac_fn_c_check_header_mongrel
()
2375 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2376 if eval \
${$3+:} false
; then :
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2378 $as_echo_n "checking for $2... " >&6; }
2379 if eval \
${$3+:} false
; then :
2380 $as_echo_n "(cached) " >&6
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2384 $as_echo "$ac_res" >&6; }
2386 # Is the header compilable?
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2388 $as_echo_n "checking $2 usability... " >&6; }
2389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2390 /* end confdefs.h. */
2394 if ac_fn_c_try_compile
"$LINENO"; then :
2395 ac_header_compiler
=yes
2397 ac_header_compiler
=no
2399 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2401 $as_echo "$ac_header_compiler" >&6; }
2403 # Is the header present?
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2405 $as_echo_n "checking $2 presence... " >&6; }
2406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2407 /* end confdefs.h. */
2410 if ac_fn_c_try_cpp
"$LINENO"; then :
2411 ac_header_preproc
=yes
2413 ac_header_preproc
=no
2415 rm -f conftest.err conftest.i conftest.
$ac_ext
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2417 $as_echo "$ac_header_preproc" >&6; }
2419 # So? What about this header?
2420 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2423 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2425 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2429 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2431 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2433 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2435 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2437 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2438 ( $as_echo "## ------------------------------------ ##
2439 ## Report this to wine-devel@winehq.org ##
2440 ## ------------------------------------ ##"
2441 ) |
sed "s/^/$as_me: WARNING: /" >&2
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2445 $as_echo_n "checking for $2... " >&6; }
2446 if eval \
${$3+:} false
; then :
2447 $as_echo_n "(cached) " >&6
2449 eval "$3=\$ac_header_compiler"
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2453 $as_echo "$ac_res" >&6; }
2455 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2457 } # ac_fn_c_check_header_mongrel
2459 # ac_fn_c_try_run LINENO
2460 # ----------------------
2461 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2462 # that executables *can* be run.
2465 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2466 if { { ac_try
="$ac_link"
2468 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2469 *) ac_try_echo=$ac_try;;
2471 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2472 $as_echo "$ac_try_echo"; } >&5
2473 (eval "$ac_link") 2>&5
2475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2476 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2477 { { case "(($ac_try" in
2478 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2479 *) ac_try_echo
=$ac_try;;
2481 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2482 $as_echo "$ac_try_echo"; } >&5
2483 (eval "$ac_try") 2>&5
2485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2486 test $ac_status = 0; }; }; then :
2489 $as_echo "$as_me: program exited with status $ac_status" >&5
2490 $as_echo "$as_me: failed program was:" >&5
2491 sed 's/^/| /' conftest.
$ac_ext >&5
2493 ac_retval
=$ac_status
2495 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2496 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2497 as_fn_set_status
$ac_retval
2501 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2502 # -------------------------------------------------------
2503 # Tests whether HEADER exists and can be compiled using the include files in
2504 # INCLUDES, setting the cache variable VAR accordingly.
2505 ac_fn_c_check_header_compile
()
2507 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2509 $as_echo_n "checking for $2... " >&6; }
2510 if eval \
${$3+:} false
; then :
2511 $as_echo_n "(cached) " >&6
2513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2514 /* end confdefs.h. */
2518 if ac_fn_c_try_compile
"$LINENO"; then :
2523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2527 $as_echo "$ac_res" >&6; }
2528 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2530 } # ac_fn_c_check_header_compile
2532 # ac_fn_c_check_func LINENO FUNC VAR
2533 # ----------------------------------
2534 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2535 ac_fn_c_check_func
()
2537 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2539 $as_echo_n "checking for $2... " >&6; }
2540 if eval \
${$3+:} false
; then :
2541 $as_echo_n "(cached) " >&6
2543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2544 /* end confdefs.h. */
2545 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2547 #define $2 innocuous_$2
2549 /* System header to define __stub macros and hopefully few prototypes,
2550 which can conflict with char $2 (); below.
2551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2552 <limits.h> exists even on freestanding compilers. */
2555 # include <limits.h>
2557 # include <assert.h>
2562 /* Override any GCC internal prototype to avoid an error.
2563 Use char because int might match the return type of a GCC
2564 builtin and then its argument prototype would still apply. */
2569 /* The GNU C library defines this for functions which it implements
2570 to always fail with ENOSYS. Some functions are actually named
2571 something starting with __ and the normal name is an alias. */
2572 #if defined __stub_$2 || defined __stub___$2
2584 if ac_fn_c_try_link
"$LINENO"; then :
2589 rm -f core conftest.err conftest.
$ac_objext \
2590 conftest
$ac_exeext conftest.
$ac_ext
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2594 $as_echo "$ac_res" >&6; }
2595 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2597 } # ac_fn_c_check_func
2599 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2600 # ----------------------------------------------------
2601 # Tries to find if the field MEMBER exists in type AGGR, after including
2602 # INCLUDES, setting cache variable VAR accordingly.
2603 ac_fn_c_check_member
()
2605 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2607 $as_echo_n "checking for $2.$3... " >&6; }
2608 if eval \
${$4+:} false
; then :
2609 $as_echo_n "(cached) " >&6
2611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2612 /* end confdefs.h. */
2624 if ac_fn_c_try_compile
"$LINENO"; then :
2627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2628 /* end confdefs.h. */
2634 if (sizeof ac_aggr.$3)
2640 if ac_fn_c_try_compile
"$LINENO"; then :
2645 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2647 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2651 $as_echo "$ac_res" >&6; }
2652 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2654 } # ac_fn_c_check_member
2656 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2657 # -------------------------------------------
2658 # Tests whether TYPE exists after having included INCLUDES, setting cache
2659 # variable VAR accordingly.
2660 ac_fn_c_check_type
()
2662 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2664 $as_echo_n "checking for $2... " >&6; }
2665 if eval \
${$3+:} false
; then :
2666 $as_echo_n "(cached) " >&6
2669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2670 /* end confdefs.h. */
2681 if ac_fn_c_try_compile
"$LINENO"; then :
2682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2683 /* end confdefs.h. */
2694 if ac_fn_c_try_compile
"$LINENO"; then :
2699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2705 $as_echo "$ac_res" >&6; }
2706 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2708 } # ac_fn_c_check_type
2709 cat >config.log
<<_ACEOF
2710 This file contains any messages produced by compilers while
2711 running configure, to aid debugging if configure makes a mistake.
2713 It was created by Wine $as_me 1.7.7, which was
2714 generated by GNU Autoconf 2.69. Invocation command line was
2726 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2727 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2728 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2729 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2730 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2732 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2733 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2735 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2736 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2737 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2738 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2739 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2740 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2741 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2749 test -z "$as_dir" && as_dir
=.
2750 $as_echo "PATH: $as_dir"
2766 # Keep a trace of the command line.
2767 # Strip out --no-create and --no-recursion so they do not pile up.
2768 # Strip out --silent because we don't want to record it for future runs.
2769 # Also quote any args containing shell meta-characters.
2770 # Make two passes to allow for proper duplicate-argument suppression.
2774 ac_must_keep_next
=false
2780 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2781 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2782 |
-silent |
--silent |
--silen |
--sile |
--sil)
2785 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2788 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2790 as_fn_append ac_configure_args1
" '$ac_arg'"
2791 if test $ac_must_keep_next = true
; then
2792 ac_must_keep_next
=false
# Got value, back to normal.
2795 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2796 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2797 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2798 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2799 case "$ac_configure_args0 " in
2800 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2803 -* ) ac_must_keep_next
=true
;;
2806 as_fn_append ac_configure_args
" '$ac_arg'"
2811 { ac_configure_args0
=; unset ac_configure_args0
;}
2812 { ac_configure_args1
=; unset ac_configure_args1
;}
2814 # When interrupted or exit'd, cleanup temporary files, and complete
2815 # config.log. We remove comments because anyway the quotes in there
2816 # would cause problems or look ugly.
2817 # WARNING: Use '\'' to represent an apostrophe within the trap.
2818 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2819 trap 'exit_status=$?
2820 # Save into config.log some information that might help in debugging.
2824 $as_echo "## ---------------- ##
2825 ## Cache variables. ##
2826 ## ---------------- ##"
2828 # The following way of writing the cache mishandles newlines in values,
2830 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2831 eval ac_val=\$$ac_var
2835 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2836 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2839 _ | IFS | as_nl) ;; #(
2840 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2841 *) { eval $ac_var=; unset $ac_var;} ;;
2846 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2847 *${as_nl}ac_space=\ *)
2849 "s/'\''/'\''\\\\'\'''\''/g;
2850 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2853 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2860 $as_echo "## ----------------- ##
2861 ## Output variables. ##
2862 ## ----------------- ##"
2864 for ac_var in $ac_subst_vars
2866 eval ac_val=\$$ac_var
2868 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2870 $as_echo "$ac_var='\''$ac_val'\''"
2874 if test -n "$ac_subst_files"; then
2875 $as_echo "## ------------------- ##
2876 ## File substitutions. ##
2877 ## ------------------- ##"
2879 for ac_var
in $ac_subst_files
2881 eval ac_val
=\$
$ac_var
2883 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2885 $as_echo "$ac_var='\''$ac_val'\''"
2890 if test -s confdefs.h; then
2891 $as_echo "## ----------- ##
2898 test "$ac_signal" != 0 &&
2899 $as_echo "$as_me: caught signal $ac_signal"
2900 $as_echo "$as_me: exit $exit_status"
2902 rm -f core *.core core.conftest.* &&
2903 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2906 for ac_signal
in 1 2 13 15; do
2907 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2911 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2912 rm -f -r conftest
* confdefs.h
2914 $as_echo "/* confdefs.h */" > confdefs.h
2916 # Predefined preprocessor variables.
2918 cat >>confdefs.h
<<_ACEOF
2919 #define PACKAGE_NAME "$PACKAGE_NAME"
2922 cat >>confdefs.h
<<_ACEOF
2923 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2926 cat >>confdefs.h
<<_ACEOF
2927 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2930 cat >>confdefs.h
<<_ACEOF
2931 #define PACKAGE_STRING "$PACKAGE_STRING"
2934 cat >>confdefs.h
<<_ACEOF
2935 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2938 cat >>confdefs.h
<<_ACEOF
2939 #define PACKAGE_URL "$PACKAGE_URL"
2943 # Let the site file select an alternate cache file if it wants to.
2944 # Prefer an explicitly selected file to automatically selected ones.
2947 if test -n "$CONFIG_SITE"; then
2948 # We do not want a PATH search for config.site.
2949 case $CONFIG_SITE in #((
2950 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2951 */*) ac_site_file1
=$CONFIG_SITE;;
2952 *) ac_site_file1
=.
/$CONFIG_SITE;;
2954 elif test "x$prefix" != xNONE
; then
2955 ac_site_file1
=$prefix/share
/config.site
2956 ac_site_file2
=$prefix/etc
/config.site
2958 ac_site_file1
=$ac_default_prefix/share
/config.site
2959 ac_site_file2
=$ac_default_prefix/etc
/config.site
2961 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2963 test "x$ac_site_file" = xNONE
&& continue
2964 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2966 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2967 sed 's/^/| /' "$ac_site_file" >&5
2969 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2971 as_fn_error $?
"failed to load site script $ac_site_file
2972 See \`config.log' for more details" "$LINENO" 5; }
2976 if test -r "$cache_file"; then
2977 # Some versions of bash will fail to source /dev/null (special files
2978 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2979 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2981 $as_echo "$as_me: loading cache $cache_file" >&6;}
2983 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2984 *) .
"./$cache_file";;
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2989 $as_echo "$as_me: creating cache $cache_file" >&6;}
2993 # Check that the precious variables saved in the cache have kept the same
2995 ac_cache_corrupted
=false
2996 for ac_var
in $ac_precious_vars; do
2997 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2998 eval ac_new_set
=\
$ac_env_${ac_var}_set
2999 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3000 eval ac_new_val
=\
$ac_env_${ac_var}_value
3001 case $ac_old_set,$ac_new_set in
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3004 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3005 ac_cache_corrupted
=: ;;
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3008 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3009 ac_cache_corrupted
=: ;;
3012 if test "x$ac_old_val" != "x$ac_new_val"; then
3013 # differences in whitespace do not lead to failure.
3014 ac_old_val_w
=`echo x $ac_old_val`
3015 ac_new_val_w
=`echo x $ac_new_val`
3016 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3018 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3019 ac_cache_corrupted
=:
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3022 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3023 eval $ac_var=\
$ac_old_val
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3026 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3028 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3031 # Pass precious variables to config.status.
3032 if test "$ac_new_set" = set; then
3034 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3035 *) ac_arg
=$ac_var=$ac_new_val ;;
3037 case " $ac_configure_args " in
3038 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3039 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3043 if $ac_cache_corrupted; then
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3047 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3048 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3050 ## -------------------- ##
3051 ## Main body of script. ##
3052 ## -------------------- ##
3055 ac_cpp
='$CPP $CPPFLAGS'
3056 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3057 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3058 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3062 ac_config_headers
="$ac_config_headers include/config.h"
3065 for ac_dir
in tools
"$srcdir"/tools
; do
3066 if test -f "$ac_dir/install-sh"; then
3068 ac_install_sh
="$ac_aux_dir/install-sh -c"
3070 elif test -f "$ac_dir/install.sh"; then
3072 ac_install_sh
="$ac_aux_dir/install.sh -c"
3074 elif test -f "$ac_dir/shtool"; then
3076 ac_install_sh
="$ac_aux_dir/shtool install -c"
3080 if test -z "$ac_aux_dir"; then
3081 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3084 # These three variables are undocumented and unsupported,
3085 # and are intended to be withdrawn in a future Autoconf release.
3086 # They can cause serious problems if a builder's source tree is in a directory
3087 # whose full name contains unusual characters.
3088 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3089 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3090 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3096 # Check whether --enable-win16 was given.
3097 if test "${enable_win16+set}" = set; then :
3098 enableval
=$enable_win16;
3101 # Check whether --enable-win64 was given.
3102 if test "${enable_win64+set}" = set; then :
3103 enableval
=$enable_win64;
3106 # Check whether --enable-tests was given.
3107 if test "${enable_tests+set}" = set; then :
3108 enableval
=$enable_tests;
3111 # Check whether --enable-maintainer-mode was given.
3112 if test "${enable_maintainer_mode+set}" = set; then :
3113 enableval
=$enable_maintainer_mode;
3118 # Check whether --with-alsa was given.
3119 if test "${with_alsa+set}" = set; then :
3120 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3124 # Check whether --with-capi was given.
3125 if test "${with_capi+set}" = set; then :
3130 # Check whether --with-cms was given.
3131 if test "${with_cms+set}" = set; then :
3136 # Check whether --with-coreaudio was given.
3137 if test "${with_coreaudio+set}" = set; then :
3138 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3142 # Check whether --with-cups was given.
3143 if test "${with_cups+set}" = set; then :
3148 # Check whether --with-curses was given.
3149 if test "${with_curses+set}" = set; then :
3150 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3154 # Check whether --with-dbus was given.
3155 if test "${with_dbus+set}" = set; then :
3160 # Check whether --with-fontconfig was given.
3161 if test "${with_fontconfig+set}" = set; then :
3162 withval
=$with_fontconfig;
3166 # Check whether --with-freetype was given.
3167 if test "${with_freetype+set}" = set; then :
3168 withval
=$with_freetype;
3172 # Check whether --with-gettext was given.
3173 if test "${with_gettext+set}" = set; then :
3174 withval
=$with_gettext;
3178 # Check whether --with-gettextpo was given.
3179 if test "${with_gettextpo+set}" = set; then :
3180 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3184 # Check whether --with-gphoto was given.
3185 if test "${with_gphoto+set}" = set; then :
3186 withval
=$with_gphoto;
3190 # Check whether --with-glu was given.
3191 if test "${with_glu+set}" = set; then :
3196 # Check whether --with-gnutls was given.
3197 if test "${with_gnutls+set}" = set; then :
3198 withval
=$with_gnutls;
3202 # Check whether --with-gsm was given.
3203 if test "${with_gsm+set}" = set; then :
3204 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3208 # Check whether --with-gstreamer was given.
3209 if test "${with_gstreamer+set}" = set; then :
3210 withval
=$with_gstreamer;
3214 # Check whether --with-hal was given.
3215 if test "${with_hal+set}" = set; then :
3220 # Check whether --with-jpeg was given.
3221 if test "${with_jpeg+set}" = set; then :
3226 # Check whether --with-ldap was given.
3227 if test "${with_ldap+set}" = set; then :
3228 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3232 # Check whether --with-mpg123 was given.
3233 if test "${with_mpg123+set}" = set; then :
3234 withval
=$with_mpg123;
3238 # Check whether --with-netapi was given.
3239 if test "${with_netapi+set}" = set; then :
3240 withval
=$with_netapi;
3244 # Check whether --with-openal was given.
3245 if test "${with_openal+set}" = set; then :
3246 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3250 # Check whether --with-opencl was given.
3251 if test "${with_opencl+set}" = set; then :
3252 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3256 # Check whether --with-opengl was given.
3257 if test "${with_opengl+set}" = set; then :
3258 withval
=$with_opengl;
3262 # Check whether --with-osmesa was given.
3263 if test "${with_osmesa+set}" = set; then :
3264 withval
=$with_osmesa;
3268 # Check whether --with-oss was given.
3269 if test "${with_oss+set}" = set; then :
3274 # Check whether --with-png was given.
3275 if test "${with_png+set}" = set; then :
3280 # Check whether --with-pthread was given.
3281 if test "${with_pthread+set}" = set; then :
3282 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3286 # Check whether --with-sane was given.
3287 if test "${with_sane+set}" = set; then :
3292 # Check whether --with-tiff was given.
3293 if test "${with_tiff+set}" = set; then :
3298 # Check whether --with-v4l was given.
3299 if test "${with_v4l+set}" = set; then :
3304 # Check whether --with-xcomposite was given.
3305 if test "${with_xcomposite+set}" = set; then :
3306 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3310 # Check whether --with-xcursor was given.
3311 if test "${with_xcursor+set}" = set; then :
3312 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3316 # Check whether --with-xinerama was given.
3317 if test "${with_xinerama+set}" = set; then :
3318 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3322 # Check whether --with-xinput was given.
3323 if test "${with_xinput+set}" = set; then :
3324 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3328 # Check whether --with-xinput2 was given.
3329 if test "${with_xinput2+set}" = set; then :
3330 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3334 # Check whether --with-xml was given.
3335 if test "${with_xml+set}" = set; then :
3340 # Check whether --with-xrandr was given.
3341 if test "${with_xrandr+set}" = set; then :
3342 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3346 # Check whether --with-xrender was given.
3347 if test "${with_xrender+set}" = set; then :
3348 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3352 # Check whether --with-xshape was given.
3353 if test "${with_xshape+set}" = set; then :
3354 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3358 # Check whether --with-xshm was given.
3359 if test "${with_xshm+set}" = set; then :
3360 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3364 # Check whether --with-xslt was given.
3365 if test "${with_xslt+set}" = set; then :
3370 # Check whether --with-xxf86vm was given.
3371 if test "${with_xxf86vm+set}" = set; then :
3372 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
3376 # Check whether --with-zlib was given.
3377 if test "${with_zlib+set}" = set; then :
3378 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3383 # Check whether --with-wine-tools was given.
3384 if test "${with_wine_tools+set}" = set; then :
3385 withval
=$with_wine_tools;
3389 # Check whether --with-wine64 was given.
3390 if test "${with_wine64+set}" = set; then :
3391 withval
=$with_wine64;
3395 # Make sure we can run config.sub.
3396 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3397 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3400 $as_echo_n "checking build system type... " >&6; }
3401 if ${ac_cv_build+:} false
; then :
3402 $as_echo_n "(cached) " >&6
3404 ac_build_alias
=$build_alias
3405 test "x$ac_build_alias" = x
&&
3406 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3407 test "x$ac_build_alias" = x
&&
3408 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3409 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3410 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3414 $as_echo "$ac_cv_build" >&6; }
3415 case $ac_cv_build in
3417 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3420 ac_save_IFS
=$IFS; IFS
='-'
3426 # Remember, the first character of IFS is used to create $*,
3427 # except with old shells:
3430 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3434 $as_echo_n "checking host system type... " >&6; }
3435 if ${ac_cv_host+:} false
; then :
3436 $as_echo_n "(cached) " >&6
3438 if test "x$host_alias" = x
; then
3439 ac_cv_host
=$ac_cv_build
3441 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3442 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3447 $as_echo "$ac_cv_host" >&6; }
3450 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3453 ac_save_IFS
=$IFS; IFS
='-'
3459 # Remember, the first character of IFS is used to create $*,
3460 # except with old shells:
3463 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3469 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3470 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3471 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3477 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3479 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3480 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3481 $as_echo_n "(cached) " >&6
3483 cat >conftest.
make <<\_ACEOF
3486 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3488 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3489 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3491 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3493 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3497 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3499 $as_echo "yes" >&6; }
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3503 $as_echo "no" >&6; }
3504 SET_MAKE
="MAKE=${MAKE-make}"
3508 ac_cpp
='$CPP $CPPFLAGS'
3509 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3510 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3511 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3512 if test -n "$ac_tool_prefix"; then
3513 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3514 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3516 $as_echo_n "checking for $ac_word... " >&6; }
3517 if ${ac_cv_prog_CC+:} false
; then :
3518 $as_echo_n "(cached) " >&6
3520 if test -n "$CC"; then
3521 ac_cv_prog_CC
="$CC" # Let the user override the test.
3523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3527 test -z "$as_dir" && as_dir
=.
3528 for ac_exec_ext
in '' $ac_executable_extensions; do
3529 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3530 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3541 if test -n "$CC"; then
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3543 $as_echo "$CC" >&6; }
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3546 $as_echo "no" >&6; }
3551 if test -z "$ac_cv_prog_CC"; then
3553 # Extract the first word of "gcc", so it can be a program name with args.
3554 set dummy gcc
; ac_word
=$2
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3556 $as_echo_n "checking for $ac_word... " >&6; }
3557 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3558 $as_echo_n "(cached) " >&6
3560 if test -n "$ac_ct_CC"; then
3561 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3567 test -z "$as_dir" && as_dir
=.
3568 for ac_exec_ext
in '' $ac_executable_extensions; do
3569 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3570 ac_cv_prog_ac_ct_CC
="gcc"
3571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3580 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3581 if test -n "$ac_ct_CC"; then
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3583 $as_echo "$ac_ct_CC" >&6; }
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3586 $as_echo "no" >&6; }
3589 if test "x$ac_ct_CC" = x
; then
3592 case $cross_compiling:$ac_tool_warned in
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3596 ac_tool_warned
=yes ;;
3604 if test -z "$CC"; then
3605 if test -n "$ac_tool_prefix"; then
3606 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3607 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3609 $as_echo_n "checking for $ac_word... " >&6; }
3610 if ${ac_cv_prog_CC+:} false
; then :
3611 $as_echo_n "(cached) " >&6
3613 if test -n "$CC"; then
3614 ac_cv_prog_CC
="$CC" # Let the user override the test.
3616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3620 test -z "$as_dir" && as_dir
=.
3621 for ac_exec_ext
in '' $ac_executable_extensions; do
3622 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3623 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3634 if test -n "$CC"; then
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3636 $as_echo "$CC" >&6; }
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3639 $as_echo "no" >&6; }
3645 if test -z "$CC"; then
3646 # Extract the first word of "cc", so it can be a program name with args.
3647 set dummy cc
; ac_word
=$2
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3649 $as_echo_n "checking for $ac_word... " >&6; }
3650 if ${ac_cv_prog_CC+:} false
; then :
3651 $as_echo_n "(cached) " >&6
3653 if test -n "$CC"; then
3654 ac_cv_prog_CC
="$CC" # Let the user override the test.
3657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3661 test -z "$as_dir" && as_dir
=.
3662 for ac_exec_ext
in '' $ac_executable_extensions; do
3663 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3664 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3665 ac_prog_rejected
=yes
3669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3676 if test $ac_prog_rejected = yes; then
3677 # We found a bogon in the path, so make sure we never use it.
3678 set dummy
$ac_cv_prog_CC
3680 if test $# != 0; then
3681 # We chose a different compiler from the bogus one.
3682 # However, it has the same basename, so the bogon will be chosen
3683 # first if we set CC to just the basename; use the full file name.
3685 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3691 if test -n "$CC"; then
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3693 $as_echo "$CC" >&6; }
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3696 $as_echo "no" >&6; }
3701 if test -z "$CC"; then
3702 if test -n "$ac_tool_prefix"; then
3703 for ac_prog
in cl.exe
3705 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3706 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3708 $as_echo_n "checking for $ac_word... " >&6; }
3709 if ${ac_cv_prog_CC+:} false
; then :
3710 $as_echo_n "(cached) " >&6
3712 if test -n "$CC"; then
3713 ac_cv_prog_CC
="$CC" # Let the user override the test.
3715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3719 test -z "$as_dir" && as_dir
=.
3720 for ac_exec_ext
in '' $ac_executable_extensions; do
3721 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3722 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3733 if test -n "$CC"; then
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3735 $as_echo "$CC" >&6; }
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3738 $as_echo "no" >&6; }
3742 test -n "$CC" && break
3745 if test -z "$CC"; then
3747 for ac_prog
in cl.exe
3749 # Extract the first word of "$ac_prog", so it can be a program name with args.
3750 set dummy
$ac_prog; ac_word
=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3754 $as_echo_n "(cached) " >&6
3756 if test -n "$ac_ct_CC"; then
3757 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3763 test -z "$as_dir" && as_dir
=.
3764 for ac_exec_ext
in '' $ac_executable_extensions; do
3765 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3766 ac_cv_prog_ac_ct_CC
="$ac_prog"
3767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3776 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3777 if test -n "$ac_ct_CC"; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3779 $as_echo "$ac_ct_CC" >&6; }
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 $as_echo "no" >&6; }
3786 test -n "$ac_ct_CC" && break
3789 if test "x$ac_ct_CC" = x
; then
3792 case $cross_compiling:$ac_tool_warned in
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3795 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3796 ac_tool_warned
=yes ;;
3805 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3807 as_fn_error $?
"no acceptable C compiler found in \$PATH
3808 See \`config.log' for more details" "$LINENO" 5; }
3810 # Provide some information about the compiler.
3811 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3814 for ac_option
in --version -v -V -qversion; do
3815 { { ac_try
="$ac_compiler $ac_option >&5"
3817 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3818 *) ac_try_echo=$ac_try;;
3820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3821 $as_echo "$ac_try_echo"; } >&5
3822 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3824 if test -s conftest.err; then
3826 ... rest of stderr output deleted ...
3827 10q' conftest.err >conftest.er1
3828 cat conftest.er1 >&5
3830 rm -f conftest.er1 conftest.err
3831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3832 test $ac_status = 0; }
3835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3836 /* end confdefs.h. */
3846 ac_clean_files_save=$ac_clean_files
3847 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3848 # Try to create an executable without -o first, disregard a.out.
3849 # It will help us diagnose broken compilers, and finding out an intuition
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3852 $as_echo_n "checking whether the C compiler works... " >&6; }
3853 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3855 # The possible output files:
3856 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3859 for ac_file in $ac_files
3862 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3863 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3868 if { { ac_try="$ac_link_default"
3870 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3871 *) ac_try_echo
=$ac_try;;
3873 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3874 $as_echo "$ac_try_echo"; } >&5
3875 (eval "$ac_link_default") 2>&5
3877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3878 test $ac_status = 0; }; then :
3879 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3880 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3881 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3882 # so that the user can short-circuit this test for compilers unknown to
3884 for ac_file
in $ac_files ''
3886 test -f "$ac_file" ||
continue
3888 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3891 # We found the default executable, but exeext='' is most
3895 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3897 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3899 # We set ac_cv_exeext here because the later test for it is not
3900 # safe: cross compilers may not add the suffix if given an `-o'
3901 # argument, so we may need to know it at that point already.
3902 # Even if this section looks crufty: it has the advantage of
3909 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3914 if test -z "$ac_file"; then :
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3916 $as_echo "no" >&6; }
3917 $as_echo "$as_me: failed program was:" >&5
3918 sed 's/^/| /' conftest.
$ac_ext >&5
3920 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3921 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3922 as_fn_error
77 "C compiler cannot create executables
3923 See \`config.log' for more details" "$LINENO" 5; }
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3926 $as_echo "yes" >&6; }
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3929 $as_echo_n "checking for C compiler default output file name... " >&6; }
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3931 $as_echo "$ac_file" >&6; }
3932 ac_exeext
=$ac_cv_exeext
3934 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3935 ac_clean_files
=$ac_clean_files_save
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3937 $as_echo_n "checking for suffix of executables... " >&6; }
3938 if { { ac_try
="$ac_link"
3940 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3941 *) ac_try_echo=$ac_try;;
3943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3944 $as_echo "$ac_try_echo"; } >&5
3945 (eval "$ac_link") 2>&5
3947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3948 test $ac_status = 0; }; then :
3949 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3950 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3951 # work properly (i.e., refer to `conftest.exe'), while it won't with
3953 for ac_file
in conftest.exe conftest conftest.
*; do
3954 test -f "$ac_file" ||
continue
3956 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3957 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3963 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3965 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3966 See \`config.log' for more details" "$LINENO" 5; }
3968 rm -f conftest conftest
$ac_cv_exeext
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3970 $as_echo "$ac_cv_exeext" >&6; }
3972 rm -f conftest.
$ac_ext
3973 EXEEXT
=$ac_cv_exeext
3975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3976 /* end confdefs.h. */
3981 FILE *f = fopen ("conftest.out", "w");
3982 return ferror (f) || fclose (f) != 0;
3988 ac_clean_files
="$ac_clean_files conftest.out"
3989 # Check that the compiler produces executables we can run. If not, either
3990 # the compiler is broken, or we cross compile.
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3992 $as_echo_n "checking whether we are cross compiling... " >&6; }
3993 if test "$cross_compiling" != yes; then
3994 { { ac_try
="$ac_link"
3996 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3997 *) ac_try_echo=$ac_try;;
3999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4000 $as_echo "$ac_try_echo"; } >&5
4001 (eval "$ac_link") 2>&5
4003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4004 test $ac_status = 0; }
4005 if { ac_try='./conftest$ac_cv_exeext'
4006 { { case "(($ac_try" in
4007 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4008 *) ac_try_echo
=$ac_try;;
4010 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4011 $as_echo "$ac_try_echo"; } >&5
4012 (eval "$ac_try") 2>&5
4014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4015 test $ac_status = 0; }; }; then
4018 if test "$cross_compiling" = maybe
; then
4021 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4023 as_fn_error $?
"cannot run C compiled programs.
4024 If you meant to cross compile, use \`--host'.
4025 See \`config.log' for more details" "$LINENO" 5; }
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4030 $as_echo "$cross_compiling" >&6; }
4032 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4033 ac_clean_files
=$ac_clean_files_save
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4035 $as_echo_n "checking for suffix of object files... " >&6; }
4036 if ${ac_cv_objext+:} false
; then :
4037 $as_echo_n "(cached) " >&6
4039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4040 /* end confdefs.h. */
4050 rm -f conftest.o conftest.obj
4051 if { { ac_try
="$ac_compile"
4053 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4054 *) ac_try_echo=$ac_try;;
4056 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4057 $as_echo "$ac_try_echo"; } >&5
4058 (eval "$ac_compile") 2>&5
4060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4061 test $ac_status = 0; }; then :
4062 for ac_file in conftest.o conftest.obj conftest.*; do
4063 test -f "$ac_file" || continue;
4065 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4066 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4071 $as_echo "$as_me: failed program was:" >&5
4072 sed 's/^/| /' conftest.$ac_ext >&5
4074 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4076 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4077 See \
`config.log' for more details" "$LINENO" 5; }
4079 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4082 $as_echo "$ac_cv_objext" >&6; }
4083 OBJEXT=$ac_cv_objext
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4086 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4087 if ${ac_cv_c_compiler_gnu+:} false; then :
4088 $as_echo_n "(cached) " >&6
4090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4091 /* end confdefs.h. */
4104 if ac_fn_c_try_compile "$LINENO"; then :
4109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4110 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4114 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4115 if test $ac_compiler_gnu = yes; then
4120 ac_test_CFLAGS=${CFLAGS+set}
4121 ac_save_CFLAGS=$CFLAGS
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4123 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4124 if ${ac_cv_prog_cc_g+:} false; then :
4125 $as_echo_n "(cached) " >&6
4127 ac_save_c_werror_flag=$ac_c_werror_flag
4128 ac_c_werror_flag=yes
4131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4132 /* end confdefs.h. */
4142 if ac_fn_c_try_compile "$LINENO"; then :
4146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4147 /* end confdefs.h. */
4157 if ac_fn_c_try_compile "$LINENO"; then :
4160 ac_c_werror_flag=$ac_save_c_werror_flag
4162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4163 /* end confdefs.h. */
4173 if ac_fn_c_try_compile "$LINENO"; then :
4176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4181 ac_c_werror_flag=$ac_save_c_werror_flag
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4184 $as_echo "$ac_cv_prog_cc_g" >&6; }
4185 if test "$ac_test_CFLAGS" = set; then
4186 CFLAGS=$ac_save_CFLAGS
4187 elif test $ac_cv_prog_cc_g = yes; then
4188 if test "$GCC" = yes; then
4194 if test "$GCC" = yes; then
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4201 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4202 if ${ac_cv_prog_cc_c89+:} false; then :
4203 $as_echo_n "(cached) " >&6
4205 ac_cv_prog_cc_c89=no
4207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4208 /* end confdefs.h. */
4212 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4213 struct buf { int x; };
4214 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4215 static char *e (p, i)
4221 static char *f (char * (*g) (char **, int), char **p, ...)
4226 s = g (p, va_arg (v,int));
4231 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4232 function prototypes and stuff, but not '\xHH' hex character constants.
4233 These don't provoke an error unfortunately, instead are silently treated
4234 as 'x'. The following induces an error, until -std is added to get
4235 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4236 array size at least. It's necessary to write '\x00'==0 to get something
4237 that's true only with -std. */
4238 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4240 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4241 inside strings and character constants. */
4243 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4245 int test (int i, double x);
4246 struct s1 {int (*f) (int a);};
4247 struct s2 {int (*f) (double a);};
4248 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4254 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4259 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4260 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4262 CC="$ac_save_CC $ac_arg"
4263 if ac_fn_c_try_compile "$LINENO"; then :
4264 ac_cv_prog_cc_c89=$ac_arg
4266 rm -f core conftest.err conftest.$ac_objext
4267 test "x$ac_cv_prog_cc_c89" != "xno" && break
4269 rm -f conftest.$ac_ext
4274 case "x$ac_cv_prog_cc_c89" in
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4277 $as_echo "none needed" >&6; } ;;
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4280 $as_echo "unsupported" >&6; } ;;
4282 CC="$CC $ac_cv_prog_cc_c89"
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4284 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4286 if test "x$ac_cv_prog_cc_c89" != xno; then :
4291 ac_cpp='$CPP $CPPFLAGS'
4292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4297 ac_cpp='$CXXCPP $CPPFLAGS'
4298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4301 if test -z "$CXX"; then
4302 if test -n "$CCC"; then
4305 if test -n "$ac_tool_prefix"; then
4306 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4308 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4309 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4311 $as_echo_n "checking for $ac_word... " >&6; }
4312 if ${ac_cv_prog_CXX+:} false; then :
4313 $as_echo_n "(cached) " >&6
4315 if test -n "$CXX"; then
4316 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4322 test -z "$as_dir" && as_dir=.
4323 for ac_exec_ext in '' $ac_executable_extensions; do
4324 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4325 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4336 if test -n "$CXX"; then
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4338 $as_echo "$CXX" >&6; }
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4341 $as_echo "no" >&6; }
4345 test -n "$CXX" && break
4348 if test -z "$CXX"; then
4350 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4352 # Extract the first word of "$ac_prog", so it can be a program name with args.
4353 set dummy $ac_prog; ac_word=$2
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4355 $as_echo_n "checking for $ac_word... " >&6; }
4356 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4357 $as_echo_n "(cached) " >&6
4359 if test -n "$ac_ct_CXX"; then
4360 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4366 test -z "$as_dir" && as_dir=.
4367 for ac_exec_ext in '' $ac_executable_extensions; do
4368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4369 ac_cv_prog_ac_ct_CXX="$ac_prog"
4370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4379 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4380 if test -n "$ac_ct_CXX"; then
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4382 $as_echo "$ac_ct_CXX" >&6; }
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4385 $as_echo "no" >&6; }
4389 test -n "$ac_ct_CXX" && break
4392 if test "x$ac_ct_CXX" = x; then
4395 case $cross_compiling:$ac_tool_warned in
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4398 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4399 ac_tool_warned=yes ;;
4407 # Provide some information about the compiler.
4408 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4411 for ac_option in --version -v -V -qversion; do
4412 { { ac_try="$ac_compiler $ac_option >&5"
4414 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4415 *) ac_try_echo
=$ac_try;;
4417 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4418 $as_echo "$ac_try_echo"; } >&5
4419 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4421 if test -s conftest.err
; then
4423 ... rest of stderr output deleted ...
4424 10q' conftest.err
>conftest.er1
4425 cat conftest.er1
>&5
4427 rm -f conftest.er1 conftest.err
4428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4429 test $ac_status = 0; }
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4433 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4434 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4435 $as_echo_n "(cached) " >&6
4437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4438 /* end confdefs.h. */
4451 if ac_fn_cxx_try_compile
"$LINENO"; then :
4456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4457 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4461 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4462 if test $ac_compiler_gnu = yes; then
4467 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4468 ac_save_CXXFLAGS
=$CXXFLAGS
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4470 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4471 if ${ac_cv_prog_cxx_g+:} false
; then :
4472 $as_echo_n "(cached) " >&6
4474 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4475 ac_cxx_werror_flag
=yes
4478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4479 /* end confdefs.h. */
4489 if ac_fn_cxx_try_compile
"$LINENO"; then :
4490 ac_cv_prog_cxx_g
=yes
4493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4494 /* end confdefs.h. */
4504 if ac_fn_cxx_try_compile
"$LINENO"; then :
4507 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4510 /* end confdefs.h. */
4520 if ac_fn_cxx_try_compile
"$LINENO"; then :
4521 ac_cv_prog_cxx_g
=yes
4523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4525 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4527 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4528 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4531 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4532 if test "$ac_test_CXXFLAGS" = set; then
4533 CXXFLAGS
=$ac_save_CXXFLAGS
4534 elif test $ac_cv_prog_cxx_g = yes; then
4535 if test "$GXX" = yes; then
4541 if test "$GXX" = yes; then
4548 ac_cpp
='$CPP $CPPFLAGS'
4549 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4550 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4551 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4553 if test -n "$ac_tool_prefix"; then
4554 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4555 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4557 $as_echo_n "checking for $ac_word... " >&6; }
4558 if ${ac_cv_prog_CPPBIN+:} false
; then :
4559 $as_echo_n "(cached) " >&6
4561 if test -n "$CPPBIN"; then
4562 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4568 test -z "$as_dir" && as_dir
=.
4569 for ac_exec_ext
in '' $ac_executable_extensions; do
4570 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4571 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4581 CPPBIN
=$ac_cv_prog_CPPBIN
4582 if test -n "$CPPBIN"; then
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4584 $as_echo "$CPPBIN" >&6; }
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4587 $as_echo "no" >&6; }
4592 if test -z "$ac_cv_prog_CPPBIN"; then
4593 ac_ct_CPPBIN
=$CPPBIN
4594 # Extract the first word of "cpp", so it can be a program name with args.
4595 set dummy cpp
; ac_word
=$2
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4597 $as_echo_n "checking for $ac_word... " >&6; }
4598 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4599 $as_echo_n "(cached) " >&6
4601 if test -n "$ac_ct_CPPBIN"; then
4602 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4608 test -z "$as_dir" && as_dir
=.
4609 for ac_exec_ext
in '' $ac_executable_extensions; do
4610 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4611 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4621 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4622 if test -n "$ac_ct_CPPBIN"; then
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4624 $as_echo "$ac_ct_CPPBIN" >&6; }
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4627 $as_echo "no" >&6; }
4630 if test "x$ac_ct_CPPBIN" = x
; then
4633 case $cross_compiling:$ac_tool_warned in
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4636 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4637 ac_tool_warned
=yes ;;
4639 CPPBIN
=$ac_ct_CPPBIN
4642 CPPBIN
="$ac_cv_prog_CPPBIN"
4646 cat >>confdefs.h
<<_ACEOF
4647 #define EXEEXT "$ac_exeext"
4653 if test "x$enable_win64" = "xyes"
4658 notice_platform
="64-bit "
4665 notice_platform
="32-bit "
4668 enable_win16
=${enable_win16:-yes}
4670 with_fontconfig
=${with_fontconfig:-no}
4673 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4678 $as_echo_n "checking whether $CC works... " >&6; }
4680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4681 /* end confdefs.h. */
4691 if ac_fn_c_try_link
"$LINENO"; then :
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4693 $as_echo "yes" >&6; }
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4696 $as_echo "no" >&6; }
4697 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4699 rm -f core conftest.err conftest.
$ac_objext \
4700 conftest
$ac_exeext conftest.
$ac_ext
4702 notice_platform
="32-bit "
4705 enable_win16
=${enable_win16:-yes}
4707 if test "x${GCC}" = "xyes"
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4710 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4712 /* end confdefs.h. */
4717 void func(__builtin_ms_va_list *args);
4722 if ac_fn_c_try_compile
"$LINENO"; then :
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4724 $as_echo "yes" >&6; }
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4727 $as_echo "no" >&6; }
4728 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4730 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4738 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4740 /* end confdefs.h. */
4741 int ac_test(int i) { return i; }
4745 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4750 if ac_fn_c_try_link
"$LINENO"; then :
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4752 $as_echo "yes" >&6; }
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4755 $as_echo "no" >&6; }
4756 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4758 rm -f core conftest.err conftest.
$ac_objext \
4759 conftest
$ac_exeext conftest.
$ac_ext
4760 CFLAGS
="$CFLAGS -marm"
4762 *-mingw32*|
*-cygwin*)
4763 enable_win16
=${enable_win16:-no}
4764 CFLAGS
="$CFLAGS -D_WIN32"
4767 enable_win16
=${enable_win16:-yes}
4771 enable_win16
=${enable_win16:-no}
4772 enable_win64
=${enable_win64:-no}
4774 enable_winetest
=${enable_winetest:-$enable_tests}
4776 if test -n "$with_wine64"
4778 if test "x$enable_win64" = "xyes"
4780 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4781 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4783 enable_fonts
=${enable_fonts:-no}
4784 enable_server
=${enable_server:-no}
4785 elif test "x$enable_win64" = "xyes"
4787 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4791 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4792 if ${wine_cv_toolsdir+:} false
; then :
4793 $as_echo_n "(cached) " >&6
4795 wine_cv_toolsdir
="$with_wine_tools"
4796 if test -z "$with_wine_tools"; then
4797 if test "$cross_compiling" = "yes"; then
4798 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4799 elif test -n "$with_wine64"; then
4800 wine_cv_toolsdir
="$with_wine64"
4803 if test -z "$wine_cv_toolsdir"; then
4804 wine_cv_toolsdir
="\$(top_builddir)"
4805 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4806 case "$wine_cv_toolsdir" in
4808 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4810 enable_tools
=${enable_tools:-no}
4812 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4816 $as_echo "$wine_cv_toolsdir" >&6; }
4817 TOOLSDIR
=$wine_cv_toolsdir
4819 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4821 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4827 # Extract the first word of "$ac_prog", so it can be a program name with args.
4828 set dummy
$ac_prog; ac_word
=$2
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4830 $as_echo_n "checking for $ac_word... " >&6; }
4831 if ${ac_cv_prog_FLEX+:} false
; then :
4832 $as_echo_n "(cached) " >&6
4834 if test -n "$FLEX"; then
4835 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4841 test -z "$as_dir" && as_dir
=.
4842 for ac_exec_ext
in '' $ac_executable_extensions; do
4843 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4844 ac_cv_prog_FLEX
="$ac_prog"
4845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4854 FLEX
=$ac_cv_prog_FLEX
4855 if test -n "$FLEX"; then
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4857 $as_echo "$FLEX" >&6; }
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4860 $as_echo "no" >&6; }
4864 test -n "$FLEX" && break
4866 test -n "$FLEX" || FLEX
="none"
4868 if test "$FLEX" = "none"
4870 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4873 $as_echo_n "checking whether flex is recent enough... " >&6; }
4874 cat >conftest.l
<<EOF
4876 #include "prediluvian.h"
4880 if $FLEX -t conftest.l
>/dev
/null
2>&5
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4883 $as_echo "yes" >&6; }
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4886 $as_echo "no" >&6; }
4887 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4890 for ac_prog
in bison
4892 # Extract the first word of "$ac_prog", so it can be a program name with args.
4893 set dummy
$ac_prog; ac_word
=$2
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4895 $as_echo_n "checking for $ac_word... " >&6; }
4896 if ${ac_cv_prog_BISON+:} false
; then :
4897 $as_echo_n "(cached) " >&6
4899 if test -n "$BISON"; then
4900 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4906 test -z "$as_dir" && as_dir
=.
4907 for ac_exec_ext
in '' $ac_executable_extensions; do
4908 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4909 ac_cv_prog_BISON
="$ac_prog"
4910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4919 BISON
=$ac_cv_prog_BISON
4920 if test -n "$BISON"; then
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4922 $as_echo "$BISON" >&6; }
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4925 $as_echo "no" >&6; }
4929 test -n "$BISON" && break
4931 test -n "$BISON" || BISON
="none"
4933 if test "$BISON" = "none"
4935 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4938 if test -n "$ac_tool_prefix"; then
4939 for ac_prog
in ar gar
4941 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4942 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4944 $as_echo_n "checking for $ac_word... " >&6; }
4945 if ${ac_cv_prog_AR+:} false
; then :
4946 $as_echo_n "(cached) " >&6
4948 if test -n "$AR"; then
4949 ac_cv_prog_AR
="$AR" # Let the user override the test.
4951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4955 test -z "$as_dir" && as_dir
=.
4956 for ac_exec_ext
in '' $ac_executable_extensions; do
4957 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4958 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4969 if test -n "$AR"; then
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4971 $as_echo "$AR" >&6; }
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4974 $as_echo "no" >&6; }
4978 test -n "$AR" && break
4981 if test -z "$AR"; then
4983 for ac_prog
in ar gar
4985 # Extract the first word of "$ac_prog", so it can be a program name with args.
4986 set dummy
$ac_prog; ac_word
=$2
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4988 $as_echo_n "checking for $ac_word... " >&6; }
4989 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4990 $as_echo_n "(cached) " >&6
4992 if test -n "$ac_ct_AR"; then
4993 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4999 test -z "$as_dir" && as_dir
=.
5000 for ac_exec_ext
in '' $ac_executable_extensions; do
5001 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5002 ac_cv_prog_ac_ct_AR
="$ac_prog"
5003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5012 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5013 if test -n "$ac_ct_AR"; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5015 $as_echo "$ac_ct_AR" >&6; }
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5018 $as_echo "no" >&6; }
5022 test -n "$ac_ct_AR" && break
5025 if test "x$ac_ct_AR" = x
; then
5028 case $cross_compiling:$ac_tool_warned in
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5031 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5032 ac_tool_warned
=yes ;;
5038 if test -n "$ac_tool_prefix"; then
5039 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5040 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5042 $as_echo_n "checking for $ac_word... " >&6; }
5043 if ${ac_cv_prog_STRIP+:} false
; then :
5044 $as_echo_n "(cached) " >&6
5046 if test -n "$STRIP"; then
5047 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5053 test -z "$as_dir" && as_dir
=.
5054 for ac_exec_ext
in '' $ac_executable_extensions; do
5055 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5056 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5066 STRIP
=$ac_cv_prog_STRIP
5067 if test -n "$STRIP"; then
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5069 $as_echo "$STRIP" >&6; }
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5072 $as_echo "no" >&6; }
5077 if test -z "$ac_cv_prog_STRIP"; then
5079 # Extract the first word of "strip", so it can be a program name with args.
5080 set dummy strip
; ac_word
=$2
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5082 $as_echo_n "checking for $ac_word... " >&6; }
5083 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5084 $as_echo_n "(cached) " >&6
5086 if test -n "$ac_ct_STRIP"; then
5087 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5093 test -z "$as_dir" && as_dir
=.
5094 for ac_exec_ext
in '' $ac_executable_extensions; do
5095 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5096 ac_cv_prog_ac_ct_STRIP
="strip"
5097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5106 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5107 if test -n "$ac_ct_STRIP"; then
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5109 $as_echo "$ac_ct_STRIP" >&6; }
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5112 $as_echo "no" >&6; }
5115 if test "x$ac_ct_STRIP" = x
; then
5118 case $cross_compiling:$ac_tool_warned in
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5122 ac_tool_warned
=yes ;;
5127 STRIP
="$ac_cv_prog_STRIP"
5132 if test -n "$ac_tool_prefix"; then
5133 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5134 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5136 $as_echo_n "checking for $ac_word... " >&6; }
5137 if ${ac_cv_prog_RANLIB+:} false
; then :
5138 $as_echo_n "(cached) " >&6
5140 if test -n "$RANLIB"; then
5141 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5147 test -z "$as_dir" && as_dir
=.
5148 for ac_exec_ext
in '' $ac_executable_extensions; do
5149 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5150 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5160 RANLIB
=$ac_cv_prog_RANLIB
5161 if test -n "$RANLIB"; then
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5163 $as_echo "$RANLIB" >&6; }
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5166 $as_echo "no" >&6; }
5171 if test -z "$ac_cv_prog_RANLIB"; then
5172 ac_ct_RANLIB
=$RANLIB
5173 # Extract the first word of "ranlib", so it can be a program name with args.
5174 set dummy ranlib
; ac_word
=$2
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5176 $as_echo_n "checking for $ac_word... " >&6; }
5177 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5178 $as_echo_n "(cached) " >&6
5180 if test -n "$ac_ct_RANLIB"; then
5181 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5187 test -z "$as_dir" && as_dir
=.
5188 for ac_exec_ext
in '' $ac_executable_extensions; do
5189 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5190 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5200 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5201 if test -n "$ac_ct_RANLIB"; then
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5203 $as_echo "$ac_ct_RANLIB" >&6; }
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5206 $as_echo "no" >&6; }
5209 if test "x$ac_ct_RANLIB" = x
; then
5212 case $cross_compiling:$ac_tool_warned in
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5216 ac_tool_warned
=yes ;;
5218 RANLIB
=$ac_ct_RANLIB
5221 RANLIB
="$ac_cv_prog_RANLIB"
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5225 $as_echo_n "checking whether ln -s works... " >&6; }
5227 if test "$LN_S" = "ln -s"; then
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5229 $as_echo "yes" >&6; }
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5232 $as_echo "no, using $LN_S" >&6; }
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5236 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5237 if ${ac_cv_path_GREP+:} false
; then :
5238 $as_echo_n "(cached) " >&6
5240 if test -z "$GREP"; then
5241 ac_path_GREP_found
=false
5242 # Loop through the user's path and test for each of PROGNAME-LIST
5243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5244 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5247 test -z "$as_dir" && as_dir
=.
5248 for ac_prog
in grep ggrep
; do
5249 for ac_exec_ext
in '' $ac_executable_extensions; do
5250 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5251 as_fn_executable_p
"$ac_path_GREP" ||
continue
5252 # Check for GNU ac_path_GREP and select it if it is found.
5253 # Check for GNU $ac_path_GREP
5254 case `"$ac_path_GREP" --version 2>&1` in
5256 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5259 $as_echo_n 0123456789 >"conftest.in"
5262 cat "conftest.in" "conftest.in" >"conftest.tmp"
5263 mv "conftest.tmp" "conftest.in"
5264 cp "conftest.in" "conftest.nl"
5265 $as_echo 'GREP' >> "conftest.nl"
5266 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5267 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5268 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5269 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5270 # Best one so far, save it but keep looking for a better one
5271 ac_cv_path_GREP
="$ac_path_GREP"
5272 ac_path_GREP_max
=$ac_count
5274 # 10*(2^10) chars as input seems more than enough
5275 test $ac_count -gt 10 && break
5277 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5280 $ac_path_GREP_found && break 3
5285 if test -z "$ac_cv_path_GREP"; then
5286 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5289 ac_cv_path_GREP
=$GREP
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5294 $as_echo "$ac_cv_path_GREP" >&6; }
5295 GREP
="$ac_cv_path_GREP"
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5299 $as_echo_n "checking for egrep... " >&6; }
5300 if ${ac_cv_path_EGREP+:} false
; then :
5301 $as_echo_n "(cached) " >&6
5303 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5304 then ac_cv_path_EGREP
="$GREP -E"
5306 if test -z "$EGREP"; then
5307 ac_path_EGREP_found
=false
5308 # Loop through the user's path and test for each of PROGNAME-LIST
5309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5310 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5313 test -z "$as_dir" && as_dir
=.
5314 for ac_prog
in egrep; do
5315 for ac_exec_ext
in '' $ac_executable_extensions; do
5316 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5317 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5318 # Check for GNU ac_path_EGREP and select it if it is found.
5319 # Check for GNU $ac_path_EGREP
5320 case `"$ac_path_EGREP" --version 2>&1` in
5322 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5325 $as_echo_n 0123456789 >"conftest.in"
5328 cat "conftest.in" "conftest.in" >"conftest.tmp"
5329 mv "conftest.tmp" "conftest.in"
5330 cp "conftest.in" "conftest.nl"
5331 $as_echo 'EGREP' >> "conftest.nl"
5332 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5333 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5334 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5335 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5336 # Best one so far, save it but keep looking for a better one
5337 ac_cv_path_EGREP
="$ac_path_EGREP"
5338 ac_path_EGREP_max
=$ac_count
5340 # 10*(2^10) chars as input seems more than enough
5341 test $ac_count -gt 10 && break
5343 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5346 $ac_path_EGREP_found && break 3
5351 if test -z "$ac_cv_path_EGREP"; then
5352 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5355 ac_cv_path_EGREP
=$EGREP
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5361 $as_echo "$ac_cv_path_EGREP" >&6; }
5362 EGREP
="$ac_cv_path_EGREP"
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5366 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5367 if test -z "$MKDIR_P"; then
5368 if ${ac_cv_path_mkdir+:} false
; then :
5369 $as_echo_n "(cached) " >&6
5371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5372 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
5375 test -z "$as_dir" && as_dir
=.
5376 for ac_prog
in mkdir gmkdir
; do
5377 for ac_exec_ext
in '' $ac_executable_extensions; do
5378 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
5379 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5380 'mkdir (GNU coreutils) '* | \
5381 'mkdir (coreutils) '* | \
5382 'mkdir (fileutils) '4.1*)
5383 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
5393 test -d .
/--version && rmdir .
/--version
5394 if test "${ac_cv_path_mkdir+set}" = set; then
5395 MKDIR_P
="$ac_cv_path_mkdir -p"
5397 # As a last resort, use the slow shell script. Don't cache a
5398 # value for MKDIR_P within a source directory, because that will
5399 # break other packages using the cache if that directory is
5400 # removed, or if the value is a relative name.
5401 MKDIR_P
="$ac_install_sh -d"
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5405 $as_echo "$MKDIR_P" >&6; }
5407 # Extract the first word of "ldconfig", so it can be a program name with args.
5408 set dummy ldconfig
; ac_word
=$2
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5410 $as_echo_n "checking for $ac_word... " >&6; }
5411 if ${ac_cv_path_LDCONFIG+:} false
; then :
5412 $as_echo_n "(cached) " >&6
5416 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5420 for as_dir
in /sbin
/usr
/sbin
$PATH
5423 test -z "$as_dir" && as_dir
=.
5424 for ac_exec_ext
in '' $ac_executable_extensions; do
5425 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5426 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5434 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5438 LDCONFIG
=$ac_cv_path_LDCONFIG
5439 if test -n "$LDCONFIG"; then
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5441 $as_echo "$LDCONFIG" >&6; }
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5444 $as_echo "no" >&6; }
5449 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
="STRIPPROG=\"\$(STRIP)\" \$(top_srcdir)/tools/install-sh"
5450 # Find a good install program. We prefer a C program (faster),
5451 # so one script is as good as another. But avoid the broken or
5452 # incompatible versions:
5453 # SysV /etc/install, /usr/sbin/install
5454 # SunOS /usr/etc/install
5455 # IRIX /sbin/install
5457 # AmigaOS /C/install, which installs bootblocks on floppy discs
5458 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5459 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5460 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5461 # OS/2's system install, which has a completely different semantic
5462 # ./install, which can be erroneously created by make from ./install.sh.
5463 # Reject install programs that cannot install multiple files.
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5465 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5466 if test -z "$INSTALL"; then
5467 if ${ac_cv_path_install+:} false
; then :
5468 $as_echo_n "(cached) " >&6
5470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5474 test -z "$as_dir" && as_dir
=.
5475 # Account for people who put trailing slashes in PATH elements.
5476 case $as_dir/ in #((
5477 .
/ | .
// |
/[cC
]/* | \
5478 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5479 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
5482 # OSF1 and SCO ODT 3.0 have their own names for install.
5483 # Don't use installbsd from OSF since it installs stuff as root
5485 for ac_prog
in ginstall scoinst
install; do
5486 for ac_exec_ext
in '' $ac_executable_extensions; do
5487 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
5488 if test $ac_prog = install &&
5489 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5490 # AIX install. It has an incompatible calling convention.
5492 elif test $ac_prog = install &&
5493 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5494 # program-specific install script used by HP pwplus--don't use.
5497 rm -rf conftest.one conftest.two conftest.dir
5498 echo one
> conftest.one
5499 echo two
> conftest.two
5501 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
5502 test -s conftest.one
&& test -s conftest.two
&&
5503 test -s conftest.dir
/conftest.one
&&
5504 test -s conftest.dir
/conftest.two
5506 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5519 rm -rf conftest.one conftest.two conftest.dir
5522 if test "${ac_cv_path_install+set}" = set; then
5523 INSTALL
=$ac_cv_path_install
5525 # As a last resort, use the slow shell script. Don't cache a
5526 # value for INSTALL within a source directory, because that will
5527 # break other packages using the cache if that directory is
5528 # removed, or if the value is a relative name.
5529 INSTALL
=$ac_install_sh
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
5533 $as_echo "$INSTALL" >&6; }
5535 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5536 # It thinks the first close brace ends the variable substitution.
5537 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5539 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5541 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5544 for ac_prog
in fontforge
5546 # Extract the first word of "$ac_prog", so it can be a program name with args.
5547 set dummy
$ac_prog; ac_word
=$2
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5549 $as_echo_n "checking for $ac_word... " >&6; }
5550 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5551 $as_echo_n "(cached) " >&6
5553 if test -n "$FONTFORGE"; then
5554 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5560 test -z "$as_dir" && as_dir
=.
5561 for ac_exec_ext
in '' $ac_executable_extensions; do
5562 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5563 ac_cv_prog_FONTFORGE
="$ac_prog"
5564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5573 FONTFORGE
=$ac_cv_prog_FONTFORGE
5574 if test -n "$FONTFORGE"; then
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5576 $as_echo "$FONTFORGE" >&6; }
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5579 $as_echo "no" >&6; }
5583 test -n "$FONTFORGE" && break
5585 test -n "$FONTFORGE" || FONTFORGE
="false"
5589 # Extract the first word of "$ac_prog", so it can be a program name with args.
5590 set dummy
$ac_prog; ac_word
=$2
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5592 $as_echo_n "checking for $ac_word... " >&6; }
5593 if ${ac_cv_prog_RSVG+:} false
; then :
5594 $as_echo_n "(cached) " >&6
5596 if test -n "$RSVG"; then
5597 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5603 test -z "$as_dir" && as_dir
=.
5604 for ac_exec_ext
in '' $ac_executable_extensions; do
5605 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5606 ac_cv_prog_RSVG
="$ac_prog"
5607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5616 RSVG
=$ac_cv_prog_RSVG
5617 if test -n "$RSVG"; then
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5619 $as_echo "$RSVG" >&6; }
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5622 $as_echo "no" >&6; }
5626 test -n "$RSVG" && break
5628 test -n "$RSVG" || RSVG
="false"
5630 for ac_prog
in convert
5632 # Extract the first word of "$ac_prog", so it can be a program name with args.
5633 set dummy
$ac_prog; ac_word
=$2
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5635 $as_echo_n "checking for $ac_word... " >&6; }
5636 if ${ac_cv_prog_CONVERT+:} false
; then :
5637 $as_echo_n "(cached) " >&6
5639 if test -n "$CONVERT"; then
5640 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5646 test -z "$as_dir" && as_dir
=.
5647 for ac_exec_ext
in '' $ac_executable_extensions; do
5648 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5649 ac_cv_prog_CONVERT
="$ac_prog"
5650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5659 CONVERT
=$ac_cv_prog_CONVERT
5660 if test -n "$CONVERT"; then
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5662 $as_echo "$CONVERT" >&6; }
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5665 $as_echo "no" >&6; }
5669 test -n "$CONVERT" && break
5671 test -n "$CONVERT" || CONVERT
="false"
5673 for ac_prog
in icotool
5675 # Extract the first word of "$ac_prog", so it can be a program name with args.
5676 set dummy
$ac_prog; ac_word
=$2
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5678 $as_echo_n "checking for $ac_word... " >&6; }
5679 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5680 $as_echo_n "(cached) " >&6
5682 if test -n "$ICOTOOL"; then
5683 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5689 test -z "$as_dir" && as_dir
=.
5690 for ac_exec_ext
in '' $ac_executable_extensions; do
5691 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5692 ac_cv_prog_ICOTOOL
="$ac_prog"
5693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5702 ICOTOOL
=$ac_cv_prog_ICOTOOL
5703 if test -n "$ICOTOOL"; then
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5705 $as_echo "$ICOTOOL" >&6; }
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5708 $as_echo "no" >&6; }
5712 test -n "$ICOTOOL" && break
5714 test -n "$ICOTOOL" || ICOTOOL
="false"
5716 for ac_prog
in msgfmt
5718 # Extract the first word of "$ac_prog", so it can be a program name with args.
5719 set dummy
$ac_prog; ac_word
=$2
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5721 $as_echo_n "checking for $ac_word... " >&6; }
5722 if ${ac_cv_prog_MSGFMT+:} false
; then :
5723 $as_echo_n "(cached) " >&6
5725 if test -n "$MSGFMT"; then
5726 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5732 test -z "$as_dir" && as_dir
=.
5733 for ac_exec_ext
in '' $ac_executable_extensions; do
5734 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5735 ac_cv_prog_MSGFMT
="$ac_prog"
5736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5745 MSGFMT
=$ac_cv_prog_MSGFMT
5746 if test -n "$MSGFMT"; then
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5748 $as_echo "$MSGFMT" >&6; }
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5751 $as_echo "no" >&6; }
5755 test -n "$MSGFMT" && break
5757 test -n "$MSGFMT" || MSGFMT
="false"
5759 if test -n "$ac_tool_prefix"; then
5760 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5761 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5763 $as_echo_n "checking for $ac_word... " >&6; }
5764 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5765 $as_echo_n "(cached) " >&6
5767 if test -n "$PKG_CONFIG"; then
5768 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5774 test -z "$as_dir" && as_dir
=.
5775 for ac_exec_ext
in '' $ac_executable_extensions; do
5776 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5777 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5787 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5788 if test -n "$PKG_CONFIG"; then
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5790 $as_echo "$PKG_CONFIG" >&6; }
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5793 $as_echo "no" >&6; }
5798 if test -n "$ac_cv_prog_PKG_CONFIG"; then
5799 PKG_CONFIG
="$ac_cv_prog_PKG_CONFIG"
5800 elif test "$cross_compiling" != yes; then
5801 unset ac_cv_prog_PKG_CONFIG
5802 # Extract the first word of "pkg-config", so it can be a program name with args.
5803 set dummy pkg-config
; ac_word
=$2
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5805 $as_echo_n "checking for $ac_word... " >&6; }
5806 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5807 $as_echo_n "(cached) " >&6
5809 if test -n "$PKG_CONFIG"; then
5810 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5816 test -z "$as_dir" && as_dir
=.
5817 for ac_exec_ext
in '' $ac_executable_extensions; do
5818 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5819 ac_cv_prog_PKG_CONFIG
="pkg-config"
5820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5829 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5830 if test -n "$PKG_CONFIG"; then
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5832 $as_echo "$PKG_CONFIG" >&6; }
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5835 $as_echo "no" >&6; }
5841 if test "x$enable_maintainer_mode" != "xyes"
5846 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5847 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5848 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5850 if test "$CONVERT" = false
5852 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5855 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5856 convert_version
=`convert --version | head -n1`
5857 if test "x$convert_version" != "x"
5859 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5860 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5861 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5866 if test "$CONVERT" = false
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5869 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5870 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5873 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5877 if test "$ICOTOOL" = false
5879 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5882 $as_echo_n "checking for recent enough icotool... " >&6; }
5883 icotool_version
=`icotool --version | head -n1`
5884 if test "x$icotool_version" != "x"
5886 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5887 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5888 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5891 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5894 if test "$ICOTOOL" = false
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5897 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5898 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5901 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5907 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5910 test "x$with_gettext" != xno || MSGFMT
=false
5911 if test "$MSGFMT" != "false"
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5914 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5915 cat >conftest.po
<<EOF
5921 if $MSGFMT -o /dev
/null conftest.po
2>&5
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5924 $as_echo "yes" >&6; }
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5927 $as_echo "no" >&6; }
5931 if test "$MSGFMT" = false
; then :
5932 case "x$with_gettext" in
5933 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5935 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5936 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5942 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5943 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5944 $as_echo_n "(cached) " >&6
5946 ac_check_lib_save_LIBS
=$LIBS
5948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5949 /* end confdefs.h. */
5951 /* Override any GCC internal prototype to avoid an error.
5952 Use char because int might match the return type of a GCC
5953 builtin and then its argument prototype would still apply. */
5957 char i386_set_ldt ();
5961 return i386_set_ldt ();
5966 if ac_fn_c_try_link
"$LINENO"; then :
5967 ac_cv_lib_i386_i386_set_ldt
=yes
5969 ac_cv_lib_i386_i386_set_ldt
=no
5971 rm -f core conftest.err conftest.
$ac_objext \
5972 conftest
$ac_exeext conftest.
$ac_ext
5973 LIBS
=$ac_check_lib_save_LIBS
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5976 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5977 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5978 cat >>confdefs.h
<<_ACEOF
5979 #define HAVE_LIBI386 1
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5987 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5988 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5989 $as_echo_n "(cached) " >&6
5991 ac_check_lib_save_LIBS
=$LIBS
5992 LIBS
="-lossaudio $LIBS"
5993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5994 /* end confdefs.h. */
5996 /* Override any GCC internal prototype to avoid an error.
5997 Use char because int might match the return type of a GCC
5998 builtin and then its argument prototype would still apply. */
6006 return _oss_ioctl ();
6011 if ac_fn_c_try_link
"$LINENO"; then :
6012 ac_cv_lib_ossaudio__oss_ioctl
=yes
6014 ac_cv_lib_ossaudio__oss_ioctl
=no
6016 rm -f core conftest.err conftest.
$ac_objext \
6017 conftest
$ac_exeext conftest.
$ac_ext
6018 LIBS
=$ac_check_lib_save_LIBS
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6021 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6022 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6023 cat >>confdefs.h
<<_ACEOF
6024 #define HAVE_LIBOSSAUDIO 1
6027 LIBS
="-lossaudio $LIBS"
6038 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h
=no
6040 # Check whether --enable-largefile was given.
6041 if test "${enable_largefile+set}" = set; then :
6042 enableval
=$enable_largefile;
6045 if test "$enable_largefile" != no
; then
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6048 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6049 if ${ac_cv_sys_largefile_CC+:} false
; then :
6050 $as_echo_n "(cached) " >&6
6052 ac_cv_sys_largefile_CC
=no
6053 if test "$GCC" != yes; then
6056 # IRIX 6.2 and later do not support large files by default,
6057 # so use the C compiler's -n32 option if that helps.
6058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6059 /* end confdefs.h. */
6060 #include <sys/types.h>
6061 /* Check that off_t can represent 2**63 - 1 correctly.
6062 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6063 since some C++ compilers masquerading as C compilers
6064 incorrectly reject 9223372036854775807. */
6065 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6066 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6067 && LARGE_OFF_T % 2147483647 == 1)
6077 if ac_fn_c_try_compile
"$LINENO"; then :
6080 rm -f core conftest.err conftest.
$ac_objext
6082 if ac_fn_c_try_compile
"$LINENO"; then :
6083 ac_cv_sys_largefile_CC
=' -n32'; break
6085 rm -f core conftest.err conftest.
$ac_objext
6089 rm -f conftest.
$ac_ext
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6093 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6094 if test "$ac_cv_sys_largefile_CC" != no
; then
6095 CC
=$CC$ac_cv_sys_largefile_CC
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6099 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6100 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6101 $as_echo_n "(cached) " >&6
6104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6105 /* end confdefs.h. */
6106 #include <sys/types.h>
6107 /* Check that off_t can represent 2**63 - 1 correctly.
6108 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6109 since some C++ compilers masquerading as C compilers
6110 incorrectly reject 9223372036854775807. */
6111 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6112 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6113 && LARGE_OFF_T % 2147483647 == 1)
6123 if ac_fn_c_try_compile
"$LINENO"; then :
6124 ac_cv_sys_file_offset_bits
=no
; break
6126 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6128 /* end confdefs.h. */
6129 #define _FILE_OFFSET_BITS 64
6130 #include <sys/types.h>
6131 /* Check that off_t can represent 2**63 - 1 correctly.
6132 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6133 since some C++ compilers masquerading as C compilers
6134 incorrectly reject 9223372036854775807. */
6135 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6136 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6137 && LARGE_OFF_T % 2147483647 == 1)
6147 if ac_fn_c_try_compile
"$LINENO"; then :
6148 ac_cv_sys_file_offset_bits
=64; break
6150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6151 ac_cv_sys_file_offset_bits
=unknown
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6156 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6157 case $ac_cv_sys_file_offset_bits in #(
6160 cat >>confdefs.h
<<_ACEOF
6161 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6166 if test $ac_cv_sys_file_offset_bits = unknown
; then
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6168 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6169 if ${ac_cv_sys_large_files+:} false
; then :
6170 $as_echo_n "(cached) " >&6
6173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6174 /* end confdefs.h. */
6175 #include <sys/types.h>
6176 /* Check that off_t can represent 2**63 - 1 correctly.
6177 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6178 since some C++ compilers masquerading as C compilers
6179 incorrectly reject 9223372036854775807. */
6180 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6181 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6182 && LARGE_OFF_T % 2147483647 == 1)
6192 if ac_fn_c_try_compile
"$LINENO"; then :
6193 ac_cv_sys_large_files
=no
; break
6195 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6197 /* end confdefs.h. */
6198 #define _LARGE_FILES 1
6199 #include <sys/types.h>
6200 /* Check that off_t can represent 2**63 - 1 correctly.
6201 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6202 since some C++ compilers masquerading as C compilers
6203 incorrectly reject 9223372036854775807. */
6204 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6205 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6206 && LARGE_OFF_T % 2147483647 == 1)
6216 if ac_fn_c_try_compile
"$LINENO"; then :
6217 ac_cv_sys_large_files
=1; break
6219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6220 ac_cv_sys_large_files
=unknown
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6225 $as_echo "$ac_cv_sys_large_files" >&6; }
6226 case $ac_cv_sys_large_files in #(
6229 cat >>confdefs.h
<<_ACEOF
6230 #define _LARGE_FILES $ac_cv_sys_large_files
6242 ac_cpp
='$CPP $CPPFLAGS'
6243 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6244 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6245 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6247 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6248 # On Suns, sometimes $CPP names a directory.
6249 if test -n "$CPP" && test -d "$CPP"; then
6252 if test -z "$CPP"; then
6253 if ${ac_cv_prog_CPP+:} false
; then :
6254 $as_echo_n "(cached) " >&6
6256 # Double quotes because CPP needs to be expanded
6257 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6260 for ac_c_preproc_warn_flag
in '' yes
6262 # Use a header file that comes with gcc, so configuring glibc
6263 # with a fresh cross-compiler works.
6264 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6265 # <limits.h> exists even on freestanding compilers.
6266 # On the NeXT, cc -E runs the code through the compiler's parser,
6267 # not just through cpp. "Syntax error" is here to catch this case.
6268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6269 /* end confdefs.h. */
6271 # include <limits.h>
6273 # include <assert.h>
6277 if ac_fn_c_try_cpp
"$LINENO"; then :
6280 # Broken: fails on valid input.
6283 rm -f conftest.err conftest.i conftest.
$ac_ext
6285 # OK, works on sane cases. Now check whether nonexistent headers
6286 # can be detected and how.
6287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6288 /* end confdefs.h. */
6289 #include <ac_nonexistent.h>
6291 if ac_fn_c_try_cpp
"$LINENO"; then :
6292 # Broken: success on invalid input.
6295 # Passes both tests.
6299 rm -f conftest.err conftest.i conftest.
$ac_ext
6302 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6303 rm -f conftest.i conftest.err conftest.
$ac_ext
6304 if $ac_preproc_ok; then :
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6317 $as_echo "$CPP" >&6; }
6319 for ac_c_preproc_warn_flag
in '' yes
6321 # Use a header file that comes with gcc, so configuring glibc
6322 # with a fresh cross-compiler works.
6323 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6324 # <limits.h> exists even on freestanding compilers.
6325 # On the NeXT, cc -E runs the code through the compiler's parser,
6326 # not just through cpp. "Syntax error" is here to catch this case.
6327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6328 /* end confdefs.h. */
6330 # include <limits.h>
6332 # include <assert.h>
6336 if ac_fn_c_try_cpp
"$LINENO"; then :
6339 # Broken: fails on valid input.
6342 rm -f conftest.err conftest.i conftest.
$ac_ext
6344 # OK, works on sane cases. Now check whether nonexistent headers
6345 # can be detected and how.
6346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6347 /* end confdefs.h. */
6348 #include <ac_nonexistent.h>
6350 if ac_fn_c_try_cpp
"$LINENO"; then :
6351 # Broken: success on invalid input.
6354 # Passes both tests.
6358 rm -f conftest.err conftest.i conftest.
$ac_ext
6361 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6362 rm -f conftest.i conftest.err conftest.
$ac_ext
6363 if $ac_preproc_ok; then :
6366 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6368 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6369 See \`config.log' for more details" "$LINENO" 5; }
6373 ac_cpp
='$CPP $CPPFLAGS'
6374 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6375 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6376 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6380 $as_echo_n "checking for ANSI C header files... " >&6; }
6381 if ${ac_cv_header_stdc+:} false
; then :
6382 $as_echo_n "(cached) " >&6
6384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6385 /* end confdefs.h. */
6399 if ac_fn_c_try_compile
"$LINENO"; then :
6400 ac_cv_header_stdc
=yes
6402 ac_cv_header_stdc
=no
6404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6406 if test $ac_cv_header_stdc = yes; then
6407 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6409 /* end confdefs.h. */
6413 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6414 $EGREP "memchr" >/dev
/null
2>&1; then :
6417 ac_cv_header_stdc
=no
6423 if test $ac_cv_header_stdc = yes; then
6424 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6426 /* end confdefs.h. */
6430 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6431 $EGREP "free" >/dev
/null
2>&1; then :
6434 ac_cv_header_stdc
=no
6440 if test $ac_cv_header_stdc = yes; then
6441 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6442 if test "$cross_compiling" = yes; then :
6445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6446 /* end confdefs.h. */
6449 #if ((' ' & 0x0FF) == 0x020)
6450 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6451 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6453 # define ISLOWER(c) \
6454 (('a' <= (c) && (c) <= 'i') \
6455 || ('j' <= (c) && (c) <= 'r') \
6456 || ('s' <= (c) && (c) <= 'z'))
6457 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6460 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6465 for (i = 0; i < 256; i++)
6466 if (XOR (islower (i), ISLOWER (i))
6467 || toupper (i) != TOUPPER (i))
6472 if ac_fn_c_try_run
"$LINENO"; then :
6475 ac_cv_header_stdc
=no
6477 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6478 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6484 $as_echo "$ac_cv_header_stdc" >&6; }
6485 if test $ac_cv_header_stdc = yes; then
6487 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6491 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6492 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6493 inttypes.h stdint.h unistd.h
6495 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6496 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6498 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6499 cat >>confdefs.h
<<_ACEOF
6500 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6510 ApplicationServices
/ApplicationServices.h \
6511 AudioToolbox
/AudioConverter.h \
6512 AudioUnit
/AudioUnit.h \
6513 AudioUnit
/AudioComponent.h \
6516 CoreAudio
/CoreAudio.h \
6517 CoreServices
/CoreServices.h \
6518 DiskArbitration
/DiskArbitration.h \
6520 IOKit
/hid
/IOHIDLib.h \
6523 QuickTime
/ImageCompression.h \
6524 Security
/Security.h \
6538 fontconfig
/fontconfig.h \
6576 netinet
/in_systm.h \
6637 valgrind
/memcheck.h \
6638 valgrind
/valgrind.h \
6642 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6643 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6644 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6645 cat >>confdefs.h
<<_ACEOF
6646 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6654 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6655 if ${ac_cv_header_stat_broken+:} false
; then :
6656 $as_echo_n "(cached) " >&6
6658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6659 /* end confdefs.h. */
6660 #include <sys/types.h>
6661 #include <sys/stat.h>
6663 #if defined S_ISBLK && defined S_IFDIR
6664 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6667 #if defined S_ISBLK && defined S_IFCHR
6668 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6671 #if defined S_ISLNK && defined S_IFREG
6672 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6675 #if defined S_ISSOCK && defined S_IFREG
6676 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6680 if ac_fn_c_try_compile
"$LINENO"; then :
6681 ac_cv_header_stat_broken
=no
6683 ac_cv_header_stat_broken
=yes
6685 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6688 $as_echo "$ac_cv_header_stat_broken" >&6; }
6689 if test $ac_cv_header_stat_broken = yes; then
6691 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6697 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6699 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6700 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6701 #ifdef HAVE_SYS_PARAM_H
6702 # include <sys/param.h>
6705 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6706 cat >>confdefs.h
<<_ACEOF
6707 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6722 netinet
/if_ether.h \
6723 netinet
/if_inarp.h \
6732 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6733 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6734 #ifdef HAVE_SYS_SOCKET_H
6735 # include <sys/socket.h>
6737 #ifdef HAVE_SYS_SOCKETVAR_H
6738 # include <sys/socketvar.h>
6740 #ifdef HAVE_NET_ROUTE_H
6741 # include <net/route.h>
6743 #ifdef HAVE_NETINET_IN_H
6744 # include <netinet/in.h>
6746 #ifdef HAVE_NETINET_IN_SYSTM_H
6747 # include <netinet/in_systm.h>
6749 #ifdef HAVE_NET_IF_H
6750 # include <net/if.h>
6752 #ifdef HAVE_NETINET_IP_H
6753 # include <netinet/ip.h>
6756 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6757 cat >>confdefs.h
<<_ACEOF
6758 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6766 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6768 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6769 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6773 #ifdef HAVE_SYS_SOCKET_H
6774 # include <sys/socket.h>
6776 #ifdef HAVE_SYS_SOCKETVAR_H
6777 # include <sys/socketvar.h>
6779 #ifdef HAVE_SYS_TIMEOUT_H
6780 # include <sys/timeout.h>
6782 #ifdef HAVE_NETINET_IN_H
6783 # include <netinet/in.h>
6785 #ifdef HAVE_NETINET_IN_SYSTM_H
6786 # include <netinet/in_systm.h>
6788 #ifdef HAVE_NETINET_IP_H
6789 # include <netinet/ip.h>
6791 #ifdef HAVE_NETINET_IP_VAR_H
6792 # include <netinet/ip_var.h>
6794 #ifdef HAVE_NETINET_IP_ICMP_H
6795 # include <netinet/ip_icmp.h>
6797 #ifdef HAVE_NETINET_UDP_H
6798 # include <netinet/udp.h>
6800 #ifdef HAVE_NETINET_TCP_H
6801 # include <netinet/tcp.h>
6803 #ifdef HAVE_NETINET_TCP_TIMER_H
6804 #include <netinet/tcp_timer.h>
6807 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6808 cat >>confdefs.h
<<_ACEOF
6809 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6817 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6819 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6820 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6821 #ifdef HAVE_ASM_TYPES_H
6822 # include <asm/types.h>
6824 #ifdef HAVE_SYS_SOCKET_H
6825 # include <sys/socket.h>
6827 #ifdef HAVE_LINUX_TYPES_H
6828 # include <linux/types.h>
6831 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6832 cat >>confdefs.h
<<_ACEOF
6833 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6841 for ac_header
in mach-o
/dyld_images.h
6843 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6844 # include <stdbool.h>
6846 #ifdef HAVE_STDINT_H
6847 # include <stdint.h>
6850 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6851 cat >>confdefs.h
<<_ACEOF
6852 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6860 for ac_header
in resolv.h
6862 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6863 #ifdef HAVE_SYS_SOCKET_H
6864 # include <sys/socket.h>
6866 #ifdef HAVE_NETINET_IN_H
6867 # include <netinet/in.h>
6869 #ifdef HAVE_ARPA_NAMESER_H
6870 # include <arpa/nameser.h>
6873 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6874 cat >>confdefs.h
<<_ACEOF
6875 #define HAVE_RESOLV_H 1
6883 for ac_header
in ifaddrs.h
6885 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6887 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6888 cat >>confdefs.h
<<_ACEOF
6889 #define HAVE_IFADDRS_H 1
6897 for ac_header
in ucontext.h
6899 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6901 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6902 cat >>confdefs.h
<<_ACEOF
6903 #define HAVE_UCONTEXT_H 1
6911 for ac_header
in sys
/thr.h
6913 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6914 #ifdef HAVE_UCONTEXT_H
6915 #include <ucontext.h>
6918 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6919 cat >>confdefs.h
<<_ACEOF
6920 #define HAVE_SYS_THR_H 1
6928 for ac_header
in pthread_np.h
6930 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6931 #include <pthread.h>
6934 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6935 cat >>confdefs.h
<<_ACEOF
6936 #define HAVE_PTHREAD_NP_H 1
6944 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6946 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6947 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6948 #include <sys/time.h>
6950 #include <sys/types.h>
6951 #ifdef HAVE_ASM_TYPES_H
6952 #include <asm/types.h>
6955 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6956 cat >>confdefs.h
<<_ACEOF
6957 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6965 for ac_header
in libprocstat.h
6967 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6968 #include <sys/param.h>
6970 #ifdef HAVE_SYS_QUEUE_H
6971 #include <sys/queue.h>
6973 #ifdef HAVE_SYS_SOCKET_H
6974 #include <sys/socket.h>
6977 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6978 cat >>confdefs.h
<<_ACEOF
6979 #define HAVE_LIBPROCSTAT_H 1
6988 dlldir
="\${libdir}/wine"
6992 DLLFLAGS
="-D_REENTRANT"
7002 STATIC_IMPLIBEXT
="def.a"
7003 # Extract the first word of "ldd", so it can be a program name with args.
7004 set dummy ldd
; ac_word
=$2
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7006 $as_echo_n "checking for $ac_word... " >&6; }
7007 if ${ac_cv_path_LDD+:} false
; then :
7008 $as_echo_n "(cached) " >&6
7012 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7016 as_dummy
="/sbin:/usr/sbin:$PATH"
7017 for as_dir
in $as_dummy
7020 test -z "$as_dir" && as_dir
=.
7021 for ac_exec_ext
in '' $ac_executable_extensions; do
7022 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7023 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7031 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7036 if test -n "$LDD"; then
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7038 $as_echo "$LDD" >&6; }
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7041 $as_echo "no" >&6; }
7045 if test -n "$ac_tool_prefix"; then
7046 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7047 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7049 $as_echo_n "checking for $ac_word... " >&6; }
7050 if ${ac_cv_prog_READELF+:} false
; then :
7051 $as_echo_n "(cached) " >&6
7053 if test -n "$READELF"; then
7054 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7060 test -z "$as_dir" && as_dir
=.
7061 for ac_exec_ext
in '' $ac_executable_extensions; do
7062 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7063 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7073 READELF
=$ac_cv_prog_READELF
7074 if test -n "$READELF"; then
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7076 $as_echo "$READELF" >&6; }
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7079 $as_echo "no" >&6; }
7084 if test -z "$ac_cv_prog_READELF"; then
7085 ac_ct_READELF
=$READELF
7086 # Extract the first word of "readelf", so it can be a program name with args.
7087 set dummy readelf
; ac_word
=$2
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7089 $as_echo_n "checking for $ac_word... " >&6; }
7090 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7091 $as_echo_n "(cached) " >&6
7093 if test -n "$ac_ct_READELF"; then
7094 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7100 test -z "$as_dir" && as_dir
=.
7101 for ac_exec_ext
in '' $ac_executable_extensions; do
7102 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7103 ac_cv_prog_ac_ct_READELF
="readelf"
7104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7113 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7114 if test -n "$ac_ct_READELF"; then
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7116 $as_echo "$ac_ct_READELF" >&6; }
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7119 $as_echo "no" >&6; }
7122 if test "x$ac_ct_READELF" = x
; then
7125 case $cross_compiling:$ac_tool_warned in
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7128 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7129 ac_tool_warned
=yes ;;
7131 READELF
=$ac_ct_READELF
7134 READELF
="$ac_cv_prog_READELF"
7139 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7142 all: $wine_binary wine-installed
7144 install install-lib:: wine-installed \$(DESTDIR)\$(bindir)
7145 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7148 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7154 if test -n "$ac_tool_prefix"; then
7155 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7156 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7158 $as_echo_n "checking for $ac_word... " >&6; }
7159 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7160 $as_echo_n "(cached) " >&6
7162 if test -n "$DLLTOOL"; then
7163 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7169 test -z "$as_dir" && as_dir
=.
7170 for ac_exec_ext
in '' $ac_executable_extensions; do
7171 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7172 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7182 DLLTOOL
=$ac_cv_prog_DLLTOOL
7183 if test -n "$DLLTOOL"; then
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7185 $as_echo "$DLLTOOL" >&6; }
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7188 $as_echo "no" >&6; }
7193 if test -z "$ac_cv_prog_DLLTOOL"; then
7194 ac_ct_DLLTOOL
=$DLLTOOL
7195 # Extract the first word of "dlltool", so it can be a program name with args.
7196 set dummy dlltool
; ac_word
=$2
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7198 $as_echo_n "checking for $ac_word... " >&6; }
7199 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7200 $as_echo_n "(cached) " >&6
7202 if test -n "$ac_ct_DLLTOOL"; then
7203 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7209 test -z "$as_dir" && as_dir
=.
7210 for ac_exec_ext
in '' $ac_executable_extensions; do
7211 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7212 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7222 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7223 if test -n "$ac_ct_DLLTOOL"; then
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7225 $as_echo "$ac_ct_DLLTOOL" >&6; }
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7228 $as_echo "no" >&6; }
7231 if test "x$ac_ct_DLLTOOL" = x
; then
7234 case $cross_compiling:$ac_tool_warned in
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7237 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7238 ac_tool_warned
=yes ;;
7240 DLLTOOL
=$ac_ct_DLLTOOL
7243 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7249 STATIC_IMPLIBEXT
="a"
7250 enable_iphlpapi
=${enable_iphlpapi:-no}
7251 enable_kernel32
=${enable_kernel32:-no}
7252 enable_msvcrt
=${enable_msvcrt:-no}
7253 enable_ntdll
=${enable_ntdll:-no}
7254 enable_ws2_32
=${enable_ws2_32:-no}
7255 enable_loader
=${enable_loader:-no}
7256 enable_server
=${enable_server:-no}
7257 with_x
=${with_x:-no}
7258 with_pthread
=${with_pthread:-no}
7264 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7269 all: libwine.dll libwine.a
7272 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7274 libwine.dll: \$(OBJS) wine.def
7275 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7277 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
7278 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7280 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
7281 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7284 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7287 \$(RM) libwine.dll version.c
7294 DLLFLAGS
="$DLLFLAGS -fPIC"
7295 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7296 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7297 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7298 COREFOUNDATIONLIB
="-framework CoreFoundation"
7300 IOKITLIB
="-framework IOKit -framework CoreFoundation"
7302 FORCEFEEDBACKLIB
="-framework ForceFeedback -framework CoreFoundation"
7304 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
7306 CORESERVICESLIB
="-framework CoreServices"
7308 APPKITLIB
="-framework AppKit"
7310 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7312 darwin11
*) LDEXECFLAGS
="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7314 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7316 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
7319 if test "$ac_cv_header_Security_Security_h" = "yes"
7321 SECURITYLIB
="-framework Security -framework CoreFoundation"
7323 ac_save_LIBS
="$LIBS"
7324 LIBS
="$LIBS $SECURITYLIB"
7325 for ac_func
in SSLCopyPeerCertificates
7327 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7328 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7329 cat >>confdefs.h
<<_ACEOF
7330 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7336 LIBS
="$ac_save_LIBS"
7337 with_gnutls
=${with_gnutls:-no}
7339 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7341 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7343 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7346 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7349 ac_save_LIBS
="$LIBS"
7350 LIBS
="$LIBS $COREAUDIO"
7351 for ac_func
in AUGraphAddNode
7353 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7354 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7355 cat >>confdefs.h
<<_ACEOF
7356 #define HAVE_AUGRAPHADDNODE 1
7362 LIBS
="$ac_save_LIBS"
7364 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7366 FRAMEWORK_OPENAL
="-framework OpenAL"
7369 cat >>confdefs.h
<<_ACEOF
7370 #define HAVE_OPENAL 1
7373 ac_cv_lib_openal
=yes
7375 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7377 LIBOPENCL
="-framework OpenCL"
7379 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7381 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7383 ac_save_LIBS
="$LIBS"
7384 LIBS
="$LIBS $IOKITLIB"
7385 for ac_func
in IOHIDManagerCreate
7387 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7388 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7389 cat >>confdefs.h
<<_ACEOF
7390 #define HAVE_IOHIDMANAGERCREATE 1
7396 LIBS
="$ac_save_LIBS"
7398 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7400 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7402 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7404 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7406 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7408 CARBONLIB
="-framework Carbon"
7412 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7414 ac_save_LIBS
="$LIBS"
7415 LIBS
="$LIBS $APPLICATIONSERVICESLIB"
7416 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7417 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7418 enable_winemac_drv
=${enable_winemac_drv:-yes}
7421 LIBS
="$ac_save_LIBS"
7424 if test "x$enable_win16" = "xyes"
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7427 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7428 if test "$cross_compiling" = yes; then :
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7430 $as_echo "cross-compiling, assuming yes" >&6; }
7432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7433 /* end confdefs.h. */
7436 "good:\tnop;nop\n\t"
7437 ".globl _testfunc\n"
7438 "_testfunc:\tcallw good");
7439 extern void testfunc();
7443 unsigned short *p = (unsigned short *)testfunc;
7444 return p[0] != 0xe866 || p[1] != 0xfffa
7449 if ac_fn_c_try_run
"$LINENO"; then :
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7451 $as_echo "yes" >&6; }
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7454 $as_echo "no" >&6; }
7455 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
7457 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7458 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7466 libwine.\$(VERSION).dylib: \$(OBJS)
7467 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7469 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
7470 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
7472 libwine.dylib: libwine.\$(SOVERSION).dylib
7473 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
7475 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
7476 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
7477 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7479 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7480 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
7483 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7486 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
7490 as_fn_append LOADER_RULES
"
7491 $wine_binary: main.o wine_info.plist
7492 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7494 wine-installed: main.o wine_info.plist
7495 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7497 wine_info.plist: wine_info.plist.in \$(top_builddir)/include/config.h
7498 LC_ALL=C sed -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g' \$(srcdir)/wine_info.plist.in >\$@ || (\$(RM) \$@ && false)
7503 DLLFLAGS
="$DLLFLAGS -fPIC"
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7508 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7509 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7510 $as_echo_n "(cached) " >&6
7512 ac_wine_try_cflags_saved
=$CFLAGS
7513 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7515 /* end confdefs.h. */
7516 int main(int argc, char **argv) { return 0; }
7518 if ac_fn_c_try_link
"$LINENO"; then :
7519 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7521 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7523 rm -f core conftest.err conftest.
$ac_objext \
7524 conftest
$ac_exeext conftest.
$ac_ext
7525 CFLAGS
=$ac_wine_try_cflags_saved
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7528 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7529 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7530 LDEXECFLAGS
="-Wl,--export-dynamic"
7532 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7534 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7535 if eval \
${$as_ac_var+:} false
; then :
7536 $as_echo_n "(cached) " >&6
7538 ac_wine_try_cflags_saved
=$CFLAGS
7539 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7541 /* end confdefs.h. */
7542 int main(int argc, char **argv) { return 0; }
7544 if ac_fn_c_try_link
"$LINENO"; then :
7545 eval "$as_ac_var=yes"
7547 eval "$as_ac_var=no"
7549 rm -f core conftest.err conftest.
$ac_objext \
7550 conftest
$ac_exeext conftest.
$ac_ext
7551 CFLAGS
=$ac_wine_try_cflags_saved
7553 eval ac_res
=\$
$as_ac_var
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7555 $as_echo "$ac_res" >&6; }
7556 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7557 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7558 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7560 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7562 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7563 if eval \
${$as_ac_var+:} false
; then :
7564 $as_echo_n "(cached) " >&6
7566 ac_wine_try_cflags_saved
=$CFLAGS
7567 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7569 /* end confdefs.h. */
7570 int main(int argc, char **argv) { return 0; }
7572 if ac_fn_c_try_link
"$LINENO"; then :
7573 eval "$as_ac_var=yes"
7575 eval "$as_ac_var=no"
7577 rm -f core conftest.err conftest.
$ac_objext \
7578 conftest
$ac_exeext conftest.
$ac_ext
7579 CFLAGS
=$ac_wine_try_cflags_saved
7581 eval ac_res
=\$
$as_ac_var
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7583 $as_echo "$ac_res" >&6; }
7584 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7585 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7586 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7591 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7592 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7593 $as_echo_n "(cached) " >&6
7595 ac_wine_try_cflags_saved
=$CFLAGS
7596 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7598 /* end confdefs.h. */
7599 int main(int argc, char **argv) { return 0; }
7601 if ac_fn_c_try_link
"$LINENO"; then :
7602 ac_cv_cflags__Wl___enable_new_dtags
=yes
7604 ac_cv_cflags__Wl___enable_new_dtags
=no
7606 rm -f core conftest.err conftest.
$ac_objext \
7607 conftest
$ac_exeext conftest.
$ac_ext
7608 CFLAGS
=$ac_wine_try_cflags_saved
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7611 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7612 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7613 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7617 *i
[3456789]86* | x86_64
)
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7619 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7620 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7621 $as_echo_n "(cached) " >&6
7623 ac_wine_try_cflags_saved
=$CFLAGS
7624 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7626 /* end confdefs.h. */
7627 int main(int argc, char **argv) { return 0; }
7629 if ac_fn_c_try_link
"$LINENO"; then :
7630 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7632 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7634 rm -f core conftest.err conftest.
$ac_objext \
7635 conftest
$ac_exeext conftest.
$ac_ext
7636 CFLAGS
=$ac_wine_try_cflags_saved
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7639 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7640 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7641 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7649 libwine.so: \$(OBJS)
7650 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7652 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
7653 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
7656 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
7659 \$(RM) libwine.so version.c
7663 as_fn_append LOADER_RULES
"
7664 $wine_binary: main.o
7665 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7667 wine-installed: main.o
7668 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7673 DLLFLAGS
="$DLLFLAGS -fPIC"
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7676 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7677 if ${ac_cv_c_dll_gnuelf+:} false
; then :
7678 $as_echo_n "(cached) " >&6
7680 ac_wine_try_cflags_saved
=$CFLAGS
7681 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7683 /* end confdefs.h. */
7686 if ac_fn_c_try_link
"$LINENO"; then :
7687 ac_cv_c_dll_gnuelf
="yes"
7689 ac_cv_c_dll_gnuelf
="no"
7691 rm -f core conftest.err conftest.
$ac_objext \
7692 conftest
$ac_exeext conftest.
$ac_ext
7693 CFLAGS
=$ac_wine_try_cflags_saved
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7696 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7697 if test "$ac_cv_c_dll_gnuelf" = "yes"
7699 LDSHARED
="\$(CC) -shared"
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7701 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7702 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
7703 $as_echo_n "(cached) " >&6
7705 ac_wine_try_cflags_saved
=$CFLAGS
7706 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7708 /* end confdefs.h. */
7709 int main(int argc, char **argv) { return 0; }
7711 if ac_fn_c_try_link
"$LINENO"; then :
7712 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
7714 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
7716 rm -f core conftest.err conftest.
$ac_objext \
7717 conftest
$ac_exeext conftest.
$ac_ext
7718 CFLAGS
=$ac_wine_try_cflags_saved
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7721 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7722 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7723 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7726 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7727 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
7728 $as_echo_n "(cached) " >&6
7730 ac_wine_try_cflags_saved
=$CFLAGS
7731 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7733 /* end confdefs.h. */
7734 int main(int argc, char **argv) { return 0; }
7736 if ac_fn_c_try_link
"$LINENO"; then :
7737 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
7739 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
7741 rm -f core conftest.err conftest.
$ac_objext \
7742 conftest
$ac_exeext conftest.
$ac_ext
7743 CFLAGS
=$ac_wine_try_cflags_saved
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7746 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7747 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7748 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7752 echo '{ global: *; };' >conftest.map
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7754 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7755 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
7756 $as_echo_n "(cached) " >&6
7758 ac_wine_try_cflags_saved
=$CFLAGS
7759 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7761 /* end confdefs.h. */
7762 int main(int argc, char **argv) { return 0; }
7764 if ac_fn_c_try_link
"$LINENO"; then :
7765 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
7767 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
7769 rm -f core conftest.err conftest.
$ac_objext \
7770 conftest
$ac_exeext conftest.
$ac_ext
7771 CFLAGS
=$ac_wine_try_cflags_saved
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7774 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7775 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7776 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7781 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7782 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7783 $as_echo_n "(cached) " >&6
7785 ac_wine_try_cflags_saved
=$CFLAGS
7786 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7788 /* end confdefs.h. */
7789 int main(int argc, char **argv) { return 0; }
7791 if ac_fn_c_try_link
"$LINENO"; then :
7792 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7794 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7796 rm -f core conftest.err conftest.
$ac_objext \
7797 conftest
$ac_exeext conftest.
$ac_ext
7798 CFLAGS
=$ac_wine_try_cflags_saved
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7801 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7802 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7803 LDEXECFLAGS
="-Wl,--export-dynamic"
7806 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7808 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7809 if eval \
${$as_ac_var+:} false
; then :
7810 $as_echo_n "(cached) " >&6
7812 ac_wine_try_cflags_saved
=$CFLAGS
7813 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7815 /* end confdefs.h. */
7816 int main(int argc, char **argv) { return 0; }
7818 if ac_fn_c_try_link
"$LINENO"; then :
7819 eval "$as_ac_var=yes"
7821 eval "$as_ac_var=no"
7823 rm -f core conftest.err conftest.
$ac_objext \
7824 conftest
$ac_exeext conftest.
$ac_ext
7825 CFLAGS
=$ac_wine_try_cflags_saved
7827 eval ac_res
=\$
$as_ac_var
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7829 $as_echo "$ac_res" >&6; }
7830 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7831 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7832 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7834 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7836 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7837 if eval \
${$as_ac_var+:} false
; then :
7838 $as_echo_n "(cached) " >&6
7840 ac_wine_try_cflags_saved
=$CFLAGS
7841 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7843 /* end confdefs.h. */
7844 int main(int argc, char **argv) { return 0; }
7846 if ac_fn_c_try_link
"$LINENO"; then :
7847 eval "$as_ac_var=yes"
7849 eval "$as_ac_var=no"
7851 rm -f core conftest.err conftest.
$ac_objext \
7852 conftest
$ac_exeext conftest.
$ac_ext
7853 CFLAGS
=$ac_wine_try_cflags_saved
7855 eval ac_res
=\$
$as_ac_var
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7857 $as_echo "$ac_res" >&6; }
7858 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7859 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7860 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7865 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7866 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7867 $as_echo_n "(cached) " >&6
7869 ac_wine_try_cflags_saved
=$CFLAGS
7870 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7872 /* end confdefs.h. */
7873 int main(int argc, char **argv) { return 0; }
7875 if ac_fn_c_try_link
"$LINENO"; then :
7876 ac_cv_cflags__Wl___enable_new_dtags
=yes
7878 ac_cv_cflags__Wl___enable_new_dtags
=no
7880 rm -f core conftest.err conftest.
$ac_objext \
7881 conftest
$ac_exeext conftest.
$ac_ext
7882 CFLAGS
=$ac_wine_try_cflags_saved
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7885 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7886 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7887 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7891 *i
[3456789]86* | x86_64
)
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7893 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7894 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7895 $as_echo_n "(cached) " >&6
7897 ac_wine_try_cflags_saved
=$CFLAGS
7898 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7900 /* end confdefs.h. */
7901 int main(int argc, char **argv) { return 0; }
7903 if ac_fn_c_try_link
"$LINENO"; then :
7904 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7906 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7908 rm -f core conftest.err conftest.
$ac_objext \
7909 conftest
$ac_exeext conftest.
$ac_ext
7910 CFLAGS
=$ac_wine_try_cflags_saved
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7913 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7914 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7916 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7917 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7921 # Extract the first word of "prelink", so it can be a program name with args.
7922 set dummy prelink
; ac_word
=$2
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7924 $as_echo_n "checking for $ac_word... " >&6; }
7925 if ${ac_cv_path_PRELINK+:} false
; then :
7926 $as_echo_n "(cached) " >&6
7930 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
7933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7934 for as_dir
in /sbin
/usr
/sbin
$PATH
7937 test -z "$as_dir" && as_dir
=.
7938 for ac_exec_ext
in '' $ac_executable_extensions; do
7939 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7940 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
7941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7948 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
7952 PRELINK
=$ac_cv_path_PRELINK
7953 if test -n "$PRELINK"; then
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7955 $as_echo "$PRELINK" >&6; }
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7958 $as_echo "no" >&6; }
7962 if test "x$PRELINK" = xfalse
7964 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7971 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7972 if ${ac_cv_c_dll_unixware+:} false
; then :
7973 $as_echo_n "(cached) " >&6
7975 ac_wine_try_cflags_saved
=$CFLAGS
7976 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7978 /* end confdefs.h. */
7981 if ac_fn_c_try_link
"$LINENO"; then :
7982 ac_cv_c_dll_unixware
="yes"
7984 ac_cv_c_dll_unixware
="no"
7986 rm -f core conftest.err conftest.
$ac_objext \
7987 conftest
$ac_exeext conftest.
$ac_ext
7988 CFLAGS
=$ac_wine_try_cflags_saved
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7991 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7992 if test "$ac_cv_c_dll_unixware" = "yes"
7994 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
8000 libwine.so.\$(VERSION): \$(OBJS) wine.map
8001 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8003 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
8004 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
8006 libwine.so: libwine.so.\$(SOVERSION)
8007 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
8009 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
8010 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
8011 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8013 install install-dev:: \$(DESTDIR)\$(libdir) dummy
8014 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
8017 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8020 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
8024 as_fn_append LOADER_RULES
"
8025 $wine_binary: main.o
8026 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8028 wine-installed: main.o
8029 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8034 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8035 enable_winemac_drv
=${enable_winemac_drv:-no}
8039 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8043 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
8046 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 " ;;
8048 ac_prefix_list
="" ;;
8050 for ac_prog
in $ac_prefix_list
8052 # Extract the first word of "$ac_prog", so it can be a program name with args.
8053 set dummy
$ac_prog; ac_word
=$2
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8055 $as_echo_n "checking for $ac_word... " >&6; }
8056 if ${ac_cv_prog_CROSSCC+:} false
; then :
8057 $as_echo_n "(cached) " >&6
8059 if test -n "$CROSSCC"; then
8060 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8066 test -z "$as_dir" && as_dir
=.
8067 for ac_exec_ext
in '' $ac_executable_extensions; do
8068 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8069 ac_cv_prog_CROSSCC
="$ac_prog"
8070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8079 CROSSCC
=$ac_cv_prog_CROSSCC
8080 if test -n "$CROSSCC"; then
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8082 $as_echo "$CROSSCC" >&6; }
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8085 $as_echo "no" >&6; }
8089 test -n "$CROSSCC" && break
8091 test -n "$CROSSCC" || CROSSCC
="false"
8093 if test "$CROSSCC" != "false"
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8098 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8100 /* end confdefs.h. */
8110 if ac_fn_c_try_compile
"$LINENO"; then :
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8112 $as_echo "yes" >&6; }
8118 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8124 $as_echo "no" >&6; }
8126 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8132 if test "$ac_cv_header_pthread_h" = "yes"
8134 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8135 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8139 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8140 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8141 $as_echo_n "(cached) " >&6
8143 ac_check_lib_save_LIBS
=$LIBS
8144 LIBS
="-lpthread $LIBS"
8145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8146 /* end confdefs.h. */
8148 /* Override any GCC internal prototype to avoid an error.
8149 Use char because int might match the return type of a GCC
8150 builtin and then its argument prototype would still apply. */
8154 char pthread_create ();
8158 return pthread_create ();
8163 if ac_fn_c_try_link
"$LINENO"; then :
8164 ac_cv_lib_pthread_pthread_create
=yes
8166 ac_cv_lib_pthread_pthread_create
=no
8168 rm -f core conftest.err conftest.
$ac_objext \
8169 conftest
$ac_exeext conftest.
$ac_ext
8170 LIBS
=$ac_check_lib_save_LIBS
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8173 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8174 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8175 LIBPTHREAD
="-lpthread"
8182 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$LIBPTHREAD" = x
; then :
8183 case "x$with_pthread" in
8185 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8186 Wine cannot support threads without libpthread.
8187 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8193 $as_echo_n "checking for X... " >&6; }
8196 # Check whether --with-x was given.
8197 if test "${with_x+set}" = set; then :
8201 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8202 if test "x$with_x" = xno
; then
8203 # The user explicitly disabled X.
8206 case $x_includes,$x_libraries in #(
8207 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8208 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8209 $as_echo_n "(cached) " >&6
8211 # One or both of the vars are not set, and there is no cached value.
8212 ac_x_includes
=no ac_x_libraries
=no
8213 rm -f -r conftest.dir
8214 if mkdir conftest.dir
; then
8216 cat >Imakefile
<<'_ACEOF'
8218 @echo incroot='${INCROOT}'
8220 @echo usrlibdir='${USRLIBDIR}'
8222 @echo libdir='${LIBDIR}'
8224 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8225 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8226 for ac_var
in incroot usrlibdir libdir
; do
8227 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8229 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8230 for ac_extension
in a so sl dylib la dll
; do
8231 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8232 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8233 ac_im_usrlibdir
=$ac_im_libdir; break
8236 # Screen out bogus values from the imake configuration. They are
8237 # bogus both because they are the default anyway, and because
8238 # using them would break gcc on systems where it needs fixed includes.
8239 case $ac_im_incroot in
8240 /usr
/include
) ac_x_includes
= ;;
8241 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8243 case $ac_im_usrlibdir in
8244 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8245 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8249 rm -f -r conftest.dir
8252 # Standard set of common directories for X headers.
8253 # Check X11 before X11Rn because it is often a symlink to the current release.
8267 /usr/local/X11/include
8268 /usr/local/X11R7/include
8269 /usr/local/X11R6/include
8270 /usr/local/X11R5/include
8271 /usr/local/X11R4/include
8273 /usr/local/include/X11
8274 /usr/local/include/X11R7
8275 /usr/local/include/X11R6
8276 /usr/local/include/X11R5
8277 /usr/local/include/X11R4
8281 /usr/XFree86/include/X11
8285 /usr/unsupported/include
8287 /usr/local/x11r5/include
8288 /usr/lpp/Xamples/include
8290 /usr/openwin/include
8291 /usr/openwin/share/include'
8293 if test "$ac_x_includes" = no
; then
8294 # Guess where to find include files, by looking for Xlib.h.
8295 # First, try using that file with no special directory specified.
8296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8297 /* end confdefs.h. */
8298 #include <X11/Xlib.h>
8300 if ac_fn_c_try_cpp
"$LINENO"; then :
8301 # We can compile using X headers with no special include directory.
8304 for ac_dir
in $ac_x_header_dirs; do
8305 if test -r "$ac_dir/X11/Xlib.h"; then
8306 ac_x_includes
=$ac_dir
8311 rm -f conftest.err conftest.i conftest.
$ac_ext
8312 fi # $ac_x_includes = no
8314 if test "$ac_x_libraries" = no
; then
8315 # Check for the libraries.
8316 # See if we find them without any special options.
8317 # Don't add to $LIBS permanently.
8320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8321 /* end confdefs.h. */
8322 #include <X11/Xlib.h>
8331 if ac_fn_c_try_link
"$LINENO"; then :
8333 # We can link X programs with no special library path.
8337 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8339 # Don't even attempt the hair of trying to link an X program!
8340 for ac_extension
in a so sl dylib la dll
; do
8341 if test -r "$ac_dir/libX11.$ac_extension"; then
8342 ac_x_libraries
=$ac_dir
8348 rm -f core conftest.err conftest.
$ac_objext \
8349 conftest
$ac_exeext conftest.
$ac_ext
8350 fi # $ac_x_libraries = no
8352 case $ac_x_includes,$ac_x_libraries in #(
8354 # Didn't find X, or a directory has "'" in its name.
8355 ac_cv_have_x
="have_x=no";; #(
8357 # Record where we found X for the cache.
8358 ac_cv_have_x
="have_x=yes\
8359 ac_x_includes='$ac_x_includes'\
8360 ac_x_libraries='$ac_x_libraries'"
8366 eval "$ac_cv_have_x"
8369 if test "$have_x" != yes; then
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8371 $as_echo "$have_x" >&6; }
8374 # If each of the values was on the command line, it overrides each guess.
8375 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8376 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8377 # Update the cache value to reflect the command line values.
8378 ac_cv_have_x
="have_x=yes\
8379 ac_x_includes='$x_includes'\
8380 ac_x_libraries='$x_libraries'"
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8382 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8385 if test "$no_x" = yes; then
8386 # Not all programs may use this symbol, but it does not hurt to define it.
8388 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8390 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8392 if test -n "$x_includes"; then
8393 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8396 # It would also be nice to do this for all -L options, not just this one.
8397 if test -n "$x_libraries"; then
8398 X_LIBS
="$X_LIBS -L$x_libraries"
8399 # For Solaris; some versions of Sun CC require a space after -R and
8400 # others require no space. Words are not sufficient . . . .
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8402 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8403 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8404 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8405 ac_c_werror_flag
=yes
8406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8407 /* end confdefs.h. */
8417 if ac_fn_c_try_link
"$LINENO"; then :
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8419 $as_echo "no" >&6; }
8420 X_LIBS
="$X_LIBS -R$x_libraries"
8422 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8424 /* end confdefs.h. */
8434 if ac_fn_c_try_link
"$LINENO"; then :
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8436 $as_echo "yes" >&6; }
8437 X_LIBS
="$X_LIBS -R $x_libraries"
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8440 $as_echo "neither works" >&6; }
8442 rm -f core conftest.err conftest.
$ac_objext \
8443 conftest
$ac_exeext conftest.
$ac_ext
8445 rm -f core conftest.err conftest.
$ac_objext \
8446 conftest
$ac_exeext conftest.
$ac_ext
8447 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8451 # Check for system-dependent libraries X programs must link with.
8452 # Do this before checking for the system-independent R6 libraries
8453 # (-lICE), since we may need -lsocket or whatever for X linking.
8455 if test "$ISC" = yes; then
8456 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8458 # Martyn Johnson says this is needed for Ultrix, if the X
8459 # libraries were built with DECnet support. And Karl Berry says
8460 # the Alpha needs dnet_stub (dnet does not exist).
8461 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8463 /* end confdefs.h. */
8465 /* Override any GCC internal prototype to avoid an error.
8466 Use char because int might match the return type of a GCC
8467 builtin and then its argument prototype would still apply. */
8471 char XOpenDisplay ();
8475 return XOpenDisplay ();
8480 if ac_fn_c_try_link
"$LINENO"; then :
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8484 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8485 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8486 $as_echo_n "(cached) " >&6
8488 ac_check_lib_save_LIBS
=$LIBS
8490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8491 /* end confdefs.h. */
8493 /* Override any GCC internal prototype to avoid an error.
8494 Use char because int might match the return type of a GCC
8495 builtin and then its argument prototype would still apply. */
8503 return dnet_ntoa ();
8508 if ac_fn_c_try_link
"$LINENO"; then :
8509 ac_cv_lib_dnet_dnet_ntoa
=yes
8511 ac_cv_lib_dnet_dnet_ntoa
=no
8513 rm -f core conftest.err conftest.
$ac_objext \
8514 conftest
$ac_exeext conftest.
$ac_ext
8515 LIBS
=$ac_check_lib_save_LIBS
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8518 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8519 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8520 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8523 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8525 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8526 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8527 $as_echo_n "(cached) " >&6
8529 ac_check_lib_save_LIBS
=$LIBS
8530 LIBS
="-ldnet_stub $LIBS"
8531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8532 /* end confdefs.h. */
8534 /* Override any GCC internal prototype to avoid an error.
8535 Use char because int might match the return type of a GCC
8536 builtin and then its argument prototype would still apply. */
8544 return dnet_ntoa ();
8549 if ac_fn_c_try_link
"$LINENO"; then :
8550 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8552 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8554 rm -f core conftest.err conftest.
$ac_objext \
8555 conftest
$ac_exeext conftest.
$ac_ext
8556 LIBS
=$ac_check_lib_save_LIBS
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8559 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8560 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8561 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8566 rm -f core conftest.err conftest.
$ac_objext \
8567 conftest
$ac_exeext conftest.
$ac_ext
8568 LIBS
="$ac_xsave_LIBS"
8570 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8571 # to get the SysV transport functions.
8572 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8574 # The nsl library prevents programs from opening the X display
8575 # on Irix 5.2, according to T.E. Dickey.
8576 # The functions gethostbyname, getservbyname, and inet_addr are
8577 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8578 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8579 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8583 if test $ac_cv_func_gethostbyname = no
; then
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8585 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8586 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8587 $as_echo_n "(cached) " >&6
8589 ac_check_lib_save_LIBS
=$LIBS
8591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8592 /* end confdefs.h. */
8594 /* Override any GCC internal prototype to avoid an error.
8595 Use char because int might match the return type of a GCC
8596 builtin and then its argument prototype would still apply. */
8600 char gethostbyname ();
8604 return gethostbyname ();
8609 if ac_fn_c_try_link
"$LINENO"; then :
8610 ac_cv_lib_nsl_gethostbyname
=yes
8612 ac_cv_lib_nsl_gethostbyname
=no
8614 rm -f core conftest.err conftest.
$ac_objext \
8615 conftest
$ac_exeext conftest.
$ac_ext
8616 LIBS
=$ac_check_lib_save_LIBS
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8619 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8620 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
8621 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8624 if test $ac_cv_lib_nsl_gethostbyname = no
; then
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8626 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8627 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
8628 $as_echo_n "(cached) " >&6
8630 ac_check_lib_save_LIBS
=$LIBS
8632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8633 /* end confdefs.h. */
8635 /* Override any GCC internal prototype to avoid an error.
8636 Use char because int might match the return type of a GCC
8637 builtin and then its argument prototype would still apply. */
8641 char gethostbyname ();
8645 return gethostbyname ();
8650 if ac_fn_c_try_link
"$LINENO"; then :
8651 ac_cv_lib_bsd_gethostbyname
=yes
8653 ac_cv_lib_bsd_gethostbyname
=no
8655 rm -f core conftest.err conftest.
$ac_objext \
8656 conftest
$ac_exeext conftest.
$ac_ext
8657 LIBS
=$ac_check_lib_save_LIBS
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8660 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8661 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
8662 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
8668 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8669 # socket/setsockopt and other routines are undefined under SCO ODT
8670 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8671 # on later versions), says Simon Leinen: it contains gethostby*
8672 # variants that don't use the name server (or something). -lsocket
8673 # must be given before -lnsl if both are needed. We assume that
8674 # if connect needs -lnsl, so does gethostbyname.
8675 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
8676 if test "x$ac_cv_func_connect" = xyes
; then :
8680 if test $ac_cv_func_connect = no
; then
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8682 $as_echo_n "checking for connect in -lsocket... " >&6; }
8683 if ${ac_cv_lib_socket_connect+:} false
; then :
8684 $as_echo_n "(cached) " >&6
8686 ac_check_lib_save_LIBS
=$LIBS
8687 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8689 /* end confdefs.h. */
8691 /* Override any GCC internal prototype to avoid an error.
8692 Use char because int might match the return type of a GCC
8693 builtin and then its argument prototype would still apply. */
8706 if ac_fn_c_try_link
"$LINENO"; then :
8707 ac_cv_lib_socket_connect
=yes
8709 ac_cv_lib_socket_connect
=no
8711 rm -f core conftest.err conftest.
$ac_objext \
8712 conftest
$ac_exeext conftest.
$ac_ext
8713 LIBS
=$ac_check_lib_save_LIBS
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8716 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8717 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
8718 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8723 # Guillermo Gomez says -lposix is necessary on A/UX.
8724 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
8725 if test "x$ac_cv_func_remove" = xyes
; then :
8729 if test $ac_cv_func_remove = no
; then
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8731 $as_echo_n "checking for remove in -lposix... " >&6; }
8732 if ${ac_cv_lib_posix_remove+:} false
; then :
8733 $as_echo_n "(cached) " >&6
8735 ac_check_lib_save_LIBS
=$LIBS
8736 LIBS
="-lposix $LIBS"
8737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8738 /* end confdefs.h. */
8740 /* Override any GCC internal prototype to avoid an error.
8741 Use char because int might match the return type of a GCC
8742 builtin and then its argument prototype would still apply. */
8755 if ac_fn_c_try_link
"$LINENO"; then :
8756 ac_cv_lib_posix_remove
=yes
8758 ac_cv_lib_posix_remove
=no
8760 rm -f core conftest.err conftest.
$ac_objext \
8761 conftest
$ac_exeext conftest.
$ac_ext
8762 LIBS
=$ac_check_lib_save_LIBS
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8765 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8766 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
8767 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8772 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8773 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
8774 if test "x$ac_cv_func_shmat" = xyes
; then :
8778 if test $ac_cv_func_shmat = no
; then
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8780 $as_echo_n "checking for shmat in -lipc... " >&6; }
8781 if ${ac_cv_lib_ipc_shmat+:} false
; then :
8782 $as_echo_n "(cached) " >&6
8784 ac_check_lib_save_LIBS
=$LIBS
8786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8787 /* end confdefs.h. */
8789 /* Override any GCC internal prototype to avoid an error.
8790 Use char because int might match the return type of a GCC
8791 builtin and then its argument prototype would still apply. */
8804 if ac_fn_c_try_link
"$LINENO"; then :
8805 ac_cv_lib_ipc_shmat
=yes
8807 ac_cv_lib_ipc_shmat
=no
8809 rm -f core conftest.err conftest.
$ac_objext \
8810 conftest
$ac_exeext conftest.
$ac_ext
8811 LIBS
=$ac_check_lib_save_LIBS
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8814 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8815 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
8816 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8822 # Check for libraries that X11R6 Xt/Xaw programs need.
8823 ac_save_LDFLAGS
=$LDFLAGS
8824 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8825 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8826 # check for ICE first), but we must link in the order -lSM -lICE or
8827 # we get undefined symbols. So assume we have SM if we have ICE.
8828 # These have to be linked with before -lX11, unlike the other
8829 # libraries we check for below, so use a different variable.
8830 # John Interrante, Karl Berry
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8832 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8833 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
8834 $as_echo_n "(cached) " >&6
8836 ac_check_lib_save_LIBS
=$LIBS
8837 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8839 /* end confdefs.h. */
8841 /* Override any GCC internal prototype to avoid an error.
8842 Use char because int might match the return type of a GCC
8843 builtin and then its argument prototype would still apply. */
8847 char IceConnectionNumber ();
8851 return IceConnectionNumber ();
8856 if ac_fn_c_try_link
"$LINENO"; then :
8857 ac_cv_lib_ICE_IceConnectionNumber
=yes
8859 ac_cv_lib_ICE_IceConnectionNumber
=no
8861 rm -f core conftest.err conftest.
$ac_objext \
8862 conftest
$ac_exeext conftest.
$ac_ext
8863 LIBS
=$ac_check_lib_save_LIBS
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8866 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8867 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
8868 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8871 LDFLAGS
=$ac_save_LDFLAGS
8876 if test "$have_x" = "yes"
8879 ac_save_CPPFLAGS
="$CPPFLAGS"
8880 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8883 $as_echo_n "checking for -lX11... " >&6; }
8884 if ${ac_cv_lib_soname_X11+:} false
; then :
8885 $as_echo_n "(cached) " >&6
8887 ac_check_soname_save_LIBS
=$LIBS
8888 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8890 /* end confdefs.h. */
8892 /* Override any GCC internal prototype to avoid an error.
8893 Use char because int might match the return type of a GCC
8894 builtin and then its argument prototype would still apply. */
8898 char XCreateWindow ();
8902 return XCreateWindow ();
8907 if ac_fn_c_try_link
"$LINENO"; then :
8909 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8910 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'` ;;
8911 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8912 if test "x$ac_cv_lib_soname_X11" = x
; then :
8913 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8917 rm -f core conftest.err conftest.
$ac_objext \
8918 conftest
$ac_exeext conftest.
$ac_ext
8919 LIBS
=$ac_check_soname_save_LIBS
8921 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8923 $as_echo "not found" >&6; }
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8927 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8929 cat >>confdefs.h
<<_ACEOF
8930 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8936 $as_echo_n "checking for -lXext... " >&6; }
8937 if ${ac_cv_lib_soname_Xext+:} false
; then :
8938 $as_echo_n "(cached) " >&6
8940 ac_check_soname_save_LIBS
=$LIBS
8941 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8943 /* end confdefs.h. */
8945 /* Override any GCC internal prototype to avoid an error.
8946 Use char because int might match the return type of a GCC
8947 builtin and then its argument prototype would still apply. */
8951 char XextCreateExtension ();
8955 return XextCreateExtension ();
8960 if ac_fn_c_try_link
"$LINENO"; then :
8962 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8963 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'` ;;
8964 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8965 if test "x$ac_cv_lib_soname_Xext" = x
; then :
8966 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8970 rm -f core conftest.err conftest.
$ac_objext \
8971 conftest
$ac_exeext conftest.
$ac_ext
8972 LIBS
=$ac_check_soname_save_LIBS
8974 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8976 $as_echo "not found" >&6; }
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8980 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8982 cat >>confdefs.h
<<_ACEOF
8983 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8989 for ac_header
in X11
/Xlib.h \
8992 X11
/Xcursor
/Xcursor.h \
8993 X11
/extensions
/shape.h \
8994 X11
/extensions
/XInput.h \
8995 X11
/extensions
/XInput2.h \
8996 X11
/extensions
/XShm.h \
8997 X11
/extensions
/Xcomposite.h \
8998 X11
/extensions
/Xinerama.h \
8999 X11
/extensions
/Xrandr.h \
9000 X11
/extensions
/Xrender.h \
9001 X11
/extensions
/xf86vmode.h \
9002 X11
/extensions
/xf86vmproto.h
9004 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9005 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9006 # include <X11/Xlib.h>
9008 #ifdef HAVE_X11_XUTIL_H
9009 # include <X11/Xutil.h>
9012 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9013 cat >>confdefs.h
<<_ACEOF
9014 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9022 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9025 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9026 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9027 $as_echo_n "(cached) " >&6
9029 ac_check_lib_save_LIBS
=$LIBS
9030 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9032 /* end confdefs.h. */
9034 /* Override any GCC internal prototype to avoid an error.
9035 Use char because int might match the return type of a GCC
9036 builtin and then its argument prototype would still apply. */
9040 char XkbQueryExtension ();
9044 return XkbQueryExtension ();
9049 if ac_fn_c_try_link
"$LINENO"; then :
9050 ac_cv_lib_X11_XkbQueryExtension
=yes
9052 ac_cv_lib_X11_XkbQueryExtension
=no
9054 rm -f core conftest.err conftest.
$ac_objext \
9055 conftest
$ac_exeext conftest.
$ac_ext
9056 LIBS
=$ac_check_lib_save_LIBS
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9059 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9060 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9062 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9068 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9071 $as_echo_n "checking for -lXcursor... " >&6; }
9072 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9073 $as_echo_n "(cached) " >&6
9075 ac_check_soname_save_LIBS
=$LIBS
9076 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9078 /* end confdefs.h. */
9080 /* Override any GCC internal prototype to avoid an error.
9081 Use char because int might match the return type of a GCC
9082 builtin and then its argument prototype would still apply. */
9086 char XcursorImageLoadCursor ();
9090 return XcursorImageLoadCursor ();
9095 if ac_fn_c_try_link
"$LINENO"; then :
9097 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9098 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'` ;;
9099 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9100 if test "x$ac_cv_lib_soname_Xcursor" = x
; then :
9101 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9105 rm -f core conftest.err conftest.
$ac_objext \
9106 conftest
$ac_exeext conftest.
$ac_ext
9107 LIBS
=$ac_check_soname_save_LIBS
9109 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9111 $as_echo "not found" >&6; }
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9115 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9117 cat >>confdefs.h
<<_ACEOF
9118 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9124 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9125 case "x$with_xcursor" in
9126 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9128 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9129 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9133 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9136 $as_echo_n "checking for -lXi... " >&6; }
9137 if ${ac_cv_lib_soname_Xi+:} false
; then :
9138 $as_echo_n "(cached) " >&6
9140 ac_check_soname_save_LIBS
=$LIBS
9141 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9143 /* end confdefs.h. */
9145 /* Override any GCC internal prototype to avoid an error.
9146 Use char because int might match the return type of a GCC
9147 builtin and then its argument prototype would still apply. */
9151 char XOpenDevice ();
9155 return XOpenDevice ();
9160 if ac_fn_c_try_link
"$LINENO"; then :
9162 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9163 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'` ;;
9164 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9165 if test "x$ac_cv_lib_soname_Xi" = x
; then :
9166 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9170 rm -f core conftest.err conftest.
$ac_objext \
9171 conftest
$ac_exeext conftest.
$ac_ext
9172 LIBS
=$ac_check_soname_save_LIBS
9174 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9176 $as_echo "not found" >&6; }
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9180 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9182 cat >>confdefs.h
<<_ACEOF
9183 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9189 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9190 case "x$with_xinput" in
9191 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9193 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9194 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9198 if test "x$ac_cv_lib_soname_Xi" != x
9200 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9201 case "x$with_xinput2" in
9202 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9204 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9205 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9210 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9213 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9214 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9215 $as_echo_n "(cached) " >&6
9217 ac_check_lib_save_LIBS
=$LIBS
9218 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9220 /* end confdefs.h. */
9222 /* Override any GCC internal prototype to avoid an error.
9223 Use char because int might match the return type of a GCC
9224 builtin and then its argument prototype would still apply. */
9228 char XShmQueryExtension ();
9232 return XShmQueryExtension ();
9237 if ac_fn_c_try_link
"$LINENO"; then :
9238 ac_cv_lib_Xext_XShmQueryExtension
=yes
9240 ac_cv_lib_Xext_XShmQueryExtension
=no
9242 rm -f core conftest.err conftest.
$ac_objext \
9243 conftest
$ac_exeext conftest.
$ac_ext
9244 LIBS
=$ac_check_lib_save_LIBS
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9247 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9248 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9250 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9255 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9256 case "x$with_xshm" in
9257 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9259 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9260 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9264 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9267 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9268 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9269 $as_echo_n "(cached) " >&6
9271 ac_check_lib_save_LIBS
=$LIBS
9272 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9274 /* end confdefs.h. */
9276 /* Override any GCC internal prototype to avoid an error.
9277 Use char because int might match the return type of a GCC
9278 builtin and then its argument prototype would still apply. */
9282 char XShapeQueryExtension ();
9286 return XShapeQueryExtension ();
9291 if ac_fn_c_try_link
"$LINENO"; then :
9292 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9294 ac_cv_lib_Xext_XShapeQueryExtension
=no
9296 rm -f core conftest.err conftest.
$ac_objext \
9297 conftest
$ac_exeext conftest.
$ac_ext
9298 LIBS
=$ac_check_lib_save_LIBS
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9301 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9302 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9304 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9309 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9310 case "x$with_xshape" in
9311 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9313 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9314 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9318 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9321 $as_echo_n "checking for -lXxf86vm... " >&6; }
9322 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9323 $as_echo_n "(cached) " >&6
9325 ac_check_soname_save_LIBS
=$LIBS
9326 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9328 /* end confdefs.h. */
9330 /* Override any GCC internal prototype to avoid an error.
9331 Use char because int might match the return type of a GCC
9332 builtin and then its argument prototype would still apply. */
9336 char XF86VidModeQueryExtension ();
9340 return XF86VidModeQueryExtension ();
9345 if ac_fn_c_try_link
"$LINENO"; then :
9347 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9348 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'` ;;
9349 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9350 if test "x$ac_cv_lib_soname_Xxf86vm" = x
; then :
9351 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9355 rm -f core conftest.err conftest.
$ac_objext \
9356 conftest
$ac_exeext conftest.
$ac_ext
9357 LIBS
=$ac_check_soname_save_LIBS
9359 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9361 $as_echo "not found" >&6; }
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9365 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9367 cat >>confdefs.h
<<_ACEOF
9368 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9374 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9375 case "x$with_xxf86vm" in
9376 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9378 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9379 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9383 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"
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9386 $as_echo_n "checking for -lXrender... " >&6; }
9387 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9388 $as_echo_n "(cached) " >&6
9390 ac_check_soname_save_LIBS
=$LIBS
9391 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9393 /* end confdefs.h. */
9395 /* Override any GCC internal prototype to avoid an error.
9396 Use char because int might match the return type of a GCC
9397 builtin and then its argument prototype would still apply. */
9401 char XRenderQueryExtension ();
9405 return XRenderQueryExtension ();
9410 if ac_fn_c_try_link
"$LINENO"; then :
9412 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9413 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'` ;;
9414 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9415 if test "x$ac_cv_lib_soname_Xrender" = x
; then :
9416 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9420 rm -f core conftest.err conftest.
$ac_objext \
9421 conftest
$ac_exeext conftest.
$ac_ext
9422 LIBS
=$ac_check_soname_save_LIBS
9424 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9426 $as_echo "not found" >&6; }
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9430 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9432 cat >>confdefs.h
<<_ACEOF
9433 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9437 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9438 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9439 $as_echo_n "(cached) " >&6
9441 ac_check_lib_save_LIBS
=$LIBS
9442 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9444 /* end confdefs.h. */
9446 /* Override any GCC internal prototype to avoid an error.
9447 Use char because int might match the return type of a GCC
9448 builtin and then its argument prototype would still apply. */
9452 char XRenderSetPictureTransform ();
9456 return XRenderSetPictureTransform ();
9461 if ac_fn_c_try_link
"$LINENO"; then :
9462 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9464 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9466 rm -f core conftest.err conftest.
$ac_objext \
9467 conftest
$ac_exeext conftest.
$ac_ext
9468 LIBS
=$ac_check_lib_save_LIBS
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9471 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9472 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9474 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9479 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9480 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9481 $as_echo_n "(cached) " >&6
9483 ac_check_lib_save_LIBS
=$LIBS
9484 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9486 /* end confdefs.h. */
9488 /* Override any GCC internal prototype to avoid an error.
9489 Use char because int might match the return type of a GCC
9490 builtin and then its argument prototype would still apply. */
9494 char XRenderCreateLinearGradient ();
9498 return XRenderCreateLinearGradient ();
9503 if ac_fn_c_try_link
"$LINENO"; then :
9504 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9506 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9508 rm -f core conftest.err conftest.
$ac_objext \
9509 conftest
$ac_exeext conftest.
$ac_ext
9510 LIBS
=$ac_check_lib_save_LIBS
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9513 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9514 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9516 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9523 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9524 case "x$with_xrender" in
9525 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9527 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9528 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9532 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9535 /* end confdefs.h. */
9536 #include <X11/Xlib.h>
9537 #include <X11/extensions/Xrandr.h>
9541 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9546 if ac_fn_c_try_compile
"$LINENO"; then :
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9548 $as_echo_n "checking for -lXrandr... " >&6; }
9549 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9550 $as_echo_n "(cached) " >&6
9552 ac_check_soname_save_LIBS
=$LIBS
9553 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9555 /* end confdefs.h. */
9557 /* Override any GCC internal prototype to avoid an error.
9558 Use char because int might match the return type of a GCC
9559 builtin and then its argument prototype would still apply. */
9563 char XRRQueryExtension ();
9567 return XRRQueryExtension ();
9572 if ac_fn_c_try_link
"$LINENO"; then :
9574 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9575 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'` ;;
9576 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9577 if test "x$ac_cv_lib_soname_Xrandr" = x
; then :
9578 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9582 rm -f core conftest.err conftest.
$ac_objext \
9583 conftest
$ac_exeext conftest.
$ac_ext
9584 LIBS
=$ac_check_soname_save_LIBS
9586 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9588 $as_echo "not found" >&6; }
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9592 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9594 cat >>confdefs.h
<<_ACEOF
9595 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9599 /* end confdefs.h. */
9600 #include <X11/Xlib.h>
9601 #include <X11/extensions/Xrandr.h>
9605 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9610 if ac_fn_c_try_compile
"$LINENO"; then :
9612 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9620 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9621 case "x$with_xrandr" in
9622 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9624 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9625 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9629 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9632 /* end confdefs.h. */
9633 #include <X11/Xlib.h>
9634 #include <X11/extensions/Xinerama.h>
9638 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9643 if ac_fn_c_try_compile
"$LINENO"; then :
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9645 $as_echo_n "checking for -lXinerama... " >&6; }
9646 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
9647 $as_echo_n "(cached) " >&6
9649 ac_check_soname_save_LIBS
=$LIBS
9650 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9652 /* end confdefs.h. */
9654 /* Override any GCC internal prototype to avoid an error.
9655 Use char because int might match the return type of a GCC
9656 builtin and then its argument prototype would still apply. */
9660 char XineramaQueryScreens ();
9664 return XineramaQueryScreens ();
9669 if ac_fn_c_try_link
"$LINENO"; then :
9671 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9672 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'` ;;
9673 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9674 if test "x$ac_cv_lib_soname_Xinerama" = x
; then :
9675 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9679 rm -f core conftest.err conftest.
$ac_objext \
9680 conftest
$ac_exeext conftest.
$ac_ext
9681 LIBS
=$ac_check_soname_save_LIBS
9683 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9685 $as_echo "not found" >&6; }
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9689 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9691 cat >>confdefs.h
<<_ACEOF
9692 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9700 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9701 case "x$with_xinerama" in
9702 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9704 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9705 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9709 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9712 $as_echo_n "checking for -lXcomposite... " >&6; }
9713 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
9714 $as_echo_n "(cached) " >&6
9716 ac_check_soname_save_LIBS
=$LIBS
9717 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9719 /* end confdefs.h. */
9721 /* Override any GCC internal prototype to avoid an error.
9722 Use char because int might match the return type of a GCC
9723 builtin and then its argument prototype would still apply. */
9727 char XCompositeRedirectWindow ();
9731 return XCompositeRedirectWindow ();
9736 if ac_fn_c_try_link
"$LINENO"; then :
9738 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9739 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'` ;;
9740 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9741 if test "x$ac_cv_lib_soname_Xcomposite" = x
; then :
9742 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9746 rm -f core conftest.err conftest.
$ac_objext \
9747 conftest
$ac_exeext conftest.
$ac_ext
9748 LIBS
=$ac_check_soname_save_LIBS
9750 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9752 $as_echo "not found" >&6; }
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9756 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9758 cat >>confdefs.h
<<_ACEOF
9759 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9765 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9766 case "x$with_xcomposite" in
9767 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9769 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9770 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9774 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9775 #include <X11/Xlib.h>
9778 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
9780 cat >>confdefs.h
<<_ACEOF
9781 #define HAVE_XICCALLBACK_CALLBACK 1
9786 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9787 #include <X11/Xlib.h>
9790 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
9792 cat >>confdefs.h
<<_ACEOF
9793 #define HAVE_XEVENT_XCOOKIE 1
9802 if test "x$with_opengl" != "xno"
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9805 $as_echo_n "checking for -lGL... " >&6; }
9806 if ${ac_cv_lib_soname_GL+:} false
; then :
9807 $as_echo_n "(cached) " >&6
9809 ac_check_soname_save_LIBS
=$LIBS
9810 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9812 /* end confdefs.h. */
9814 /* Override any GCC internal prototype to avoid an error.
9815 Use char because int might match the return type of a GCC
9816 builtin and then its argument prototype would still apply. */
9820 char glXCreateContext ();
9824 return glXCreateContext ();
9829 if ac_fn_c_try_link
"$LINENO"; then :
9831 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9832 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'` ;;
9833 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9834 if test "x$ac_cv_lib_soname_GL" = x
; then :
9835 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9839 rm -f core conftest.err conftest.
$ac_objext \
9840 conftest
$ac_exeext conftest.
$ac_ext
9841 LIBS
=$ac_check_soname_save_LIBS
9843 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9845 $as_echo "not found" >&6; }
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9847 $as_echo_n "checking for -lGL... " >&6; }
9848 if ${ac_cv_lib_soname_GL+:} false
; then :
9849 $as_echo_n "(cached) " >&6
9851 ac_check_soname_save_LIBS
=$LIBS
9852 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"
9853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9854 /* end confdefs.h. */
9856 /* Override any GCC internal prototype to avoid an error.
9857 Use char because int might match the return type of a GCC
9858 builtin and then its argument prototype would still apply. */
9862 char glXCreateContext ();
9866 return glXCreateContext ();
9871 if ac_fn_c_try_link
"$LINENO"; then :
9873 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9874 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'` ;;
9875 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9876 if test "x$ac_cv_lib_soname_GL" = x
; then :
9877 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9881 rm -f core conftest.err conftest.
$ac_objext \
9882 conftest
$ac_exeext conftest.
$ac_ext
9883 LIBS
=$ac_check_soname_save_LIBS
9885 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9887 $as_echo "not found" >&6; }
9888 if test -f /usr
/X11R
6/lib
/libGL.a
9890 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
9891 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9893 opengl_msg
="No OpenGL library found on this system."
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9897 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9899 cat >>confdefs.h
<<_ACEOF
9900 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9903 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"
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9907 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9909 cat >>confdefs.h
<<_ACEOF
9910 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9915 if test "x$with_glu" != "xno"
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9918 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9919 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
9920 $as_echo_n "(cached) " >&6
9922 ac_check_lib_save_LIBS
=$LIBS
9923 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9925 /* end confdefs.h. */
9927 /* Override any GCC internal prototype to avoid an error.
9928 Use char because int might match the return type of a GCC
9929 builtin and then its argument prototype would still apply. */
9937 return gluLookAt ();
9942 if ac_fn_c_try_link
"$LINENO"; then :
9943 ac_cv_lib_GLU_gluLookAt
=yes
9945 ac_cv_lib_GLU_gluLookAt
=no
9947 rm -f core conftest.err conftest.
$ac_objext \
9948 conftest
$ac_exeext conftest.
$ac_ext
9949 LIBS
=$ac_check_lib_save_LIBS
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9952 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9953 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
9957 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
9958 case "x$with_glu" in
9959 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9961 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
9962 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9967 if test "x$with_osmesa" != "xno"
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9970 $as_echo_n "checking for -lOSMesa... " >&6; }
9971 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
9972 $as_echo_n "(cached) " >&6
9974 ac_check_soname_save_LIBS
=$LIBS
9975 LIBS
="-lOSMesa $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9977 /* end confdefs.h. */
9979 /* Override any GCC internal prototype to avoid an error.
9980 Use char because int might match the return type of a GCC
9981 builtin and then its argument prototype would still apply. */
9994 if ac_fn_c_try_link
"$LINENO"; then :
9996 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9997 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'` ;;
9998 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9999 if test "x$ac_cv_lib_soname_OSMesa" = x
; then :
10000 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10004 rm -f core conftest.err conftest.
$ac_objext \
10005 conftest
$ac_exeext conftest.
$ac_ext
10006 LIBS
=$ac_check_soname_save_LIBS
10008 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10010 $as_echo "not found" >&6; }
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10014 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10016 cat >>confdefs.h
<<_ACEOF
10017 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10022 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10023 case "x$with_osmesa" in
10024 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10026 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10027 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10032 if test -n "$opengl_msg"; then :
10033 case "x$with_opengl" in
10034 x
) as_fn_append wine_warnings
"|$opengl_msg
10035 OpenGL and Direct3D won't be supported." ;;
10037 *) as_fn_error $?
"$opengl_msg
10038 OpenGL and Direct3D won't be supported.
10039 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10043 CPPFLAGS
="$ac_save_CPPFLAGS"
10048 enable_winex11_drv
=${enable_winex11_drv:-no}
10050 if test "x$XLIB" = "x"; then :
10053 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10054 without X support, which probably isn't what you want. You will need
10055 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10056 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10060 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10062 if test "$ac_cv_header_CL_cl_h" = "yes"
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10065 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10066 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10067 $as_echo_n "(cached) " >&6
10069 ac_check_lib_save_LIBS
=$LIBS
10070 LIBS
="-lOpenCL $LIBS"
10071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10072 /* end confdefs.h. */
10074 /* Override any GCC internal prototype to avoid an error.
10075 Use char because int might match the return type of a GCC
10076 builtin and then its argument prototype would still apply. */
10080 char clGetPlatformInfo ();
10084 return clGetPlatformInfo ();
10089 if ac_fn_c_try_link
"$LINENO"; then :
10090 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10092 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10094 rm -f core conftest.err conftest.
$ac_objext \
10095 conftest
$ac_exeext conftest.
$ac_ext
10096 LIBS
=$ac_check_lib_save_LIBS
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10099 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10100 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10101 LIBOPENCL
="-lOpenCL"
10106 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10107 case "x$with_opencl" in
10108 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10110 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10111 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10114 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10117 if test "x$with_xml" != "xno"
10119 if test -n "$XML2_CFLAGS"; then :
10121 elif test -n "$PKG_CONFIG"; then :
10122 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10124 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10125 if test -n "$XML2_LIBS"; then :
10127 elif test -n "$PKG_CONFIG"; then :
10128 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10130 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10131 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10132 ac_save_CPPFLAGS
=$CPPFLAGS
10133 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10134 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10136 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10137 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10138 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10139 cat >>confdefs.h
<<_ACEOF
10140 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10147 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"
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10150 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10151 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10152 $as_echo_n "(cached) " >&6
10154 ac_check_lib_save_LIBS
=$LIBS
10155 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10157 /* end confdefs.h. */
10159 /* Override any GCC internal prototype to avoid an error.
10160 Use char because int might match the return type of a GCC
10161 builtin and then its argument prototype would still apply. */
10165 char xmlParseMemory ();
10169 return xmlParseMemory ();
10174 if ac_fn_c_try_link
"$LINENO"; then :
10175 ac_cv_lib_xml2_xmlParseMemory
=yes
10177 ac_cv_lib_xml2_xmlParseMemory
=no
10179 rm -f core conftest.err conftest.
$ac_objext \
10180 conftest
$ac_exeext conftest.
$ac_ext
10181 LIBS
=$ac_check_lib_save_LIBS
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10184 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10185 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10187 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10194 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10195 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10196 $as_echo_n "(cached) " >&6
10198 ac_check_lib_save_LIBS
=$LIBS
10199 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10201 /* end confdefs.h. */
10203 /* Override any GCC internal prototype to avoid an error.
10204 Use char because int might match the return type of a GCC
10205 builtin and then its argument prototype would still apply. */
10209 char xmlReadMemory ();
10213 return xmlReadMemory ();
10218 if ac_fn_c_try_link
"$LINENO"; then :
10219 ac_cv_lib_xml2_xmlReadMemory
=yes
10221 ac_cv_lib_xml2_xmlReadMemory
=no
10223 rm -f core conftest.err conftest.
$ac_objext \
10224 conftest
$ac_exeext conftest.
$ac_ext
10225 LIBS
=$ac_check_lib_save_LIBS
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10228 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10229 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10231 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10236 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10237 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10238 $as_echo_n "(cached) " >&6
10240 ac_check_lib_save_LIBS
=$LIBS
10241 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10243 /* end confdefs.h. */
10245 /* Override any GCC internal prototype to avoid an error.
10246 Use char because int might match the return type of a GCC
10247 builtin and then its argument prototype would still apply. */
10251 char xmlNewDocPI ();
10255 return xmlNewDocPI ();
10260 if ac_fn_c_try_link
"$LINENO"; then :
10261 ac_cv_lib_xml2_xmlNewDocPI
=yes
10263 ac_cv_lib_xml2_xmlNewDocPI
=no
10265 rm -f core conftest.err conftest.
$ac_objext \
10266 conftest
$ac_exeext conftest.
$ac_ext
10267 LIBS
=$ac_check_lib_save_LIBS
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10270 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10271 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10273 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10278 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10279 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10280 $as_echo_n "(cached) " >&6
10282 ac_check_lib_save_LIBS
=$LIBS
10283 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10285 /* end confdefs.h. */
10287 /* Override any GCC internal prototype to avoid an error.
10288 Use char because int might match the return type of a GCC
10289 builtin and then its argument prototype would still apply. */
10293 char xmlSchemaSetParserStructuredErrors ();
10297 return xmlSchemaSetParserStructuredErrors ();
10302 if ac_fn_c_try_link
"$LINENO"; then :
10303 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10305 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10307 rm -f core conftest.err conftest.
$ac_objext \
10308 conftest
$ac_exeext conftest.
$ac_ext
10309 LIBS
=$ac_check_lib_save_LIBS
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10312 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10313 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10315 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10320 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10321 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10322 $as_echo_n "(cached) " >&6
10324 ac_check_lib_save_LIBS
=$LIBS
10325 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10327 /* end confdefs.h. */
10329 /* Override any GCC internal prototype to avoid an error.
10330 Use char because int might match the return type of a GCC
10331 builtin and then its argument prototype would still apply. */
10335 char xmlSchemaSetValidStructuredErrors ();
10339 return xmlSchemaSetValidStructuredErrors ();
10344 if ac_fn_c_try_link
"$LINENO"; then :
10345 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10347 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10349 rm -f core conftest.err conftest.
$ac_objext \
10350 conftest
$ac_exeext conftest.
$ac_ext
10351 LIBS
=$ac_check_lib_save_LIBS
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10354 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10355 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10357 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10362 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10363 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10364 $as_echo_n "(cached) " >&6
10366 ac_check_lib_save_LIBS
=$LIBS
10367 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10369 /* end confdefs.h. */
10371 /* Override any GCC internal prototype to avoid an error.
10372 Use char because int might match the return type of a GCC
10373 builtin and then its argument prototype would still apply. */
10377 char xmlFirstElementChild ();
10381 return xmlFirstElementChild ();
10386 if ac_fn_c_try_link
"$LINENO"; then :
10387 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10389 ac_cv_lib_xml2_xmlFirstElementChild
=no
10391 rm -f core conftest.err conftest.
$ac_objext \
10392 conftest
$ac_exeext conftest.
$ac_ext
10393 LIBS
=$ac_check_lib_save_LIBS
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10396 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10397 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10399 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10403 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10405 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10407 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10415 CPPFLAGS
=$ac_save_CPPFLAGS
10416 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10417 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10420 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10421 case "x$with_xml" in
10422 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10424 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10425 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10429 if test "x$with_xslt" != "xno"
10431 if test -n "$XSLT_CFLAGS"; then :
10433 elif test -n "$PKG_CONFIG"; then :
10434 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10436 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10437 if test -n "$XSLT_LIBS"; then :
10439 elif test -n "$PKG_CONFIG"; then :
10440 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10442 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10443 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10444 ac_save_CPPFLAGS
=$CPPFLAGS
10445 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10446 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10448 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10449 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10450 # include <libxslt/pattern.h>
10453 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10454 cat >>confdefs.h
<<_ACEOF
10455 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10462 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10465 $as_echo_n "checking for -lxslt... " >&6; }
10466 if ${ac_cv_lib_soname_xslt+:} false
; then :
10467 $as_echo_n "(cached) " >&6
10469 ac_check_soname_save_LIBS
=$LIBS
10470 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10472 /* end confdefs.h. */
10474 /* Override any GCC internal prototype to avoid an error.
10475 Use char because int might match the return type of a GCC
10476 builtin and then its argument prototype would still apply. */
10480 char xsltCompilePattern ();
10484 return xsltCompilePattern ();
10489 if ac_fn_c_try_link
"$LINENO"; then :
10491 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10492 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'` ;;
10493 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10494 if test "x$ac_cv_lib_soname_xslt" = x
; then :
10495 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10499 rm -f core conftest.err conftest.
$ac_objext \
10500 conftest
$ac_exeext conftest.
$ac_ext
10501 LIBS
=$ac_check_soname_save_LIBS
10503 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10505 $as_echo "not found" >&6; }
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10509 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10511 cat >>confdefs.h
<<_ACEOF
10512 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10520 CPPFLAGS
=$ac_save_CPPFLAGS
10521 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10522 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10525 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10526 case "x$with_xslt" in
10527 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10529 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10530 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10534 if test "x$with_dbus" != "xno"
10536 if test -n "$DBUS_CFLAGS"; then :
10538 elif test -n "$PKG_CONFIG"; then :
10539 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10542 if test -n "$DBUS_LIBS"; then :
10544 elif test -n "$PKG_CONFIG"; then :
10545 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10549 ac_save_CPPFLAGS
=$CPPFLAGS
10550 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10551 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10552 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10554 $as_echo_n "checking for -ldbus-1... " >&6; }
10555 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10556 $as_echo_n "(cached) " >&6
10558 ac_check_soname_save_LIBS
=$LIBS
10559 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10561 /* end confdefs.h. */
10563 /* Override any GCC internal prototype to avoid an error.
10564 Use char because int might match the return type of a GCC
10565 builtin and then its argument prototype would still apply. */
10569 char dbus_connection_close ();
10573 return dbus_connection_close ();
10578 if ac_fn_c_try_link
"$LINENO"; then :
10580 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10581 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'` ;;
10582 *) 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'`
10583 if test "x$ac_cv_lib_soname_dbus_1" = x
; then :
10584 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10588 rm -f core conftest.err conftest.
$ac_objext \
10589 conftest
$ac_exeext conftest.
$ac_ext
10590 LIBS
=$ac_check_soname_save_LIBS
10592 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10594 $as_echo "not found" >&6; }
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10598 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10600 cat >>confdefs.h
<<_ACEOF
10601 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10611 CPPFLAGS
=$ac_save_CPPFLAGS
10612 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10613 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10616 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10617 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10618 case "x$with_dbus" in
10619 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10621 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
10622 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10626 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10628 if test -n "$HAL_CFLAGS"; then :
10630 elif test -n "$PKG_CONFIG"; then :
10631 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
10634 if test -n "$HAL_LIBS"; then :
10636 elif test -n "$PKG_CONFIG"; then :
10637 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
10640 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
10641 ac_save_CPPFLAGS
=$CPPFLAGS
10642 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
10643 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10644 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10646 $as_echo_n "checking for -lhal... " >&6; }
10647 if ${ac_cv_lib_soname_hal+:} false
; then :
10648 $as_echo_n "(cached) " >&6
10650 ac_check_soname_save_LIBS
=$LIBS
10651 LIBS
="-lhal $HAL_LIBS $LIBS"
10652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10653 /* end confdefs.h. */
10655 /* Override any GCC internal prototype to avoid an error.
10656 Use char because int might match the return type of a GCC
10657 builtin and then its argument prototype would still apply. */
10661 char libhal_ctx_new ();
10665 return libhal_ctx_new ();
10670 if ac_fn_c_try_link
"$LINENO"; then :
10672 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10673 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'` ;;
10674 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10675 if test "x$ac_cv_lib_soname_hal" = x
; then :
10676 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10680 rm -f core conftest.err conftest.
$ac_objext \
10681 conftest
$ac_exeext conftest.
$ac_ext
10682 LIBS
=$ac_check_soname_save_LIBS
10684 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10686 $as_echo "not found" >&6; }
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10690 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10692 cat >>confdefs.h
<<_ACEOF
10693 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10703 CPPFLAGS
=$ac_save_CPPFLAGS
10704 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10705 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10707 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10708 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10709 case "x$with_hal" in
10710 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10712 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
10713 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10718 if test "x$with_gnutls" != "xno"
10720 if test -n "$GNUTLS_CFLAGS"; then :
10722 elif test -n "$PKG_CONFIG"; then :
10723 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10726 if test -n "$GNUTLS_LIBS"; then :
10728 elif test -n "$PKG_CONFIG"; then :
10729 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10733 ac_save_CPPFLAGS
=$CPPFLAGS
10734 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
10735 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10736 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
10737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10738 /* end confdefs.h. */
10739 #include <gnutls/gnutls.h>
10740 #include <gnutls/crypto.h>
10744 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10749 if ac_fn_c_try_compile
"$LINENO"; then :
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10751 $as_echo_n "checking for -lgnutls... " >&6; }
10752 if ${ac_cv_lib_soname_gnutls+:} false
; then :
10753 $as_echo_n "(cached) " >&6
10755 ac_check_soname_save_LIBS
=$LIBS
10756 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
10757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10758 /* end confdefs.h. */
10760 /* Override any GCC internal prototype to avoid an error.
10761 Use char because int might match the return type of a GCC
10762 builtin and then its argument prototype would still apply. */
10766 char gnutls_global_init ();
10770 return gnutls_global_init ();
10775 if ac_fn_c_try_link
"$LINENO"; then :
10777 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10778 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'` ;;
10779 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10780 if test "x$ac_cv_lib_soname_gnutls" = x
; then :
10781 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10785 rm -f core conftest.err conftest.
$ac_objext \
10786 conftest
$ac_exeext conftest.
$ac_ext
10787 LIBS
=$ac_check_soname_save_LIBS
10789 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10791 $as_echo "not found" >&6; }
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10795 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10797 cat >>confdefs.h
<<_ACEOF
10798 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10804 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10810 CPPFLAGS
=$ac_save_CPPFLAGS
10811 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10812 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10815 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10816 case "x$with_gnutls" in
10817 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10819 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
10820 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10825 if test "$ac_cv_header_ncurses_h" = "yes"
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10828 $as_echo_n "checking for -lncurses... " >&6; }
10829 if ${ac_cv_lib_soname_ncurses+:} false
; then :
10830 $as_echo_n "(cached) " >&6
10832 ac_check_soname_save_LIBS
=$LIBS
10833 LIBS
="-lncurses $LIBS"
10834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10835 /* end confdefs.h. */
10837 /* Override any GCC internal prototype to avoid an error.
10838 Use char because int might match the return type of a GCC
10839 builtin and then its argument prototype would still apply. */
10852 if ac_fn_c_try_link
"$LINENO"; then :
10854 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10855 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'` ;;
10856 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10857 if test "x$ac_cv_lib_soname_ncurses" = x
; then :
10858 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10862 rm -f core conftest.err conftest.
$ac_objext \
10863 conftest
$ac_exeext conftest.
$ac_ext
10864 LIBS
=$ac_check_soname_save_LIBS
10866 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10868 $as_echo "not found" >&6; }
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10872 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10874 cat >>confdefs.h
<<_ACEOF
10875 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10878 CURSESLIBS
="-lncurses"
10880 elif test "$ac_cv_header_curses_h" = "yes"
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10883 $as_echo_n "checking for -lcurses... " >&6; }
10884 if ${ac_cv_lib_soname_curses+:} false
; then :
10885 $as_echo_n "(cached) " >&6
10887 ac_check_soname_save_LIBS
=$LIBS
10888 LIBS
="-lcurses $LIBS"
10889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10890 /* end confdefs.h. */
10892 /* Override any GCC internal prototype to avoid an error.
10893 Use char because int might match the return type of a GCC
10894 builtin and then its argument prototype would still apply. */
10907 if ac_fn_c_try_link
"$LINENO"; then :
10909 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10910 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'` ;;
10911 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10912 if test "x$ac_cv_lib_soname_curses" = x
; then :
10913 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10917 rm -f core conftest.err conftest.
$ac_objext \
10918 conftest
$ac_exeext conftest.
$ac_ext
10919 LIBS
=$ac_check_soname_save_LIBS
10921 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10923 $as_echo "not found" >&6; }
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10927 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10929 cat >>confdefs.h
<<_ACEOF
10930 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10933 CURSESLIBS
="-lcurses"
10936 ac_save_LIBS
="$LIBS"
10937 LIBS
="$LIBS $CURSESLIBS"
10938 for ac_func
in mousemask
10940 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
10941 if test "x$ac_cv_func_mousemask" = xyes
; then :
10942 cat >>confdefs.h
<<_ACEOF
10943 #define HAVE_MOUSEMASK 1
10949 LIBS
="$ac_save_LIBS"
10950 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10951 case "x$with_curses" in
10952 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10954 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10955 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10959 if test "x$with_sane" != "xno"
10961 if test -n "$SANE_CFLAGS"; then :
10963 elif test -n "$PKG_CONFIG"; then :
10964 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
10966 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
10967 if test -n "$SANE_LIBS"; then :
10969 elif test -n "$PKG_CONFIG"; then :
10970 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
10972 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
10974 ac_save_CPPFLAGS
=$CPPFLAGS
10975 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
10976 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10977 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10979 $as_echo_n "checking for -lsane... " >&6; }
10980 if ${ac_cv_lib_soname_sane+:} false
; then :
10981 $as_echo_n "(cached) " >&6
10983 ac_check_soname_save_LIBS
=$LIBS
10984 LIBS
="-lsane $SANE_LIBS $LIBS"
10985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10986 /* end confdefs.h. */
10988 /* Override any GCC internal prototype to avoid an error.
10989 Use char because int might match the return type of a GCC
10990 builtin and then its argument prototype would still apply. */
10998 return sane_init ();
11003 if ac_fn_c_try_link
"$LINENO"; then :
11005 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11006 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'` ;;
11007 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11008 if test "x$ac_cv_lib_soname_sane" = x
; then :
11009 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11013 rm -f core conftest.err conftest.
$ac_objext \
11014 conftest
$ac_exeext conftest.
$ac_ext
11015 LIBS
=$ac_check_soname_save_LIBS
11017 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11019 $as_echo "not found" >&6; }
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11023 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11025 cat >>confdefs.h
<<_ACEOF
11026 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11036 CPPFLAGS
=$ac_save_CPPFLAGS
11037 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11038 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11041 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11042 case "x$with_sane" in
11043 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11045 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11046 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11050 if test "x$with_v4l" != "xno"
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11053 $as_echo_n "checking for -lv4l1... " >&6; }
11054 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11055 $as_echo_n "(cached) " >&6
11057 ac_check_soname_save_LIBS
=$LIBS
11058 LIBS
="-lv4l1 $LIBS"
11059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11060 /* end confdefs.h. */
11062 /* Override any GCC internal prototype to avoid an error.
11063 Use char because int might match the return type of a GCC
11064 builtin and then its argument prototype would still apply. */
11072 return v4l1_open ();
11077 if ac_fn_c_try_link
"$LINENO"; then :
11079 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11080 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'` ;;
11081 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11082 if test "x$ac_cv_lib_soname_v4l1" = x
; then :
11083 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11087 rm -f core conftest.err conftest.
$ac_objext \
11088 conftest
$ac_exeext conftest.
$ac_ext
11089 LIBS
=$ac_check_soname_save_LIBS
11091 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11093 $as_echo "not found" >&6; }
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11097 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11099 cat >>confdefs.h
<<_ACEOF
11100 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11106 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11107 case "x$with_v4l" in
11108 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11110 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11111 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11115 if test "x$with_gphoto" != "xno"
11117 if test -n "$GPHOTO2_CFLAGS"; then :
11119 elif test -n "$PKG_CONFIG"; then :
11120 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11122 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11123 if test -n "$GPHOTO2_LIBS"; then :
11125 elif test -n "$PKG_CONFIG"; then :
11126 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11128 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11129 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11130 ac_save_CPPFLAGS
=$CPPFLAGS
11131 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11132 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11133 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11135 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11136 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11137 $as_echo_n "(cached) " >&6
11139 ac_check_lib_save_LIBS
=$LIBS
11140 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11142 /* end confdefs.h. */
11144 /* Override any GCC internal prototype to avoid an error.
11145 Use char because int might match the return type of a GCC
11146 builtin and then its argument prototype would still apply. */
11150 char gp_camera_new ();
11154 return gp_camera_new ();
11159 if ac_fn_c_try_link
"$LINENO"; then :
11160 ac_cv_lib_gphoto2_gp_camera_new
=yes
11162 ac_cv_lib_gphoto2_gp_camera_new
=no
11164 rm -f core conftest.err conftest.
$ac_objext \
11165 conftest
$ac_exeext conftest.
$ac_ext
11166 LIBS
=$ac_check_lib_save_LIBS
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11169 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11170 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11172 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11175 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11179 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11183 CPPFLAGS
=$ac_save_CPPFLAGS
11184 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11185 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11187 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
11189 elif test -n "$PKG_CONFIG"; then :
11190 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11192 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11193 if test -n "$GPHOTO2_PORT_LIBS"; then :
11195 elif test -n "$PKG_CONFIG"; then :
11196 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11198 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11199 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11200 ac_save_CPPFLAGS
=$CPPFLAGS
11201 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11202 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11203 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11205 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11206 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11207 $as_echo_n "(cached) " >&6
11209 ac_check_lib_save_LIBS
=$LIBS
11210 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11212 /* end confdefs.h. */
11214 /* Override any GCC internal prototype to avoid an error.
11215 Use char because int might match the return type of a GCC
11216 builtin and then its argument prototype would still apply. */
11220 char gp_port_info_list_new ();
11224 return gp_port_info_list_new ();
11229 if ac_fn_c_try_link
"$LINENO"; then :
11230 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11232 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11234 rm -f core conftest.err conftest.
$ac_objext \
11235 conftest
$ac_exeext conftest.
$ac_ext
11236 LIBS
=$ac_check_lib_save_LIBS
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11239 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11240 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11242 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11245 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11249 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11253 CPPFLAGS
=$ac_save_CPPFLAGS
11254 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11255 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11258 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11259 case "x$with_gphoto" in
11260 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11262 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11263 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11266 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11267 case "x$with_gphoto" in
11268 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11270 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11271 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11276 if test "$ac_cv_header_resolv_h" = "yes"
11278 ac_save_LIBS
="$LIBS"
11279 for lib
in '' -lresolv
11281 LIBS
="$lib $ac_save_LIBS"
11282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11283 /* end confdefs.h. */
11284 #ifdef HAVE_NETINET_IN_H
11285 #include <netinet/in.h>
11287 #include <resolv.h>
11291 res_query("foo",ns_c_in,0,0,0);
11296 if ac_fn_c_try_link
"$LINENO"; then :
11298 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11303 rm -f core conftest.err conftest.
$ac_objext \
11304 conftest
$ac_exeext conftest.
$ac_ext
11305 if test "${RESOLVLIBS+set}" = set; then
11309 LIBS
="$ac_save_LIBS"
11312 if test "x$with_lcms2" != "xno"
11314 if test -n "$LCMS2_CFLAGS"; then :
11316 elif test -n "$PKG_CONFIG"; then :
11317 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11320 if test -n "$LCMS2_LIBS"; then :
11322 elif test -n "$PKG_CONFIG"; then :
11323 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11326 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11327 ac_save_CPPFLAGS
=$CPPFLAGS
11328 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11329 for ac_header
in lcms2.h
11331 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11332 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11333 cat >>confdefs.h
<<_ACEOF
11334 #define HAVE_LCMS2_H 1
11341 if test "$ac_cv_header_lcms2_h" = "yes"
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11344 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11345 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11346 $as_echo_n "(cached) " >&6
11348 ac_check_lib_save_LIBS
=$LIBS
11349 LIBS
="-llcms2 $LIBS"
11350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11351 /* end confdefs.h. */
11353 /* Override any GCC internal prototype to avoid an error.
11354 Use char because int might match the return type of a GCC
11355 builtin and then its argument prototype would still apply. */
11359 char cmsOpenProfileFromFile ();
11363 return cmsOpenProfileFromFile ();
11368 if ac_fn_c_try_link
"$LINENO"; then :
11369 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11371 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11373 rm -f core conftest.err conftest.
$ac_objext \
11374 conftest
$ac_exeext conftest.
$ac_ext
11375 LIBS
=$ac_check_lib_save_LIBS
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11378 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11379 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11381 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11391 CPPFLAGS
=$ac_save_CPPFLAGS
11392 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11393 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11396 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11397 case "x$with_cms" in
11398 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11400 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11401 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11405 if test "x$with_freetype" != "xno"
11407 if test -n "$FREETYPE_CFLAGS"; then :
11409 elif test -n "$PKG_CONFIG"; then :
11410 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11412 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11413 if test -n "$FREETYPE_LIBS"; then :
11415 elif test -n "$PKG_CONFIG"; then :
11416 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11418 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11419 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11420 ac_save_CPPFLAGS
=$CPPFLAGS
11421 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11423 $as_echo_n "checking for -lfreetype... " >&6; }
11424 if ${ac_cv_lib_soname_freetype+:} false
; then :
11425 $as_echo_n "(cached) " >&6
11427 ac_check_soname_save_LIBS
=$LIBS
11428 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11430 /* end confdefs.h. */
11432 /* Override any GCC internal prototype to avoid an error.
11433 Use char because int might match the return type of a GCC
11434 builtin and then its argument prototype would still apply. */
11438 char FT_Init_FreeType ();
11442 return FT_Init_FreeType ();
11447 if ac_fn_c_try_link
"$LINENO"; then :
11449 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11450 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'` ;;
11451 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11452 if test "x$ac_cv_lib_soname_freetype" = x
; then :
11453 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11457 rm -f core conftest.err conftest.
$ac_objext \
11458 conftest
$ac_exeext conftest.
$ac_ext
11459 LIBS
=$ac_check_soname_save_LIBS
11461 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11463 $as_echo "not found" >&6; }
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11467 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11469 cat >>confdefs.h
<<_ACEOF
11470 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11475 if test "$ft_lib" = "yes"
11477 for ac_header
in ft2build.h \
11478 freetype
/freetype.h \
11479 freetype
/ftglyph.h \
11480 freetype
/fttypes.h \
11481 freetype
/tttables.h \
11482 freetype
/ftsnames.h \
11483 freetype
/ttnameid.h \
11484 freetype
/ftoutln.h \
11485 freetype
/ftwinfnt.h \
11486 freetype
/ftmodapi.h \
11487 freetype
/ftlcdfil.h
11489 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11490 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
11491 # include <ft2build.h>
11494 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11495 cat >>confdefs.h
<<_ACEOF
11496 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11504 /* end confdefs.h. */
11505 #include <ft2build.h>
11506 #include <freetype/fttrigon.h>
11508 if ac_fn_c_try_cpp
"$LINENO"; then :
11510 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
11512 wine_cv_fttrigon
=yes
11514 wine_cv_fttrigon
=no
11516 rm -f conftest.err conftest.i conftest.
$ac_ext
11517 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
11519 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
11521 cat >>confdefs.h
<<_ACEOF
11522 #define HAVE_FT_TRUETYPEENGINETYPE 1
11528 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11531 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11539 CPPFLAGS
=$ac_save_CPPFLAGS
11540 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11541 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11544 if test "x$ac_cv_header_freetype_freetype_h" != xyes
-o "x$wine_cv_fttrigon" != xyes
; then :
11545 case "x$with_freetype" in
11547 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
11548 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11551 test "x$ac_cv_header_freetype_freetype_h" = xyes
-a "x$wine_cv_fttrigon" = xyes || enable_fonts
=${enable_fonts:-no}
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11554 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11555 if ${ac_cv_c_ppdev+:} false
; then :
11556 $as_echo_n "(cached) " >&6
11558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11559 /* end confdefs.h. */
11560 #ifdef HAVE_SYS_IOCTL_H
11561 # include <sys/ioctl.h>
11563 #include <linux/ppdev.h>
11567 ioctl (1,PPCLAIM,0)
11572 if ac_fn_c_try_compile
"$LINENO"; then :
11573 ac_cv_c_ppdev
="yes"
11577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11580 $as_echo "$ac_cv_c_ppdev" >&6; }
11581 if test "$ac_cv_c_ppdev" = "yes"
11584 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11588 ac_wine_check_funcs_save_LIBS
="$LIBS"
11589 LIBS
="$LIBS $LIBPTHREAD"
11591 pthread_attr_get_np \
11592 pthread_getattr_np \
11593 pthread_getthreadid_np \
11594 pthread_get_stackaddr_np \
11595 pthread_get_stacksize_np
11597 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11598 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11599 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11600 cat >>confdefs.h
<<_ACEOF
11601 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11607 LIBS
="$ac_wine_check_funcs_save_LIBS"
11609 if test "$ac_cv_header_zlib_h" = "yes"
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11612 $as_echo_n "checking for inflate in -lz... " >&6; }
11613 if ${ac_cv_lib_z_inflate+:} false
; then :
11614 $as_echo_n "(cached) " >&6
11616 ac_check_lib_save_LIBS
=$LIBS
11618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11619 /* end confdefs.h. */
11621 /* Override any GCC internal prototype to avoid an error.
11622 Use char because int might match the return type of a GCC
11623 builtin and then its argument prototype would still apply. */
11636 if ac_fn_c_try_link
"$LINENO"; then :
11637 ac_cv_lib_z_inflate
=yes
11639 ac_cv_lib_z_inflate
=no
11641 rm -f core conftest.err conftest.
$ac_objext \
11642 conftest
$ac_exeext conftest.
$ac_ext
11643 LIBS
=$ac_check_lib_save_LIBS
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11646 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11647 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
11649 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11656 if test "x$ZLIB" = "x"; then :
11657 case "x$with_zlib" in
11658 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11660 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
11661 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11665 if test "x$enable_tools" != xno
11667 if test "$ac_cv_header_gettext_po_h" = "yes"
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11670 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11671 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
11672 $as_echo_n "(cached) " >&6
11674 ac_check_lib_save_LIBS
=$LIBS
11675 LIBS
="-lgettextpo $LIBS"
11676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11677 /* end confdefs.h. */
11679 /* Override any GCC internal prototype to avoid an error.
11680 Use char because int might match the return type of a GCC
11681 builtin and then its argument prototype would still apply. */
11685 char po_message_msgctxt ();
11689 return po_message_msgctxt ();
11694 if ac_fn_c_try_link
"$LINENO"; then :
11695 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
11697 ac_cv_lib_gettextpo_po_message_msgctxt
=no
11699 rm -f core conftest.err conftest.
$ac_objext \
11700 conftest
$ac_exeext conftest.
$ac_ext
11701 LIBS
=$ac_check_lib_save_LIBS
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11704 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11705 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
11707 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11709 LIBGETTEXTPO
="-lgettextpo"
11714 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
11715 case "x$with_gettextpo" in
11716 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11718 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11719 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11724 if test "x$with_gstreamer" != "xno"
11726 if test -n "$GSTREAMER_CFLAGS"; then :
11728 elif test -n "$PKG_CONFIG"; then :
11729 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11732 if test -n "$GSTREAMER_LIBS"; then :
11734 elif test -n "$PKG_CONFIG"; then :
11735 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
11739 ac_save_CPPFLAGS
=$CPPFLAGS
11740 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
11742 for i
in $GSTREAMER_CFLAGS
11745 -I*) ac_gst_incl
="$ac_gst_incl $i";;
11748 GSTREAMER_CFLAGS
=$ac_gst_incl
11749 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
11750 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11751 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
11752 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11753 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11755 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11757 /* end confdefs.h. */
11758 #include <gst/app/gstappsink.h>
11762 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11767 if ac_fn_c_try_compile
"$LINENO"; then :
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11769 $as_echo "yes" >&6; }
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11771 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11772 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
11773 $as_echo_n "(cached) " >&6
11775 ac_check_lib_save_LIBS
=$LIBS
11776 LIBS
="-lgstreamer-0.10 $LIBS"
11777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11778 /* end confdefs.h. */
11780 /* Override any GCC internal prototype to avoid an error.
11781 Use char because int might match the return type of a GCC
11782 builtin and then its argument prototype would still apply. */
11786 char gst_pad_get_caps_reffed ();
11790 return gst_pad_get_caps_reffed ();
11795 if ac_fn_c_try_link
"$LINENO"; then :
11796 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
11798 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
11800 rm -f core conftest.err conftest.
$ac_objext \
11801 conftest
$ac_exeext conftest.
$ac_ext
11802 LIBS
=$ac_check_lib_save_LIBS
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11805 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11806 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11808 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11809 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
11810 $as_echo_n "(cached) " >&6
11812 ac_check_lib_save_LIBS
=$LIBS
11813 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
11814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11815 /* end confdefs.h. */
11817 /* Override any GCC internal prototype to avoid an error.
11818 Use char because int might match the return type of a GCC
11819 builtin and then its argument prototype would still apply. */
11823 char gst_app_buffer_new ();
11827 return gst_app_buffer_new ();
11832 if ac_fn_c_try_link
"$LINENO"; then :
11833 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
11835 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
11837 rm -f core conftest.err conftest.
$ac_objext \
11838 conftest
$ac_exeext conftest.
$ac_ext
11839 LIBS
=$ac_check_lib_save_LIBS
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11842 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11843 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11851 $as_echo "no" >&6; }
11853 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11858 GSTREAMER_CFLAGS
=""
11862 CPPFLAGS
=$ac_save_CPPFLAGS
11863 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11864 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11867 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
11868 case "x$with_gstreamer" in
11869 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11871 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11872 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11875 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
11879 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11882 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11883 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
11884 $as_echo_n "(cached) " >&6
11886 ac_check_lib_save_LIBS
=$LIBS
11887 LIBS
="-lasound $LIBS"
11888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11889 /* end confdefs.h. */
11891 /* Override any GCC internal prototype to avoid an error.
11892 Use char because int might match the return type of a GCC
11893 builtin and then its argument prototype would still apply. */
11897 char snd_pcm_hw_params_get_access_mask ();
11901 return snd_pcm_hw_params_get_access_mask ();
11906 if ac_fn_c_try_link
"$LINENO"; then :
11907 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
11909 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
11911 rm -f core conftest.err conftest.
$ac_objext \
11912 conftest
$ac_exeext conftest.
$ac_ext
11913 LIBS
=$ac_check_lib_save_LIBS
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11916 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11917 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
11918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11919 /* end confdefs.h. */
11920 #ifdef HAVE_ALSA_ASOUNDLIB_H
11921 #include <alsa/asoundlib.h>
11922 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11923 #include <sys/asoundlib.h>
11928 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11933 if ac_fn_c_try_compile
"$LINENO"; then :
11934 ALSALIBS
="-lasound"
11936 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11941 if test "x$with_oss" != xno
11943 ac_save_CPPFLAGS
="$CPPFLAGS"
11944 if test -f /etc
/oss.conf
11948 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11949 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
11950 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11951 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
11952 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11954 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
11956 cat >>confdefs.h
<<_ACEOF
11957 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11960 OSS4INCL
="$ac_oss_incl"
11967 CPPFLAGS
="$ac_save_CPPFLAGS"
11968 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11970 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11974 if test "x$with_capi" != "xno"
11976 if test -n "$CAPI20_CFLAGS"; then :
11978 elif test -n "$PKG_CONFIG"; then :
11979 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
11982 if test -n "$CAPI20_LIBS"; then :
11984 elif test -n "$PKG_CONFIG"; then :
11985 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
11989 ac_save_CPPFLAGS
=$CPPFLAGS
11990 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
11991 for ac_header
in capi20.h linux
/capi.h
11993 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11994 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
11996 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11997 cat >>confdefs.h
<<_ACEOF
11998 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12005 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12008 $as_echo_n "checking for -lcapi20... " >&6; }
12009 if ${ac_cv_lib_soname_capi20+:} false
; then :
12010 $as_echo_n "(cached) " >&6
12012 ac_check_soname_save_LIBS
=$LIBS
12013 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12015 /* end confdefs.h. */
12017 /* Override any GCC internal prototype to avoid an error.
12018 Use char because int might match the return type of a GCC
12019 builtin and then its argument prototype would still apply. */
12023 char capi20_register ();
12027 return capi20_register ();
12032 if ac_fn_c_try_link
"$LINENO"; then :
12034 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12035 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'` ;;
12036 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12037 if test "x$ac_cv_lib_soname_capi20" = x
; then :
12038 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12042 rm -f core conftest.err conftest.
$ac_objext \
12043 conftest
$ac_exeext conftest.
$ac_ext
12044 LIBS
=$ac_check_soname_save_LIBS
12046 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12048 $as_echo "not found" >&6; }
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12052 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12054 cat >>confdefs.h
<<_ACEOF
12055 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12061 CPPFLAGS
=$ac_save_CPPFLAGS
12062 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12063 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12066 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12067 case "x$with_capi" in
12068 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12070 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12071 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12077 if test "x$with_cups" != "xno"
12079 ac_save_CPPFLAGS
="$CPPFLAGS"
12080 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12081 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12082 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12083 for ac_header
in cups
/cups.h
12085 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12086 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12087 cat >>confdefs.h
<<_ACEOF
12088 #define HAVE_CUPS_CUPS_H 1
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12091 $as_echo_n "checking for -lcups... " >&6; }
12092 if ${ac_cv_lib_soname_cups+:} false
; then :
12093 $as_echo_n "(cached) " >&6
12095 ac_check_soname_save_LIBS
=$LIBS
12096 LIBS
="-lcups $ac_cups_libs $LIBS"
12097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12098 /* end confdefs.h. */
12100 /* Override any GCC internal prototype to avoid an error.
12101 Use char because int might match the return type of a GCC
12102 builtin and then its argument prototype would still apply. */
12106 char cupsGetDefault ();
12110 return cupsGetDefault ();
12115 if ac_fn_c_try_link
"$LINENO"; then :
12117 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12118 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'` ;;
12119 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12120 if test "x$ac_cv_lib_soname_cups" = x
; then :
12121 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12125 rm -f core conftest.err conftest.
$ac_objext \
12126 conftest
$ac_exeext conftest.
$ac_ext
12127 LIBS
=$ac_check_soname_save_LIBS
12129 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12131 $as_echo "not found" >&6; }
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12135 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12137 cat >>confdefs.h
<<_ACEOF
12138 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12141 CUPSINCL
="$ac_cups_cflags"
12147 CPPFLAGS
="$ac_save_CPPFLAGS"
12149 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12150 case "x$with_cups" in
12151 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12153 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12154 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12158 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12161 $as_echo_n "checking for -lfontconfig... " >&6; }
12162 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12163 $as_echo_n "(cached) " >&6
12165 ac_check_soname_save_LIBS
=$LIBS
12166 LIBS
="-lfontconfig $LIBS"
12167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12168 /* end confdefs.h. */
12170 /* Override any GCC internal prototype to avoid an error.
12171 Use char because int might match the return type of a GCC
12172 builtin and then its argument prototype would still apply. */
12185 if ac_fn_c_try_link
"$LINENO"; then :
12187 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12188 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'` ;;
12189 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12190 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
12191 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12195 rm -f core conftest.err conftest.
$ac_objext \
12196 conftest
$ac_exeext conftest.
$ac_ext
12197 LIBS
=$ac_check_soname_save_LIBS
12199 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12201 $as_echo "not found" >&6; }
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12205 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12207 cat >>confdefs.h
<<_ACEOF
12208 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12213 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
12215 ac_save_CPPFLAGS
="$CPPFLAGS"
12216 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
12217 $as_unset ac_cv_header_fontconfig_fontconfig_h
12218 for ac_header
in fontconfig
/fontconfig.h
12220 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12221 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12222 cat >>confdefs.h
<<_ACEOF
12223 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12230 CPPFLAGS
="$ac_save_CPPFLAGS"
12231 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12233 FONTCONFIGINCL
="$X_CFLAGS"
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12236 $as_echo_n "checking for -lfontconfig... " >&6; }
12237 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12238 $as_echo_n "(cached) " >&6
12240 ac_check_soname_save_LIBS
=$LIBS
12241 LIBS
="-lfontconfig $X_LIBS $LIBS"
12242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12243 /* end confdefs.h. */
12245 /* Override any GCC internal prototype to avoid an error.
12246 Use char because int might match the return type of a GCC
12247 builtin and then its argument prototype would still apply. */
12260 if ac_fn_c_try_link
"$LINENO"; then :
12262 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12263 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'` ;;
12264 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12265 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
12266 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12270 rm -f core conftest.err conftest.
$ac_objext \
12271 conftest
$ac_exeext conftest.
$ac_ext
12272 LIBS
=$ac_check_soname_save_LIBS
12274 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12276 $as_echo "not found" >&6; }
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12280 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12282 cat >>confdefs.h
<<_ACEOF
12283 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12290 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12291 case "x$with_fontconfig" in
12292 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12294 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12295 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12299 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12302 $as_echo_n "checking for -lgsm... " >&6; }
12303 if ${ac_cv_lib_soname_gsm+:} false
; then :
12304 $as_echo_n "(cached) " >&6
12306 ac_check_soname_save_LIBS
=$LIBS
12308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12309 /* end confdefs.h. */
12311 /* Override any GCC internal prototype to avoid an error.
12312 Use char because int might match the return type of a GCC
12313 builtin and then its argument prototype would still apply. */
12317 char gsm_create ();
12321 return gsm_create ();
12326 if ac_fn_c_try_link
"$LINENO"; then :
12328 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12329 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'` ;;
12330 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12331 if test "x$ac_cv_lib_soname_gsm" = x
; then :
12332 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12336 rm -f core conftest.err conftest.
$ac_objext \
12337 conftest
$ac_exeext conftest.
$ac_ext
12338 LIBS
=$ac_check_soname_save_LIBS
12340 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12342 $as_echo "not found" >&6; }
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12346 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12348 cat >>confdefs.h
<<_ACEOF
12349 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12355 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12356 case "x$with_gsm" in
12357 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12359 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12360 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12364 if test "x$with_jpeg" != "xno"
12366 if test -n "$JPEG_CFLAGS"; then :
12368 elif test -n "$PKG_CONFIG"; then :
12369 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12372 if test -n "$JPEG_LIBS"; then :
12374 elif test -n "$PKG_CONFIG"; then :
12375 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12379 ac_save_CPPFLAGS
=$CPPFLAGS
12380 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12381 for ac_header
in jpeglib.h
12383 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12384 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12385 cat >>confdefs.h
<<_ACEOF
12386 #define HAVE_JPEGLIB_H 1
12393 if test "$ac_cv_header_jpeglib_h" = "yes"
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12396 $as_echo_n "checking for -ljpeg... " >&6; }
12397 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12398 $as_echo_n "(cached) " >&6
12400 ac_check_soname_save_LIBS
=$LIBS
12401 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12403 /* end confdefs.h. */
12405 /* Override any GCC internal prototype to avoid an error.
12406 Use char because int might match the return type of a GCC
12407 builtin and then its argument prototype would still apply. */
12411 char jpeg_start_decompress ();
12415 return jpeg_start_decompress ();
12420 if ac_fn_c_try_link
"$LINENO"; then :
12422 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12423 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'` ;;
12424 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12425 if test "x$ac_cv_lib_soname_jpeg" = x
; then :
12426 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12430 rm -f core conftest.err conftest.
$ac_objext \
12431 conftest
$ac_exeext conftest.
$ac_ext
12432 LIBS
=$ac_check_soname_save_LIBS
12434 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12436 $as_echo "not found" >&6; }
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12440 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12442 cat >>confdefs.h
<<_ACEOF
12443 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12451 CPPFLAGS
=$ac_save_CPPFLAGS
12452 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12453 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12456 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12457 case "x$with_jpeg" in
12458 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12460 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12461 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12465 if test "x$with_png" != "xno"
12467 if test -n "$PNG_CFLAGS"; then :
12469 elif test -n "$PKG_CONFIG"; then :
12470 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12472 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12473 if test -n "$PNG_LIBS"; then :
12475 elif test -n "$PKG_CONFIG"; then :
12476 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12478 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12480 ac_save_CPPFLAGS
=$CPPFLAGS
12481 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12482 for ac_header
in png.h
12484 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12485 if test "x$ac_cv_header_png_h" = xyes
; then :
12486 cat >>confdefs.h
<<_ACEOF
12487 #define HAVE_PNG_H 1
12494 if test "$ac_cv_header_png_h" = "yes"
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12497 $as_echo_n "checking for -lpng... " >&6; }
12498 if ${ac_cv_lib_soname_png+:} false
; then :
12499 $as_echo_n "(cached) " >&6
12501 ac_check_soname_save_LIBS
=$LIBS
12502 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12504 /* end confdefs.h. */
12506 /* Override any GCC internal prototype to avoid an error.
12507 Use char because int might match the return type of a GCC
12508 builtin and then its argument prototype would still apply. */
12512 char png_create_read_struct ();
12516 return png_create_read_struct ();
12521 if ac_fn_c_try_link
"$LINENO"; then :
12523 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12524 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'` ;;
12525 *) 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'`
12526 if test "x$ac_cv_lib_soname_png" = x
; then :
12527 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12531 rm -f core conftest.err conftest.
$ac_objext \
12532 conftest
$ac_exeext conftest.
$ac_ext
12533 LIBS
=$ac_check_soname_save_LIBS
12535 if test "x$ac_cv_lib_soname_png" = "x"; then :
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12537 $as_echo "not found" >&6; }
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12541 $as_echo "$ac_cv_lib_soname_png" >&6; }
12543 cat >>confdefs.h
<<_ACEOF
12544 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12548 /* end confdefs.h. */
12553 typeof(png_set_expand_gray_1_2_4_to_8) *p
12558 if ac_fn_c_try_compile
"$LINENO"; then :
12560 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12568 CPPFLAGS
=$ac_save_CPPFLAGS
12569 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12570 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12573 if test "x$ac_cv_lib_soname_png" = "x"; then :
12574 case "x$with_png" in
12575 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12577 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
12578 This is an error since --with-png was requested." "$LINENO" 5 ;;
12582 if test "x$with_tiff" != "xno"
12584 if test -n "$TIFF_CFLAGS"; then :
12586 elif test -n "$PKG_CONFIG"; then :
12587 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12590 if test -n "$TIFF_LIBS"; then :
12592 elif test -n "$PKG_CONFIG"; then :
12593 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12597 ac_save_CPPFLAGS
=$CPPFLAGS
12598 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
12599 for ac_header
in tiffio.h
12601 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12602 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
12603 cat >>confdefs.h
<<_ACEOF
12604 #define HAVE_TIFFIO_H 1
12611 if test "$ac_cv_header_tiffio_h" = "yes"
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12614 $as_echo_n "checking for -ltiff... " >&6; }
12615 if ${ac_cv_lib_soname_tiff+:} false
; then :
12616 $as_echo_n "(cached) " >&6
12618 ac_check_soname_save_LIBS
=$LIBS
12619 LIBS
="-ltiff $TIFF_LIBS $LIBS"
12620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12621 /* end confdefs.h. */
12623 /* Override any GCC internal prototype to avoid an error.
12624 Use char because int might match the return type of a GCC
12625 builtin and then its argument prototype would still apply. */
12629 char TIFFClientOpen ();
12633 return TIFFClientOpen ();
12638 if ac_fn_c_try_link
"$LINENO"; then :
12640 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12641 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'` ;;
12642 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12643 if test "x$ac_cv_lib_soname_tiff" = x
; then :
12644 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12648 rm -f core conftest.err conftest.
$ac_objext \
12649 conftest
$ac_exeext conftest.
$ac_ext
12650 LIBS
=$ac_check_soname_save_LIBS
12652 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12654 $as_echo "not found" >&6; }
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12658 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12660 cat >>confdefs.h
<<_ACEOF
12661 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12667 CPPFLAGS
=$ac_save_CPPFLAGS
12668 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12669 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12672 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12673 case "x$with_tiff" in
12674 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12676 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
12677 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12681 if test "x$with_mpg123" != "xno"
12683 if test -n "$MPG123_CFLAGS"; then :
12685 elif test -n "$PKG_CONFIG"; then :
12686 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
12689 if test -n "$MPG123_LIBS"; then :
12691 elif test -n "$PKG_CONFIG"; then :
12692 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
12695 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
12696 ac_save_CPPFLAGS
=$CPPFLAGS
12697 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
12698 for ac_header
in mpg123.h
12700 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
12701 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
12702 cat >>confdefs.h
<<_ACEOF
12703 #define HAVE_MPG123_H 1
12710 if test "$ac_cv_header_mpg123_h" = "yes"
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12713 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12714 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
12715 $as_echo_n "(cached) " >&6
12717 ac_check_lib_save_LIBS
=$LIBS
12718 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
12719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12720 /* end confdefs.h. */
12722 /* Override any GCC internal prototype to avoid an error.
12723 Use char because int might match the return type of a GCC
12724 builtin and then its argument prototype would still apply. */
12728 char mpg123_feed ();
12732 return mpg123_feed ();
12737 if ac_fn_c_try_link
"$LINENO"; then :
12738 ac_cv_lib_mpg123_mpg123_feed
=yes
12740 ac_cv_lib_mpg123_mpg123_feed
=no
12742 rm -f core conftest.err conftest.
$ac_objext \
12743 conftest
$ac_exeext conftest.
$ac_ext
12744 LIBS
=$ac_check_lib_save_LIBS
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12747 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12748 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
12758 CPPFLAGS
=$ac_save_CPPFLAGS
12759 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12760 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12763 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
12764 case "x$with_mpg123" in
12765 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12767 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12768 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12771 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}
12773 if test "$ac_cv_header_AL_al_h" = "yes"
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12776 $as_echo_n "checking for -lopenal... " >&6; }
12777 if ${ac_cv_lib_soname_openal+:} false
; then :
12778 $as_echo_n "(cached) " >&6
12780 ac_check_soname_save_LIBS
=$LIBS
12781 LIBS
="-lopenal $LIBS"
12782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12783 /* end confdefs.h. */
12785 /* Override any GCC internal prototype to avoid an error.
12786 Use char because int might match the return type of a GCC
12787 builtin and then its argument prototype would still apply. */
12791 char alGetSource3i ();
12795 return alGetSource3i ();
12800 if ac_fn_c_try_link
"$LINENO"; then :
12802 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12803 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'` ;;
12804 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12805 if test "x$ac_cv_lib_soname_openal" = x
; then :
12806 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12810 rm -f core conftest.err conftest.
$ac_objext \
12811 conftest
$ac_exeext conftest.
$ac_ext
12812 LIBS
=$ac_check_soname_save_LIBS
12814 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12816 $as_echo "not found" >&6; }
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12820 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12822 cat >>confdefs.h
<<_ACEOF
12823 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12826 LIBOPENAL
="-lopenal"
12828 ac_cv_lib_openal
=yes
12830 cat >>confdefs.h
<<_ACEOF
12831 #define HAVE_OPENAL 1
12836 if test "x$ac_cv_lib_openal" != xyes
; then :
12837 case "x$with_openal" in
12838 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12840 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12841 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12844 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
12846 if test "$ac_cv_header_kstat_h" = "yes"
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12849 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12850 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
12851 $as_echo_n "(cached) " >&6
12853 ac_check_lib_save_LIBS
=$LIBS
12854 LIBS
="-lkstat $LIBS"
12855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12856 /* end confdefs.h. */
12858 /* Override any GCC internal prototype to avoid an error.
12859 Use char because int might match the return type of a GCC
12860 builtin and then its argument prototype would still apply. */
12864 char kstat_open ();
12868 return kstat_open ();
12873 if ac_fn_c_try_link
"$LINENO"; then :
12874 ac_cv_lib_kstat_kstat_open
=yes
12876 ac_cv_lib_kstat_kstat_open
=no
12878 rm -f core conftest.err conftest.
$ac_objext \
12879 conftest
$ac_exeext conftest.
$ac_ext
12880 LIBS
=$ac_check_lib_save_LIBS
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12883 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12884 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
12886 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12894 if test "$ac_cv_header_libprocstat_h" = "yes"
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
12897 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
12898 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
12899 $as_echo_n "(cached) " >&6
12901 ac_check_lib_save_LIBS
=$LIBS
12902 LIBS
="-lprocstat $LIBS"
12903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12904 /* end confdefs.h. */
12906 /* Override any GCC internal prototype to avoid an error.
12907 Use char because int might match the return type of a GCC
12908 builtin and then its argument prototype would still apply. */
12912 char procstat_open_sysctl ();
12916 return procstat_open_sysctl ();
12921 if ac_fn_c_try_link
"$LINENO"; then :
12922 ac_cv_lib_procstat_procstat_open_sysctl
=yes
12924 ac_cv_lib_procstat_procstat_open_sysctl
=no
12926 rm -f core conftest.err conftest.
$ac_objext \
12927 conftest
$ac_exeext conftest.
$ac_ext
12928 LIBS
=$ac_check_lib_save_LIBS
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
12931 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
12932 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
12934 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
12936 LIBPROCSTAT
="-lprocstat"
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12943 $as_echo_n "checking for -lodbc... " >&6; }
12944 if ${ac_cv_lib_soname_odbc+:} false
; then :
12945 $as_echo_n "(cached) " >&6
12947 ac_check_soname_save_LIBS
=$LIBS
12948 LIBS
="-lodbc $LIBS"
12949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12950 /* end confdefs.h. */
12952 /* Override any GCC internal prototype to avoid an error.
12953 Use char because int might match the return type of a GCC
12954 builtin and then its argument prototype would still apply. */
12958 char SQLConnect ();
12962 return SQLConnect ();
12967 if ac_fn_c_try_link
"$LINENO"; then :
12969 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12970 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'` ;;
12971 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12972 if test "x$ac_cv_lib_soname_odbc" = x
; then :
12973 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12977 rm -f core conftest.err conftest.
$ac_objext \
12978 conftest
$ac_exeext conftest.
$ac_ext
12979 LIBS
=$ac_check_soname_save_LIBS
12981 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12983 $as_echo "not found" >&6; }
12984 cat >>confdefs.h
<<_ACEOF
12985 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12990 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12992 cat >>confdefs.h
<<_ACEOF
12993 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12999 if test "x$with_netapi" != "xno"
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13002 $as_echo_n "checking for -lnetapi... " >&6; }
13003 if ${ac_cv_lib_soname_netapi+:} false
; then :
13004 $as_echo_n "(cached) " >&6
13006 ac_check_soname_save_LIBS
=$LIBS
13007 LIBS
="-lnetapi $LIBS"
13008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13009 /* end confdefs.h. */
13011 /* Override any GCC internal prototype to avoid an error.
13012 Use char because int might match the return type of a GCC
13013 builtin and then its argument prototype would still apply. */
13017 char libnetapi_init ();
13021 return libnetapi_init ();
13026 if ac_fn_c_try_link
"$LINENO"; then :
13028 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13029 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'` ;;
13030 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13031 if test "x$ac_cv_lib_soname_netapi" = x
; then :
13032 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13036 rm -f core conftest.err conftest.
$ac_objext \
13037 conftest
$ac_exeext conftest.
$ac_ext
13038 LIBS
=$ac_check_soname_save_LIBS
13040 if test "x$ac_cv_lib_soname_netapi" = "x"; then :
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13042 $as_echo "not found" >&6; }
13043 cat >>confdefs.h
<<_ACEOF
13044 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13049 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13051 cat >>confdefs.h
<<_ACEOF
13052 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13059 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13060 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13061 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13062 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13064 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
13065 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13066 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13068 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13074 if test "x${GCC}" = "xyes"
13076 EXTRACFLAGS
="-Wall -pipe"
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13079 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13080 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13081 $as_echo_n "(cached) " >&6
13083 if test "$cross_compiling" = yes; then :
13084 ac_cv_c_gcc_strength_bug
="yes"
13086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13087 /* end confdefs.h. */
13088 int L[4] = {0,1,2,3};
13092 static int Array[3];
13093 unsigned int B = 3;
13095 for(i=0; i<B; i++) Array[i] = i - 3;
13096 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13098 return (Array[1] != -2 || L[2] != 3)
13103 if ac_fn_c_try_run
"$LINENO"; then :
13104 ac_cv_c_gcc_strength_bug
="no"
13106 ac_cv_c_gcc_strength_bug
="yes"
13108 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13109 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13114 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13115 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13117 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13121 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13122 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13123 $as_echo_n "(cached) " >&6
13125 ac_wine_try_cflags_saved
=$CFLAGS
13126 CFLAGS
="$CFLAGS -fno-builtin"
13127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13128 /* end confdefs.h. */
13129 int main(int argc, char **argv) { return 0; }
13131 if ac_fn_c_try_link
"$LINENO"; then :
13132 ac_cv_cflags__fno_builtin
=yes
13134 ac_cv_cflags__fno_builtin
=no
13136 rm -f core conftest.err conftest.
$ac_objext \
13137 conftest
$ac_exeext conftest.
$ac_ext
13138 CFLAGS
=$ac_wine_try_cflags_saved
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13141 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13142 if test $ac_cv_cflags__fno_builtin = yes; then :
13143 BUILTINFLAG
="-fno-builtin"
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13147 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13148 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13149 $as_echo_n "(cached) " >&6
13151 ac_wine_try_cflags_saved
=$CFLAGS
13152 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13154 /* end confdefs.h. */
13155 int main(int argc, char **argv) { return 0; }
13157 if ac_fn_c_try_link
"$LINENO"; then :
13158 ac_cv_cflags__fno_strict_aliasing
=yes
13160 ac_cv_cflags__fno_strict_aliasing
=no
13162 rm -f core conftest.err conftest.
$ac_objext \
13163 conftest
$ac_exeext conftest.
$ac_ext
13164 CFLAGS
=$ac_wine_try_cflags_saved
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13167 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13168 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
13169 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13171 saved_CFLAGS
=$CFLAGS
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13173 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13174 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13175 $as_echo_n "(cached) " >&6
13177 ac_wine_try_cflags_saved
=$CFLAGS
13178 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13180 /* end confdefs.h. */
13181 int main(int argc, char **argv) { return 0; }
13183 if ac_fn_c_try_link
"$LINENO"; then :
13184 ac_cv_cflags__Werror_unknown_warning_option
=yes
13186 ac_cv_cflags__Werror_unknown_warning_option
=no
13188 rm -f core conftest.err conftest.
$ac_objext \
13189 conftest
$ac_exeext conftest.
$ac_ext
13190 CFLAGS
=$ac_wine_try_cflags_saved
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13193 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13194 if test $ac_cv_cflags__Werror_unknown_warning_option = yes; then :
13195 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13198 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13199 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13200 $as_echo_n "(cached) " >&6
13202 ac_wine_try_cflags_saved
=$CFLAGS
13203 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13205 /* end confdefs.h. */
13206 int main(int argc, char **argv) { return 0; }
13208 if ac_fn_c_try_link
"$LINENO"; then :
13209 ac_cv_cflags__Wdeclaration_after_statement
=yes
13211 ac_cv_cflags__Wdeclaration_after_statement
=no
13213 rm -f core conftest.err conftest.
$ac_objext \
13214 conftest
$ac_exeext conftest.
$ac_ext
13215 CFLAGS
=$ac_wine_try_cflags_saved
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13218 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13219 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
13220 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13223 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13224 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13225 $as_echo_n "(cached) " >&6
13227 ac_wine_try_cflags_saved
=$CFLAGS
13228 CFLAGS
="$CFLAGS -Wempty-body"
13229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13230 /* end confdefs.h. */
13231 int main(int argc, char **argv) { return 0; }
13233 if ac_fn_c_try_link
"$LINENO"; then :
13234 ac_cv_cflags__Wempty_body
=yes
13236 ac_cv_cflags__Wempty_body
=no
13238 rm -f core conftest.err conftest.
$ac_objext \
13239 conftest
$ac_exeext conftest.
$ac_ext
13240 CFLAGS
=$ac_wine_try_cflags_saved
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13243 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13244 if test $ac_cv_cflags__Wempty_body = yes; then :
13245 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13248 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13249 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13250 $as_echo_n "(cached) " >&6
13252 ac_wine_try_cflags_saved
=$CFLAGS
13253 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13255 /* end confdefs.h. */
13256 int main(int argc, char **argv) { return 0; }
13258 if ac_fn_c_try_link
"$LINENO"; then :
13259 ac_cv_cflags__Wignored_qualifiers
=yes
13261 ac_cv_cflags__Wignored_qualifiers
=no
13263 rm -f core conftest.err conftest.
$ac_objext \
13264 conftest
$ac_exeext conftest.
$ac_ext
13265 CFLAGS
=$ac_wine_try_cflags_saved
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13268 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13269 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
13270 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13273 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13274 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13275 $as_echo_n "(cached) " >&6
13277 ac_wine_try_cflags_saved
=$CFLAGS
13278 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13280 /* end confdefs.h. */
13281 int main(int argc, char **argv) { return 0; }
13283 if ac_fn_c_try_link
"$LINENO"; then :
13284 ac_cv_cflags__Wstrict_prototypes
=yes
13286 ac_cv_cflags__Wstrict_prototypes
=no
13288 rm -f core conftest.err conftest.
$ac_objext \
13289 conftest
$ac_exeext conftest.
$ac_ext
13290 CFLAGS
=$ac_wine_try_cflags_saved
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13293 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13294 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
13295 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13298 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13299 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13300 $as_echo_n "(cached) " >&6
13302 ac_wine_try_cflags_saved
=$CFLAGS
13303 CFLAGS
="$CFLAGS -Wtype-limits"
13304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13305 /* end confdefs.h. */
13306 int main(int argc, char **argv) { return 0; }
13308 if ac_fn_c_try_link
"$LINENO"; then :
13309 ac_cv_cflags__Wtype_limits
=yes
13311 ac_cv_cflags__Wtype_limits
=no
13313 rm -f core conftest.err conftest.
$ac_objext \
13314 conftest
$ac_exeext conftest.
$ac_ext
13315 CFLAGS
=$ac_wine_try_cflags_saved
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13318 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13319 if test $ac_cv_cflags__Wtype_limits = yes; then :
13320 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13323 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13324 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13325 $as_echo_n "(cached) " >&6
13327 ac_wine_try_cflags_saved
=$CFLAGS
13328 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13330 /* end confdefs.h. */
13331 int main(int argc, char **argv) { return 0; }
13333 if ac_fn_c_try_link
"$LINENO"; then :
13334 ac_cv_cflags__Wunused_but_set_parameter
=yes
13336 ac_cv_cflags__Wunused_but_set_parameter
=no
13338 rm -f core conftest.err conftest.
$ac_objext \
13339 conftest
$ac_exeext conftest.
$ac_ext
13340 CFLAGS
=$ac_wine_try_cflags_saved
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13343 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13344 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
13345 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13348 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13349 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13350 $as_echo_n "(cached) " >&6
13352 ac_wine_try_cflags_saved
=$CFLAGS
13353 CFLAGS
="$CFLAGS -Wwrite-strings"
13354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13355 /* end confdefs.h. */
13356 int main(int argc, char **argv) { return 0; }
13358 if ac_fn_c_try_link
"$LINENO"; then :
13359 ac_cv_cflags__Wwrite_strings
=yes
13361 ac_cv_cflags__Wwrite_strings
=no
13363 rm -f core conftest.err conftest.
$ac_objext \
13364 conftest
$ac_exeext conftest.
$ac_ext
13365 CFLAGS
=$ac_wine_try_cflags_saved
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13368 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13369 if test $ac_cv_cflags__Wwrite_strings = yes; then :
13370 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13374 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13375 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13376 $as_echo_n "(cached) " >&6
13378 ac_wine_try_cflags_saved
=$CFLAGS
13379 CFLAGS
="$CFLAGS -Wpointer-arith"
13380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13381 /* end confdefs.h. */
13382 int main(int argc, char **argv) { return 0; }
13384 if ac_fn_c_try_link
"$LINENO"; then :
13385 ac_cv_cflags__Wpointer_arith
=yes
13387 ac_cv_cflags__Wpointer_arith
=no
13389 rm -f core conftest.err conftest.
$ac_objext \
13390 conftest
$ac_exeext conftest.
$ac_ext
13391 CFLAGS
=$ac_wine_try_cflags_saved
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13394 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13395 if test $ac_cv_cflags__Wpointer_arith = yes; then :
13396 saved_string_h_CFLAGS
=$CFLAGS
13397 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13399 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13400 if ${ac_cv_c_string_h_warnings+:} false
; then :
13401 $as_echo_n "(cached) " >&6
13403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13404 /* end confdefs.h. */
13405 #include <string.h>
13414 if ac_fn_c_try_compile
"$LINENO"; then :
13415 ac_cv_c_string_h_warnings
=no
13417 ac_cv_c_string_h_warnings
=yes
13419 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13422 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13423 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13424 CFLAGS
=$saved_string_h_CFLAGS
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13428 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13429 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13430 $as_echo_n "(cached) " >&6
13432 ac_wine_try_cflags_saved
=$CFLAGS
13433 CFLAGS
="$CFLAGS -Wlogical-op"
13434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13435 /* end confdefs.h. */
13436 int main(int argc, char **argv) { return 0; }
13438 if ac_fn_c_try_link
"$LINENO"; then :
13439 ac_cv_cflags__Wlogical_op
=yes
13441 ac_cv_cflags__Wlogical_op
=no
13443 rm -f core conftest.err conftest.
$ac_objext \
13444 conftest
$ac_exeext conftest.
$ac_ext
13445 CFLAGS
=$ac_wine_try_cflags_saved
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13448 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13449 if test $ac_cv_cflags__Wlogical_op = yes; then :
13450 saved_string_h_CFLAGS
=$CFLAGS
13451 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13453 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13454 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13455 $as_echo_n "(cached) " >&6
13457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13458 /* end confdefs.h. */
13459 #include <string.h>
13460 char*f(const char *h,char n) {return strchr(h,n);}
13469 if ac_fn_c_try_compile
"$LINENO"; then :
13470 ac_cv_c_logicalop_noisy
=no
13472 ac_cv_c_logicalop_noisy
=yes
13474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13477 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13478 CFLAGS
=$saved_string_h_CFLAGS
13479 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13482 CFLAGS
=$saved_CFLAGS
13484 for ac_flag
in $CFLAGS; do
13486 -g) case $host_os in
13487 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13488 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13489 if ${ac_cv_cflags__gstabsp+:} false
; then :
13490 $as_echo_n "(cached) " >&6
13492 ac_wine_try_cflags_saved
=$CFLAGS
13493 CFLAGS
="$CFLAGS -gstabs+"
13494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13495 /* end confdefs.h. */
13496 int main(int argc, char **argv) { return 0; }
13498 if ac_fn_c_try_link
"$LINENO"; then :
13499 ac_cv_cflags__gstabsp
=yes
13501 ac_cv_cflags__gstabsp
=no
13503 rm -f core conftest.err conftest.
$ac_objext \
13504 conftest
$ac_exeext conftest.
$ac_ext
13505 CFLAGS
=$ac_wine_try_cflags_saved
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13508 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13509 if test $ac_cv_cflags__gstabsp = yes; then :
13510 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
13512 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13513 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13514 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
13515 $as_echo_n "(cached) " >&6
13517 ac_wine_try_cflags_saved
=$CFLAGS
13518 CFLAGS
="$CFLAGS -gdwarf-2"
13519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13520 /* end confdefs.h. */
13521 int main(int argc, char **argv) { return 0; }
13523 if ac_fn_c_try_link
"$LINENO"; then :
13524 ac_cv_cflags__gdwarf_2
=yes
13526 ac_cv_cflags__gdwarf_2
=no
13528 rm -f core conftest.err conftest.
$ac_objext \
13529 conftest
$ac_exeext conftest.
$ac_ext
13530 CFLAGS
=$ac_wine_try_cflags_saved
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13533 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13534 if test $ac_cv_cflags__gdwarf_2 = yes; then :
13535 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13538 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13539 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
13540 $as_echo_n "(cached) " >&6
13542 ac_wine_try_cflags_saved
=$CFLAGS
13543 CFLAGS
="$CFLAGS -gstrict-dwarf"
13544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13545 /* end confdefs.h. */
13546 int main(int argc, char **argv) { return 0; }
13548 if ac_fn_c_try_link
"$LINENO"; then :
13549 ac_cv_cflags__gstrict_dwarf
=yes
13551 ac_cv_cflags__gstrict_dwarf
=no
13553 rm -f core conftest.err conftest.
$ac_objext \
13554 conftest
$ac_exeext conftest.
$ac_ext
13555 CFLAGS
=$ac_wine_try_cflags_saved
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13558 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13559 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
13560 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
13567 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13568 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13569 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
13570 $as_echo_n "(cached) " >&6
13572 ac_wine_try_cflags_saved
=$CFLAGS
13573 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
13574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13575 /* end confdefs.h. */
13576 int main(int argc, char **argv) { return 0; }
13578 if ac_fn_c_try_link
"$LINENO"; then :
13579 ac_cv_cflags__fno_omit_frame_pointer
=yes
13581 ac_cv_cflags__fno_omit_frame_pointer
=no
13583 rm -f core conftest.err conftest.
$ac_objext \
13584 conftest
$ac_exeext conftest.
$ac_ext
13585 CFLAGS
=$ac_wine_try_cflags_saved
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13588 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13589 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
13590 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
13595 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13596 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13597 if ${ac_cv_cflags__Wno_format+:} false
; then :
13598 $as_echo_n "(cached) " >&6
13600 ac_wine_try_cflags_saved
=$CFLAGS
13601 CFLAGS
="$CFLAGS -Wno-format"
13602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13603 /* end confdefs.h. */
13604 int main(int argc, char **argv) { return 0; }
13606 if ac_fn_c_try_link
"$LINENO"; then :
13607 ac_cv_cflags__Wno_format
=yes
13609 ac_cv_cflags__Wno_format
=no
13611 rm -f core conftest.err conftest.
$ac_objext \
13612 conftest
$ac_exeext conftest.
$ac_ext
13613 CFLAGS
=$ac_wine_try_cflags_saved
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13616 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13617 if test $ac_cv_cflags__Wno_format = yes; then :
13618 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
13622 if test "x$enable_maintainer_mode" = "xyes"
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13625 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13626 if ${ac_cv_cflags__Werror+:} false
; then :
13627 $as_echo_n "(cached) " >&6
13629 ac_wine_try_cflags_saved
=$CFLAGS
13630 CFLAGS
="$CFLAGS -Werror"
13631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13632 /* end confdefs.h. */
13633 int main(int argc, char **argv) { return 0; }
13635 if ac_fn_c_try_link
"$LINENO"; then :
13636 ac_cv_cflags__Werror
=yes
13638 ac_cv_cflags__Werror
=no
13640 rm -f core conftest.err conftest.
$ac_objext \
13641 conftest
$ac_exeext conftest.
$ac_ext
13642 CFLAGS
=$ac_wine_try_cflags_saved
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13645 $as_echo "$ac_cv_cflags__Werror" >&6; }
13646 if test $ac_cv_cflags__Werror = yes; then :
13647 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
13651 saved_CFLAGS
="$CFLAGS"
13652 CFLAGS
="$CFLAGS -Werror"
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13654 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
13655 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
13656 $as_echo_n "(cached) " >&6
13658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13659 /* end confdefs.h. */
13660 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
13669 if ac_fn_c_try_compile
"$LINENO"; then :
13670 ac_cv_have_ms_hook_prologue
="yes"
13672 ac_cv_have_ms_hook_prologue
="no"
13674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
13677 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
13678 CFLAGS
="$saved_CFLAGS"
13679 if test "$ac_cv_have_ms_hook_prologue" = "yes"
13682 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
13685 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
13692 $as_echo_n "checking for the need to disable Fortify... " >&6; }
13693 if ${ac_cv_c_fortify_enabled+:} false
; then :
13694 $as_echo_n "(cached) " >&6
13696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13697 /* end confdefs.h. */
13698 #include <string.h>
13702 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
13703 #error Fortify enabled
13709 if ac_fn_c_try_compile
"$LINENO"; then :
13710 ac_cv_c_fortify_enabled
=no
13712 ac_cv_c_fortify_enabled
=yes
13714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
13717 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
13718 if test "$ac_cv_c_fortify_enabled" = yes
13720 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
13725 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
13726 if ${ac_cv_c_extern_prefix+:} false
; then :
13727 $as_echo_n "(cached) " >&6
13729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13730 /* end confdefs.h. */
13731 extern int ac_test;
13735 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
13740 if ac_fn_c_try_link
"$LINENO"; then :
13741 ac_cv_c_extern_prefix
="yes"
13743 ac_cv_c_extern_prefix
="no"
13745 rm -f core conftest.err conftest.
$ac_objext \
13746 conftest
$ac_exeext conftest.
$ac_ext
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
13749 $as_echo "$ac_cv_c_extern_prefix" >&6; }
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
13754 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
13755 if ${ac_cv_c_stdcall_suffix+:} false
; then :
13756 $as_echo_n "(cached) " >&6
13758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13759 /* end confdefs.h. */
13761 #define __stdcall __attribute__((__stdcall__))
13763 int __stdcall ac_test(int i) { return i; }
13767 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
13772 if ac_fn_c_try_link
"$LINENO"; then :
13773 ac_cv_c_stdcall_suffix
="yes"
13775 ac_cv_c_stdcall_suffix
="no"
13777 rm -f core conftest.err conftest.
$ac_objext \
13778 conftest
$ac_exeext conftest.
$ac_ext
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
13781 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
13782 *) ac_cv_c_stdcall_suffix
="no" ;;
13786 if test "$ac_cv_c_extern_prefix" = "yes"
13788 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
13790 asm_name_prefix
="_"
13792 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
13798 if test "$ac_cv_c_stdcall_suffix" = "yes"
13800 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
13803 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
13809 $as_echo_n "checking how to define a function in assembly code... " >&6; }
13810 if ${ac_cv_asm_func_def+:} false
; then :
13811 $as_echo_n "(cached) " >&6
13813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13814 /* end confdefs.h. */
13819 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13824 if ac_fn_c_try_link
"$LINENO"; then :
13825 ac_cv_asm_func_def
=".def"
13827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13828 /* end confdefs.h. */
13833 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13838 if ac_fn_c_try_link
"$LINENO"; then :
13839 ac_cv_asm_func_def
=".type @function"
13841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13842 /* end confdefs.h. */
13847 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13852 if ac_fn_c_try_link
"$LINENO"; then :
13853 ac_cv_asm_func_def
=".type 2"
13855 ac_cv_asm_func_def
="unknown"
13857 rm -f core conftest.err conftest.
$ac_objext \
13858 conftest
$ac_exeext conftest.
$ac_ext
13860 rm -f core conftest.err conftest.
$ac_objext \
13861 conftest
$ac_exeext conftest.
$ac_ext
13863 rm -f core conftest.err conftest.
$ac_objext \
13864 conftest
$ac_exeext conftest.
$ac_ext
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
13867 $as_echo "$ac_cv_asm_func_def" >&6; }
13870 case "$ac_cv_asm_func_def" in
13872 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13874 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13876 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13878 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
13880 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13882 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
13884 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13886 asm_func_header
="" ;;
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13890 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13891 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
13892 $as_echo_n "(cached) " >&6
13894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13895 /* end confdefs.h. */
13896 asm(".text\n\t.long 0");
13905 if ac_fn_c_try_compile
"$LINENO"; then :
13906 ac_cv_c_asm_outside_funcs
="yes"
13908 ac_cv_c_asm_outside_funcs
="no"
13910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13913 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13916 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13917 if ${ac_cv_c_dot_previous+:} false
; then :
13918 $as_echo_n "(cached) " >&6
13920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13921 /* end confdefs.h. */
13926 asm(".text\nac_test:\t.long 0\n\t.previous");
13931 if ac_fn_c_try_link
"$LINENO"; then :
13932 ac_cv_c_dot_previous
="yes"
13934 ac_cv_c_dot_previous
="no"
13936 rm -f core conftest.err conftest.
$ac_objext \
13937 conftest
$ac_exeext conftest.
$ac_ext
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13940 $as_echo "$ac_cv_c_dot_previous" >&6; }
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13943 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13944 if ${ac_cv_c_cfi_support+:} false
; then :
13945 $as_echo_n "(cached) " >&6
13947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13948 /* end confdefs.h. */
13949 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13958 if ac_fn_c_try_compile
"$LINENO"; then :
13959 ac_cv_c_cfi_support
="yes"
13961 ac_cv_c_cfi_support
="no"
13963 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13966 $as_echo "$ac_cv_c_cfi_support" >&6; }
13968 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13969 asm_func_trailer
=""
13970 if test "$ac_cv_c_dot_previous" = "yes"
13972 asm_func_trailer
="\\n\\t.previous"
13974 if test "$ac_cv_c_cfi_support" = "yes"
13976 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
13977 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
13979 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13981 UNWINDFLAGS
=-fasynchronous-unwind-tables
13984 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13988 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
13991 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13993 cat >>confdefs.h
<<_ACEOF
13994 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13998 cat >>confdefs.h
<<_ACEOF
13999 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14004 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14007 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14012 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14019 *i
[3456789]86*|x86_64
*)
14020 as_fn_append LOADER_RULES
"
14021 all: $wine_binary-preloader
14023 $wine_binary-preloader: preloader.o
14024 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14026 install install-lib:: $wine_binary-preloader \$(DESTDIR)\$(bindir)
14027 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14030 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14037 ac_save_CFLAGS
="$CFLAGS"
14038 CFLAGS
="$CFLAGS $BUILTINFLAG"
14116 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14117 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14118 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14119 cat >>confdefs.h
<<_ACEOF
14120 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14126 CFLAGS
="$ac_save_CFLAGS"
14128 if test "$ac_cv_func_dlopen" = no
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14131 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14132 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14133 $as_echo_n "(cached) " >&6
14135 ac_check_lib_save_LIBS
=$LIBS
14137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14138 /* end confdefs.h. */
14140 /* Override any GCC internal prototype to avoid an error.
14141 Use char because int might match the return type of a GCC
14142 builtin and then its argument prototype would still apply. */
14155 if ac_fn_c_try_link
"$LINENO"; then :
14156 ac_cv_lib_dl_dlopen
=yes
14158 ac_cv_lib_dl_dlopen
=no
14160 rm -f core conftest.err conftest.
$ac_objext \
14161 conftest
$ac_exeext conftest.
$ac_ext
14162 LIBS
=$ac_check_lib_save_LIBS
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14165 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14166 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14167 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14173 ac_wine_check_funcs_save_LIBS
="$LIBS"
14174 LIBS
="$LIBS $LIBDL"
14175 for ac_func
in dladdr
14177 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14178 if test "x$ac_cv_func_dladdr" = xyes
; then :
14179 cat >>confdefs.h
<<_ACEOF
14180 #define HAVE_DLADDR 1
14186 LIBS
="$ac_wine_check_funcs_save_LIBS"
14188 if test "$ac_cv_func_poll" = no
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14191 $as_echo_n "checking for poll in -lpoll... " >&6; }
14192 if ${ac_cv_lib_poll_poll+:} false
; then :
14193 $as_echo_n "(cached) " >&6
14195 ac_check_lib_save_LIBS
=$LIBS
14196 LIBS
="-lpoll $LIBS"
14197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14198 /* end confdefs.h. */
14200 /* Override any GCC internal prototype to avoid an error.
14201 Use char because int might match the return type of a GCC
14202 builtin and then its argument prototype would still apply. */
14215 if ac_fn_c_try_link
"$LINENO"; then :
14216 ac_cv_lib_poll_poll
=yes
14218 ac_cv_lib_poll_poll
=no
14220 rm -f core conftest.err conftest.
$ac_objext \
14221 conftest
$ac_exeext conftest.
$ac_ext
14222 LIBS
=$ac_check_lib_save_LIBS
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14225 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14226 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14227 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14235 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14236 if ${ac_cv_search_gethostbyname+:} false
; then :
14237 $as_echo_n "(cached) " >&6
14239 ac_func_search_save_LIBS
=$LIBS
14240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14241 /* end confdefs.h. */
14243 /* Override any GCC internal prototype to avoid an error.
14244 Use char because int might match the return type of a GCC
14245 builtin and then its argument prototype would still apply. */
14249 char gethostbyname ();
14253 return gethostbyname ();
14258 for ac_lib
in '' nsl
; do
14259 if test -z "$ac_lib"; then
14260 ac_res
="none required"
14263 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14265 if ac_fn_c_try_link
"$LINENO"; then :
14266 ac_cv_search_gethostbyname
=$ac_res
14268 rm -f core conftest.err conftest.
$ac_objext \
14270 if ${ac_cv_search_gethostbyname+:} false
; then :
14274 if ${ac_cv_search_gethostbyname+:} false
; then :
14277 ac_cv_search_gethostbyname
=no
14279 rm conftest.
$ac_ext
14280 LIBS
=$ac_func_search_save_LIBS
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14283 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14284 ac_res
=$ac_cv_search_gethostbyname
14285 if test "$ac_res" != no
; then :
14286 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14292 $as_echo_n "checking for library containing connect... " >&6; }
14293 if ${ac_cv_search_connect+:} false
; then :
14294 $as_echo_n "(cached) " >&6
14296 ac_func_search_save_LIBS
=$LIBS
14297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14298 /* end confdefs.h. */
14300 /* Override any GCC internal prototype to avoid an error.
14301 Use char because int might match the return type of a GCC
14302 builtin and then its argument prototype would still apply. */
14315 for ac_lib
in '' socket
; do
14316 if test -z "$ac_lib"; then
14317 ac_res
="none required"
14320 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14322 if ac_fn_c_try_link
"$LINENO"; then :
14323 ac_cv_search_connect
=$ac_res
14325 rm -f core conftest.err conftest.
$ac_objext \
14327 if ${ac_cv_search_connect+:} false
; then :
14331 if ${ac_cv_search_connect+:} false
; then :
14334 ac_cv_search_connect
=no
14336 rm conftest.
$ac_ext
14337 LIBS
=$ac_func_search_save_LIBS
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14340 $as_echo "$ac_cv_search_connect" >&6; }
14341 ac_res
=$ac_cv_search_connect
14342 if test "$ac_res" != no
; then :
14343 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14349 $as_echo_n "checking for library containing inet_aton... " >&6; }
14350 if ${ac_cv_search_inet_aton+:} false
; then :
14351 $as_echo_n "(cached) " >&6
14353 ac_func_search_save_LIBS
=$LIBS
14354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14355 /* end confdefs.h. */
14357 /* Override any GCC internal prototype to avoid an error.
14358 Use char because int might match the return type of a GCC
14359 builtin and then its argument prototype would still apply. */
14367 return inet_aton ();
14372 for ac_lib
in '' resolv
; do
14373 if test -z "$ac_lib"; then
14374 ac_res
="none required"
14377 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14379 if ac_fn_c_try_link
"$LINENO"; then :
14380 ac_cv_search_inet_aton
=$ac_res
14382 rm -f core conftest.err conftest.
$ac_objext \
14384 if ${ac_cv_search_inet_aton+:} false
; then :
14388 if ${ac_cv_search_inet_aton+:} false
; then :
14391 ac_cv_search_inet_aton
=no
14393 rm conftest.
$ac_ext
14394 LIBS
=$ac_func_search_save_LIBS
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14397 $as_echo "$ac_cv_search_inet_aton" >&6; }
14398 ac_res
=$ac_cv_search_inet_aton
14399 if test "$ac_res" != no
; then :
14400 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14420 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14421 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14422 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14423 cat >>confdefs.h
<<_ACEOF
14424 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14433 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14434 if ${ac_cv_search_clock_gettime+:} false
; then :
14435 $as_echo_n "(cached) " >&6
14437 ac_func_search_save_LIBS
=$LIBS
14438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14439 /* end confdefs.h. */
14441 /* Override any GCC internal prototype to avoid an error.
14442 Use char because int might match the return type of a GCC
14443 builtin and then its argument prototype would still apply. */
14447 char clock_gettime ();
14451 return clock_gettime ();
14456 for ac_lib
in '' rt
; do
14457 if test -z "$ac_lib"; then
14458 ac_res
="none required"
14461 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14463 if ac_fn_c_try_link
"$LINENO"; then :
14464 ac_cv_search_clock_gettime
=$ac_res
14466 rm -f core conftest.err conftest.
$ac_objext \
14468 if ${ac_cv_search_clock_gettime+:} false
; then :
14472 if ${ac_cv_search_clock_gettime+:} false
; then :
14475 ac_cv_search_clock_gettime
=no
14477 rm conftest.
$ac_ext
14478 LIBS
=$ac_func_search_save_LIBS
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14481 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14482 ac_res
=$ac_cv_search_clock_gettime
14483 if test "$ac_res" != no
; then :
14484 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14486 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14488 test "$ac_res" = "none required" || LIBRT
="$ac_res"
14496 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14498 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14500 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14502 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14503 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
14504 $as_echo_n "(cached) " >&6
14506 ac_check_lib_save_LIBS
=$LIBS
14507 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
14508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14509 /* end confdefs.h. */
14511 /* Override any GCC internal prototype to avoid an error.
14512 Use char because int might match the return type of a GCC
14513 builtin and then its argument prototype would still apply. */
14517 char ldap_initialize ();
14521 return ldap_initialize ();
14526 if ac_fn_c_try_link
"$LINENO"; then :
14527 ac_cv_lib_ldap_r_ldap_initialize
=yes
14529 ac_cv_lib_ldap_r_ldap_initialize
=no
14531 rm -f core conftest.err conftest.
$ac_objext \
14532 conftest
$ac_exeext conftest.
$ac_ext
14533 LIBS
=$ac_check_lib_save_LIBS
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14536 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14537 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14539 $as_echo_n "checking for ber_init in -llber... " >&6; }
14540 if ${ac_cv_lib_lber_ber_init+:} false
; then :
14541 $as_echo_n "(cached) " >&6
14543 ac_check_lib_save_LIBS
=$LIBS
14544 LIBS
="-llber $LIBPTHREAD $LIBS"
14545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14546 /* end confdefs.h. */
14548 /* Override any GCC internal prototype to avoid an error.
14549 Use char because int might match the return type of a GCC
14550 builtin and then its argument prototype would still apply. */
14558 return ber_init ();
14563 if ac_fn_c_try_link
"$LINENO"; then :
14564 ac_cv_lib_lber_ber_init
=yes
14566 ac_cv_lib_lber_ber_init
=no
14568 rm -f core conftest.err conftest.
$ac_objext \
14569 conftest
$ac_exeext conftest.
$ac_ext
14570 LIBS
=$ac_check_lib_save_LIBS
14572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14573 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14574 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
14576 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14578 LDAPLIBS
="-lldap_r -llber"
14585 ac_wine_check_funcs_save_LIBS
="$LIBS"
14586 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
14588 ldap_count_references \
14589 ldap_first_reference \
14590 ldap_next_reference \
14591 ldap_parse_reference \
14592 ldap_parse_sort_control \
14593 ldap_parse_sortresponse_control \
14594 ldap_parse_vlv_control \
14595 ldap_parse_vlvresponse_control
14597 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14598 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14599 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14600 cat >>confdefs.h
<<_ACEOF
14601 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14607 LIBS
="$ac_wine_check_funcs_save_LIBS"
14609 if test "x$LDAPLIBS" = "x"; then :
14610 case "x$with_ldap" in
14611 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14613 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14614 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14619 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14620 if ${wine_cv_one_arg_mkdir+:} false
; then :
14621 $as_echo_n "(cached) " >&6
14623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14624 /* end confdefs.h. */
14625 #include <sys/stat.h>
14634 if ac_fn_c_try_compile
"$LINENO"; then :
14635 wine_cv_one_arg_mkdir
=yes
14637 wine_cv_one_arg_mkdir
=no
14639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14642 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14643 if test "$wine_cv_one_arg_mkdir" = "yes"
14646 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
14651 $as_echo_n "checking for sched_setaffinity... " >&6; }
14652 if ${wine_cv_have_sched_setaffinity+:} false
; then :
14653 $as_echo_n "(cached) " >&6
14655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14656 /* end confdefs.h. */
14657 #define _GNU_SOURCE
14662 sched_setaffinity(0, 0, 0);
14667 if ac_fn_c_try_link
"$LINENO"; then :
14668 wine_cv_have_sched_setaffinity
=yes
14670 wine_cv_have_sched_setaffinity
=no
14672 rm -f core conftest.err conftest.
$ac_objext \
14673 conftest
$ac_exeext conftest.
$ac_ext
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
14676 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
14677 if test "$wine_cv_have_sched_setaffinity" = "yes"
14680 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
14685 $as_echo_n "checking for fallocate... " >&6; }
14686 if ${wine_cv_have_fallocate+:} false
; then :
14687 $as_echo_n "(cached) " >&6
14689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14690 /* end confdefs.h. */
14691 #define _GNU_SOURCE
14696 fallocate(-1, 0, 0, 0);
14701 if ac_fn_c_try_link
"$LINENO"; then :
14702 wine_cv_have_fallocate
=yes
14704 wine_cv_have_fallocate
=no
14706 rm -f core conftest.err conftest.
$ac_objext \
14707 conftest
$ac_exeext conftest.
$ac_ext
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
14710 $as_echo "$wine_cv_have_fallocate" >&6; }
14711 if test "$wine_cv_have_fallocate" = "yes"
14714 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14720 $as_echo_n "checking for inline... " >&6; }
14721 if ${ac_cv_c_inline+:} false
; then :
14722 $as_echo_n "(cached) " >&6
14725 for ac_kw
in inline __inline__ __inline
; do
14726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14727 /* end confdefs.h. */
14728 #ifndef __cplusplus
14730 static $ac_kw foo_t static_foo () {return 0; }
14731 $ac_kw foo_t foo () {return 0; }
14735 if ac_fn_c_try_compile
"$LINENO"; then :
14736 ac_cv_c_inline
=$ac_kw
14738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14739 test "$ac_cv_c_inline" != no
&& break
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14744 $as_echo "$ac_cv_c_inline" >&6; }
14746 case $ac_cv_c_inline in
14749 case $ac_cv_c_inline in
14751 *) ac_val
=$ac_cv_c_inline;;
14753 cat >>confdefs.h
<<_ACEOF
14754 #ifndef __cplusplus
14755 #define inline $ac_val
14761 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
14762 if test "x$ac_cv_type_mode_t" = xyes
; then :
14764 cat >>confdefs.h
<<_ACEOF
14765 #define HAVE_MODE_T 1
14770 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14771 if test "x$ac_cv_type_off_t" = xyes
; then :
14773 cat >>confdefs.h
<<_ACEOF
14774 #define HAVE_OFF_T 1
14779 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14780 if test "x$ac_cv_type_pid_t" = xyes
; then :
14782 cat >>confdefs.h
<<_ACEOF
14783 #define HAVE_PID_T 1
14788 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14789 if test "x$ac_cv_type_size_t" = xyes
; then :
14791 cat >>confdefs.h
<<_ACEOF
14792 #define HAVE_SIZE_T 1
14797 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
14798 if test "x$ac_cv_type_ssize_t" = xyes
; then :
14800 cat >>confdefs.h
<<_ACEOF
14801 #define HAVE_SSIZE_T 1
14806 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
14807 if test "x$ac_cv_type_long_long" = xyes
; then :
14809 cat >>confdefs.h
<<_ACEOF
14810 #define HAVE_LONG_LONG 1
14815 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14816 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
14818 cat >>confdefs.h
<<_ACEOF
14819 #define HAVE_FSBLKCNT_T 1
14824 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14825 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
14827 cat >>confdefs.h
<<_ACEOF
14828 #define HAVE_FSFILCNT_T 1
14834 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14835 #include <signal.h>
14837 if test "x$ac_cv_type_sigset_t" = xyes
; then :
14839 cat >>confdefs.h
<<_ACEOF
14840 #define HAVE_SIGSET_T 1
14846 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14848 if test "x$ac_cv_type_request_sense" = xyes
; then :
14850 cat >>confdefs.h
<<_ACEOF
14851 #define HAVE_REQUEST_SENSE 1
14858 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14859 #ifdef HAVE_SYS_SOCKET_H
14860 #include <sys/socket.h>
14862 #ifdef HAVE_SYS_SOCKETVAR_H
14863 #include <sys/socketvar.h>
14865 #ifdef HAVE_NET_ROUTE_H
14866 #include <net/route.h>
14868 #ifdef HAVE_NETINET_IN_H
14869 #include <netinet/in.h>
14871 #ifdef HAVE_NETINET_IN_SYSTM_H
14872 #include <netinet/in_systm.h>
14874 #ifdef HAVE_NETINET_IP_H
14875 #include <netinet/ip.h>
14877 #ifdef HAVE_NETINET_IN_PCB_H
14878 #include <netinet/in_pcb.h>
14881 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
14883 cat >>confdefs.h
<<_ACEOF
14884 #define HAVE_STRUCT_XINPGEN 1
14891 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
14894 #ifdef HAVE_SYS_LINK_H
14895 #include <sys/link.h>
14898 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
14900 cat >>confdefs.h
<<_ACEOF
14901 #define HAVE_STRUCT_R_DEBUG 1
14906 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
14909 #ifdef HAVE_SYS_LINK_H
14910 #include <sys/link.h>
14913 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
14915 cat >>confdefs.h
<<_ACEOF
14916 #define HAVE_STRUCT_LINK_MAP 1
14923 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14924 #include <linux/input.h>
14927 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
14929 cat >>confdefs.h
<<_ACEOF
14930 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14938 $as_echo_n "checking for sigaddset... " >&6; }
14939 if ${wine_cv_have_sigaddset+:} false
; then :
14940 $as_echo_n "(cached) " >&6
14942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14943 /* end confdefs.h. */
14944 #include <signal.h>
14948 sigset_t set; sigaddset(&set,SIGTERM);
14953 if ac_fn_c_try_link
"$LINENO"; then :
14954 wine_cv_have_sigaddset
=yes
14956 wine_cv_have_sigaddset
=no
14958 rm -f core conftest.err conftest.
$ac_objext \
14959 conftest
$ac_exeext conftest.
$ac_ext
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14962 $as_echo "$wine_cv_have_sigaddset" >&6; }
14963 if test "$wine_cv_have_sigaddset" = "yes"
14966 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14972 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14973 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
14974 $as_echo_n "(cached) " >&6
14976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14977 /* end confdefs.h. */
14985 struct hostent *result;
14992 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14993 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14999 if ac_fn_c_try_link
"$LINENO"; then :
15000 wine_cv_linux_gethostbyname_r_6
=yes
15002 wine_cv_linux_gethostbyname_r_6
=no
15005 rm -f core conftest.err conftest.
$ac_objext \
15006 conftest
$ac_exeext conftest.
$ac_ext
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15010 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15011 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15014 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15018 if test "$ac_cv_header_linux_joystick_h" = "yes"
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15021 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15022 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15023 $as_echo_n "(cached) " >&6
15025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15026 /* end confdefs.h. */
15028 #include <sys/ioctl.h>
15029 #include <sys/types.h>
15030 #include <linux/joystick.h>
15032 struct js_event blub;
15033 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15034 #error "no 2.2 header"
15045 if ac_fn_c_try_compile
"$LINENO"; then :
15046 wine_cv_linux_joystick_22_api
=yes
15048 wine_cv_linux_joystick_22_api
=no
15050 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15054 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15055 if test "$wine_cv_linux_joystick_22_api" = "yes"
15058 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15064 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15065 #ifdef HAVE_SYS_PARAM_H
15066 # include <sys/param.h>
15068 #ifdef HAVE_SYS_MOUNT_H
15069 # include <sys/mount.h>
15071 #ifdef HAVE_SYS_VFS_H
15072 # include <sys/vfs.h>
15074 #ifdef HAVE_SYS_STATFS_H
15075 # include <sys/statfs.h>
15078 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15080 cat >>confdefs.h
<<_ACEOF
15081 #define HAVE_STRUCT_STATFS_F_BFREE 1
15086 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15087 #ifdef HAVE_SYS_PARAM_H
15088 # include <sys/param.h>
15090 #ifdef HAVE_SYS_MOUNT_H
15091 # include <sys/mount.h>
15093 #ifdef HAVE_SYS_VFS_H
15094 # include <sys/vfs.h>
15096 #ifdef HAVE_SYS_STATFS_H
15097 # include <sys/statfs.h>
15100 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15102 cat >>confdefs.h
<<_ACEOF
15103 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15108 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15109 #ifdef HAVE_SYS_PARAM_H
15110 # include <sys/param.h>
15112 #ifdef HAVE_SYS_MOUNT_H
15113 # include <sys/mount.h>
15115 #ifdef HAVE_SYS_VFS_H
15116 # include <sys/vfs.h>
15118 #ifdef HAVE_SYS_STATFS_H
15119 # include <sys/statfs.h>
15122 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15124 cat >>confdefs.h
<<_ACEOF
15125 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15130 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15131 #ifdef HAVE_SYS_PARAM_H
15132 # include <sys/param.h>
15134 #ifdef HAVE_SYS_MOUNT_H
15135 # include <sys/mount.h>
15137 #ifdef HAVE_SYS_VFS_H
15138 # include <sys/vfs.h>
15140 #ifdef HAVE_SYS_STATFS_H
15141 # include <sys/statfs.h>
15144 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15146 cat >>confdefs.h
<<_ACEOF
15147 #define HAVE_STRUCT_STATFS_F_FFREE 1
15152 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15153 #ifdef HAVE_SYS_PARAM_H
15154 # include <sys/param.h>
15156 #ifdef HAVE_SYS_MOUNT_H
15157 # include <sys/mount.h>
15159 #ifdef HAVE_SYS_VFS_H
15160 # include <sys/vfs.h>
15162 #ifdef HAVE_SYS_STATFS_H
15163 # include <sys/statfs.h>
15166 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15168 cat >>confdefs.h
<<_ACEOF
15169 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15174 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15175 #ifdef HAVE_SYS_PARAM_H
15176 # include <sys/param.h>
15178 #ifdef HAVE_SYS_MOUNT_H
15179 # include <sys/mount.h>
15181 #ifdef HAVE_SYS_VFS_H
15182 # include <sys/vfs.h>
15184 #ifdef HAVE_SYS_STATFS_H
15185 # include <sys/statfs.h>
15188 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15190 cat >>confdefs.h
<<_ACEOF
15191 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15198 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15199 #include <sys/statvfs.h>
15202 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15204 cat >>confdefs.h
<<_ACEOF
15205 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15212 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15213 #include <dirent.h>
15216 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15218 cat >>confdefs.h
<<_ACEOF
15219 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15226 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15227 #ifdef HAVE_SYS_SOCKET_H
15228 # include <sys/socket.h>
15230 #ifdef HAVE_SYS_UN_H
15231 # include <sys/un.h>
15234 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15236 cat >>confdefs.h
<<_ACEOF
15237 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15242 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15243 #ifdef HAVE_SYS_SOCKET_H
15244 # include <sys/socket.h>
15246 #ifdef HAVE_SYS_UN_H
15247 # include <sys/un.h>
15250 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15252 cat >>confdefs.h
<<_ACEOF
15253 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15258 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15259 #ifdef HAVE_SYS_SOCKET_H
15260 # include <sys/socket.h>
15262 #ifdef HAVE_SYS_UN_H
15263 # include <sys/un.h>
15266 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15268 cat >>confdefs.h
<<_ACEOF
15269 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15276 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15277 #ifdef HAVE_SCSI_SG_H
15278 #include <scsi/sg.h>
15281 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15283 cat >>confdefs.h
<<_ACEOF
15284 #define HAVE_SCSIREQ_T_CMD 1
15289 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>
15290 #ifdef HAVE_SCSI_SG_H
15291 #include <scsi/sg.h>
15294 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15296 cat >>confdefs.h
<<_ACEOF
15297 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15304 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15306 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15308 cat >>confdefs.h
<<_ACEOF
15309 #define HAVE_SIGINFO_T_SI_FD 1
15316 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15317 #ifdef HAVE_SYS_MTIO_H
15318 #include <sys/mtio.h>
15321 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15323 cat >>confdefs.h
<<_ACEOF
15324 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15329 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15330 #ifdef HAVE_SYS_MTIO_H
15331 #include <sys/mtio.h>
15334 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15336 cat >>confdefs.h
<<_ACEOF
15337 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15342 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15343 #ifdef HAVE_SYS_MTIO_H
15344 #include <sys/mtio.h>
15347 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15349 cat >>confdefs.h
<<_ACEOF
15350 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15357 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15358 #include <getopt.h>
15361 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15363 cat >>confdefs.h
<<_ACEOF
15364 #define HAVE_STRUCT_OPTION_NAME 1
15371 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15372 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15374 cat >>confdefs.h
<<_ACEOF
15375 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15380 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15381 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15383 cat >>confdefs.h
<<_ACEOF
15384 #define HAVE_STRUCT_STAT_ST_MTIM 1
15389 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15390 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15392 cat >>confdefs.h
<<_ACEOF
15393 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15398 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15399 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15401 cat >>confdefs.h
<<_ACEOF
15402 #define HAVE_STRUCT_STAT_ST_CTIM 1
15407 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15408 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15410 cat >>confdefs.h
<<_ACEOF
15411 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15416 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15417 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15419 cat >>confdefs.h
<<_ACEOF
15420 #define HAVE_STRUCT_STAT_ST_ATIM 1
15425 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15426 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15428 cat >>confdefs.h
<<_ACEOF
15429 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15434 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15435 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15437 cat >>confdefs.h
<<_ACEOF
15438 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15443 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15444 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15446 cat >>confdefs.h
<<_ACEOF
15447 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15452 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15453 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15455 cat >>confdefs.h
<<_ACEOF
15456 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15461 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15462 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15464 cat >>confdefs.h
<<_ACEOF
15465 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15470 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15471 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15473 cat >>confdefs.h
<<_ACEOF
15474 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15481 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
15482 #include <sys/types.h>
15484 #ifdef HAVE_NETINET_IN_H
15485 #include <netinet/in.h>
15488 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15490 cat >>confdefs.h
<<_ACEOF
15491 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15498 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15499 #include <resolv.h>
15502 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
15504 cat >>confdefs.h
<<_ACEOF
15505 #define HAVE_STRUCT___RES_STATE 1
15512 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
15513 #include <resolv.h>
15516 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
15518 cat >>confdefs.h
<<_ACEOF
15519 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15526 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15527 #include <sys/types.h>
15529 #ifdef HAVE_NETINET_IN_H
15530 # include <netinet/in.h>
15532 #ifdef HAVE_ARPA_NAMESER_H
15533 # include <arpa/nameser.h>
15536 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
15538 cat >>confdefs.h
<<_ACEOF
15539 #define HAVE_NS_MSG__MSG_PTR 1
15546 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15547 #include <sys/types.h>
15549 #ifdef HAVE_NETINET_IP_H
15550 #include <netinet/ip.h>
15552 #ifdef HAVE_NETINET_IP_ICMP_H
15553 #include <netinet/ip_icmp.h>
15555 #ifdef HAVE_NETINET_ICMP_VAR_H
15556 #include <netinet/icmp_var.h>
15559 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
15561 cat >>confdefs.h
<<_ACEOF
15562 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15569 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15570 #include <sys/types.h>
15572 #ifdef HAVE_ALIAS_H
15575 #ifdef HAVE_SYS_SOCKET_H
15576 #include <sys/socket.h>
15578 #ifdef HAVE_SYS_SOCKETVAR_H
15579 #include <sys/socketvar.h>
15581 #ifdef HAVE_SYS_TIMEOUT_H
15582 #include <sys/timeout.h>
15584 #ifdef HAVE_NETINET_IN_H
15585 #include <netinet/in.h>
15587 #ifdef HAVE_NETINET_IN_SYSTM_H
15588 #include <netinet/in_systm.h>
15590 #ifdef HAVE_NETINET_IP_H
15591 #include <netinet/ip.h>
15593 #ifdef HAVE_NETINET_IP_VAR_H
15594 #include <netinet/ip_var.h>
15596 #ifdef HAVE_NETINET_IP_ICMP_H
15597 #include <netinet/ip_icmp.h>
15599 #ifdef HAVE_NETINET_ICMP_VAR_H
15600 #include <netinet/icmp_var.h>
15603 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
15605 cat >>confdefs.h
<<_ACEOF
15606 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15613 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15614 #include <sys/types.h>
15616 #ifdef HAVE_SYS_SOCKETVAR_H
15617 #include <sys/socketvar.h>
15619 #ifdef HAVE_NETINET_IN_H
15620 #include <netinet/in.h>
15622 #ifdef HAVE_NETINET_IP_VAR_H
15623 #include <netinet/ip_var.h>
15626 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
15628 cat >>confdefs.h
<<_ACEOF
15629 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15636 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
15637 #include <netinet/ip_var.h>
15640 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
15642 cat >>confdefs.h
<<_ACEOF
15643 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15650 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
15651 #include <sys/types.h>
15653 #ifdef HAVE_SYS_SOCKETVAR_H
15654 #include <sys/socketvar.h>
15656 #ifdef HAVE_NETINET_IN_H
15657 #include <netinet/in.h>
15659 #ifdef HAVE_NETINET_TCP_H
15660 #include <netinet/tcp.h>
15662 #ifdef HAVE_NETINET_TCP_VAR_H
15663 #include <netinet/tcp_var.h>
15666 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
15668 cat >>confdefs.h
<<_ACEOF
15669 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
15676 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
15677 #include <netinet/tcp_var.h>
15680 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
15682 cat >>confdefs.h
<<_ACEOF
15683 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
15690 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
15691 #include <sys/types.h>
15693 #ifdef HAVE_NETINET_IN_H
15694 #include <netinet/in.h>
15696 #ifdef HAVE_NETINET_IP_VAR_H
15697 #include <netinet/ip_var.h>
15699 #ifdef HAVE_NETINET_UDP_H
15700 #include <netinet/udp.h>
15702 #ifdef HAVE_NETINET_UDP_VAR_H
15703 #include <netinet/udp_var.h>
15706 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
15708 cat >>confdefs.h
<<_ACEOF
15709 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
15716 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
15717 #include <sys/types.h>
15719 #ifdef HAVE_NET_IF_H
15720 # include <net/if.h>
15723 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
15725 cat >>confdefs.h
<<_ACEOF
15726 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
15733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
15734 $as_echo_n "checking for timezone variable... " >&6; }
15735 if ${ac_cv_have_timezone+:} false
; then :
15736 $as_echo_n "(cached) " >&6
15738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15739 /* end confdefs.h. */
15749 if ac_fn_c_try_link
"$LINENO"; then :
15750 ac_cv_have_timezone
="yes"
15752 ac_cv_have_timezone
="no"
15754 rm -f core conftest.err conftest.
$ac_objext \
15755 conftest
$ac_exeext conftest.
$ac_ext
15757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
15758 $as_echo "$ac_cv_have_timezone" >&6; }
15759 if test "$ac_cv_have_timezone" = "yes"
15762 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
15765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
15766 $as_echo_n "checking for daylight variable... " >&6; }
15767 if ${ac_cv_have_daylight+:} false
; then :
15768 $as_echo_n "(cached) " >&6
15770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15771 /* end confdefs.h. */
15781 if ac_fn_c_try_link
"$LINENO"; then :
15782 ac_cv_have_daylight
="yes"
15784 ac_cv_have_daylight
="no"
15786 rm -f core conftest.err conftest.
$ac_objext \
15787 conftest
$ac_exeext conftest.
$ac_ext
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
15790 $as_echo "$ac_cv_have_daylight" >&6; }
15791 if test "$ac_cv_have_daylight" = "yes"
15794 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
15798 ac_save_LIBS
="$LIBS"
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
15801 $as_echo_n "checking for isinf... " >&6; }
15802 if ${ac_cv_have_isinf+:} false
; then :
15803 $as_echo_n "(cached) " >&6
15805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15806 /* end confdefs.h. */
15811 float f = 0.0; return isinf(f)
15816 if ac_fn_c_try_link
"$LINENO"; then :
15817 ac_cv_have_isinf
="yes"
15819 ac_cv_have_isinf
="no"
15821 rm -f core conftest.err conftest.
$ac_objext \
15822 conftest
$ac_exeext conftest.
$ac_ext
15824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
15825 $as_echo "$ac_cv_have_isinf" >&6; }
15826 if test "$ac_cv_have_isinf" = "yes"
15829 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
15834 $as_echo_n "checking for isnan... " >&6; }
15835 if ${ac_cv_have_isnan+:} false
; then :
15836 $as_echo_n "(cached) " >&6
15838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15839 /* end confdefs.h. */
15844 float f = 0.0; return isnan(f)
15849 if ac_fn_c_try_link
"$LINENO"; then :
15850 ac_cv_have_isnan
="yes"
15852 ac_cv_have_isnan
="no"
15854 rm -f core conftest.err conftest.
$ac_objext \
15855 conftest
$ac_exeext conftest.
$ac_ext
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
15858 $as_echo "$ac_cv_have_isnan" >&6; }
15859 if test "$ac_cv_have_isnan" = "yes"
15862 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
15865 LIBS
="$ac_save_LIBS"
15869 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
15870 $as_echo_n "checking whether we need to define __i386__... " >&6; }
15871 if ${ac_cv_cpp_def___i386__+:} false
; then :
15872 $as_echo_n "(cached) " >&6
15874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15875 /* end confdefs.h. */
15880 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15881 $EGREP "yes" >/dev
/null
2>&1; then :
15882 ac_cv_cpp_def___i386__
=yes
15884 ac_cv_cpp_def___i386__
=no
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15890 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15891 if test $ac_cv_cpp_def___i386__ = yes; then :
15892 CFLAGS
="$CFLAGS -D__i386__"
15893 LINTFLAGS
="$LINTFLAGS -D__i386__"
15895 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15896 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15897 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
15898 $as_echo_n "(cached) " >&6
15900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15901 /* end confdefs.h. */
15906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15907 $EGREP "yes" >/dev
/null
2>&1; then :
15908 ac_cv_cpp_def___x86_64__
=yes
15910 ac_cv_cpp_def___x86_64__
=no
15915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15916 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15917 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15918 CFLAGS
="$CFLAGS -D__x86_64__"
15919 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
15921 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15922 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15923 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
15924 $as_echo_n "(cached) " >&6
15926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15927 /* end confdefs.h. */
15928 #ifndef __sparc64__
15932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15933 $EGREP "yes" >/dev
/null
2>&1; then :
15934 ac_cv_cpp_def___sparc64__
=yes
15936 ac_cv_cpp_def___sparc64__
=no
15941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15942 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15943 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15944 CFLAGS
="$CFLAGS -D__sparc64__"
15945 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
15947 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15948 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15949 if ${ac_cv_cpp_def___sparc__+:} false
; then :
15950 $as_echo_n "(cached) " >&6
15952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15953 /* end confdefs.h. */
15958 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15959 $EGREP "yes" >/dev
/null
2>&1; then :
15960 ac_cv_cpp_def___sparc__
=yes
15962 ac_cv_cpp_def___sparc__
=no
15967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15968 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15969 if test $ac_cv_cpp_def___sparc__ = yes; then :
15970 CFLAGS
="$CFLAGS -D__sparc__"
15971 LINTFLAGS
="$LINTFLAGS -D__sparc__"
15973 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15974 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15975 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
15976 $as_echo_n "(cached) " >&6
15978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15979 /* end confdefs.h. */
15980 #ifndef __powerpc64__
15984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15985 $EGREP "yes" >/dev
/null
2>&1; then :
15986 ac_cv_cpp_def___powerpc64__
=yes
15988 ac_cv_cpp_def___powerpc64__
=no
15993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15994 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15995 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15996 CFLAGS
="$CFLAGS -D__powerpc64__"
15997 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
15999 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16000 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16001 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16002 $as_echo_n "(cached) " >&6
16004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16005 /* end confdefs.h. */
16006 #ifndef __powerpc__
16010 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16011 $EGREP "yes" >/dev
/null
2>&1; then :
16012 ac_cv_cpp_def___powerpc__
=yes
16014 ac_cv_cpp_def___powerpc__
=no
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16020 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16021 if test $ac_cv_cpp_def___powerpc__ = yes; then :
16022 CFLAGS
="$CFLAGS -D__powerpc__"
16023 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16025 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16026 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16027 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16028 $as_echo_n "(cached) " >&6
16030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16031 /* end confdefs.h. */
16032 #ifndef __aarch64__
16036 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16037 $EGREP "yes" >/dev
/null
2>&1; then :
16038 ac_cv_cpp_def___aarch64__
=yes
16040 ac_cv_cpp_def___aarch64__
=no
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16046 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16047 if test $ac_cv_cpp_def___aarch64__ = yes; then :
16048 CFLAGS
="$CFLAGS -D__aarch64__"
16049 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16051 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16052 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16053 if ${ac_cv_cpp_def___arm__+:} false
; then :
16054 $as_echo_n "(cached) " >&6
16056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16057 /* end confdefs.h. */
16062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16063 $EGREP "yes" >/dev
/null
2>&1; then :
16064 ac_cv_cpp_def___arm__
=yes
16066 ac_cv_cpp_def___arm__
=no
16071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16072 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16073 if test $ac_cv_cpp_def___arm__ = yes; then :
16074 CFLAGS
="$CFLAGS -D__arm__"
16075 LINTFLAGS
="$LINTFLAGS -D__arm__"
16079 case $host_vendor in
16080 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16081 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16082 if ${ac_cv_cpp_def___sun__+:} false
; then :
16083 $as_echo_n "(cached) " >&6
16085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16086 /* end confdefs.h. */
16091 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16092 $EGREP "yes" >/dev
/null
2>&1; then :
16093 ac_cv_cpp_def___sun__
=yes
16095 ac_cv_cpp_def___sun__
=no
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16101 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16102 if test $ac_cv_cpp_def___sun__ = yes; then :
16103 CFLAGS
="$CFLAGS -D__sun__"
16104 LINTFLAGS
="$LINTFLAGS -D__sun__"
16112 ac_config_commands
="$ac_config_commands include/stamp-h"
16114 $as_echo_n "creating Makefile rules..." >&6
16117 MAKE_IMPLIB_RULES
="DLLFLAGS = $DLLFLAGS
16120 if test -n "$CROSSTARGET"
16122 as_fn_append MAKE_IMPLIB_RULES
"MAKEDEPFLAGS = -xo -xcross.o
16123 all: \$(STATICLIB:.a=.cross.a)
16128 if test -n "$DLLEXT"
16130 deps
="\$(MODULE)$DLLEXT \$(MODULE).fake"
16136 DLLFLAGS = $DLLFLAGS
16137 MAINSPEC = \$(MODULE:%.dll=%).spec
16138 IDL_TLB_RES = \$(IDL_TLB_SRCS:.idl=_t.res)
16139 MODULEFLAGS = -shared \$(srcdir)/\$(MAINSPEC) \$(EXTRADLLFLAGS)
16144 \$(C2MAN) -o \$(top_builddir)/documentation/man\$(api_manext) -R\$(top_builddir) -C\$(srcdir) \$(PARENTSRC:%=-P%) -I\$(top_srcdir)/include \$(MAINSPEC:%=-w %) \$(C_SRCS)
16146 \$(C2MAN) -o \$(top_builddir)/documentation/html -R\$(top_builddir) -C\$(srcdir) \$(PARENTSRC:%=-P%) -I\$(top_srcdir)/include -Th \$(MAINSPEC:%=-w %) \$(C_SRCS)
16148 \$(C2MAN) -o \$(top_builddir)/documentation/api-guide -R\$(top_builddir) -C\$(srcdir) \$(PARENTSRC:%=-P%) -I\$(top_srcdir)/include -Ts \$(MAINSPEC:%=-w %) \$(C_SRCS)
16150 \$(C2MAN) -o \$(top_builddir)/documentation/api-guide-xml -R\$(top_builddir) -C\$(srcdir) \$(PARENTSRC:%=-P%) -I\$(top_srcdir)/include -Tx \$(MAINSPEC:%=-w %) \$(C_SRCS)
16151 .PHONY: manpages htmlpages sgmlpages xmlpages
16156 DLLFLAGS = $DLLFLAGS
16164 DLLFLAGS = $DLLFLAGS
16165 TESTMODULE = \$(TESTDLL:%.dll=%)_test.exe
16166 TESTMODULE_STRIPPED = \$(TESTDLL:%.dll=%)_test-stripped.exe$DLLEXT
16167 WINETEST_RES = \$(top_builddir)/programs/winetest/\$(TESTDLL:%.dll=%)_test.res
16168 RUNTESTFLAGS = -q -P wine -T \$(top_builddir) -M \$(TESTDLL) -p \$(TESTMODULE)$DLLEXT
16169 EXTRA_OBJS = testlist.o
16171 all: \$(TESTMODULE)$DLLEXT \$(WINETEST_RES)
16173 \$(C_SRCS:.c=.ok): \$(TESTMODULE)$DLLEXT \$(TESTDLL:%=../%$DLLEXT)
16175 .PHONY: check test testclean crosstest
16178 if test -n "$CROSSTARGET"
16180 as_fn_append MAKE_TEST_RULES
"
16181 MAKEDEPFLAGS = -xo -xcross.o
16182 CROSSTESTMODULE = \$(TESTDLL:%.dll=%)_crosstest.exe
16184 crosstest: \$(CROSSTESTMODULE)
16189 wine_rules_file
=conf$
$rules.
make
16190 rm -f $wine_rules_file
16192 ALL_TEST_RESOURCES
=""
16195 wine_fn_append_file
()
16197 as_fn_append
$1 " \\$as_nl $2"
16200 wine_fn_append_rule
()
16202 $as_echo "$1" >>$wine_rules_file
16205 wine_fn_has_flag
()
16207 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
16210 wine_fn_depend_rules
()
16213 ac_makedep
="\$(MAKEDEP)"
16214 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
16216 *.
in) ac_input
=$ac_input:$1 ;;
16217 *) ac_makedep
="$1 $ac_makedep" ;;
16220 wine_fn_append_rule \
16221 "$ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps \$(MAKEDEP)
16222 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
16223 depend: $ac_dir/depend
16224 .PHONY: $ac_dir/depend
16225 $ac_dir/depend: $ac_makedep dummy
16226 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
16229 wine_fn_pot_rules
()
16231 test "x$with_gettextpo" = xyes ||
return
16233 if wine_fn_has_flag mc
16235 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
16236 wine_fn_append_rule \
16237 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
16238 @cd $ac_dir && \$(MAKE) msg.pot
16239 $ac_dir/msg.pot: tools/wmc include"
16241 if wine_fn_has_flag po
16243 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
16244 wine_fn_append_rule \
16245 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
16246 @cd $ac_dir && \$(MAKE) rsrc.pot
16247 $ac_dir/rsrc.pot: tools/wrc include"
16251 wine_fn_all_rules
()
16255 wine_fn_depend_rules
${ac_rules:-Make.rules}
16256 wine_fn_append_rule \
16259 $ac_dir: $ac_dir/Makefile dummy
16260 @cd $ac_dir && \$(MAKE)"
16263 wine_fn_install_rules
()
16265 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
16267 wine_fn_append_rule \
16268 ".PHONY: $ac_dir/install $ac_dir/uninstall
16269 $ac_dir/install:: $ac_dir
16270 @cd $ac_dir && \$(MAKE) install
16271 $ac_dir/uninstall:: $ac_dir/Makefile
16272 @cd $ac_dir && \$(MAKE) uninstall
16273 install:: $ac_dir/install
16274 __uninstall__: $ac_dir/uninstall"
16276 if wine_fn_has_flag install-lib
16278 wine_fn_append_rule \
16279 ".PHONY: $ac_dir/install-lib
16280 $ac_dir/install-lib:: $ac_dir
16281 @cd $ac_dir && \$(MAKE) install-lib
16282 install-lib:: $ac_dir/install-lib"
16285 if wine_fn_has_flag install-dev
16287 wine_fn_append_rule \
16288 ".PHONY: $ac_dir/install-dev
16289 $ac_dir/install-dev:: $ac_dir
16290 @cd $ac_dir && \$(MAKE) install-dev
16291 install-dev:: $ac_dir/install-dev"
16295 wine_fn_clean_rules
()
16299 if wine_fn_has_flag clean
16301 wine_fn_append_rule \
16302 "__clean__: $ac_dir/clean
16303 .PHONY: $ac_dir/clean
16304 $ac_dir/clean: $ac_dir/Makefile
16305 @cd $ac_dir && \$(MAKE) clean
16306 \$(RM) $ac_dir/Makefile"
16308 wine_fn_append_rule \
16310 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
16314 wine_fn_disabled_rules
()
16318 wine_fn_append_rule \
16320 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
16323 wine_fn_config_makefile
()
16329 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
16330 wine_fn_disabled_rules
; return
16333 wine_fn_install_rules
16334 wine_fn_clean_rules
16337 wine_fn_config_lib
()
16341 ac_dir
=dlls
/$ac_name
16344 if test "x$enable_tools" = xno
; then :
16347 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
16349 wine_fn_all_rules Make.rules.
in
16350 wine_fn_clean_rules
16352 wine_fn_append_rule \
16353 ".PHONY: $ac_dir/install $ac_dir/uninstall
16354 $ac_dir/install:: $ac_dir \$(DESTDIR)\$(dlldir)
16355 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16356 $ac_dir/uninstall::
16357 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16358 install install-dev:: $ac_dir/install
16359 __uninstall__: $ac_dir/uninstall
16360 __builddeps__: $ac_dir
16364 wine_fn_config_dll
()
16367 ac_dir
=dlls
/$ac_name
16370 ac_implib
=${4:-$ac_name}
16371 ac_file
=$ac_dir/lib
$ac_implib
16376 if test "x$enable_tools" = xno
; then :
16379 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
16382 *16) ac_implibflags
=" -m16" ;;
16384 *) ac_dll
=$ac_dll.dll
;;
16388 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
16389 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
16390 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
16391 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
16393 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
16394 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
16396 wine_fn_depend_rules Make.rules.
in
16397 wine_fn_clean_rules
$ac_clean
16399 wine_fn_disabled_rules
$ac_clean
16403 wine_fn_all_rules Make.rules.
in
16404 wine_fn_clean_rules
$ac_clean
16405 wine_fn_append_rule \
16406 "$ac_dir: __builddeps__
16407 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
16408 @cd $ac_dir && \$(MAKE) \$@
16409 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
16410 install install-lib:: $ac_dir/install-lib
16411 __uninstall__: $ac_dir/uninstall"
16412 if test -n "$DLLEXT"
16414 wine_fn_append_rule \
16415 "$ac_dir/install-lib:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16416 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
16417 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
16418 $ac_dir/uninstall::
16419 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
16421 wine_fn_append_rule \
16422 "$ac_dir/install-lib:: $ac_dir \$(DESTDIR)\$(dlldir)
16423 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
16424 $ac_dir/uninstall::
16425 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
16431 if wine_fn_has_flag staticimplib
16433 wine_fn_append_rule \
16434 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
16435 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
16436 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16437 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
16438 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
16439 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
16440 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
16441 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16442 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16443 $ac_dir/uninstall::
16444 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16445 install install-dev:: $ac_dir/install-dev
16446 __uninstall__: $ac_dir/uninstall"
16448 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
16450 wine_fn_append_rule \
16451 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
16452 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
16453 $ac_dir/uninstall::
16454 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
16457 if test -n "$CROSSTARGET"
16459 wine_fn_append_rule \
16460 "__builddeps__: $ac_file.cross.a
16461 $ac_file.cross.a: $ac_dir/Makefile dummy
16462 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
16465 elif wine_fn_has_flag implib
16467 wine_fn_append_rule \
16468 "__builddeps__: $ac_file.$IMPLIBEXT
16469 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16470 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
16471 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16472 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
16473 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
16474 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16475 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16476 $ac_dir/uninstall::
16477 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16478 install install-dev:: $ac_dir/install-dev
16479 __uninstall__: $ac_dir/uninstall"
16480 if test -n "$CROSSTARGET"
16482 wine_fn_append_rule \
16483 "__builddeps__: $ac_file.cross.a
16484 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16485 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
16488 if test "$ac_name" != "$ac_implib"
16490 wine_fn_append_rule \
16491 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
16492 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
16493 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
16495 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
16496 if test -n "$CROSSTARGET"
16498 wine_fn_append_rule \
16499 "__builddeps__: dlls/lib$ac_implib.cross.a
16500 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
16501 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
16503 \$(RM) dlls/lib$ac_implib.cross.a"
16509 wine_fn_config_program
()
16512 ac_dir
=programs
/$ac_name
16515 ac_program
=$ac_name
16519 *) ac_program
=$ac_program.exe
;;
16523 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
16524 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
16525 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
16526 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
16528 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
16529 wine_fn_disabled_rules
$ac_clean; return
16532 wine_fn_all_rules Make.rules.
in
16533 wine_fn_clean_rules
$ac_clean
16534 wine_fn_append_rule
"$ac_dir: __builddeps__"
16537 wine_fn_has_flag
install ||
return
16538 wine_fn_append_rule \
16539 ".PHONY: $ac_dir/install $ac_dir/uninstall
16540 install install-lib:: $ac_dir/install
16541 __uninstall__: $ac_dir/uninstall"
16543 if test -n "$DLLEXT"
16545 wine_fn_append_rule \
16546 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16547 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
16548 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
16549 $ac_dir/uninstall::
16550 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
16552 if test -z "$with_wine64" && wine_fn_has_flag installbin
16554 wine_fn_append_rule \
16555 "$ac_dir/install:: __tooldeps__ \$(DESTDIR)\$(bindir)
16556 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
16557 $ac_dir/uninstall::
16558 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
16561 wine_fn_append_rule \
16562 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(bindir)
16563 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
16564 $ac_dir/uninstall::
16565 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
16568 if test -z "$with_wine64" && wine_fn_has_flag manpage
16570 wine_fn_append_rule \
16571 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
16572 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
16573 $ac_dir/uninstall::
16574 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
16578 wine_fn_config_test
()
16585 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
16586 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
16587 ac_clean
="$ac_clean $ac_dir/testlist.c"
16589 if test "x$enable_tests" = xno
; then :
16590 wine_fn_disabled_rules
$ac_clean; return
16593 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
16594 wine_fn_all_rules Make.rules.
in
16595 wine_fn_clean_rules
$ac_clean
16597 wine_fn_append_rule \
16598 "$ac_dir: programs/winetest/Makefile __builddeps__
16599 programs/winetest: $ac_dir
16600 check test: $ac_dir/test
16601 .PHONY: $ac_dir/test
16602 $ac_dir/test: dummy
16603 @cd $ac_dir && \$(MAKE) test
16605 \$(RM) $ac_dir/*.ok"
16607 if test -n "$CROSSTARGET"
16609 wine_fn_append_rule \
16610 "crosstest: $ac_dir/crosstest
16611 .PHONY: $ac_dir/crosstest
16612 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
16613 @cd $ac_dir && \$(MAKE) crosstest"
16617 wine_fn_config_tool
()
16621 if test "x$enable_tools" = xno
; then :
16626 wine_fn_install_rules
16627 wine_fn_clean_rules
16629 wine_fn_append_rule
"__tooldeps__: $ac_dir"
16630 wine_fn_append_rule
"$ac_dir: libs/port"
16632 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
16636 wine_fn_config_makerules
()
16640 wine_fn_append_rule \
16641 "$ac_rules: $ac_rules.in $ac_deps config.status
16642 @./config.status $ac_rules
16647 wine_fn_config_symlink
()
16650 if test "x$1" = "x-d"
16656 wine_fn_append_rule \
16658 @./config.status \$@
16661 test -n "$ac_linkdir" ||
return
16662 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
16665 if test -z "$CROSSTARGET"
16667 wine_fn_append_rule \
16669 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16671 wine_fn_append_rule
"
16672 # Rules automatically generated by configure
16677 Makefile: Makefile.in Make.vars.in Make.rules config.status
16678 @./config.status Make.tmp Makefile"
16680 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
16681 wine_fn_config_symlink
-d dlls
/shell32 dlls
/shell32
/AUTHORS
16682 if test "x$enable_fonts" != xno
; then
16683 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16684 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16685 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16686 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16687 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16689 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16690 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16691 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16692 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16693 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16694 wine_fn_config_symlink wine
16695 if test "x$enable_win64" != xno
; then
16696 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16697 wine_fn_config_symlink wine64
16700 ac_config_commands
="$ac_config_commands dlls/gdi32/dibdrv"
16702 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
16704 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
16706 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
16708 ac_config_commands
="$ac_config_commands dlls/user32/resources"
16710 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
16712 ac_config_commands
="$ac_config_commands include/wine"
16715 wine_fn_config_makerules Make.rules
16716 MAKE_RULES
=Make.rules
16717 ac_config_files
="$ac_config_files Make.rules"
16720 wine_fn_config_dll acledit enable_acledit
16721 wine_fn_config_dll aclui enable_aclui implib
16722 wine_fn_config_dll activeds enable_activeds implib
16723 wine_fn_config_dll actxprxy enable_actxprxy clean
16724 wine_fn_config_lib adsiid
16725 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16726 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16727 wine_fn_config_dll advpack enable_advpack implib
16728 wine_fn_config_test dlls
/advpack
/tests advpack_test
16729 wine_fn_config_dll amstream enable_amstream clean
16730 wine_fn_config_test dlls
/amstream
/tests amstream_test
16731 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16732 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16733 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16734 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16735 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16736 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16737 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16738 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16739 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16740 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16741 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16742 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16743 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16744 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16745 wine_fn_config_dll apphelp enable_apphelp
16746 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16747 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16748 wine_fn_config_dll atl enable_atl clean
,implib
16749 wine_fn_config_test dlls
/atl
/tests atl_test
16750 wine_fn_config_dll atl100 enable_atl100 implib
16751 wine_fn_config_test dlls
/atl100
/tests atl100_test
16752 wine_fn_config_dll atl110 enable_atl110
16753 wine_fn_config_dll atl80 enable_atl80 implib
16754 wine_fn_config_test dlls
/atl80
/tests atl80_test
16755 wine_fn_config_dll atl90 enable_atl90
16756 wine_fn_config_dll authz enable_authz
16757 wine_fn_config_dll avicap32 enable_avicap32 implib
16758 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16759 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16760 wine_fn_config_dll avifile.dll16 enable_win16
16761 wine_fn_config_dll avrt enable_avrt implib
16762 wine_fn_config_dll bcrypt enable_bcrypt
16763 wine_fn_config_dll browseui enable_browseui clean
,po
16764 wine_fn_config_test dlls
/browseui
/tests browseui_test
16765 wine_fn_config_dll cabinet enable_cabinet implib
16766 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16767 wine_fn_config_dll capi2032 enable_capi2032 implib
16768 wine_fn_config_dll cards enable_cards implib
16769 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16770 wine_fn_config_dll clusapi enable_clusapi implib
16771 wine_fn_config_dll comcat enable_comcat
16772 wine_fn_config_test dlls
/comcat
/tests comcat_test
16773 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16774 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16775 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16776 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16777 wine_fn_config_dll
comm.drv16 enable_win16
16778 wine_fn_config_dll commdlg.dll16 enable_win16
16779 wine_fn_config_dll compobj.dll16 enable_win16
16780 wine_fn_config_dll compstui enable_compstui implib
16781 wine_fn_config_dll comsvcs enable_comsvcs implib
16782 wine_fn_config_dll credui enable_credui implib
,po
16783 wine_fn_config_test dlls
/credui
/tests credui_test
16784 wine_fn_config_dll crtdll enable_crtdll implib
16785 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16786 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16787 wine_fn_config_dll cryptdlg enable_cryptdlg po
16788 wine_fn_config_dll cryptdll enable_cryptdll implib
16789 wine_fn_config_dll cryptnet enable_cryptnet implib
16790 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16791 wine_fn_config_dll cryptui enable_cryptui implib
,po
16792 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16793 wine_fn_config_dll ctapi32 enable_ctapi32
16794 wine_fn_config_dll ctl3d.dll16 enable_win16
16795 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16796 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16797 wine_fn_config_dll d3d10 enable_d3d10 implib
16798 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16799 wine_fn_config_dll d3d10core enable_d3d10core implib
16800 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16801 wine_fn_config_dll d3d11 enable_d3d11
16802 wine_fn_config_dll d3d8 enable_d3d8 implib
16803 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16804 wine_fn_config_dll d3d9 enable_d3d9 implib
16805 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16806 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16807 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16808 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16809 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16810 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16811 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16812 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16813 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16814 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16815 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16816 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16817 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16818 wine_fn_config_dll d3dim enable_d3dim implib
16819 wine_fn_config_dll d3drm enable_d3drm implib
16820 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16821 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16822 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16823 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16824 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16825 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16826 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16827 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16828 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16829 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16830 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16831 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16832 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16833 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16834 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16835 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16836 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16837 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16838 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16839 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16840 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16841 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16842 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16843 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16844 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16845 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16846 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16847 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16848 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16849 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16850 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16851 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16852 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16853 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16854 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16855 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16856 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16857 wine_fn_config_dll dbgeng enable_dbgeng implib
16858 wine_fn_config_dll dbghelp enable_dbghelp implib
16859 wine_fn_config_dll dciman32 enable_dciman32 implib
16860 wine_fn_config_dll ddeml.dll16 enable_win16
16861 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16862 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16863 wine_fn_config_dll ddrawex enable_ddrawex clean
16864 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16865 wine_fn_config_dll devenum enable_devenum clean
,po
16866 wine_fn_config_test dlls
/devenum
/tests devenum_test
16867 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16868 wine_fn_config_dll difxapi enable_difxapi
16869 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16870 wine_fn_config_test dlls
/dinput
/tests dinput_test
16871 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16872 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16873 wine_fn_config_dll dispdib.dll16 enable_win16
16874 wine_fn_config_dll dispex enable_dispex clean
16875 wine_fn_config_test dlls
/dispex
/tests dispex_test
16876 wine_fn_config_dll display.drv16 enable_win16
16877 wine_fn_config_dll dmband enable_dmband clean
16878 wine_fn_config_test dlls
/dmband
/tests dmband_test
16879 wine_fn_config_dll dmcompos enable_dmcompos clean
16880 wine_fn_config_dll dmime enable_dmime clean
16881 wine_fn_config_test dlls
/dmime
/tests dmime_test
16882 wine_fn_config_dll dmloader enable_dmloader clean
16883 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16884 wine_fn_config_dll dmscript enable_dmscript clean
16885 wine_fn_config_dll dmstyle enable_dmstyle clean
16886 wine_fn_config_dll dmsynth enable_dmsynth clean
16887 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16888 wine_fn_config_dll dmusic enable_dmusic clean
16889 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16890 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16891 wine_fn_config_dll dnsapi enable_dnsapi implib
16892 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16893 wine_fn_config_dll dplay enable_dplay implib
16894 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16895 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16896 wine_fn_config_dll dpnaddr enable_dpnaddr
16897 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16898 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16899 wine_fn_config_dll dpnhpast enable_dpnhpast
16900 wine_fn_config_dll dpnlobby enable_dpnlobby
16901 wine_fn_config_dll dpwsockx enable_dpwsockx
16902 wine_fn_config_dll drmclien enable_drmclien
16903 wine_fn_config_dll dsound enable_dsound clean
,implib
16904 wine_fn_config_test dlls
/dsound
/tests dsound_test
16905 wine_fn_config_dll dssenh enable_dssenh
16906 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16907 wine_fn_config_dll dswave enable_dswave clean
16908 wine_fn_config_dll dwmapi enable_dwmapi implib
16909 wine_fn_config_dll dwrite enable_dwrite implib
16910 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16911 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16912 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16913 wine_fn_config_lib dxerr8
16914 wine_fn_config_lib dxerr9
16915 wine_fn_config_dll dxgi enable_dxgi implib
16916 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16917 wine_fn_config_lib dxguid
16918 wine_fn_config_dll explorerframe enable_explorerframe clean
16919 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16920 wine_fn_config_dll faultrep enable_faultrep implib
16921 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16922 wine_fn_config_dll fltlib enable_fltlib
16923 wine_fn_config_dll fusion enable_fusion
16924 wine_fn_config_test dlls
/fusion
/tests fusion_test
16925 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16926 wine_fn_config_dll gameux enable_gameux clean
16927 wine_fn_config_test dlls
/gameux
/tests gameux_test
16928 wine_fn_config_dll gdi.exe16 enable_win16
16929 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
16930 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16931 wine_fn_config_dll gdiplus enable_gdiplus implib
16932 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16933 wine_fn_config_dll glu32 enable_glu32 implib
16934 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16935 wine_fn_config_dll gpkcsp enable_gpkcsp
16936 wine_fn_config_dll hal enable_hal
16937 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
16938 wine_fn_config_dll hid enable_hid implib
16939 wine_fn_config_dll hlink enable_hlink clean
,implib
16940 wine_fn_config_test dlls
/hlink
/tests hlink_test
16941 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16942 wine_fn_config_dll httpapi enable_httpapi
16943 wine_fn_config_dll iccvid enable_iccvid po
16944 wine_fn_config_dll icmp enable_icmp
16945 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
16946 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
16947 wine_fn_config_dll ifsmgr.vxd enable_win16
16948 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16949 wine_fn_config_dll imagehlp enable_imagehlp implib
16950 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
16951 wine_fn_config_dll imm.dll16 enable_win16
16952 wine_fn_config_dll imm32 enable_imm32 implib
16953 wine_fn_config_test dlls
/imm32
/tests imm32_test
16954 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
16955 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
16956 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16957 wine_fn_config_dll inetmib1 enable_inetmib1
16958 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
16959 wine_fn_config_dll infosoft enable_infosoft clean
16960 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
16961 wine_fn_config_dll initpki enable_initpki
16962 wine_fn_config_dll inkobj enable_inkobj
16963 wine_fn_config_dll inseng enable_inseng clean
16964 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16965 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
16966 wine_fn_config_dll itircl enable_itircl
16967 wine_fn_config_dll itss enable_itss clean
16968 wine_fn_config_test dlls
/itss
/tests itss_test
16969 wine_fn_config_dll joy.cpl enable_joy_cpl po
16970 wine_fn_config_dll jscript enable_jscript clean
,po
16971 wine_fn_config_test dlls
/jscript
/tests jscript_test
16972 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
16973 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
16974 wine_fn_config_dll keyboard.drv16 enable_win16
16975 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16976 wine_fn_config_dll ktmw32 enable_ktmw32
16977 wine_fn_config_dll loadperf enable_loadperf implib
16978 wine_fn_config_dll localspl enable_localspl po
16979 wine_fn_config_test dlls
/localspl
/tests localspl_test
16980 wine_fn_config_dll localui enable_localui po
16981 wine_fn_config_test dlls
/localui
/tests localui_test
16982 wine_fn_config_dll lz32 enable_lz32 implib
16983 wine_fn_config_test dlls
/lz32
/tests lz32_test
16984 wine_fn_config_dll lzexpand.dll16 enable_win16
16985 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16986 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16987 wine_fn_config_dll mapistub enable_mapistub
16988 wine_fn_config_dll mciavi32 enable_mciavi32
16989 wine_fn_config_dll mcicda enable_mcicda
16990 wine_fn_config_dll mciqtz32 enable_mciqtz32
16991 wine_fn_config_dll mciseq enable_mciseq
16992 wine_fn_config_dll mciwave enable_mciwave
16993 wine_fn_config_dll mgmtapi enable_mgmtapi
16994 wine_fn_config_dll midimap enable_midimap
16995 wine_fn_config_dll mlang enable_mlang clean
,implib
16996 wine_fn_config_test dlls
/mlang
/tests mlang_test
16997 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16998 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16999 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17000 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17001 wine_fn_config_dll mmdevldr.vxd enable_win16
17002 wine_fn_config_dll mmsystem.dll16 enable_win16
17003 wine_fn_config_dll monodebg.vxd enable_win16
17004 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17005 wine_fn_config_dll mouse.drv16 enable_win16
17006 wine_fn_config_dll mpr enable_mpr implib
,po
17007 wine_fn_config_test dlls
/mpr
/tests mpr_test
17008 wine_fn_config_dll mprapi enable_mprapi implib
17009 wine_fn_config_dll msacm.dll16 enable_win16
17010 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17011 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17012 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17013 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17014 wine_fn_config_dll mscat32 enable_mscat32
17015 wine_fn_config_dll mscms enable_mscms implib
17016 wine_fn_config_test dlls
/mscms
/tests mscms_test
17017 wine_fn_config_dll mscoree enable_mscoree clean
17018 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17019 wine_fn_config_dll msctf enable_msctf clean
17020 wine_fn_config_test dlls
/msctf
/tests msctf_test
17021 wine_fn_config_dll msdaps enable_msdaps clean
17022 wine_fn_config_dll msdmo enable_msdmo implib
17023 wine_fn_config_dll msftedit enable_msftedit
17024 wine_fn_config_dll msg711.acm enable_msg711_acm
17025 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17026 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17027 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17028 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17029 wine_fn_config_dll msi enable_msi clean
,implib
,po
17030 wine_fn_config_test dlls
/msi
/tests msi_test
17031 wine_fn_config_dll msident enable_msident clean
17032 wine_fn_config_dll msimg32 enable_msimg32 implib
17033 wine_fn_config_dll msimsg enable_msimsg
17034 wine_fn_config_dll msimtf enable_msimtf clean
17035 wine_fn_config_dll msisip enable_msisip
17036 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17037 wine_fn_config_dll msls31 enable_msls31
17038 wine_fn_config_dll msnet32 enable_msnet32
17039 wine_fn_config_dll mspatcha enable_mspatcha
17040 wine_fn_config_dll msrle32 enable_msrle32 po
17041 wine_fn_config_dll mssign32 enable_mssign32
17042 wine_fn_config_dll mssip32 enable_mssip32
17043 wine_fn_config_dll mstask enable_mstask clean
17044 wine_fn_config_test dlls
/mstask
/tests mstask_test
17045 wine_fn_config_dll msvcirt enable_msvcirt
17046 wine_fn_config_dll msvcm80 enable_msvcm80
17047 wine_fn_config_dll msvcm90 enable_msvcm90
17048 wine_fn_config_dll msvcp100 enable_msvcp100
17049 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17050 wine_fn_config_dll msvcp110 enable_msvcp110
17051 wine_fn_config_dll msvcp60 enable_msvcp60
17052 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17053 wine_fn_config_dll msvcp70 enable_msvcp70
17054 wine_fn_config_dll msvcp71 enable_msvcp71
17055 wine_fn_config_dll msvcp80 enable_msvcp80
17056 wine_fn_config_dll msvcp90 enable_msvcp90
17057 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17058 wine_fn_config_dll msvcr100 enable_msvcr100
17059 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17060 wine_fn_config_dll msvcr110 enable_msvcr110
17061 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17062 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17063 wine_fn_config_dll msvcr80 enable_msvcr80
17064 wine_fn_config_dll msvcr90 enable_msvcr90
17065 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17066 wine_fn_config_dll msvcrt enable_msvcrt implib
17067 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17068 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17069 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17070 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17071 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17072 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17073 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17074 wine_fn_config_dll msvidc32 enable_msvidc32 po
17075 wine_fn_config_dll msvideo.dll16 enable_win16
17076 wine_fn_config_dll mswsock enable_mswsock implib
17077 wine_fn_config_dll msxml enable_msxml clean
17078 wine_fn_config_dll msxml2 enable_msxml2 clean
17079 wine_fn_config_dll msxml3 enable_msxml3 clean
17080 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17081 wine_fn_config_dll msxml4 enable_msxml4 clean
17082 wine_fn_config_dll msxml6 enable_msxml6 clean
17083 wine_fn_config_dll nddeapi enable_nddeapi implib
17084 wine_fn_config_dll netapi32 enable_netapi32 implib
17085 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17086 wine_fn_config_dll netcfgx enable_netcfgx
17087 wine_fn_config_dll newdev enable_newdev implib
17088 wine_fn_config_dll normaliz enable_normaliz implib
17089 wine_fn_config_dll npmshtml enable_npmshtml
17090 wine_fn_config_dll ntdll enable_ntdll implib
17091 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17092 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17093 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17094 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17095 wine_fn_config_dll ntprint enable_ntprint
17096 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17097 wine_fn_config_dll objsel enable_objsel clean
17098 wine_fn_config_dll odbc32 enable_odbc32 implib
17099 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17100 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17101 wine_fn_config_dll odbccu32 enable_odbccu32
17102 wine_fn_config_dll ole2.dll16 enable_win16
17103 wine_fn_config_dll ole2conv.dll16 enable_win16
17104 wine_fn_config_dll ole2disp.dll16 enable_win16
17105 wine_fn_config_dll ole2nls.dll16 enable_win16
17106 wine_fn_config_dll ole2prox.dll16 enable_win16
17107 wine_fn_config_dll ole2thk.dll16 enable_win16
17108 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17109 wine_fn_config_test dlls
/ole32
/tests ole32_test
17110 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17111 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17112 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17113 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17114 wine_fn_config_dll olecli.dll16 enable_win16
17115 wine_fn_config_dll olecli32 enable_olecli32 implib
17116 wine_fn_config_dll oledb32 enable_oledb32 clean
17117 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17118 wine_fn_config_dll oledlg enable_oledlg implib
,po
17119 wine_fn_config_dll olepro32 enable_olepro32 implib
17120 wine_fn_config_dll olesvr.dll16 enable_win16
17121 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17122 wine_fn_config_dll olethk32 enable_olethk32
17123 wine_fn_config_dll openal32 enable_openal32
17124 wine_fn_config_dll opencl enable_opencl
17125 wine_fn_config_dll opengl32 enable_opengl32 implib
17126 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17127 wine_fn_config_dll pdh enable_pdh implib
17128 wine_fn_config_test dlls
/pdh
/tests pdh_test
17129 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17130 wine_fn_config_dll pidgen enable_pidgen
17131 wine_fn_config_dll powrprof enable_powrprof implib
17132 wine_fn_config_dll printui enable_printui
17133 wine_fn_config_dll propsys enable_propsys clean
,implib
17134 wine_fn_config_test dlls
/propsys
/tests propsys_test
17135 wine_fn_config_dll psapi enable_psapi implib
17136 wine_fn_config_test dlls
/psapi
/tests psapi_test
17137 wine_fn_config_dll pstorec enable_pstorec clean
17138 wine_fn_config_dll qcap enable_qcap
17139 wine_fn_config_test dlls
/qcap
/tests qcap_test
17140 wine_fn_config_dll qedit enable_qedit clean
17141 wine_fn_config_test dlls
/qedit
/tests qedit_test
17142 wine_fn_config_dll qmgr enable_qmgr clean
17143 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17144 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17145 wine_fn_config_dll quartz enable_quartz clean
,implib
17146 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17147 wine_fn_config_dll query enable_query
17148 wine_fn_config_dll rasapi16.dll16 enable_win16
17149 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17150 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17151 wine_fn_config_dll rasdlg enable_rasdlg implib
17152 wine_fn_config_dll regapi enable_regapi
17153 wine_fn_config_dll resutils enable_resutils implib
17154 wine_fn_config_dll riched20 enable_riched20 implib
17155 wine_fn_config_test dlls
/riched20
/tests riched20_test
17156 wine_fn_config_dll riched32 enable_riched32
17157 wine_fn_config_test dlls
/riched32
/tests riched32_test
17158 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17159 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17160 wine_fn_config_dll rsabase enable_rsabase
17161 wine_fn_config_dll rsaenh enable_rsaenh implib
17162 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17163 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17164 wine_fn_config_dll rtutils enable_rtutils implib
17165 wine_fn_config_dll samlib enable_samlib
17166 wine_fn_config_dll sane.ds enable_sane_ds po
17167 wine_fn_config_dll scarddlg enable_scarddlg
17168 wine_fn_config_dll sccbase enable_sccbase
17169 wine_fn_config_dll schannel enable_schannel
17170 wine_fn_config_test dlls
/schannel
/tests schannel_test
17171 wine_fn_config_dll scrrun enable_scrrun clean
17172 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17173 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17174 wine_fn_config_dll secur32 enable_secur32 implib
17175 wine_fn_config_test dlls
/secur32
/tests secur32_test
17176 wine_fn_config_dll security enable_security
17177 wine_fn_config_dll sensapi enable_sensapi implib
17178 wine_fn_config_dll serialui enable_serialui implib
,po
17179 wine_fn_config_test dlls
/serialui
/tests serialui_test
17180 wine_fn_config_dll setupapi enable_setupapi implib
,po
17181 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17182 wine_fn_config_dll setupx.dll16 enable_win16
17183 wine_fn_config_dll sfc enable_sfc implib
17184 wine_fn_config_dll sfc_os enable_sfc_os implib
17185 wine_fn_config_dll shdoclc enable_shdoclc po
17186 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17187 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17188 wine_fn_config_dll shell.dll16 enable_win16
17189 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17190 wine_fn_config_test dlls
/shell32
/tests shell32_test
17191 wine_fn_config_dll shfolder enable_shfolder implib
17192 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17193 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17194 wine_fn_config_dll slbcsp enable_slbcsp
17195 wine_fn_config_dll slc enable_slc implib
17196 wine_fn_config_dll snmpapi enable_snmpapi implib
17197 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17198 wine_fn_config_dll softpub enable_softpub
17199 wine_fn_config_dll sound.drv16 enable_win16
17200 wine_fn_config_dll spoolss enable_spoolss implib
17201 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17202 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17203 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17204 wine_fn_config_dll sti enable_sti clean
,implib
17205 wine_fn_config_test dlls
/sti
/tests sti_test
17206 wine_fn_config_dll storage.dll16 enable_win16
17207 wine_fn_config_dll stress.dll16 enable_win16
17208 wine_fn_config_lib strmbase
17209 wine_fn_config_lib strmiids
17210 wine_fn_config_dll svrapi enable_svrapi
17211 wine_fn_config_dll sxs enable_sxs implib
17212 wine_fn_config_test dlls
/sxs
/tests sxs_test
17213 wine_fn_config_dll system.drv16 enable_win16
17214 wine_fn_config_dll t2embed enable_t2embed
17215 wine_fn_config_dll tapi32 enable_tapi32 implib
17216 wine_fn_config_dll toolhelp.dll16 enable_win16
17217 wine_fn_config_dll traffic enable_traffic
17218 wine_fn_config_dll twain.dll16 enable_win16
17219 wine_fn_config_dll twain_32 enable_twain_32
17220 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17221 wine_fn_config_dll typelib.dll16 enable_win16
17222 wine_fn_config_dll unicows enable_unicows implib
17223 wine_fn_config_dll updspapi enable_updspapi
17224 wine_fn_config_dll url enable_url implib
17225 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17226 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17227 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17228 wine_fn_config_dll user.exe16 enable_win16
17229 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17230 wine_fn_config_test dlls
/user32
/tests user32_test
17231 wine_fn_config_dll userenv enable_userenv implib
17232 wine_fn_config_test dlls
/userenv
/tests userenv_test
17233 wine_fn_config_dll usp10 enable_usp10 implib
17234 wine_fn_config_test dlls
/usp10
/tests usp10_test
17235 wine_fn_config_lib uuid
17236 wine_fn_config_dll uxtheme enable_uxtheme implib
17237 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17238 wine_fn_config_dll vbscript enable_vbscript clean
17239 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17240 wine_fn_config_dll vcomp enable_vcomp
17241 wine_fn_config_dll vcomp100 enable_vcomp100
17242 wine_fn_config_dll vcomp90 enable_vcomp90
17243 wine_fn_config_dll vdhcp.vxd enable_win16
17244 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17245 wine_fn_config_dll ver.dll16 enable_win16
17246 wine_fn_config_dll version enable_version implib
17247 wine_fn_config_test dlls
/version
/tests version_test
17248 wine_fn_config_dll vmm.vxd enable_win16
17249 wine_fn_config_dll vnbt.vxd enable_win16
17250 wine_fn_config_dll vnetbios.vxd enable_win16
17251 wine_fn_config_dll vtdapi.vxd enable_win16
17252 wine_fn_config_dll vwin32.vxd enable_win16
17253 wine_fn_config_dll w32skrnl enable_win16
17254 wine_fn_config_dll w32sys.dll16 enable_win16
17255 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17256 wine_fn_config_dll wbemprox enable_wbemprox clean
17257 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17258 wine_fn_config_dll webservices enable_webservices implib
17259 wine_fn_config_dll wer enable_wer implib
17260 wine_fn_config_test dlls
/wer
/tests wer_test
17261 wine_fn_config_dll wevtapi enable_wevtapi
17262 wine_fn_config_dll wiaservc enable_wiaservc clean
17263 wine_fn_config_dll win32s16.dll16 enable_win16
17264 wine_fn_config_dll win87em.dll16 enable_win16
17265 wine_fn_config_dll winaspi.dll16 enable_win16
17266 wine_fn_config_dll windebug.dll16 enable_win16
17267 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17268 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17269 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17270 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17271 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17272 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17273 wine_fn_config_lib winecrt0
17274 wine_fn_config_dll wined3d enable_wined3d implib
17275 wine_fn_config_dll winegstreamer enable_winegstreamer
17276 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17277 wine_fn_config_dll winemac.drv enable_winemac_drv
17278 wine_fn_config_dll winemapi enable_winemapi
17279 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17280 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17281 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17282 wine_fn_config_dll wineps16.drv16 enable_win16
17283 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17284 wine_fn_config_dll winex11.drv enable_winex11_drv
17285 wine_fn_config_dll wing.dll16 enable_win16
17286 wine_fn_config_dll wing32 enable_wing32
17287 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17288 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17289 wine_fn_config_dll wininet enable_wininet implib
,po
17290 wine_fn_config_test dlls
/wininet
/tests wininet_test
17291 wine_fn_config_dll winmm enable_winmm implib
,po
17292 wine_fn_config_test dlls
/winmm
/tests winmm_test
17293 wine_fn_config_dll winnls.dll16 enable_win16
17294 wine_fn_config_dll winnls32 enable_winnls32 implib
17295 wine_fn_config_dll winscard enable_winscard implib
17296 wine_fn_config_dll winsock.dll16 enable_win16
17297 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17298 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17299 wine_fn_config_dll winsta enable_winsta
17300 wine_fn_config_dll wintab.dll16 enable_win16
17301 wine_fn_config_dll wintab32 enable_wintab32 implib
17302 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17303 wine_fn_config_dll wintrust enable_wintrust implib
17304 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17305 wine_fn_config_dll wlanapi enable_wlanapi
17306 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17307 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17308 wine_fn_config_dll wmi enable_wmi
17309 wine_fn_config_dll wmiutils enable_wmiutils clean
17310 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17311 wine_fn_config_dll wmvcore enable_wmvcore
17312 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17313 wine_fn_config_dll wow32 enable_win16 implib
17314 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17315 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17316 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17317 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17318 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17319 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17320 wine_fn_config_dll wsock32 enable_wsock32 implib
17321 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17322 wine_fn_config_dll wuapi enable_wuapi clean
17323 wine_fn_config_dll wuaueng enable_wuaueng
17324 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17325 wine_fn_config_dll xinput1_1 enable_xinput1_1
17326 wine_fn_config_dll xinput1_2 enable_xinput1_2
17327 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17328 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17329 wine_fn_config_dll xinput1_4 enable_xinput1_4
17330 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17331 wine_fn_config_dll xmllite enable_xmllite
17332 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17333 wine_fn_config_dll xolehlp enable_xolehlp
17334 wine_fn_config_dll xpsprint enable_xpsprint
17335 wine_fn_config_dll xpssvcs enable_xpssvcs
17336 wine_fn_config_makefile documentation enable_documentation clean
17337 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17338 wine_fn_config_makefile include enable_include clean
,install-dev
17339 wine_fn_config_makefile libs
/port enable_libs_port
17340 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17341 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17342 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17343 wine_fn_config_program arp enable_arp
install
17344 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17345 wine_fn_config_program attrib enable_attrib
install,po
17346 wine_fn_config_program cabarc enable_cabarc
install
17347 wine_fn_config_program cacls enable_cacls
install
17348 wine_fn_config_program
clock enable_clock
install,po
17349 wine_fn_config_program cmd enable_cmd
install,po
17350 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17351 wine_fn_config_program conhost enable_conhost
install
17352 wine_fn_config_program control enable_control
install
17353 wine_fn_config_program cscript enable_cscript
install
17354 wine_fn_config_program dxdiag enable_dxdiag
install,po
17355 wine_fn_config_program eject enable_eject
install
17356 wine_fn_config_program
expand enable_expand
install
17357 wine_fn_config_program explorer enable_explorer
install,po
17358 wine_fn_config_program extrac32 enable_extrac32
install
17359 wine_fn_config_program findstr enable_findstr
install
17360 wine_fn_config_program hh enable_hh
install
17361 wine_fn_config_program hostname enable_hostname
install,po
17362 wine_fn_config_program icinfo enable_icinfo
install
17363 wine_fn_config_program iexplore enable_iexplore
install
17364 wine_fn_config_program ipconfig enable_ipconfig
install,po
17365 wine_fn_config_program lodctr enable_lodctr
install
17366 wine_fn_config_program mofcomp enable_mofcomp
install
17367 wine_fn_config_program mshta enable_mshta
install
17368 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17369 wine_fn_config_program net enable_net
install,po
17370 wine_fn_config_program netsh enable_netsh
install
17371 wine_fn_config_program netstat enable_netstat
install,po
17372 wine_fn_config_program ngen enable_ngen
install
17373 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17374 wine_fn_config_program oleview enable_oleview
install,po
17375 wine_fn_config_program
ping enable_ping
install
17376 wine_fn_config_program plugplay enable_plugplay
install
17377 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17378 wine_fn_config_program progman enable_progman
install,po
17379 wine_fn_config_program reg enable_reg
install,po
17380 wine_fn_config_program regasm enable_regasm
install
17381 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17382 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17383 wine_fn_config_program regsvcs enable_regsvcs
install
17384 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
17385 wine_fn_config_program rpcss enable_rpcss clean
,install
17386 wine_fn_config_program rundll.exe16 enable_win16
install
17387 wine_fn_config_program rundll32 enable_rundll32
install
17388 wine_fn_config_program sc enable_sc
install
17389 wine_fn_config_program schtasks enable_schtasks
install
17390 wine_fn_config_program secedit enable_secedit
install
17391 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17392 wine_fn_config_program services enable_services clean
,install
17393 wine_fn_config_test programs
/services
/tests services.exe_test
17394 wine_fn_config_program spoolsv enable_spoolsv
install
17395 wine_fn_config_program start enable_start
install,po
17396 wine_fn_config_program svchost enable_svchost
install
17397 wine_fn_config_program taskkill enable_taskkill
install,po
17398 wine_fn_config_program tasklist enable_tasklist
install
17399 wine_fn_config_program taskmgr enable_taskmgr
install,po
17400 wine_fn_config_program termsv enable_termsv
install
17401 wine_fn_config_program uninstaller enable_uninstaller
install,po
17402 wine_fn_config_program unlodctr enable_unlodctr
install
17403 wine_fn_config_program view enable_view
install,po
17404 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17405 wine_fn_config_program winebrowser enable_winebrowser
install
17406 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17407 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17408 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17409 wine_fn_config_program winedevice enable_winedevice
install
17410 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17411 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17412 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17413 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17414 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17415 wine_fn_config_program winetest enable_winetest clean
17416 wine_fn_config_program winevdm enable_win16
install
17417 wine_fn_config_program winhelp.exe16 enable_win16
install
17418 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17419 wine_fn_config_program winoldap.mod16 enable_win16
install
17420 wine_fn_config_program winver enable_winver
install
17421 wine_fn_config_program wmic enable_wmic
install,po
17422 wine_fn_config_program wordpad enable_wordpad
install,po
17423 wine_fn_config_program
write enable_write
install,po
17424 wine_fn_config_program wscript enable_wscript clean
,install
17425 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17426 wine_fn_config_program wusa enable_wusa
install
17427 wine_fn_config_program xcopy enable_xcopy
install,po
17428 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17429 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17430 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17431 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17432 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17433 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17434 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17435 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17486 ac_config_commands
="$ac_config_commands Makefile"
17489 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17493 if test "x$enable_maintainer_mode" = xyes
17495 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17496 autoconf --warnings=all
17497 include/config.h.in: include/stamp-h.in
17498 include/stamp-h.in: configure.ac aclocal.m4
17499 autoheader --warnings=all
17500 @echo timestamp > \$@"
17503 if test "x$with_gettextpo" = xyes
17505 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17506 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17507 \$(LINGUAS:%=po/%.po): po/wine.pot
17508 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17509 po/wine.pot: \$(ALL_POT_FILES)
17510 msgcat -o \$@ \$(ALL_POT_FILES)"
17513 if test "$MSGFMT" != false
17515 PORCFLAGS
="--po-dir=\$(top_builddir)/po"
17517 wine_fn_append_rule
"__builddeps__: \$(ALL_MO_FILES)
17519 \$(RM) \$(ALL_MO_FILES)"
17522 test "$srcdir" = . || posrc
="$srcdir/po"
17525 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17526 \$(MSGFMT) -o \$@ $posrc/$i.po"
17532 if test "x$enable_tools" != xno
17534 ac_config_commands
="$ac_config_commands tools"
17536 wine_fn_append_rule
"tools/makedep$ac_exeext: tools/makedep.c include/config.h
17537 \$(CC) -Iinclude -I$srcdir/include \$(ALLCFLAGS) -o \$@ $srcdir/tools/makedep.c \$(LDFLAGS)
17539 \$(RM) tools/makedep$ac_exeext"
17541 wine_fn_append_rule
"\$(MAKEDEP):
17542 @echo \"You need to run make in $TOOLSDIR first\" && false"
17545 if test -n "$with_wine64"
17547 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17548 fonts server tools:
17549 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17550 $with_wine64/loader/wine:
17551 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17552 $with_wine64/loader/wine-preloader:
17553 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17555 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17557 as_fn_append LOADER_RULES
"
17560 wine.inf: wine.inf.in \$(top_builddir)/include/config.h
17561 LC_ALL=C sed -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' \$(srcdir)/wine.inf.in >\$@ || (\$(RM) \$@ && false)
17563 install install-lib:: wine.inf \$(DESTDIR)\$(datadir)/wine install-man-pages
17564 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17565 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17568 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17572 $as_echo " done" >&6
17573 cat >confcache
<<\_ACEOF
17574 # This file is a shell script that caches the results of configure
17575 # tests run on this system so they can be shared between configure
17576 # scripts and configure runs, see configure's option --config-cache.
17577 # It is not useful on other systems. If it contains results you don't
17578 # want to keep, you may remove or edit it.
17580 # config.status only pays attention to the cache file if you give it
17581 # the --recheck option to rerun configure.
17583 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17584 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17585 # following values.
17589 # The following way of writing the cache mishandles newlines in values,
17590 # but we know of no workaround that is simple, portable, and efficient.
17591 # So, we kill variables containing newlines.
17592 # Ultrix sh set writes to stderr and can't be redirected directly,
17593 # and sets the high bit in the cache file unless we assign to the vars.
17595 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17596 eval ac_val
=\$
$ac_var
17600 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17601 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17604 _ | IFS | as_nl
) ;; #(
17605 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17606 *) { eval $ac_var=; unset $ac_var;} ;;
17612 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17613 *${as_nl}ac_space
=\
*)
17614 # `set' does not quote correctly, so add quotes: double-quote
17615 # substitution turns \\\\ into \\, and sed turns \\ into \.
17618 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17621 # `set' quotes correctly as required by POSIX, so do not add quotes.
17622 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17631 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17633 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17635 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17636 if test -w "$cache_file"; then
17637 if test "x$cache_file" != "x/dev/null"; then
17638 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17639 $as_echo "$as_me: updating cache $cache_file" >&6;}
17640 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17641 cat confcache
>"$cache_file"
17643 case $cache_file in #(
17645 mv -f confcache
"$cache_file"$$
&&
17646 mv -f "$cache_file"$$
"$cache_file" ;; #(
17648 mv -f confcache
"$cache_file" ;;
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17654 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17659 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17660 # Let make expand exec_prefix.
17661 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17663 DEFS
=-DHAVE_CONFIG_H
17668 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17669 # 1. Remove the extension, and $U if already installed.
17670 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17671 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17672 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17673 # will be set to the directory where LIBOBJS objects are built.
17674 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17675 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17677 LIBOBJS
=$ac_libobjs
17679 LTLIBOBJS
=$ac_ltlibobjs
17683 : "${CONFIG_STATUS=./config.status}"
17685 ac_clean_files_save
=$ac_clean_files
17686 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17688 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17690 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17692 # Generated by $as_me.
17693 # Run this file to recreate the current configuration.
17694 # Compiler output produced by configure, useful for debugging
17695 # configure, is in config.log if it exists.
17698 ac_cs_recheck=false
17701 SHELL=\${CONFIG_SHELL-$SHELL}
17704 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17705 ## -------------------- ##
17706 ## M4sh Initialization. ##
17707 ## -------------------- ##
17709 # Be more Bourne compatible
17710 DUALCASE
=1; export DUALCASE
# for MKS sh
17711 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17714 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17715 # is contrary to our usage. Disable this feature.
17716 alias -g '${1+"$@"}'='"$@"'
17717 setopt NO_GLOB_SUBST
17719 case `(set -o) 2>/dev/null` in #(
17731 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17732 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17733 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17734 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17735 # Prefer a ksh shell builtin over an external printf program on Solaris,
17736 # but without wasting forks for bash or zsh.
17737 if test -z "$BASH_VERSION$ZSH_VERSION" \
17738 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17739 as_echo='print
-r --'
17740 as_echo_n='print
-rn --'
17741 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17742 as_echo='printf %s
\n'
17743 as_echo_n='printf %s
'
17745 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17746 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17747 as_echo_n='/usr
/ucb
/echo -n'
17749 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17750 as_echo_n_body='eval
17754 expr "X$arg" : "X\\(.*\\)$as_nl";
17755 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17757 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17759 export as_echo_n_body
17760 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17762 export as_echo_body
17763 as_echo='sh
-c $as_echo_body as_echo
'
17766 # The user is always right.
17767 if test "${PATH_SEPARATOR+set}" != set; then
17769 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17770 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17777 # We need space, tab and new line, in precisely that order. Quoting is
17778 # there to prevent editors from complaining about space-tab.
17779 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17780 # splitting by setting IFS to empty value.)
17783 # Find who we are. Look in the path if we contain no directory separator.
17786 *[\\/]* ) as_myself=$0 ;;
17787 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17788 for as_dir in $PATH
17791 test -z "$as_dir" && as_dir=.
17792 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17798 # We did not find ourselves, most probably we were run as `sh COMMAND'
17799 # in which case we are not to be found in the path.
17800 if test "x$as_myself" = x
; then
17803 if test ! -f "$as_myself"; then
17804 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17808 # Unset variables that we do not need and which cause bugs (e.g. in
17809 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17810 # suppresses any "Segmentation fault" message there. '((' could
17811 # trigger a bug in pdksh 5.2.14.
17812 for as_var
in BASH_ENV ENV MAIL MAILPATH
17813 do eval test x\
${$as_var+set} = xset \
17814 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17827 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17830 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17831 # ----------------------------------------
17832 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17833 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17834 # script with STATUS, using 1 if that was 0.
17837 as_status
=$1; test $as_status -eq 0 && as_status
=1
17839 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17840 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17842 $as_echo "$as_me: error: $2" >&2
17843 as_fn_exit
$as_status
17847 # as_fn_set_status STATUS
17848 # -----------------------
17849 # Set $? to STATUS, without forking.
17850 as_fn_set_status
()
17853 } # as_fn_set_status
17855 # as_fn_exit STATUS
17856 # -----------------
17857 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17861 as_fn_set_status
$1
17867 # Portably unset VAR.
17870 { eval $1=; unset $1;}
17872 as_unset
=as_fn_unset
17873 # as_fn_append VAR VALUE
17874 # ----------------------
17875 # Append the text in VALUE to the end of the definition contained in VAR. Take
17876 # advantage of any shell optimizations that allow amortized linear growth over
17877 # repeated appends, instead of the typical quadratic growth present in naive
17879 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17880 eval 'as_fn_append ()
17891 # as_fn_arith ARG...
17892 # ------------------
17893 # Perform arithmetic evaluation on the ARGs, and store the result in the
17894 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17895 # must be portable across $(()) and expr.
17896 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17897 eval 'as_fn_arith ()
17904 as_val
=`expr "$@" || test $? -eq 1`
17909 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17910 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17916 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17917 as_basename
=basename
17922 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17928 as_me
=`$as_basename -- "$0" ||
17929 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17930 X"$0" : 'X\(//\)$' \| \
17931 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17933 sed '/^.*\/\([^/][^/]*\)\/*$/{
17947 # Avoid depending upon Character Ranges.
17948 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17949 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17950 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17951 as_cr_digits
='0123456789'
17952 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17954 ECHO_C
= ECHO_N
= ECHO_T
=
17955 case `echo -n x` in #(((((
17957 case `echo 'xy\c'` in
17958 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17960 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17967 rm -f conf$$ conf$$.exe conf$$.
file
17968 if test -d conf$$.dir
; then
17969 rm -f conf$$.dir
/conf$$.
file
17972 mkdir conf$$.dir
2>/dev
/null
17974 if (echo >conf$$.
file) 2>/dev
/null
; then
17975 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17977 # ... but there are two gotchas:
17978 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17979 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17980 # In both cases, we have to default to `cp -pR'.
17981 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17983 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17991 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17992 rmdir conf$$.dir
2>/dev
/null
17997 # Create "$as_dir" as a directory, including parents if necessary.
18002 -*) as_dir
=.
/$as_dir;;
18004 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18008 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18009 *) as_qdir
=$as_dir;;
18011 as_dirs
="'$as_qdir' $as_dirs"
18012 as_dir
=`$as_dirname -- "$as_dir" ||
18013 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18014 X"$as_dir" : 'X\(//\)[^/]' \| \
18015 X"$as_dir" : 'X\(//\)$' \| \
18016 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18017 $as_echo X"$as_dir" |
18018 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18022 /^X\(\/\/\)[^/].*/{
18035 test -d "$as_dir" && break
18037 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18038 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18042 if mkdir
-p .
2>/dev
/null
; then
18043 as_mkdir_p
='mkdir -p "$as_dir"'
18045 test -d .
/-p && rmdir .
/-p
18050 # as_fn_executable_p FILE
18051 # -----------------------
18052 # Test if FILE is an executable regular file.
18053 as_fn_executable_p
()
18055 test -f "$1" && test -x "$1"
18056 } # as_fn_executable_p
18057 as_test_x
='test -x'
18058 as_executable_p
=as_fn_executable_p
18060 # Sed expression to map a string onto a valid CPP name.
18061 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18063 # Sed expression to map a string onto a valid variable name.
18064 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18068 ## ----------------------------------- ##
18069 ## Main body of $CONFIG_STATUS script. ##
18070 ## ----------------------------------- ##
18072 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18075 # Save the log message, to keep $0 and so on meaningful, and to
18076 # report actual input values of CONFIG_FILES etc. instead of their
18077 # values after options handling.
18079 This file was extended by Wine $as_me 1.7.7, which was
18080 generated by GNU Autoconf 2.69. Invocation command line was
18082 CONFIG_FILES = $CONFIG_FILES
18083 CONFIG_HEADERS = $CONFIG_HEADERS
18084 CONFIG_LINKS = $CONFIG_LINKS
18085 CONFIG_COMMANDS = $CONFIG_COMMANDS
18088 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18093 case $ac_config_files in *"
18094 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18097 case $ac_config_headers in *"
18098 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18103 # Files that config.status was made for.
18104 config_files="$ac_config_files"
18105 config_headers="$ac_config_headers"
18106 config_links="$ac_config_links"
18107 config_commands="$ac_config_commands"
18111 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18113 \`$as_me' instantiates files and other configuration actions
18114 from templates according to the current configuration. Unless the files
18115 and actions are specified as TAGs, all are instantiated by default.
18117 Usage: $0 [OPTION]... [TAG]...
18119 -h, --help print this help, then exit
18120 -V, --version print version number and configuration settings, then exit
18121 --config print configuration, then exit
18122 -q, --quiet, --silent
18123 do not print progress messages
18124 -d, --debug don't remove temporary files
18125 --recheck update $as_me by reconfiguring in the same conditions
18126 --file=FILE[:TEMPLATE]
18127 instantiate the configuration file FILE
18128 --header=FILE[:TEMPLATE]
18129 instantiate the configuration header FILE
18131 Configuration files:
18134 Configuration headers:
18137 Configuration links:
18140 Configuration commands:
18143 Report bugs to <wine-devel@winehq.org>.
18144 Wine home page: <http://www.winehq.org>."
18147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18148 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18150 Wine config.status 1.7.7
18151 configured by $0, generated by GNU Autoconf 2.69,
18152 with options \\"\$ac_cs_config\\"
18154 Copyright (C) 2012 Free Software Foundation, Inc.
18155 This config.status script is free software; the Free Software Foundation
18156 gives unlimited permission to copy, distribute and modify it."
18162 test -n "\$AWK" || AWK=awk
18165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18166 # The default lists apply if the user does not specify any file.
18172 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18173 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18177 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18189 # Handling of the options.
18190 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18192 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18193 $as_echo "$ac_cs_version"; exit ;;
18194 --config |
--confi |
--conf |
--con |
--co |
--c )
18195 $as_echo "$ac_cs_config"; exit ;;
18196 --debug |
--debu |
--deb |
--de |
--d |
-d )
18198 --file |
--fil |
--fi |
--f )
18201 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18202 '') as_fn_error $?
"missing file argument" ;;
18204 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18205 ac_need_defaults
=false
;;
18206 --header |
--heade |
--head |
--hea )
18209 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18211 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18212 ac_need_defaults
=false
;;
18214 # Conflict between --help and --header
18215 as_fn_error $?
"ambiguous option: \`$1'
18216 Try \`$0 --help' for more information.";;
18217 --help |
--hel |
-h )
18218 $as_echo "$ac_cs_usage"; exit ;;
18219 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18220 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18223 # This is an error.
18224 -*) as_fn_error $?
"unrecognized option: \`$1'
18225 Try \`$0 --help' for more information." ;;
18227 *) as_fn_append ac_config_targets
" $1"
18228 ac_need_defaults
=false
;;
18234 ac_configure_extra_args
=
18236 if $ac_cs_silent; then
18238 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18243 if \$ac_cs_recheck; then
18244 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18246 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18247 CONFIG_SHELL='$SHELL'
18248 export CONFIG_SHELL
18253 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18257 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18258 ## Running $as_me. ##
18264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18268 wine_fn_output_makefile ()
18270 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18271 `cat $wine_rules_file`
18273 as_fn_error $? "could not create Makefile" "$LINENO" 5
18278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18280 # Handling of arguments.
18281 for ac_config_target
in $ac_config_targets
18283 case $ac_config_target in
18284 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18285 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18286 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
18287 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18288 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18289 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18290 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18291 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18292 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18293 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18294 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18295 "dlls/gdi32/dibdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
18296 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
18297 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
18298 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
18299 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
18300 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
18301 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
18302 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
18303 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18304 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18305 "tools") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools" ;;
18307 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18312 # If the user did not use the arguments to specify the items to instantiate,
18313 # then the envvar interface is used. Set only those that are not.
18314 # We use the long form for the default assignment because of an extremely
18315 # bizarre bug on SunOS 4.1.3.
18316 if $ac_need_defaults; then
18317 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18318 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18319 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18320 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18323 # Have a temporary directory for convenience. Make it in the build tree
18324 # simply because there is no reason against having it here, and in addition,
18325 # creating and moving files from /tmp can sometimes cause problems.
18326 # Hook for its removal unless debugging.
18327 # Note that there is a small window in which the directory will not be cleaned:
18328 # after its creation but before its name has been assigned to `$tmp'.
18332 trap 'exit_status=$?
18333 : "${ac_tmp:=$tmp}"
18334 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18336 trap 'as_fn_exit 1' 1 2 13 15
18338 # Create a (secure) tmp directory for tmp files.
18341 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18345 tmp
=.
/conf$$
-$RANDOM
18346 (umask 077 && mkdir
"$tmp")
18347 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18350 # Set up the scripts for CONFIG_FILES section.
18351 # No need to generate them if there are no CONFIG_FILES.
18352 # This happens for instance with `./config.status config.h'.
18353 if test -n "$CONFIG_FILES"; then
18355 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
18356 ac_cs_awk_getline
=:
18357 ac_cs_awk_pipe_init
=
18358 ac_cs_awk_read_file
='
18359 while ((getline aline < (F[key])) > 0)
18362 ac_cs_awk_pipe_fini
=
18364 ac_cs_awk_getline
=false
18365 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
18366 ac_cs_awk_read_file
='
18368 print "cat " F[key] " &&"
18369 '$ac_cs_awk_pipe_init
18370 # The final `:' finishes the AND list.
18371 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
18373 ac_cr
=`echo X | tr X '\015'`
18374 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18375 # But we know of no other shell where ac_cr would be empty at this
18376 # point, so we can use a bashism as a fallback.
18377 if test "x$ac_cr" = x
; then
18378 eval ac_cr
=\$
\'\\r
\'
18380 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18381 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18384 ac_cs_awk_cr
=$ac_cr
18387 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18390 # Create commands to substitute file output variables.
18392 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
18393 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
18394 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
18397 } >conf$
$files.sh
&&
18398 . .
/conf$
$files.sh ||
18399 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
18400 rm -f conf$
$files.sh
18403 echo "cat >conf$$subs.awk <<_ACEOF" &&
18404 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18406 } >conf$$subs.sh ||
18407 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18408 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18410 for ac_last_try in false false false false false :; do
18411 . ./conf$$subs.sh ||
18412 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18414 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18415 if test $ac_delim_n = $ac_delim_num; then
18417 elif $ac_last_try; then
18418 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18420 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18423 rm -f conf$$subs.sh
18425 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18426 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18430 s/^/S["/; s
/!.
*/"]=/
18440 s/\(.\{148\}\)..*/\1/
18442 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18447 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18454 s/\(.\{148\}\)..*/\1/
18456 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18460 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18465 ' <conf$$subs.awk | sed '
18470 ' >>$CONFIG_STATUS || ac_write_fail=1
18471 rm -f conf$$subs.awk
18472 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18474 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18475 for (key in S) S_is_set[key] = 1
18477 \$ac_cs_awk_pipe_init
18481 nfields = split(line, field, "@
")
18483 len = length(field[1])
18484 for (i = 2; i < nfields; i++) {
18486 keylen = length(key)
18487 if (S_is_set[key]) {
18489 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18490 len += length(value) + length(field[++i])
18495 if (nfields == 3 && !substed) {
18497 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
18498 \$ac_cs_awk_read_file
18504 \$ac_cs_awk_pipe_fini
18507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18508 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18509 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18512 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18513 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18516 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18517 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18518 # trailing colons and then remove the whole line if VPATH becomes empty
18519 # (actually we leave an empty line to preserve line numbers).
18520 if test "x
$srcdir" = x.; then
18521 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18539 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18540 fi # test -n "$CONFIG_FILES"
18542 # Set up the scripts for CONFIG_HEADERS section.
18543 # No need to generate them if there are no CONFIG_HEADERS.
18544 # This happens for instance with `./config.status Makefile'.
18545 if test -n "$CONFIG_HEADERS"; then
18546 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18550 # Transform confdefs.h into an awk script `defines.awk', embedded as
18551 # here-document in config.status, that substitutes the proper values into
18552 # config.h.in to produce config.h.
18554 # Create a delimiter string that does not exist in confdefs.h, to ease
18555 # handling of long lines.
18557 for ac_last_try in false false :; do
18558 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18559 if test -z "$ac_tt"; then
18561 elif $ac_last_try; then
18562 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18564 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18568 # For the awk script, D is an array of macro values keyed by name,
18569 # likewise P contains macro parameters if any. Preserve backslash
18570 # newline sequences.
18572 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18574 s/.\{148\}/&'"$ac_delim"'/g
18577 s/^[ ]*#[ ]*define[ ][ ]*/ /
18584 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18586 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18590 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18591 D["\
1"]=" \
3\\\\\\n
"\\/p
18593 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18598 s/.\{148\}/&'"$ac_delim"'/g
18603 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18606 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18608 ' <confdefs.h | sed '
18609 s/'"$ac_delim"'/"\\\
18610 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18613 for (key in D) D_is_set[key] = 1
18616 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18618 split(line, arg, " ")
18619 if (arg[1] == "#") {
18623 defundef
= substr
(arg
[1], 2)
18626 split(mac1
, mac2
, "(") #)
18628 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18629 if (D_is_set
[macro
]) {
18630 # Preserve the white space surrounding the "#".
18631 print prefix
"define", macro P
[macro
] D
[macro
]
18634 # Replace #undef with comments. This is necessary, for example,
18635 # in the case of _POSIX_SOURCE, which is predefined and required
18636 # on some systems where configure will not decide to define it.
18637 if (defundef
== "undef") {
18638 print
"/*", prefix defundef
, macro
, "*/"
18646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18647 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18648 fi # test -n "$CONFIG_HEADERS"
18651 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18656 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18658 case $ac_mode$ac_tag in
18660 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18661 :[FH
]-) ac_tag
=-:-;;
18662 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18679 -) ac_f
="$ac_tmp/stdin";;
18680 *) # Look for the file first in the build tree, then in the source tree
18681 # (if the path is not absolute). The absolute path cannot be DOS-style,
18682 # because $ac_f cannot contain `:'.
18686 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18688 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18690 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18691 as_fn_append ac_file_inputs
" '$ac_f'"
18694 # Let's still pretend it is `configure' which instantiates (i.e., don't
18695 # use $as_me), people would be surprised to read:
18696 # /* config.h. Generated by config.status. */
18697 configure_input
='Generated from '`
18698 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18700 if test x
"$ac_file" != x-
; then
18701 configure_input
="$ac_file. $configure_input"
18702 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18703 $as_echo "$as_me: creating $ac_file" >&6;}
18705 # Neutralize special characters interpreted by sed in replacement strings.
18706 case $configure_input in #(
18707 *\
&* |
*\|
* |
*\\* )
18708 ac_sed_conf_input
=`$as_echo "$configure_input" |
18709 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18710 *) ac_sed_conf_input
=$configure_input;;
18714 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18715 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18720 ac_dir
=`$as_dirname -- "$ac_file" ||
18721 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18722 X"$ac_file" : 'X\(//\)[^/]' \| \
18723 X"$ac_file" : 'X\(//\)$' \| \
18724 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18725 $as_echo X"$ac_file" |
18726 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18730 /^X\(\/\/\)[^/].*/{
18743 as_dir
="$ac_dir"; as_fn_mkdir_p
18747 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18749 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18750 # A ".." for each directory in $ac_dir_suffix.
18751 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18752 case $ac_top_builddir_sub in
18753 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18754 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18757 ac_abs_top_builddir
=$ac_pwd
18758 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18759 # for backward compatibility:
18760 ac_top_builddir
=$ac_top_build_prefix
18763 .
) # We are building in place.
18765 ac_top_srcdir
=$ac_top_builddir_sub
18766 ac_abs_top_srcdir
=$ac_pwd ;;
18767 [\\/]* | ?
:[\\/]* ) # Absolute name.
18768 ac_srcdir
=$srcdir$ac_dir_suffix;
18769 ac_top_srcdir
=$srcdir
18770 ac_abs_top_srcdir
=$srcdir ;;
18771 *) # Relative name.
18772 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18773 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18774 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18776 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18786 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18787 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18789 ac_MKDIR_P
=$MKDIR_P
18791 [\\/$
]* | ?
:[\\/]* ) ;;
18792 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18797 # If the template does not know about datarootdir, expand it.
18798 # FIXME: This hack should be removed a few years after 2.60.
18799 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18810 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18811 *datarootdir
*) ac_datarootdir_seen
=yes;;
18812 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18814 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18816 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18817 ac_datarootdir_hack='
18818 s&@datadir@&$datadir&g
18819 s&@docdir@&$docdir&g
18820 s&@infodir@&$infodir&g
18821 s&@localedir@&$localedir&g
18822 s&@mandir@&$mandir&g
18823 s&\\\${datarootdir}&$datarootdir&g' ;;
18827 # Neutralize VPATH when `$srcdir' = `.'.
18828 # Shell code in configure.ac might set extrasub.
18829 # FIXME: do we really want to maintain this feature?
18830 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18831 ac_sed_extra="$ac_vpsub
18834 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18836 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18837 s|@configure_input@|
$ac_sed_conf_input|
;t t
18838 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18839 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18840 s
&@srcdir@
&$ac_srcdir&;t t
18841 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18842 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18843 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18844 s
&@builddir@
&$ac_builddir&;t t
18845 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18846 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18847 s
&@INSTALL@
&$ac_INSTALL&;t t
18848 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18849 $ac_datarootdir_hack
18851 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18852 if $ac_cs_awk_getline; then
18853 $AWK -f "$ac_tmp/subs.
awk"
18855 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
18857 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18859 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18860 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18861 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18862 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18864 which seems to be undefined. Please make sure it is defined" >&5
18865 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18866 which seems to be undefined. Please make sure it is defined" >&2;}
18868 rm -f "$ac_tmp/stdin"
18870 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18871 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18873 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18879 if test x"$ac_file" != x-; then
18881 $as_echo "/* $configure_input */" \
18882 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18883 } >"$ac_tmp/config.h" \
18884 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18885 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18886 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18887 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18890 mv "$ac_tmp/config.h" "$ac_file" \
18891 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18894 $as_echo "/* $configure_input */" \
18895 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18896 || as_fn_error $? "could not create -" "$LINENO" 5
18904 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18907 # Prefer the file from the source tree if names are identical.
18908 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18909 ac_source=$srcdir/$ac_source
18912 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18913 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18915 if test ! -r "$ac_source"; then
18916 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18920 # Try a relative symlink, then a hard link, then a copy.
18922 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18923 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18925 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18926 ln "$ac_source" "$ac_file" 2>/dev/null ||
18927 cp -p "$ac_source" "$ac_file" ||
18928 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18931 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18932 $as_echo "$as_me: executing $ac_file commands" >&6;}
18937 case $ac_file$ac_mode in
18938 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18939 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
18940 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
18941 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
18942 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
18943 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
18944 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
18945 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
18946 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
18947 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
18948 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
18949 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
18950 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
18951 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
18952 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
18953 "Makefile":C) wine_fn_output_makefile Makefile ;;
18954 "tools":C) as_dir=tools; as_fn_mkdir_p ;;
18962 ac_clean_files=$ac_clean_files_save
18964 test $ac_write_fail = 0 ||
18965 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18968 # configure is writing to config.log, and then calls config.status.
18969 # config.status does its own redirection, appending to config.log.
18970 # Unfortunately, on DOS this fails, as config.log is still kept open
18971 # by configure, so config.status won't be able to
write to it
; its
18972 # output is simply discarded. So we exec the FD to /dev/null,
18973 # effectively closing config.log, so it can be properly (re)opened and
18974 # appended to by config.status. When coming back to configure, we
18975 # need to make the FD available again.
18976 if test "$no_create" != yes; then
18978 ac_config_status_args
=
18979 test "$silent" = yes &&
18980 ac_config_status_args
="$ac_config_status_args --quiet"
18982 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18984 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18985 # would make configure fail if this is the last instruction.
18986 $ac_cs_success || as_fn_exit
1
18988 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18990 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18994 if test "$no_create" = "yes"
19000 if test "x$wine_notices != "x
; then
19003 for msg
in $wine_notices; do
19005 if test -n "$msg"; then
19006 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19007 $as_echo "$as_me: $msg" >&6;}
19012 for msg
in $wine_warnings; do
19014 if test -n "$msg"; then
19016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19017 $as_echo "$as_me: WARNING: $msg" >&2;}
19023 $as_me: Finished. Do '${ac_make}' to compile Wine.