2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.11.
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.11'
584 PACKAGE_STRING
='Wine 1.7.11'
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
696 APPLICATIONSERVICESLIB
781 program_transform_name
794 enable_option_checking
798 enable_maintainer_mode
854 enable_api_ms_win_core_debug_l1_1_1
855 enable_api_ms_win_core_errorhandling_l1_1_1
856 enable_api_ms_win_core_interlocked_l1_2_0
857 enable_api_ms_win_core_localregistry_l1_1_0
858 enable_api_ms_win_core_processthreads_l1_1_0
859 enable_api_ms_win_core_processthreads_l1_1_1
860 enable_api_ms_win_core_profile_l1_1_0
861 enable_api_ms_win_core_string_l1_1_0
862 enable_api_ms_win_core_synch_l1_2_0
863 enable_api_ms_win_core_sysinfo_l1_2_0
864 enable_api_ms_win_core_util_l1_1_0
865 enable_api_ms_win_core_winrt_error_l1_1_0
866 enable_api_ms_win_core_winrt_string_l1_1_0
867 enable_api_ms_win_downlevel_advapi32_l1_1_0
868 enable_api_ms_win_downlevel_advapi32_l2_1_0
869 enable_api_ms_win_downlevel_normaliz_l1_1_0
870 enable_api_ms_win_downlevel_ole32_l1_1_0
871 enable_api_ms_win_downlevel_shell32_l1_1_0
872 enable_api_ms_win_downlevel_shlwapi_l1_1_0
873 enable_api_ms_win_downlevel_shlwapi_l2_1_0
874 enable_api_ms_win_downlevel_user32_l1_1_0
875 enable_api_ms_win_downlevel_version_l1_1_0
876 enable_api_ms_win_security_base_l1_1_0
914 enable_d3dcompiler_33
915 enable_d3dcompiler_34
916 enable_d3dcompiler_35
917 enable_d3dcompiler_36
918 enable_d3dcompiler_37
919 enable_d3dcompiler_38
920 enable_d3dcompiler_39
921 enable_d3dcompiler_40
922 enable_d3dcompiler_41
923 enable_d3dcompiler_42
924 enable_d3dcompiler_43
1136 enable_photometadatahandler
1215 enable_windowscodecs
1216 enable_windowscodecsext
1218 enable_winecoreaudio_drv
1220 enable_winegstreamer
1221 enable_winejoystick_drv
1227 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.11 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.11:";;
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.11
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.11, 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.
3094 libwine_version
="1.0"
3098 # Check whether --enable-win16 was given.
3099 if test "${enable_win16+set}" = set; then :
3100 enableval
=$enable_win16;
3103 # Check whether --enable-win64 was given.
3104 if test "${enable_win64+set}" = set; then :
3105 enableval
=$enable_win64;
3108 # Check whether --enable-tests was given.
3109 if test "${enable_tests+set}" = set; then :
3110 enableval
=$enable_tests;
3113 # Check whether --enable-maintainer-mode was given.
3114 if test "${enable_maintainer_mode+set}" = set; then :
3115 enableval
=$enable_maintainer_mode;
3120 # Check whether --with-alsa was given.
3121 if test "${with_alsa+set}" = set; then :
3122 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3126 # Check whether --with-capi was given.
3127 if test "${with_capi+set}" = set; then :
3132 # Check whether --with-cms was given.
3133 if test "${with_cms+set}" = set; then :
3138 # Check whether --with-coreaudio was given.
3139 if test "${with_coreaudio+set}" = set; then :
3140 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3144 # Check whether --with-cups was given.
3145 if test "${with_cups+set}" = set; then :
3150 # Check whether --with-curses was given.
3151 if test "${with_curses+set}" = set; then :
3152 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3156 # Check whether --with-dbus was given.
3157 if test "${with_dbus+set}" = set; then :
3162 # Check whether --with-fontconfig was given.
3163 if test "${with_fontconfig+set}" = set; then :
3164 withval
=$with_fontconfig;
3168 # Check whether --with-freetype was given.
3169 if test "${with_freetype+set}" = set; then :
3170 withval
=$with_freetype;
3174 # Check whether --with-gettext was given.
3175 if test "${with_gettext+set}" = set; then :
3176 withval
=$with_gettext;
3180 # Check whether --with-gettextpo was given.
3181 if test "${with_gettextpo+set}" = set; then :
3182 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3186 # Check whether --with-gphoto was given.
3187 if test "${with_gphoto+set}" = set; then :
3188 withval
=$with_gphoto;
3192 # Check whether --with-glu was given.
3193 if test "${with_glu+set}" = set; then :
3198 # Check whether --with-gnutls was given.
3199 if test "${with_gnutls+set}" = set; then :
3200 withval
=$with_gnutls;
3204 # Check whether --with-gsm was given.
3205 if test "${with_gsm+set}" = set; then :
3206 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3210 # Check whether --with-gstreamer was given.
3211 if test "${with_gstreamer+set}" = set; then :
3212 withval
=$with_gstreamer;
3216 # Check whether --with-hal was given.
3217 if test "${with_hal+set}" = set; then :
3222 # Check whether --with-jpeg was given.
3223 if test "${with_jpeg+set}" = set; then :
3228 # Check whether --with-ldap was given.
3229 if test "${with_ldap+set}" = set; then :
3230 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3234 # Check whether --with-mpg123 was given.
3235 if test "${with_mpg123+set}" = set; then :
3236 withval
=$with_mpg123;
3240 # Check whether --with-netapi was given.
3241 if test "${with_netapi+set}" = set; then :
3242 withval
=$with_netapi;
3246 # Check whether --with-openal was given.
3247 if test "${with_openal+set}" = set; then :
3248 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3252 # Check whether --with-opencl was given.
3253 if test "${with_opencl+set}" = set; then :
3254 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3258 # Check whether --with-opengl was given.
3259 if test "${with_opengl+set}" = set; then :
3260 withval
=$with_opengl;
3264 # Check whether --with-osmesa was given.
3265 if test "${with_osmesa+set}" = set; then :
3266 withval
=$with_osmesa;
3270 # Check whether --with-oss was given.
3271 if test "${with_oss+set}" = set; then :
3276 # Check whether --with-png was given.
3277 if test "${with_png+set}" = set; then :
3282 # Check whether --with-pthread was given.
3283 if test "${with_pthread+set}" = set; then :
3284 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3288 # Check whether --with-sane was given.
3289 if test "${with_sane+set}" = set; then :
3294 # Check whether --with-tiff was given.
3295 if test "${with_tiff+set}" = set; then :
3300 # Check whether --with-v4l was given.
3301 if test "${with_v4l+set}" = set; then :
3306 # Check whether --with-xcomposite was given.
3307 if test "${with_xcomposite+set}" = set; then :
3308 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3312 # Check whether --with-xcursor was given.
3313 if test "${with_xcursor+set}" = set; then :
3314 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3318 # Check whether --with-xinerama was given.
3319 if test "${with_xinerama+set}" = set; then :
3320 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3324 # Check whether --with-xinput was given.
3325 if test "${with_xinput+set}" = set; then :
3326 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3330 # Check whether --with-xinput2 was given.
3331 if test "${with_xinput2+set}" = set; then :
3332 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3336 # Check whether --with-xml was given.
3337 if test "${with_xml+set}" = set; then :
3342 # Check whether --with-xrandr was given.
3343 if test "${with_xrandr+set}" = set; then :
3344 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3348 # Check whether --with-xrender was given.
3349 if test "${with_xrender+set}" = set; then :
3350 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3354 # Check whether --with-xshape was given.
3355 if test "${with_xshape+set}" = set; then :
3356 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3360 # Check whether --with-xshm was given.
3361 if test "${with_xshm+set}" = set; then :
3362 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3366 # Check whether --with-xslt was given.
3367 if test "${with_xslt+set}" = set; then :
3372 # Check whether --with-xxf86vm was given.
3373 if test "${with_xxf86vm+set}" = set; then :
3374 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
3378 # Check whether --with-zlib was given.
3379 if test "${with_zlib+set}" = set; then :
3380 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3385 # Check whether --with-wine-tools was given.
3386 if test "${with_wine_tools+set}" = set; then :
3387 withval
=$with_wine_tools;
3391 # Check whether --with-wine64 was given.
3392 if test "${with_wine64+set}" = set; then :
3393 withval
=$with_wine64;
3397 # Make sure we can run config.sub.
3398 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3399 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3402 $as_echo_n "checking build system type... " >&6; }
3403 if ${ac_cv_build+:} false
; then :
3404 $as_echo_n "(cached) " >&6
3406 ac_build_alias
=$build_alias
3407 test "x$ac_build_alias" = x
&&
3408 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3409 test "x$ac_build_alias" = x
&&
3410 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3411 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3412 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3416 $as_echo "$ac_cv_build" >&6; }
3417 case $ac_cv_build in
3419 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3422 ac_save_IFS
=$IFS; IFS
='-'
3428 # Remember, the first character of IFS is used to create $*,
3429 # except with old shells:
3432 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3436 $as_echo_n "checking host system type... " >&6; }
3437 if ${ac_cv_host+:} false
; then :
3438 $as_echo_n "(cached) " >&6
3440 if test "x$host_alias" = x
; then
3441 ac_cv_host
=$ac_cv_build
3443 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3444 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3449 $as_echo "$ac_cv_host" >&6; }
3452 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3455 ac_save_IFS
=$IFS; IFS
='-'
3461 # Remember, the first character of IFS is used to create $*,
3462 # except with old shells:
3465 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3471 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3472 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3473 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3479 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3481 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3482 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3483 $as_echo_n "(cached) " >&6
3485 cat >conftest.
make <<\_ACEOF
3488 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3490 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3491 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3493 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3495 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3499 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3501 $as_echo "yes" >&6; }
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3505 $as_echo "no" >&6; }
3506 SET_MAKE
="MAKE=${MAKE-make}"
3510 ac_cpp
='$CPP $CPPFLAGS'
3511 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3512 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3513 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3514 if test -n "$ac_tool_prefix"; then
3515 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3516 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3518 $as_echo_n "checking for $ac_word... " >&6; }
3519 if ${ac_cv_prog_CC+:} false
; then :
3520 $as_echo_n "(cached) " >&6
3522 if test -n "$CC"; then
3523 ac_cv_prog_CC
="$CC" # Let the user override the test.
3525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3529 test -z "$as_dir" && as_dir
=.
3530 for ac_exec_ext
in '' $ac_executable_extensions; do
3531 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3532 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3543 if test -n "$CC"; then
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3545 $as_echo "$CC" >&6; }
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3548 $as_echo "no" >&6; }
3553 if test -z "$ac_cv_prog_CC"; then
3555 # Extract the first word of "gcc", so it can be a program name with args.
3556 set dummy gcc
; ac_word
=$2
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3558 $as_echo_n "checking for $ac_word... " >&6; }
3559 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3560 $as_echo_n "(cached) " >&6
3562 if test -n "$ac_ct_CC"; then
3563 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3569 test -z "$as_dir" && as_dir
=.
3570 for ac_exec_ext
in '' $ac_executable_extensions; do
3571 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3572 ac_cv_prog_ac_ct_CC
="gcc"
3573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3582 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3583 if test -n "$ac_ct_CC"; then
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3585 $as_echo "$ac_ct_CC" >&6; }
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3588 $as_echo "no" >&6; }
3591 if test "x$ac_ct_CC" = x
; then
3594 case $cross_compiling:$ac_tool_warned in
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3597 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3598 ac_tool_warned
=yes ;;
3606 if test -z "$CC"; then
3607 if test -n "$ac_tool_prefix"; then
3608 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3609 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3611 $as_echo_n "checking for $ac_word... " >&6; }
3612 if ${ac_cv_prog_CC+:} false
; then :
3613 $as_echo_n "(cached) " >&6
3615 if test -n "$CC"; then
3616 ac_cv_prog_CC
="$CC" # Let the user override the test.
3618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3622 test -z "$as_dir" && as_dir
=.
3623 for ac_exec_ext
in '' $ac_executable_extensions; do
3624 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3625 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3636 if test -n "$CC"; then
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3638 $as_echo "$CC" >&6; }
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3641 $as_echo "no" >&6; }
3647 if test -z "$CC"; then
3648 # Extract the first word of "cc", so it can be a program name with args.
3649 set dummy cc
; ac_word
=$2
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3651 $as_echo_n "checking for $ac_word... " >&6; }
3652 if ${ac_cv_prog_CC+:} false
; then :
3653 $as_echo_n "(cached) " >&6
3655 if test -n "$CC"; then
3656 ac_cv_prog_CC
="$CC" # Let the user override the test.
3659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3663 test -z "$as_dir" && as_dir
=.
3664 for ac_exec_ext
in '' $ac_executable_extensions; do
3665 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3666 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3667 ac_prog_rejected
=yes
3671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3678 if test $ac_prog_rejected = yes; then
3679 # We found a bogon in the path, so make sure we never use it.
3680 set dummy
$ac_cv_prog_CC
3682 if test $# != 0; then
3683 # We chose a different compiler from the bogus one.
3684 # However, it has the same basename, so the bogon will be chosen
3685 # first if we set CC to just the basename; use the full file name.
3687 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3693 if test -n "$CC"; then
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3695 $as_echo "$CC" >&6; }
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3698 $as_echo "no" >&6; }
3703 if test -z "$CC"; then
3704 if test -n "$ac_tool_prefix"; then
3705 for ac_prog
in cl.exe
3707 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3708 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3710 $as_echo_n "checking for $ac_word... " >&6; }
3711 if ${ac_cv_prog_CC+:} false
; then :
3712 $as_echo_n "(cached) " >&6
3714 if test -n "$CC"; then
3715 ac_cv_prog_CC
="$CC" # Let the user override the test.
3717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3721 test -z "$as_dir" && as_dir
=.
3722 for ac_exec_ext
in '' $ac_executable_extensions; do
3723 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3724 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3735 if test -n "$CC"; then
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3737 $as_echo "$CC" >&6; }
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3744 test -n "$CC" && break
3747 if test -z "$CC"; then
3749 for ac_prog
in cl.exe
3751 # Extract the first word of "$ac_prog", so it can be a program name with args.
3752 set dummy
$ac_prog; ac_word
=$2
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3754 $as_echo_n "checking for $ac_word... " >&6; }
3755 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3756 $as_echo_n "(cached) " >&6
3758 if test -n "$ac_ct_CC"; then
3759 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3765 test -z "$as_dir" && as_dir
=.
3766 for ac_exec_ext
in '' $ac_executable_extensions; do
3767 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3768 ac_cv_prog_ac_ct_CC
="$ac_prog"
3769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3778 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3779 if test -n "$ac_ct_CC"; then
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3781 $as_echo "$ac_ct_CC" >&6; }
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3784 $as_echo "no" >&6; }
3788 test -n "$ac_ct_CC" && break
3791 if test "x$ac_ct_CC" = x
; then
3794 case $cross_compiling:$ac_tool_warned in
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3797 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3798 ac_tool_warned
=yes ;;
3807 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3809 as_fn_error $?
"no acceptable C compiler found in \$PATH
3810 See \`config.log' for more details" "$LINENO" 5; }
3812 # Provide some information about the compiler.
3813 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3816 for ac_option
in --version -v -V -qversion; do
3817 { { ac_try
="$ac_compiler $ac_option >&5"
3819 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3820 *) ac_try_echo=$ac_try;;
3822 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3823 $as_echo "$ac_try_echo"; } >&5
3824 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3826 if test -s conftest.err; then
3828 ... rest of stderr output deleted ...
3829 10q' conftest.err >conftest.er1
3830 cat conftest.er1 >&5
3832 rm -f conftest.er1 conftest.err
3833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3834 test $ac_status = 0; }
3837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3838 /* end confdefs.h. */
3848 ac_clean_files_save=$ac_clean_files
3849 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3850 # Try to create an executable without -o first, disregard a.out.
3851 # It will help us diagnose broken compilers, and finding out an intuition
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3854 $as_echo_n "checking whether the C compiler works... " >&6; }
3855 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3857 # The possible output files:
3858 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3861 for ac_file in $ac_files
3864 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3865 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3870 if { { ac_try="$ac_link_default"
3872 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3873 *) ac_try_echo
=$ac_try;;
3875 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3876 $as_echo "$ac_try_echo"; } >&5
3877 (eval "$ac_link_default") 2>&5
3879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3880 test $ac_status = 0; }; then :
3881 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3882 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3883 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3884 # so that the user can short-circuit this test for compilers unknown to
3886 for ac_file
in $ac_files ''
3888 test -f "$ac_file" ||
continue
3890 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3893 # We found the default executable, but exeext='' is most
3897 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3899 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3901 # We set ac_cv_exeext here because the later test for it is not
3902 # safe: cross compilers may not add the suffix if given an `-o'
3903 # argument, so we may need to know it at that point already.
3904 # Even if this section looks crufty: it has the advantage of
3911 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3916 if test -z "$ac_file"; then :
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3918 $as_echo "no" >&6; }
3919 $as_echo "$as_me: failed program was:" >&5
3920 sed 's/^/| /' conftest.
$ac_ext >&5
3922 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3924 as_fn_error
77 "C compiler cannot create executables
3925 See \`config.log' for more details" "$LINENO" 5; }
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3928 $as_echo "yes" >&6; }
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3931 $as_echo_n "checking for C compiler default output file name... " >&6; }
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3933 $as_echo "$ac_file" >&6; }
3934 ac_exeext
=$ac_cv_exeext
3936 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3937 ac_clean_files
=$ac_clean_files_save
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3939 $as_echo_n "checking for suffix of executables... " >&6; }
3940 if { { ac_try
="$ac_link"
3942 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3943 *) ac_try_echo=$ac_try;;
3945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3946 $as_echo "$ac_try_echo"; } >&5
3947 (eval "$ac_link") 2>&5
3949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3950 test $ac_status = 0; }; then :
3951 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3952 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3953 # work properly (i.e., refer to `conftest.exe'), while it won't with
3955 for ac_file
in conftest.exe conftest conftest.
*; do
3956 test -f "$ac_file" ||
continue
3958 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3959 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3965 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3967 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3968 See \`config.log' for more details" "$LINENO" 5; }
3970 rm -f conftest conftest
$ac_cv_exeext
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3972 $as_echo "$ac_cv_exeext" >&6; }
3974 rm -f conftest.
$ac_ext
3975 EXEEXT
=$ac_cv_exeext
3977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3978 /* end confdefs.h. */
3983 FILE *f = fopen ("conftest.out", "w");
3984 return ferror (f) || fclose (f) != 0;
3990 ac_clean_files
="$ac_clean_files conftest.out"
3991 # Check that the compiler produces executables we can run. If not, either
3992 # the compiler is broken, or we cross compile.
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3994 $as_echo_n "checking whether we are cross compiling... " >&6; }
3995 if test "$cross_compiling" != yes; then
3996 { { ac_try
="$ac_link"
3998 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3999 *) ac_try_echo=$ac_try;;
4001 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4002 $as_echo "$ac_try_echo"; } >&5
4003 (eval "$ac_link") 2>&5
4005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4006 test $ac_status = 0; }
4007 if { ac_try='./conftest$ac_cv_exeext'
4008 { { case "(($ac_try" in
4009 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4010 *) ac_try_echo
=$ac_try;;
4012 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4013 $as_echo "$ac_try_echo"; } >&5
4014 (eval "$ac_try") 2>&5
4016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4017 test $ac_status = 0; }; }; then
4020 if test "$cross_compiling" = maybe
; then
4023 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4025 as_fn_error $?
"cannot run C compiled programs.
4026 If you meant to cross compile, use \`--host'.
4027 See \`config.log' for more details" "$LINENO" 5; }
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4032 $as_echo "$cross_compiling" >&6; }
4034 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4035 ac_clean_files
=$ac_clean_files_save
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4037 $as_echo_n "checking for suffix of object files... " >&6; }
4038 if ${ac_cv_objext+:} false
; then :
4039 $as_echo_n "(cached) " >&6
4041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4042 /* end confdefs.h. */
4052 rm -f conftest.o conftest.obj
4053 if { { ac_try
="$ac_compile"
4055 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4056 *) ac_try_echo=$ac_try;;
4058 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4059 $as_echo "$ac_try_echo"; } >&5
4060 (eval "$ac_compile") 2>&5
4062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4063 test $ac_status = 0; }; then :
4064 for ac_file in conftest.o conftest.obj conftest.*; do
4065 test -f "$ac_file" || continue;
4067 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4068 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4073 $as_echo "$as_me: failed program was:" >&5
4074 sed 's/^/| /' conftest.$ac_ext >&5
4076 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4078 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4079 See \
`config.log' for more details" "$LINENO" 5; }
4081 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4084 $as_echo "$ac_cv_objext" >&6; }
4085 OBJEXT=$ac_cv_objext
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4088 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4089 if ${ac_cv_c_compiler_gnu+:} false; then :
4090 $as_echo_n "(cached) " >&6
4092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4093 /* end confdefs.h. */
4106 if ac_fn_c_try_compile "$LINENO"; then :
4111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4112 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4116 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4117 if test $ac_compiler_gnu = yes; then
4122 ac_test_CFLAGS=${CFLAGS+set}
4123 ac_save_CFLAGS=$CFLAGS
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4125 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4126 if ${ac_cv_prog_cc_g+:} false; then :
4127 $as_echo_n "(cached) " >&6
4129 ac_save_c_werror_flag=$ac_c_werror_flag
4130 ac_c_werror_flag=yes
4133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4134 /* end confdefs.h. */
4144 if ac_fn_c_try_compile "$LINENO"; then :
4148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4149 /* end confdefs.h. */
4159 if ac_fn_c_try_compile "$LINENO"; then :
4162 ac_c_werror_flag=$ac_save_c_werror_flag
4164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4165 /* end confdefs.h. */
4175 if ac_fn_c_try_compile "$LINENO"; then :
4178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4183 ac_c_werror_flag=$ac_save_c_werror_flag
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4186 $as_echo "$ac_cv_prog_cc_g" >&6; }
4187 if test "$ac_test_CFLAGS" = set; then
4188 CFLAGS=$ac_save_CFLAGS
4189 elif test $ac_cv_prog_cc_g = yes; then
4190 if test "$GCC" = yes; then
4196 if test "$GCC" = yes; then
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4203 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4204 if ${ac_cv_prog_cc_c89+:} false; then :
4205 $as_echo_n "(cached) " >&6
4207 ac_cv_prog_cc_c89=no
4209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4210 /* end confdefs.h. */
4214 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4215 struct buf { int x; };
4216 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4217 static char *e (p, i)
4223 static char *f (char * (*g) (char **, int), char **p, ...)
4228 s = g (p, va_arg (v,int));
4233 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4234 function prototypes and stuff, but not '\xHH' hex character constants.
4235 These don't provoke an error unfortunately, instead are silently treated
4236 as 'x'. The following induces an error, until -std is added to get
4237 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4238 array size at least. It's necessary to write '\x00'==0 to get something
4239 that's true only with -std. */
4240 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4242 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4243 inside strings and character constants. */
4245 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4247 int test (int i, double x);
4248 struct s1 {int (*f) (int a);};
4249 struct s2 {int (*f) (double a);};
4250 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4256 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4261 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4262 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4264 CC="$ac_save_CC $ac_arg"
4265 if ac_fn_c_try_compile "$LINENO"; then :
4266 ac_cv_prog_cc_c89=$ac_arg
4268 rm -f core conftest.err conftest.$ac_objext
4269 test "x$ac_cv_prog_cc_c89" != "xno" && break
4271 rm -f conftest.$ac_ext
4276 case "x$ac_cv_prog_cc_c89" in
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4279 $as_echo "none needed" >&6; } ;;
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4282 $as_echo "unsupported" >&6; } ;;
4284 CC="$CC $ac_cv_prog_cc_c89"
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4286 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4288 if test "x$ac_cv_prog_cc_c89" != xno; then :
4293 ac_cpp='$CPP $CPPFLAGS'
4294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4299 ac_cpp='$CXXCPP $CPPFLAGS'
4300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4303 if test -z "$CXX"; then
4304 if test -n "$CCC"; then
4307 if test -n "$ac_tool_prefix"; then
4308 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4310 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4311 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4313 $as_echo_n "checking for $ac_word... " >&6; }
4314 if ${ac_cv_prog_CXX+:} false; then :
4315 $as_echo_n "(cached) " >&6
4317 if test -n "$CXX"; then
4318 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4324 test -z "$as_dir" && as_dir=.
4325 for ac_exec_ext in '' $ac_executable_extensions; do
4326 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4327 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4338 if test -n "$CXX"; then
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4340 $as_echo "$CXX" >&6; }
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4343 $as_echo "no" >&6; }
4347 test -n "$CXX" && break
4350 if test -z "$CXX"; then
4352 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4354 # Extract the first word of "$ac_prog", so it can be a program name with args.
4355 set dummy $ac_prog; ac_word=$2
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4357 $as_echo_n "checking for $ac_word... " >&6; }
4358 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4359 $as_echo_n "(cached) " >&6
4361 if test -n "$ac_ct_CXX"; then
4362 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368 test -z "$as_dir" && as_dir=.
4369 for ac_exec_ext in '' $ac_executable_extensions; do
4370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4371 ac_cv_prog_ac_ct_CXX="$ac_prog"
4372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4381 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4382 if test -n "$ac_ct_CXX"; then
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4384 $as_echo "$ac_ct_CXX" >&6; }
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4387 $as_echo "no" >&6; }
4391 test -n "$ac_ct_CXX" && break
4394 if test "x$ac_ct_CXX" = x; then
4397 case $cross_compiling:$ac_tool_warned in
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4400 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4401 ac_tool_warned=yes ;;
4409 # Provide some information about the compiler.
4410 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4413 for ac_option in --version -v -V -qversion; do
4414 { { ac_try="$ac_compiler $ac_option >&5"
4416 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4417 *) ac_try_echo
=$ac_try;;
4419 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4420 $as_echo "$ac_try_echo"; } >&5
4421 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4423 if test -s conftest.err
; then
4425 ... rest of stderr output deleted ...
4426 10q' conftest.err
>conftest.er1
4427 cat conftest.er1
>&5
4429 rm -f conftest.er1 conftest.err
4430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4431 test $ac_status = 0; }
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4435 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4436 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4437 $as_echo_n "(cached) " >&6
4439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4440 /* end confdefs.h. */
4453 if ac_fn_cxx_try_compile
"$LINENO"; then :
4458 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4459 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4463 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4464 if test $ac_compiler_gnu = yes; then
4469 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4470 ac_save_CXXFLAGS
=$CXXFLAGS
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4472 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4473 if ${ac_cv_prog_cxx_g+:} false
; then :
4474 $as_echo_n "(cached) " >&6
4476 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4477 ac_cxx_werror_flag
=yes
4480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4481 /* end confdefs.h. */
4491 if ac_fn_cxx_try_compile
"$LINENO"; then :
4492 ac_cv_prog_cxx_g
=yes
4495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4496 /* end confdefs.h. */
4506 if ac_fn_cxx_try_compile
"$LINENO"; then :
4509 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4512 /* end confdefs.h. */
4522 if ac_fn_cxx_try_compile
"$LINENO"; then :
4523 ac_cv_prog_cxx_g
=yes
4525 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4527 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4530 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4533 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4534 if test "$ac_test_CXXFLAGS" = set; then
4535 CXXFLAGS
=$ac_save_CXXFLAGS
4536 elif test $ac_cv_prog_cxx_g = yes; then
4537 if test "$GXX" = yes; then
4543 if test "$GXX" = yes; then
4550 ac_cpp
='$CPP $CPPFLAGS'
4551 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4552 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4553 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4555 if test -n "$ac_tool_prefix"; then
4556 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4557 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4559 $as_echo_n "checking for $ac_word... " >&6; }
4560 if ${ac_cv_prog_CPPBIN+:} false
; then :
4561 $as_echo_n "(cached) " >&6
4563 if test -n "$CPPBIN"; then
4564 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4570 test -z "$as_dir" && as_dir
=.
4571 for ac_exec_ext
in '' $ac_executable_extensions; do
4572 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4573 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4583 CPPBIN
=$ac_cv_prog_CPPBIN
4584 if test -n "$CPPBIN"; then
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4586 $as_echo "$CPPBIN" >&6; }
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4589 $as_echo "no" >&6; }
4594 if test -z "$ac_cv_prog_CPPBIN"; then
4595 ac_ct_CPPBIN
=$CPPBIN
4596 # Extract the first word of "cpp", so it can be a program name with args.
4597 set dummy cpp
; ac_word
=$2
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4599 $as_echo_n "checking for $ac_word... " >&6; }
4600 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4601 $as_echo_n "(cached) " >&6
4603 if test -n "$ac_ct_CPPBIN"; then
4604 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4610 test -z "$as_dir" && as_dir
=.
4611 for ac_exec_ext
in '' $ac_executable_extensions; do
4612 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4613 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4623 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4624 if test -n "$ac_ct_CPPBIN"; then
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4626 $as_echo "$ac_ct_CPPBIN" >&6; }
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4629 $as_echo "no" >&6; }
4632 if test "x$ac_ct_CPPBIN" = x
; then
4635 case $cross_compiling:$ac_tool_warned in
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4639 ac_tool_warned
=yes ;;
4641 CPPBIN
=$ac_ct_CPPBIN
4644 CPPBIN
="$ac_cv_prog_CPPBIN"
4648 cat >>confdefs.h
<<_ACEOF
4649 #define EXEEXT "$ac_exeext"
4655 if test "x$enable_win64" = "xyes"
4660 notice_platform
="64-bit "
4667 notice_platform
="32-bit "
4670 enable_win16
=${enable_win16:-yes}
4672 with_fontconfig
=${with_fontconfig:-no}
4675 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4680 $as_echo_n "checking whether $CC works... " >&6; }
4682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4683 /* end confdefs.h. */
4693 if ac_fn_c_try_link
"$LINENO"; then :
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4695 $as_echo "yes" >&6; }
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4698 $as_echo "no" >&6; }
4699 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4701 rm -f core conftest.err conftest.
$ac_objext \
4702 conftest
$ac_exeext conftest.
$ac_ext
4704 notice_platform
="32-bit "
4707 enable_win16
=${enable_win16:-yes}
4709 if test "x${GCC}" = "xyes"
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4712 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4714 /* end confdefs.h. */
4719 void func(__builtin_ms_va_list *args);
4724 if ac_fn_c_try_compile
"$LINENO"; then :
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4726 $as_echo "yes" >&6; }
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4729 $as_echo "no" >&6; }
4730 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4740 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h. */
4743 int ac_test(int i) { return i; }
4747 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4752 if ac_fn_c_try_link
"$LINENO"; then :
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4754 $as_echo "yes" >&6; }
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4757 $as_echo "no" >&6; }
4758 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4760 rm -f core conftest.err conftest.
$ac_objext \
4761 conftest
$ac_exeext conftest.
$ac_ext
4762 CFLAGS
="$CFLAGS -marm"
4764 *-mingw32*|
*-cygwin*)
4765 enable_win16
=${enable_win16:-no}
4766 CFLAGS
="$CFLAGS -D_WIN32"
4769 enable_win16
=${enable_win16:-yes}
4773 enable_win16
=${enable_win16:-no}
4774 enable_win64
=${enable_win64:-no}
4776 enable_winetest
=${enable_winetest:-$enable_tests}
4778 if test -n "$with_wine64"
4780 if test "x$enable_win64" = "xyes"
4782 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4783 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4785 enable_fonts
=${enable_fonts:-no}
4786 enable_server
=${enable_server:-no}
4787 elif test "x$enable_win64" = "xyes"
4789 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4793 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4794 if ${wine_cv_toolsdir+:} false
; then :
4795 $as_echo_n "(cached) " >&6
4797 wine_cv_toolsdir
="$with_wine_tools"
4798 if test -z "$with_wine_tools"; then
4799 if test "$cross_compiling" = "yes"; then
4800 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4801 elif test -n "$with_wine64"; then
4802 wine_cv_toolsdir
="$with_wine64"
4805 if test -z "$wine_cv_toolsdir"; then
4806 wine_cv_toolsdir
="\$(top_builddir)"
4807 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4808 case "$wine_cv_toolsdir" in
4810 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4812 enable_tools
=${enable_tools:-no}
4814 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4818 $as_echo "$wine_cv_toolsdir" >&6; }
4819 TOOLSDIR
=$wine_cv_toolsdir
4821 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4823 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4829 # Extract the first word of "$ac_prog", so it can be a program name with args.
4830 set dummy
$ac_prog; ac_word
=$2
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4832 $as_echo_n "checking for $ac_word... " >&6; }
4833 if ${ac_cv_prog_FLEX+:} false
; then :
4834 $as_echo_n "(cached) " >&6
4836 if test -n "$FLEX"; then
4837 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4843 test -z "$as_dir" && as_dir
=.
4844 for ac_exec_ext
in '' $ac_executable_extensions; do
4845 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4846 ac_cv_prog_FLEX
="$ac_prog"
4847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4856 FLEX
=$ac_cv_prog_FLEX
4857 if test -n "$FLEX"; then
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4859 $as_echo "$FLEX" >&6; }
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4862 $as_echo "no" >&6; }
4866 test -n "$FLEX" && break
4868 test -n "$FLEX" || FLEX
="none"
4870 if test "$FLEX" = "none"
4872 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4875 $as_echo_n "checking whether flex is recent enough... " >&6; }
4876 cat >conftest.l
<<EOF
4878 #include "prediluvian.h"
4882 if $FLEX -t conftest.l
>/dev
/null
2>&5
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4885 $as_echo "yes" >&6; }
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4888 $as_echo "no" >&6; }
4889 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4892 for ac_prog
in bison
4894 # Extract the first word of "$ac_prog", so it can be a program name with args.
4895 set dummy
$ac_prog; ac_word
=$2
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4897 $as_echo_n "checking for $ac_word... " >&6; }
4898 if ${ac_cv_prog_BISON+:} false
; then :
4899 $as_echo_n "(cached) " >&6
4901 if test -n "$BISON"; then
4902 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4908 test -z "$as_dir" && as_dir
=.
4909 for ac_exec_ext
in '' $ac_executable_extensions; do
4910 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4911 ac_cv_prog_BISON
="$ac_prog"
4912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4921 BISON
=$ac_cv_prog_BISON
4922 if test -n "$BISON"; then
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4924 $as_echo "$BISON" >&6; }
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4927 $as_echo "no" >&6; }
4931 test -n "$BISON" && break
4933 test -n "$BISON" || BISON
="none"
4935 if test "$BISON" = "none"
4937 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4940 if test -n "$ac_tool_prefix"; then
4941 for ac_prog
in ar gar
4943 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4944 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4946 $as_echo_n "checking for $ac_word... " >&6; }
4947 if ${ac_cv_prog_AR+:} false
; then :
4948 $as_echo_n "(cached) " >&6
4950 if test -n "$AR"; then
4951 ac_cv_prog_AR
="$AR" # Let the user override the test.
4953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4957 test -z "$as_dir" && as_dir
=.
4958 for ac_exec_ext
in '' $ac_executable_extensions; do
4959 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4960 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4971 if test -n "$AR"; then
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4973 $as_echo "$AR" >&6; }
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976 $as_echo "no" >&6; }
4980 test -n "$AR" && break
4983 if test -z "$AR"; then
4985 for ac_prog
in ar gar
4987 # Extract the first word of "$ac_prog", so it can be a program name with args.
4988 set dummy
$ac_prog; ac_word
=$2
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4990 $as_echo_n "checking for $ac_word... " >&6; }
4991 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4992 $as_echo_n "(cached) " >&6
4994 if test -n "$ac_ct_AR"; then
4995 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5001 test -z "$as_dir" && as_dir
=.
5002 for ac_exec_ext
in '' $ac_executable_extensions; do
5003 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5004 ac_cv_prog_ac_ct_AR
="$ac_prog"
5005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5014 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5015 if test -n "$ac_ct_AR"; then
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5017 $as_echo "$ac_ct_AR" >&6; }
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5020 $as_echo "no" >&6; }
5024 test -n "$ac_ct_AR" && break
5027 if test "x$ac_ct_AR" = x
; then
5030 case $cross_compiling:$ac_tool_warned in
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5033 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5034 ac_tool_warned
=yes ;;
5040 if test -n "$ac_tool_prefix"; then
5041 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5042 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5044 $as_echo_n "checking for $ac_word... " >&6; }
5045 if ${ac_cv_prog_STRIP+:} false
; then :
5046 $as_echo_n "(cached) " >&6
5048 if test -n "$STRIP"; then
5049 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5055 test -z "$as_dir" && as_dir
=.
5056 for ac_exec_ext
in '' $ac_executable_extensions; do
5057 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5058 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5068 STRIP
=$ac_cv_prog_STRIP
5069 if test -n "$STRIP"; then
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5071 $as_echo "$STRIP" >&6; }
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5074 $as_echo "no" >&6; }
5079 if test -z "$ac_cv_prog_STRIP"; then
5081 # Extract the first word of "strip", so it can be a program name with args.
5082 set dummy strip
; ac_word
=$2
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5084 $as_echo_n "checking for $ac_word... " >&6; }
5085 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5086 $as_echo_n "(cached) " >&6
5088 if test -n "$ac_ct_STRIP"; then
5089 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5095 test -z "$as_dir" && as_dir
=.
5096 for ac_exec_ext
in '' $ac_executable_extensions; do
5097 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5098 ac_cv_prog_ac_ct_STRIP
="strip"
5099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5108 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5109 if test -n "$ac_ct_STRIP"; then
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5111 $as_echo "$ac_ct_STRIP" >&6; }
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5114 $as_echo "no" >&6; }
5117 if test "x$ac_ct_STRIP" = x
; then
5120 case $cross_compiling:$ac_tool_warned in
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5124 ac_tool_warned
=yes ;;
5129 STRIP
="$ac_cv_prog_STRIP"
5134 if test -n "$ac_tool_prefix"; then
5135 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5136 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5138 $as_echo_n "checking for $ac_word... " >&6; }
5139 if ${ac_cv_prog_RANLIB+:} false
; then :
5140 $as_echo_n "(cached) " >&6
5142 if test -n "$RANLIB"; then
5143 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5149 test -z "$as_dir" && as_dir
=.
5150 for ac_exec_ext
in '' $ac_executable_extensions; do
5151 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5152 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5162 RANLIB
=$ac_cv_prog_RANLIB
5163 if test -n "$RANLIB"; then
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5165 $as_echo "$RANLIB" >&6; }
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5168 $as_echo "no" >&6; }
5173 if test -z "$ac_cv_prog_RANLIB"; then
5174 ac_ct_RANLIB
=$RANLIB
5175 # Extract the first word of "ranlib", so it can be a program name with args.
5176 set dummy ranlib
; ac_word
=$2
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5178 $as_echo_n "checking for $ac_word... " >&6; }
5179 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5180 $as_echo_n "(cached) " >&6
5182 if test -n "$ac_ct_RANLIB"; then
5183 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5189 test -z "$as_dir" && as_dir
=.
5190 for ac_exec_ext
in '' $ac_executable_extensions; do
5191 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5192 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5202 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5203 if test -n "$ac_ct_RANLIB"; then
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5205 $as_echo "$ac_ct_RANLIB" >&6; }
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5208 $as_echo "no" >&6; }
5211 if test "x$ac_ct_RANLIB" = x
; then
5214 case $cross_compiling:$ac_tool_warned in
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5217 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5218 ac_tool_warned
=yes ;;
5220 RANLIB
=$ac_ct_RANLIB
5223 RANLIB
="$ac_cv_prog_RANLIB"
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5227 $as_echo_n "checking whether ln -s works... " >&6; }
5229 if test "$LN_S" = "ln -s"; then
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5231 $as_echo "yes" >&6; }
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5234 $as_echo "no, using $LN_S" >&6; }
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5238 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5239 if ${ac_cv_path_GREP+:} false
; then :
5240 $as_echo_n "(cached) " >&6
5242 if test -z "$GREP"; then
5243 ac_path_GREP_found
=false
5244 # Loop through the user's path and test for each of PROGNAME-LIST
5245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5246 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5249 test -z "$as_dir" && as_dir
=.
5250 for ac_prog
in grep ggrep
; do
5251 for ac_exec_ext
in '' $ac_executable_extensions; do
5252 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5253 as_fn_executable_p
"$ac_path_GREP" ||
continue
5254 # Check for GNU ac_path_GREP and select it if it is found.
5255 # Check for GNU $ac_path_GREP
5256 case `"$ac_path_GREP" --version 2>&1` in
5258 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5261 $as_echo_n 0123456789 >"conftest.in"
5264 cat "conftest.in" "conftest.in" >"conftest.tmp"
5265 mv "conftest.tmp" "conftest.in"
5266 cp "conftest.in" "conftest.nl"
5267 $as_echo 'GREP' >> "conftest.nl"
5268 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5269 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5270 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5271 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5272 # Best one so far, save it but keep looking for a better one
5273 ac_cv_path_GREP
="$ac_path_GREP"
5274 ac_path_GREP_max
=$ac_count
5276 # 10*(2^10) chars as input seems more than enough
5277 test $ac_count -gt 10 && break
5279 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5282 $ac_path_GREP_found && break 3
5287 if test -z "$ac_cv_path_GREP"; then
5288 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5291 ac_cv_path_GREP
=$GREP
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5296 $as_echo "$ac_cv_path_GREP" >&6; }
5297 GREP
="$ac_cv_path_GREP"
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5301 $as_echo_n "checking for egrep... " >&6; }
5302 if ${ac_cv_path_EGREP+:} false
; then :
5303 $as_echo_n "(cached) " >&6
5305 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5306 then ac_cv_path_EGREP
="$GREP -E"
5308 if test -z "$EGREP"; then
5309 ac_path_EGREP_found
=false
5310 # Loop through the user's path and test for each of PROGNAME-LIST
5311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5312 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5315 test -z "$as_dir" && as_dir
=.
5316 for ac_prog
in egrep; do
5317 for ac_exec_ext
in '' $ac_executable_extensions; do
5318 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5319 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5320 # Check for GNU ac_path_EGREP and select it if it is found.
5321 # Check for GNU $ac_path_EGREP
5322 case `"$ac_path_EGREP" --version 2>&1` in
5324 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5327 $as_echo_n 0123456789 >"conftest.in"
5330 cat "conftest.in" "conftest.in" >"conftest.tmp"
5331 mv "conftest.tmp" "conftest.in"
5332 cp "conftest.in" "conftest.nl"
5333 $as_echo 'EGREP' >> "conftest.nl"
5334 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5335 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5336 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5337 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5338 # Best one so far, save it but keep looking for a better one
5339 ac_cv_path_EGREP
="$ac_path_EGREP"
5340 ac_path_EGREP_max
=$ac_count
5342 # 10*(2^10) chars as input seems more than enough
5343 test $ac_count -gt 10 && break
5345 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5348 $ac_path_EGREP_found && break 3
5353 if test -z "$ac_cv_path_EGREP"; then
5354 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5357 ac_cv_path_EGREP
=$EGREP
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5363 $as_echo "$ac_cv_path_EGREP" >&6; }
5364 EGREP
="$ac_cv_path_EGREP"
5367 # Extract the first word of "ldconfig", so it can be a program name with args.
5368 set dummy ldconfig
; ac_word
=$2
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5370 $as_echo_n "checking for $ac_word... " >&6; }
5371 if ${ac_cv_path_LDCONFIG+:} false
; then :
5372 $as_echo_n "(cached) " >&6
5376 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5380 for as_dir
in /sbin
/usr
/sbin
$PATH
5383 test -z "$as_dir" && as_dir
=.
5384 for ac_exec_ext
in '' $ac_executable_extensions; do
5385 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5386 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5394 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5398 LDCONFIG
=$ac_cv_path_LDCONFIG
5399 if test -n "$LDCONFIG"; then
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5401 $as_echo "$LDCONFIG" >&6; }
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5404 $as_echo "no" >&6; }
5408 for ac_prog
in msgfmt
5410 # Extract the first word of "$ac_prog", so it can be a program name with args.
5411 set dummy
$ac_prog; ac_word
=$2
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5413 $as_echo_n "checking for $ac_word... " >&6; }
5414 if ${ac_cv_prog_MSGFMT+:} false
; then :
5415 $as_echo_n "(cached) " >&6
5417 if test -n "$MSGFMT"; then
5418 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5424 test -z "$as_dir" && as_dir
=.
5425 for ac_exec_ext
in '' $ac_executable_extensions; do
5426 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5427 ac_cv_prog_MSGFMT
="$ac_prog"
5428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5437 MSGFMT
=$ac_cv_prog_MSGFMT
5438 if test -n "$MSGFMT"; then
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5440 $as_echo "$MSGFMT" >&6; }
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5443 $as_echo "no" >&6; }
5447 test -n "$MSGFMT" && break
5449 test -n "$MSGFMT" || MSGFMT
="false"
5451 if test -n "$ac_tool_prefix"; then
5452 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5453 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5455 $as_echo_n "checking for $ac_word... " >&6; }
5456 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5457 $as_echo_n "(cached) " >&6
5459 if test -n "$PKG_CONFIG"; then
5460 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5466 test -z "$as_dir" && as_dir
=.
5467 for ac_exec_ext
in '' $ac_executable_extensions; do
5468 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5469 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5479 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5480 if test -n "$PKG_CONFIG"; then
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5482 $as_echo "$PKG_CONFIG" >&6; }
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5485 $as_echo "no" >&6; }
5490 if test -n "$ac_cv_prog_PKG_CONFIG"; then
5491 PKG_CONFIG
="$ac_cv_prog_PKG_CONFIG"
5492 elif test "$cross_compiling" != yes; then
5493 unset ac_cv_prog_PKG_CONFIG
5494 # Extract the first word of "pkg-config", so it can be a program name with args.
5495 set dummy pkg-config
; ac_word
=$2
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5497 $as_echo_n "checking for $ac_word... " >&6; }
5498 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5499 $as_echo_n "(cached) " >&6
5501 if test -n "$PKG_CONFIG"; then
5502 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5508 test -z "$as_dir" && as_dir
=.
5509 for ac_exec_ext
in '' $ac_executable_extensions; do
5510 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5511 ac_cv_prog_PKG_CONFIG
="pkg-config"
5512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5521 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5522 if test -n "$PKG_CONFIG"; then
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5524 $as_echo "$PKG_CONFIG" >&6; }
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5527 $as_echo "no" >&6; }
5533 if test "x$enable_maintainer_mode" != "xyes"
5540 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5541 for ac_prog
in fontforge
5543 # Extract the first word of "$ac_prog", so it can be a program name with args.
5544 set dummy
$ac_prog; ac_word
=$2
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5546 $as_echo_n "checking for $ac_word... " >&6; }
5547 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5548 $as_echo_n "(cached) " >&6
5550 if test -n "$FONTFORGE"; then
5551 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5557 test -z "$as_dir" && as_dir
=.
5558 for ac_exec_ext
in '' $ac_executable_extensions; do
5559 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5560 ac_cv_prog_FONTFORGE
="$ac_prog"
5561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5570 FONTFORGE
=$ac_cv_prog_FONTFORGE
5571 if test -n "$FONTFORGE"; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5573 $as_echo "$FONTFORGE" >&6; }
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5576 $as_echo "no" >&6; }
5580 test -n "$FONTFORGE" && break
5582 test -n "$FONTFORGE" || FONTFORGE
="false"
5586 # Extract the first word of "$ac_prog", so it can be a program name with args.
5587 set dummy
$ac_prog; ac_word
=$2
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5589 $as_echo_n "checking for $ac_word... " >&6; }
5590 if ${ac_cv_prog_RSVG+:} false
; then :
5591 $as_echo_n "(cached) " >&6
5593 if test -n "$RSVG"; then
5594 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5600 test -z "$as_dir" && as_dir
=.
5601 for ac_exec_ext
in '' $ac_executable_extensions; do
5602 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5603 ac_cv_prog_RSVG
="$ac_prog"
5604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5613 RSVG
=$ac_cv_prog_RSVG
5614 if test -n "$RSVG"; then
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5616 $as_echo "$RSVG" >&6; }
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5619 $as_echo "no" >&6; }
5623 test -n "$RSVG" && break
5625 test -n "$RSVG" || RSVG
="false"
5627 for ac_prog
in convert
5629 # Extract the first word of "$ac_prog", so it can be a program name with args.
5630 set dummy
$ac_prog; ac_word
=$2
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5632 $as_echo_n "checking for $ac_word... " >&6; }
5633 if ${ac_cv_prog_CONVERT+:} false
; then :
5634 $as_echo_n "(cached) " >&6
5636 if test -n "$CONVERT"; then
5637 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5643 test -z "$as_dir" && as_dir
=.
5644 for ac_exec_ext
in '' $ac_executable_extensions; do
5645 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5646 ac_cv_prog_CONVERT
="$ac_prog"
5647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5656 CONVERT
=$ac_cv_prog_CONVERT
5657 if test -n "$CONVERT"; then
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5659 $as_echo "$CONVERT" >&6; }
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5662 $as_echo "no" >&6; }
5666 test -n "$CONVERT" && break
5668 test -n "$CONVERT" || CONVERT
="false"
5670 for ac_prog
in icotool
5672 # Extract the first word of "$ac_prog", so it can be a program name with args.
5673 set dummy
$ac_prog; ac_word
=$2
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5675 $as_echo_n "checking for $ac_word... " >&6; }
5676 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5677 $as_echo_n "(cached) " >&6
5679 if test -n "$ICOTOOL"; then
5680 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5686 test -z "$as_dir" && as_dir
=.
5687 for ac_exec_ext
in '' $ac_executable_extensions; do
5688 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5689 ac_cv_prog_ICOTOOL
="$ac_prog"
5690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5699 ICOTOOL
=$ac_cv_prog_ICOTOOL
5700 if test -n "$ICOTOOL"; then
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5702 $as_echo "$ICOTOOL" >&6; }
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5705 $as_echo "no" >&6; }
5709 test -n "$ICOTOOL" && break
5711 test -n "$ICOTOOL" || ICOTOOL
="false"
5713 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5714 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5716 if test "$CONVERT" = false
5718 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5721 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5722 convert_version
=`convert --version | head -n1`
5723 if test "x$convert_version" != "x"
5725 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5726 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5727 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5732 if test "$CONVERT" = false
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5735 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5736 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5739 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5743 if test "$ICOTOOL" = false
5745 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5748 $as_echo_n "checking for recent enough icotool... " >&6; }
5749 icotool_version
=`icotool --version | head -n1`
5750 if test "x$icotool_version" != "x"
5752 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5753 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5754 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5757 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5760 if test "$ICOTOOL" = false
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5763 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5764 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5767 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5773 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5776 test "x$with_gettext" != xno || MSGFMT
=false
5777 if test "$MSGFMT" != "false"
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5780 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5781 cat >conftest.po
<<EOF
5787 if $MSGFMT -o /dev
/null conftest.po
2>&5
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5790 $as_echo "yes" >&6; }
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5793 $as_echo "no" >&6; }
5797 if test "$MSGFMT" = false
; then :
5798 case "x$with_gettext" in
5799 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5801 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5802 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5808 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5809 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5810 $as_echo_n "(cached) " >&6
5812 ac_check_lib_save_LIBS
=$LIBS
5814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5815 /* end confdefs.h. */
5817 /* Override any GCC internal prototype to avoid an error.
5818 Use char because int might match the return type of a GCC
5819 builtin and then its argument prototype would still apply. */
5823 char i386_set_ldt ();
5827 return i386_set_ldt ();
5832 if ac_fn_c_try_link
"$LINENO"; then :
5833 ac_cv_lib_i386_i386_set_ldt
=yes
5835 ac_cv_lib_i386_i386_set_ldt
=no
5837 rm -f core conftest.err conftest.
$ac_objext \
5838 conftest
$ac_exeext conftest.
$ac_ext
5839 LIBS
=$ac_check_lib_save_LIBS
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5842 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5843 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5844 cat >>confdefs.h
<<_ACEOF
5845 #define HAVE_LIBI386 1
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5853 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5854 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5855 $as_echo_n "(cached) " >&6
5857 ac_check_lib_save_LIBS
=$LIBS
5858 LIBS
="-lossaudio $LIBS"
5859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5860 /* end confdefs.h. */
5862 /* Override any GCC internal prototype to avoid an error.
5863 Use char because int might match the return type of a GCC
5864 builtin and then its argument prototype would still apply. */
5872 return _oss_ioctl ();
5877 if ac_fn_c_try_link
"$LINENO"; then :
5878 ac_cv_lib_ossaudio__oss_ioctl
=yes
5880 ac_cv_lib_ossaudio__oss_ioctl
=no
5882 rm -f core conftest.err conftest.
$ac_objext \
5883 conftest
$ac_exeext conftest.
$ac_ext
5884 LIBS
=$ac_check_lib_save_LIBS
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5887 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5888 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5889 cat >>confdefs.h
<<_ACEOF
5890 #define HAVE_LIBOSSAUDIO 1
5893 LIBS
="-lossaudio $LIBS"
5904 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h
=no
5906 # Check whether --enable-largefile was given.
5907 if test "${enable_largefile+set}" = set; then :
5908 enableval
=$enable_largefile;
5911 if test "$enable_largefile" != no
; then
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5914 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5915 if ${ac_cv_sys_largefile_CC+:} false
; then :
5916 $as_echo_n "(cached) " >&6
5918 ac_cv_sys_largefile_CC
=no
5919 if test "$GCC" != yes; then
5922 # IRIX 6.2 and later do not support large files by default,
5923 # so use the C compiler's -n32 option if that helps.
5924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5925 /* end confdefs.h. */
5926 #include <sys/types.h>
5927 /* Check that off_t can represent 2**63 - 1 correctly.
5928 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5929 since some C++ compilers masquerading as C compilers
5930 incorrectly reject 9223372036854775807. */
5931 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5932 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5933 && LARGE_OFF_T % 2147483647 == 1)
5943 if ac_fn_c_try_compile
"$LINENO"; then :
5946 rm -f core conftest.err conftest.
$ac_objext
5948 if ac_fn_c_try_compile
"$LINENO"; then :
5949 ac_cv_sys_largefile_CC
=' -n32'; break
5951 rm -f core conftest.err conftest.
$ac_objext
5955 rm -f conftest.
$ac_ext
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5959 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5960 if test "$ac_cv_sys_largefile_CC" != no
; then
5961 CC
=$CC$ac_cv_sys_largefile_CC
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5965 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5966 if ${ac_cv_sys_file_offset_bits+:} false
; then :
5967 $as_echo_n "(cached) " >&6
5970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5971 /* end confdefs.h. */
5972 #include <sys/types.h>
5973 /* Check that off_t can represent 2**63 - 1 correctly.
5974 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5975 since some C++ compilers masquerading as C compilers
5976 incorrectly reject 9223372036854775807. */
5977 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5978 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5979 && LARGE_OFF_T % 2147483647 == 1)
5989 if ac_fn_c_try_compile
"$LINENO"; then :
5990 ac_cv_sys_file_offset_bits
=no
; break
5992 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5994 /* end confdefs.h. */
5995 #define _FILE_OFFSET_BITS 64
5996 #include <sys/types.h>
5997 /* Check that off_t can represent 2**63 - 1 correctly.
5998 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5999 since some C++ compilers masquerading as C compilers
6000 incorrectly reject 9223372036854775807. */
6001 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6002 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6003 && LARGE_OFF_T % 2147483647 == 1)
6013 if ac_fn_c_try_compile
"$LINENO"; then :
6014 ac_cv_sys_file_offset_bits
=64; break
6016 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6017 ac_cv_sys_file_offset_bits
=unknown
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6022 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6023 case $ac_cv_sys_file_offset_bits in #(
6026 cat >>confdefs.h
<<_ACEOF
6027 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6032 if test $ac_cv_sys_file_offset_bits = unknown
; then
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6034 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6035 if ${ac_cv_sys_large_files+:} false
; then :
6036 $as_echo_n "(cached) " >&6
6039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6040 /* end confdefs.h. */
6041 #include <sys/types.h>
6042 /* Check that off_t can represent 2**63 - 1 correctly.
6043 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6044 since some C++ compilers masquerading as C compilers
6045 incorrectly reject 9223372036854775807. */
6046 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6047 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6048 && LARGE_OFF_T % 2147483647 == 1)
6058 if ac_fn_c_try_compile
"$LINENO"; then :
6059 ac_cv_sys_large_files
=no
; break
6061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6063 /* end confdefs.h. */
6064 #define _LARGE_FILES 1
6065 #include <sys/types.h>
6066 /* Check that off_t can represent 2**63 - 1 correctly.
6067 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6068 since some C++ compilers masquerading as C compilers
6069 incorrectly reject 9223372036854775807. */
6070 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6071 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6072 && LARGE_OFF_T % 2147483647 == 1)
6082 if ac_fn_c_try_compile
"$LINENO"; then :
6083 ac_cv_sys_large_files
=1; break
6085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6086 ac_cv_sys_large_files
=unknown
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6091 $as_echo "$ac_cv_sys_large_files" >&6; }
6092 case $ac_cv_sys_large_files in #(
6095 cat >>confdefs.h
<<_ACEOF
6096 #define _LARGE_FILES $ac_cv_sys_large_files
6108 ac_cpp
='$CPP $CPPFLAGS'
6109 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6110 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6111 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6113 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6114 # On Suns, sometimes $CPP names a directory.
6115 if test -n "$CPP" && test -d "$CPP"; then
6118 if test -z "$CPP"; then
6119 if ${ac_cv_prog_CPP+:} false
; then :
6120 $as_echo_n "(cached) " >&6
6122 # Double quotes because CPP needs to be expanded
6123 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6126 for ac_c_preproc_warn_flag
in '' yes
6128 # Use a header file that comes with gcc, so configuring glibc
6129 # with a fresh cross-compiler works.
6130 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6131 # <limits.h> exists even on freestanding compilers.
6132 # On the NeXT, cc -E runs the code through the compiler's parser,
6133 # not just through cpp. "Syntax error" is here to catch this case.
6134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6135 /* end confdefs.h. */
6137 # include <limits.h>
6139 # include <assert.h>
6143 if ac_fn_c_try_cpp
"$LINENO"; then :
6146 # Broken: fails on valid input.
6149 rm -f conftest.err conftest.i conftest.
$ac_ext
6151 # OK, works on sane cases. Now check whether nonexistent headers
6152 # can be detected and how.
6153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6154 /* end confdefs.h. */
6155 #include <ac_nonexistent.h>
6157 if ac_fn_c_try_cpp
"$LINENO"; then :
6158 # Broken: success on invalid input.
6161 # Passes both tests.
6165 rm -f conftest.err conftest.i conftest.
$ac_ext
6168 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6169 rm -f conftest.i conftest.err conftest.
$ac_ext
6170 if $ac_preproc_ok; then :
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6183 $as_echo "$CPP" >&6; }
6185 for ac_c_preproc_warn_flag
in '' yes
6187 # Use a header file that comes with gcc, so configuring glibc
6188 # with a fresh cross-compiler works.
6189 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6190 # <limits.h> exists even on freestanding compilers.
6191 # On the NeXT, cc -E runs the code through the compiler's parser,
6192 # not just through cpp. "Syntax error" is here to catch this case.
6193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6194 /* end confdefs.h. */
6196 # include <limits.h>
6198 # include <assert.h>
6202 if ac_fn_c_try_cpp
"$LINENO"; then :
6205 # Broken: fails on valid input.
6208 rm -f conftest.err conftest.i conftest.
$ac_ext
6210 # OK, works on sane cases. Now check whether nonexistent headers
6211 # can be detected and how.
6212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6213 /* end confdefs.h. */
6214 #include <ac_nonexistent.h>
6216 if ac_fn_c_try_cpp
"$LINENO"; then :
6217 # Broken: success on invalid input.
6220 # Passes both tests.
6224 rm -f conftest.err conftest.i conftest.
$ac_ext
6227 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6228 rm -f conftest.i conftest.err conftest.
$ac_ext
6229 if $ac_preproc_ok; then :
6232 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6234 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6235 See \`config.log' for more details" "$LINENO" 5; }
6239 ac_cpp
='$CPP $CPPFLAGS'
6240 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6241 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6242 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6246 $as_echo_n "checking for ANSI C header files... " >&6; }
6247 if ${ac_cv_header_stdc+:} false
; then :
6248 $as_echo_n "(cached) " >&6
6250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6251 /* end confdefs.h. */
6265 if ac_fn_c_try_compile
"$LINENO"; then :
6266 ac_cv_header_stdc
=yes
6268 ac_cv_header_stdc
=no
6270 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6272 if test $ac_cv_header_stdc = yes; then
6273 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6275 /* end confdefs.h. */
6279 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6280 $EGREP "memchr" >/dev
/null
2>&1; then :
6283 ac_cv_header_stdc
=no
6289 if test $ac_cv_header_stdc = yes; then
6290 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6292 /* end confdefs.h. */
6296 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6297 $EGREP "free" >/dev
/null
2>&1; then :
6300 ac_cv_header_stdc
=no
6306 if test $ac_cv_header_stdc = yes; then
6307 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6308 if test "$cross_compiling" = yes; then :
6311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6312 /* end confdefs.h. */
6315 #if ((' ' & 0x0FF) == 0x020)
6316 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6317 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6319 # define ISLOWER(c) \
6320 (('a' <= (c) && (c) <= 'i') \
6321 || ('j' <= (c) && (c) <= 'r') \
6322 || ('s' <= (c) && (c) <= 'z'))
6323 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6326 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6331 for (i = 0; i < 256; i++)
6332 if (XOR (islower (i), ISLOWER (i))
6333 || toupper (i) != TOUPPER (i))
6338 if ac_fn_c_try_run
"$LINENO"; then :
6341 ac_cv_header_stdc
=no
6343 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6344 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6350 $as_echo "$ac_cv_header_stdc" >&6; }
6351 if test $ac_cv_header_stdc = yes; then
6353 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6357 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6358 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6359 inttypes.h stdint.h unistd.h
6361 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6362 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6364 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6365 cat >>confdefs.h
<<_ACEOF
6366 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6376 ApplicationServices
/ApplicationServices.h \
6377 AudioToolbox
/AudioConverter.h \
6378 AudioUnit
/AudioUnit.h \
6379 AudioUnit
/AudioComponent.h \
6382 CoreAudio
/CoreAudio.h \
6383 CoreServices
/CoreServices.h \
6384 DiskArbitration
/DiskArbitration.h \
6386 IOKit
/hid
/IOHIDLib.h \
6389 QuickTime
/ImageCompression.h \
6390 Security
/Security.h \
6404 fontconfig
/fontconfig.h \
6442 netinet
/in_systm.h \
6503 valgrind
/memcheck.h \
6504 valgrind
/valgrind.h \
6508 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6509 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6510 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6511 cat >>confdefs.h
<<_ACEOF
6512 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6520 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6521 if ${ac_cv_header_stat_broken+:} false
; then :
6522 $as_echo_n "(cached) " >&6
6524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6525 /* end confdefs.h. */
6526 #include <sys/types.h>
6527 #include <sys/stat.h>
6529 #if defined S_ISBLK && defined S_IFDIR
6530 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6533 #if defined S_ISBLK && defined S_IFCHR
6534 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6537 #if defined S_ISLNK && defined S_IFREG
6538 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6541 #if defined S_ISSOCK && defined S_IFREG
6542 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6546 if ac_fn_c_try_compile
"$LINENO"; then :
6547 ac_cv_header_stat_broken
=no
6549 ac_cv_header_stat_broken
=yes
6551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6554 $as_echo "$ac_cv_header_stat_broken" >&6; }
6555 if test $ac_cv_header_stat_broken = yes; then
6557 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6563 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6565 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6566 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6567 #ifdef HAVE_SYS_PARAM_H
6568 # include <sys/param.h>
6571 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6572 cat >>confdefs.h
<<_ACEOF
6573 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6588 netinet
/if_ether.h \
6589 netinet
/if_inarp.h \
6598 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6599 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6600 #ifdef HAVE_SYS_SOCKET_H
6601 # include <sys/socket.h>
6603 #ifdef HAVE_SYS_SOCKETVAR_H
6604 # include <sys/socketvar.h>
6606 #ifdef HAVE_NET_ROUTE_H
6607 # include <net/route.h>
6609 #ifdef HAVE_NETINET_IN_H
6610 # include <netinet/in.h>
6612 #ifdef HAVE_NETINET_IN_SYSTM_H
6613 # include <netinet/in_systm.h>
6615 #ifdef HAVE_NET_IF_H
6616 # include <net/if.h>
6618 #ifdef HAVE_NETINET_IP_H
6619 # include <netinet/ip.h>
6622 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6623 cat >>confdefs.h
<<_ACEOF
6624 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6632 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6634 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6635 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6639 #ifdef HAVE_SYS_SOCKET_H
6640 # include <sys/socket.h>
6642 #ifdef HAVE_SYS_SOCKETVAR_H
6643 # include <sys/socketvar.h>
6645 #ifdef HAVE_SYS_TIMEOUT_H
6646 # include <sys/timeout.h>
6648 #ifdef HAVE_NETINET_IN_H
6649 # include <netinet/in.h>
6651 #ifdef HAVE_NETINET_IN_SYSTM_H
6652 # include <netinet/in_systm.h>
6654 #ifdef HAVE_NETINET_IP_H
6655 # include <netinet/ip.h>
6657 #ifdef HAVE_NETINET_IP_VAR_H
6658 # include <netinet/ip_var.h>
6660 #ifdef HAVE_NETINET_IP_ICMP_H
6661 # include <netinet/ip_icmp.h>
6663 #ifdef HAVE_NETINET_UDP_H
6664 # include <netinet/udp.h>
6666 #ifdef HAVE_NETINET_TCP_H
6667 # include <netinet/tcp.h>
6669 #ifdef HAVE_NETINET_TCP_TIMER_H
6670 #include <netinet/tcp_timer.h>
6673 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6674 cat >>confdefs.h
<<_ACEOF
6675 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6683 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6685 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6686 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6687 #ifdef HAVE_ASM_TYPES_H
6688 # include <asm/types.h>
6690 #ifdef HAVE_SYS_SOCKET_H
6691 # include <sys/socket.h>
6693 #ifdef HAVE_LINUX_TYPES_H
6694 # include <linux/types.h>
6697 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6698 cat >>confdefs.h
<<_ACEOF
6699 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6707 for ac_header
in mach-o
/dyld_images.h
6709 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6710 # include <stdbool.h>
6712 #ifdef HAVE_STDINT_H
6713 # include <stdint.h>
6716 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6717 cat >>confdefs.h
<<_ACEOF
6718 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6726 for ac_header
in resolv.h
6728 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6729 #ifdef HAVE_SYS_SOCKET_H
6730 # include <sys/socket.h>
6732 #ifdef HAVE_NETINET_IN_H
6733 # include <netinet/in.h>
6735 #ifdef HAVE_ARPA_NAMESER_H
6736 # include <arpa/nameser.h>
6739 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6740 cat >>confdefs.h
<<_ACEOF
6741 #define HAVE_RESOLV_H 1
6749 for ac_header
in ifaddrs.h
6751 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6753 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6754 cat >>confdefs.h
<<_ACEOF
6755 #define HAVE_IFADDRS_H 1
6763 for ac_header
in ucontext.h
6765 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6767 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6768 cat >>confdefs.h
<<_ACEOF
6769 #define HAVE_UCONTEXT_H 1
6777 for ac_header
in sys
/thr.h
6779 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6780 #ifdef HAVE_UCONTEXT_H
6781 #include <ucontext.h>
6784 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6785 cat >>confdefs.h
<<_ACEOF
6786 #define HAVE_SYS_THR_H 1
6794 for ac_header
in pthread_np.h
6796 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6797 #include <pthread.h>
6800 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6801 cat >>confdefs.h
<<_ACEOF
6802 #define HAVE_PTHREAD_NP_H 1
6810 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6812 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6813 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6814 #include <sys/time.h>
6816 #include <sys/types.h>
6817 #ifdef HAVE_ASM_TYPES_H
6818 #include <asm/types.h>
6821 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6822 cat >>confdefs.h
<<_ACEOF
6823 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6831 for ac_header
in libprocstat.h
6833 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6834 #include <sys/param.h>
6836 #ifdef HAVE_SYS_QUEUE_H
6837 #include <sys/queue.h>
6839 #ifdef HAVE_SYS_SOCKET_H
6840 #include <sys/socket.h>
6843 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6844 cat >>confdefs.h
<<_ACEOF
6845 #define HAVE_LIBPROCSTAT_H 1
6854 dlldir
="\${libdir}/wine"
6858 DLLFLAGS
="-D_REENTRANT"
6867 STATIC_IMPLIBEXT
="def.a"
6868 # Extract the first word of "ldd", so it can be a program name with args.
6869 set dummy ldd
; ac_word
=$2
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6871 $as_echo_n "checking for $ac_word... " >&6; }
6872 if ${ac_cv_path_LDD+:} false
; then :
6873 $as_echo_n "(cached) " >&6
6877 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6881 as_dummy
="/sbin:/usr/sbin:$PATH"
6882 for as_dir
in $as_dummy
6885 test -z "$as_dir" && as_dir
=.
6886 for ac_exec_ext
in '' $ac_executable_extensions; do
6887 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6888 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6896 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6901 if test -n "$LDD"; then
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6903 $as_echo "$LDD" >&6; }
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6906 $as_echo "no" >&6; }
6910 if test -n "$ac_tool_prefix"; then
6911 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6912 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6914 $as_echo_n "checking for $ac_word... " >&6; }
6915 if ${ac_cv_prog_READELF+:} false
; then :
6916 $as_echo_n "(cached) " >&6
6918 if test -n "$READELF"; then
6919 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6925 test -z "$as_dir" && as_dir
=.
6926 for ac_exec_ext
in '' $ac_executable_extensions; do
6927 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6928 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6938 READELF
=$ac_cv_prog_READELF
6939 if test -n "$READELF"; then
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6941 $as_echo "$READELF" >&6; }
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6944 $as_echo "no" >&6; }
6949 if test -z "$ac_cv_prog_READELF"; then
6950 ac_ct_READELF
=$READELF
6951 # Extract the first word of "readelf", so it can be a program name with args.
6952 set dummy readelf
; ac_word
=$2
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6954 $as_echo_n "checking for $ac_word... " >&6; }
6955 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
6956 $as_echo_n "(cached) " >&6
6958 if test -n "$ac_ct_READELF"; then
6959 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
6961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6965 test -z "$as_dir" && as_dir
=.
6966 for ac_exec_ext
in '' $ac_executable_extensions; do
6967 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6968 ac_cv_prog_ac_ct_READELF
="readelf"
6969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6978 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
6979 if test -n "$ac_ct_READELF"; then
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
6981 $as_echo "$ac_ct_READELF" >&6; }
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6984 $as_echo "no" >&6; }
6987 if test "x$ac_ct_READELF" = x
; then
6990 case $cross_compiling:$ac_tool_warned in
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6993 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6994 ac_tool_warned
=yes ;;
6996 READELF
=$ac_ct_READELF
6999 READELF
="$ac_cv_prog_READELF"
7002 wine_rules_file
=conf$
$rules.
make
7003 rm -f $wine_rules_file
7005 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7006 ALL_TEST_RESOURCES
=""
7009 wine_fn_append_file
()
7011 as_fn_append
$1 " \\$as_nl $2"
7014 wine_fn_ignore_file
()
7017 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7018 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7019 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7023 wine_fn_append_rule
()
7025 $as_echo "$1" >>$wine_rules_file
7030 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7033 wine_fn_depend_rules
()
7035 wine_fn_append_rule \
7036 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7037 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7038 depend: $ac_dir/depend
7039 .PHONY: $ac_dir/depend
7040 $ac_dir/depend: \$(MAKEDEP) dummy
7041 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7044 wine_fn_pot_rules
()
7046 test "x$with_gettextpo" = xyes ||
return
7048 if wine_fn_has_flag mc
7050 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7051 wine_fn_append_rule \
7052 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7053 @cd $ac_dir && \$(MAKE) msg.pot
7054 $ac_dir/msg.pot: tools/wmc include"
7056 if wine_fn_has_flag po
7058 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7059 wine_fn_append_rule \
7060 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7061 @cd $ac_dir && \$(MAKE) rsrc.pot
7062 $ac_dir/rsrc.pot: tools/wrc include"
7066 wine_fn_all_rules
()
7068 wine_fn_depend_rules
7069 wine_fn_append_rule \
7072 $ac_dir: $ac_dir/Makefile dummy
7073 @cd $ac_dir && \$(MAKE)"
7076 wine_fn_install_rules
()
7078 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7080 wine_fn_append_rule \
7081 ".PHONY: $ac_dir/install $ac_dir/uninstall
7082 $ac_dir/install:: $ac_dir
7083 @cd $ac_dir && \$(MAKE) install
7084 $ac_dir/uninstall:: $ac_dir/Makefile
7085 @cd $ac_dir && \$(MAKE) uninstall
7086 install:: $ac_dir/install
7087 __uninstall__: $ac_dir/uninstall"
7089 if wine_fn_has_flag install-lib
7091 wine_fn_append_rule \
7092 ".PHONY: $ac_dir/install-lib
7093 $ac_dir/install-lib:: $ac_dir
7094 @cd $ac_dir && \$(MAKE) install-lib
7095 install-lib:: $ac_dir/install-lib"
7098 if wine_fn_has_flag install-dev
7100 wine_fn_append_rule \
7101 ".PHONY: $ac_dir/install-dev
7102 $ac_dir/install-dev:: $ac_dir
7103 @cd $ac_dir && \$(MAKE) install-dev
7104 install-dev:: $ac_dir/install-dev"
7108 wine_fn_clean_rules
()
7111 ac_extraclean
="$ac_dir/Makefile"
7112 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7114 if wine_fn_has_flag clean
7116 wine_fn_append_rule \
7117 "__clean__: $ac_dir/clean
7118 .PHONY: $ac_dir/clean
7119 $ac_dir/clean: $ac_dir/Makefile
7120 @cd $ac_dir && \$(MAKE) clean
7121 \$(RM) $ac_extraclean"
7123 wine_fn_append_rule \
7124 "__clean__: $ac_dir/clean
7125 .PHONY: $ac_dir/clean
7126 $ac_dir/clean: dummy
7127 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7131 wine_fn_disabled_rules
()
7134 ac_extraclean
="$ac_dir/Makefile"
7135 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7137 wine_fn_append_rule \
7138 "__clean__: $ac_dir/clean
7139 .PHONY: $ac_dir/clean
7140 $ac_dir/clean: dummy
7141 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7144 wine_fn_config_makefile
()
7150 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7151 wine_fn_disabled_rules
; return
7154 wine_fn_install_rules
7158 wine_fn_config_lib
()
7162 ac_dir
=dlls
/$ac_name
7165 if test "x$enable_tools" = xno
; then :
7168 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7173 wine_fn_append_rule \
7174 ".PHONY: $ac_dir/install $ac_dir/uninstall
7175 $ac_dir/install:: $ac_dir
7176 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7178 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7179 install install-dev:: $ac_dir/install
7180 __uninstall__: $ac_dir/uninstall
7181 __builddeps__: $ac_dir
7185 wine_fn_config_dll
()
7188 ac_dir
=dlls
/$ac_name
7191 ac_implib
=${4:-$ac_name}
7192 ac_file
=$ac_dir/lib
$ac_implib
7197 if test "x$enable_tools" = xno
; then :
7200 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7203 *16) ac_implibflags
=" -m16" ;;
7205 *) ac_dll
=$ac_dll.dll
;;
7209 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7210 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7211 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7212 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7214 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7215 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7217 wine_fn_depend_rules
7218 wine_fn_clean_rules
$ac_clean
7220 wine_fn_disabled_rules
$ac_clean
7225 wine_fn_clean_rules
$ac_clean
7226 wine_fn_append_rule \
7227 "$ac_dir: __builddeps__
7228 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7229 @cd $ac_dir && \$(MAKE) \$@
7230 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7231 install install-lib:: $ac_dir/install-lib
7232 __uninstall__: $ac_dir/uninstall"
7233 if test -n "$DLLEXT"
7235 wine_fn_append_rule \
7236 "$ac_dir/install-lib:: $ac_dir
7237 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7238 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7240 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7242 wine_fn_append_rule \
7243 "$ac_dir/install-lib:: $ac_dir
7244 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7246 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7252 if wine_fn_has_flag staticimplib
7254 wine_fn_append_rule \
7255 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7256 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7257 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7258 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7259 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7260 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7261 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7262 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7263 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7265 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7266 install install-dev:: $ac_dir/install-dev
7267 __uninstall__: $ac_dir/uninstall"
7269 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7271 wine_fn_append_rule \
7272 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7273 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7275 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7278 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7280 wine_fn_append_rule \
7281 "__builddeps__: $ac_file.cross.a
7282 $ac_file.cross.a: $ac_dir/Makefile dummy
7283 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7286 elif wine_fn_has_flag implib
7288 wine_fn_append_rule \
7289 "__builddeps__: $ac_file.$IMPLIBEXT
7290 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7291 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7292 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7293 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7294 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7295 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7296 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7298 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7299 install install-dev:: $ac_dir/install-dev
7300 __uninstall__: $ac_dir/uninstall"
7301 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7303 wine_fn_append_rule \
7304 "__builddeps__: $ac_file.cross.a
7305 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7306 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7309 if test "$ac_name" != "$ac_implib"
7311 wine_fn_append_rule \
7312 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7313 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7314 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7316 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7317 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7318 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7320 wine_fn_append_rule \
7321 "__builddeps__: dlls/lib$ac_implib.cross.a
7322 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7323 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7325 \$(RM) dlls/lib$ac_implib.cross.a"
7326 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7332 wine_fn_config_program
()
7335 ac_dir
=programs
/$ac_name
7342 *) ac_program
=$ac_program.exe
;;
7346 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7347 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7348 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7349 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7351 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7352 wine_fn_disabled_rules
$ac_clean; return
7356 wine_fn_clean_rules
$ac_clean
7357 wine_fn_append_rule
"$ac_dir: __builddeps__"
7360 wine_fn_has_flag
install ||
return
7361 wine_fn_append_rule \
7362 ".PHONY: $ac_dir/install $ac_dir/uninstall
7363 install install-lib:: $ac_dir/install
7364 __uninstall__: $ac_dir/uninstall"
7366 if test -n "$DLLEXT"
7368 wine_fn_append_rule \
7369 "$ac_dir/install:: $ac_dir
7370 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7371 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7373 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7375 if test -z "$with_wine64" && wine_fn_has_flag installbin
7377 wine_fn_append_rule \
7378 "$ac_dir/install:: __tooldeps__
7379 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7381 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7384 wine_fn_append_rule \
7385 "$ac_dir/install:: $ac_dir
7386 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7388 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7391 if test -z "$with_wine64" && wine_fn_has_flag manpage
7393 wine_fn_append_rule \
7394 "$ac_dir/install:: $ac_dir
7395 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7397 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7401 wine_fn_config_test
()
7408 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7409 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7410 ac_clean
="$ac_clean $ac_dir/testlist.c"
7412 if test "x$enable_tests" = xno
; then :
7413 wine_fn_disabled_rules
$ac_clean; return
7416 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7418 wine_fn_clean_rules
$ac_clean
7420 wine_fn_append_rule \
7421 "$ac_dir: programs/winetest/Makefile __builddeps__
7422 programs/winetest: $ac_dir
7423 check test: $ac_dir/test
7424 .PHONY: $ac_dir/test
7426 @cd $ac_dir && \$(MAKE) test
7428 \$(RM) $ac_dir/*.ok"
7430 if test -n "$CROSSTARGET"
7432 wine_fn_append_rule \
7433 "crosstest: $ac_dir/crosstest
7434 .PHONY: $ac_dir/crosstest
7435 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7436 @cd $ac_dir && \$(MAKE) crosstest"
7440 wine_fn_config_tool
()
7444 if test "x$enable_tools" = xno
; then :
7449 wine_fn_install_rules
7452 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7453 wine_fn_append_rule
"$ac_dir: libs/port"
7455 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7459 wine_fn_config_symlink
()
7462 if test "x$1" = "x-d"
7468 wine_fn_append_rule \
7470 @./config.status \$@
7473 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7474 test -n "$ac_linkdir" ||
return
7475 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7479 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7480 loader_programs
="$wine_binary wine-installed"
7481 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7484 install install-lib:: wine-installed
7485 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7488 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7494 if test -n "$ac_tool_prefix"; then
7495 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7496 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7498 $as_echo_n "checking for $ac_word... " >&6; }
7499 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7500 $as_echo_n "(cached) " >&6
7502 if test -n "$DLLTOOL"; then
7503 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7509 test -z "$as_dir" && as_dir
=.
7510 for ac_exec_ext
in '' $ac_executable_extensions; do
7511 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7512 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7522 DLLTOOL
=$ac_cv_prog_DLLTOOL
7523 if test -n "$DLLTOOL"; then
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7525 $as_echo "$DLLTOOL" >&6; }
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7528 $as_echo "no" >&6; }
7533 if test -z "$ac_cv_prog_DLLTOOL"; then
7534 ac_ct_DLLTOOL
=$DLLTOOL
7535 # Extract the first word of "dlltool", so it can be a program name with args.
7536 set dummy dlltool
; ac_word
=$2
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7538 $as_echo_n "checking for $ac_word... " >&6; }
7539 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7540 $as_echo_n "(cached) " >&6
7542 if test -n "$ac_ct_DLLTOOL"; then
7543 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7549 test -z "$as_dir" && as_dir
=.
7550 for ac_exec_ext
in '' $ac_executable_extensions; do
7551 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7552 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7562 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7563 if test -n "$ac_ct_DLLTOOL"; then
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7565 $as_echo "$ac_ct_DLLTOOL" >&6; }
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7568 $as_echo "no" >&6; }
7571 if test "x$ac_ct_DLLTOOL" = x
; then
7574 case $cross_compiling:$ac_tool_warned in
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7578 ac_tool_warned
=yes ;;
7580 DLLTOOL
=$ac_ct_DLLTOOL
7583 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7589 STATIC_IMPLIBEXT
="a"
7590 enable_iphlpapi
=${enable_iphlpapi:-no}
7591 enable_kernel32
=${enable_kernel32:-no}
7592 enable_msvcrt
=${enable_msvcrt:-no}
7593 enable_ntdll
=${enable_ntdll:-no}
7594 enable_ws2_32
=${enable_ws2_32:-no}
7595 enable_loader
=${enable_loader:-no}
7596 enable_server
=${enable_server:-no}
7597 with_x
=${with_x:-no}
7598 with_pthread
=${with_pthread:-no}
7604 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7608 libwine_targets
="libwine.dll libwine.a"
7610 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7612 all: libwine.dll libwine.a
7614 libwine.a: \$(srcdir)/wine.def
7615 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7617 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7618 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7620 install install-lib:: libwine.dll
7621 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7623 install install-dev:: libwine.a
7624 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7627 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7634 DLLFLAGS
="$DLLFLAGS -fPIC"
7635 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7636 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7637 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7638 COREFOUNDATIONLIB
="-framework CoreFoundation"
7640 IOKITLIB
="-framework IOKit -framework CoreFoundation"
7642 FORCEFEEDBACKLIB
="-framework ForceFeedback -framework CoreFoundation"
7644 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
7646 CORESERVICESLIB
="-framework CoreServices"
7648 APPKITLIB
="-framework AppKit"
7650 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7652 darwin11
*) LDEXECFLAGS
="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7654 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7656 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
7659 if test "$ac_cv_header_Security_Security_h" = "yes"
7661 SECURITYLIB
="-framework Security -framework CoreFoundation"
7663 ac_save_LIBS
="$LIBS"
7664 LIBS
="$LIBS $SECURITYLIB"
7665 for ac_func
in SSLCopyPeerCertificates
7667 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7668 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7669 cat >>confdefs.h
<<_ACEOF
7670 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7676 LIBS
="$ac_save_LIBS"
7677 with_gnutls
=${with_gnutls:-no}
7679 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7681 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7683 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7686 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7689 ac_save_LIBS
="$LIBS"
7690 LIBS
="$LIBS $COREAUDIO"
7691 for ac_func
in AUGraphAddNode
7693 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7694 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7695 cat >>confdefs.h
<<_ACEOF
7696 #define HAVE_AUGRAPHADDNODE 1
7702 LIBS
="$ac_save_LIBS"
7704 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7706 FRAMEWORK_OPENAL
="-framework OpenAL"
7709 cat >>confdefs.h
<<_ACEOF
7710 #define HAVE_OPENAL 1
7713 ac_cv_lib_openal
=yes
7715 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7717 LIBOPENCL
="-framework OpenCL"
7719 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7721 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7723 ac_save_LIBS
="$LIBS"
7724 LIBS
="$LIBS $IOKITLIB"
7725 for ac_func
in IOHIDManagerCreate
7727 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7728 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7729 cat >>confdefs.h
<<_ACEOF
7730 #define HAVE_IOHIDMANAGERCREATE 1
7736 LIBS
="$ac_save_LIBS"
7738 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7740 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7742 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7744 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7746 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7748 CARBONLIB
="-framework Carbon"
7752 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7754 ac_save_LIBS
="$LIBS"
7755 LIBS
="$LIBS $APPLICATIONSERVICESLIB"
7756 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7757 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7758 enable_winemac_drv
=${enable_winemac_drv:-yes}
7761 LIBS
="$ac_save_LIBS"
7764 if test "x$enable_win16" = "xyes"
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7767 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7768 if test "$cross_compiling" = yes; then :
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7770 $as_echo "cross-compiling, assuming yes" >&6; }
7772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7773 /* end confdefs.h. */
7776 "good:\tnop;nop\n\t"
7777 ".globl _testfunc\n"
7778 "_testfunc:\tcallw good");
7779 extern void testfunc();
7783 unsigned short *p = (unsigned short *)testfunc;
7784 return p[0] != 0xe866 || p[1] != 0xfffa
7789 if ac_fn_c_try_run
"$LINENO"; then :
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7791 $as_echo "yes" >&6; }
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7794 $as_echo "no" >&6; }
7795 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
7797 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7798 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7803 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7805 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7809 libwine.$libwine_version.dylib: \$(OBJS)
7810 \$(CC) -dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7812 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7813 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7815 libwine.dylib: libwine.$libwine_soversion.dylib
7816 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7818 install install-lib:: libwine.$libwine_version.dylib
7819 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7820 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7822 install install-dev::
7823 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7826 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7830 as_fn_append LOADER_RULES
"
7831 $wine_binary: main.o wine_info.plist
7832 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7834 wine-installed: main.o wine_info.plist
7835 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7840 DLLFLAGS
="$DLLFLAGS -fPIC"
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7845 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7846 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7847 $as_echo_n "(cached) " >&6
7849 ac_wine_try_cflags_saved
=$CFLAGS
7850 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7852 /* end confdefs.h. */
7853 int main(int argc, char **argv) { return 0; }
7855 if ac_fn_c_try_link
"$LINENO"; then :
7856 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7858 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7860 rm -f core conftest.err conftest.
$ac_objext \
7861 conftest
$ac_exeext conftest.
$ac_ext
7862 CFLAGS
=$ac_wine_try_cflags_saved
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7865 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7866 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7867 LDEXECFLAGS
="-Wl,--export-dynamic"
7869 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7871 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7872 if eval \
${$as_ac_var+:} false
; then :
7873 $as_echo_n "(cached) " >&6
7875 ac_wine_try_cflags_saved
=$CFLAGS
7876 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7878 /* end confdefs.h. */
7879 int main(int argc, char **argv) { return 0; }
7881 if ac_fn_c_try_link
"$LINENO"; then :
7882 eval "$as_ac_var=yes"
7884 eval "$as_ac_var=no"
7886 rm -f core conftest.err conftest.
$ac_objext \
7887 conftest
$ac_exeext conftest.
$ac_ext
7888 CFLAGS
=$ac_wine_try_cflags_saved
7890 eval ac_res
=\$
$as_ac_var
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7892 $as_echo "$ac_res" >&6; }
7893 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7894 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7895 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7897 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7899 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7900 if eval \
${$as_ac_var+:} false
; then :
7901 $as_echo_n "(cached) " >&6
7903 ac_wine_try_cflags_saved
=$CFLAGS
7904 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7906 /* end confdefs.h. */
7907 int main(int argc, char **argv) { return 0; }
7909 if ac_fn_c_try_link
"$LINENO"; then :
7910 eval "$as_ac_var=yes"
7912 eval "$as_ac_var=no"
7914 rm -f core conftest.err conftest.
$ac_objext \
7915 conftest
$ac_exeext conftest.
$ac_ext
7916 CFLAGS
=$ac_wine_try_cflags_saved
7918 eval ac_res
=\$
$as_ac_var
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7920 $as_echo "$ac_res" >&6; }
7921 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7922 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7923 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7928 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7929 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7930 $as_echo_n "(cached) " >&6
7932 ac_wine_try_cflags_saved
=$CFLAGS
7933 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7935 /* end confdefs.h. */
7936 int main(int argc, char **argv) { return 0; }
7938 if ac_fn_c_try_link
"$LINENO"; then :
7939 ac_cv_cflags__Wl___enable_new_dtags
=yes
7941 ac_cv_cflags__Wl___enable_new_dtags
=no
7943 rm -f core conftest.err conftest.
$ac_objext \
7944 conftest
$ac_exeext conftest.
$ac_ext
7945 CFLAGS
=$ac_wine_try_cflags_saved
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7948 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7949 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7950 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7954 *i
[3456789]86* | x86_64
)
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7956 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7957 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7958 $as_echo_n "(cached) " >&6
7960 ac_wine_try_cflags_saved
=$CFLAGS
7961 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7963 /* end confdefs.h. */
7964 int main(int argc, char **argv) { return 0; }
7966 if ac_fn_c_try_link
"$LINENO"; then :
7967 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7969 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7971 rm -f core conftest.err conftest.
$ac_objext \
7972 conftest
$ac_exeext conftest.
$ac_ext
7973 CFLAGS
=$ac_wine_try_cflags_saved
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7976 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7977 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7978 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7983 libwine_targets
="libwine.so"
7985 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7989 libwine.so: \$(OBJS)
7990 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7992 install install-lib:: libwine.so
7993 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
7996 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8000 as_fn_append LOADER_RULES
"
8001 $wine_binary: main.o
8002 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8004 wine-installed: main.o
8005 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8010 DLLFLAGS
="$DLLFLAGS -fPIC"
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8013 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8014 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8015 $as_echo_n "(cached) " >&6
8017 ac_wine_try_cflags_saved
=$CFLAGS
8018 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8020 /* end confdefs.h. */
8023 if ac_fn_c_try_link
"$LINENO"; then :
8024 ac_cv_c_dll_gnuelf
="yes"
8026 ac_cv_c_dll_gnuelf
="no"
8028 rm -f core conftest.err conftest.
$ac_objext \
8029 conftest
$ac_exeext conftest.
$ac_ext
8030 CFLAGS
=$ac_wine_try_cflags_saved
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8033 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8034 if test "$ac_cv_c_dll_gnuelf" = "yes"
8036 LDSHARED
="\$(CC) -shared"
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8038 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8039 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8040 $as_echo_n "(cached) " >&6
8042 ac_wine_try_cflags_saved
=$CFLAGS
8043 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8045 /* end confdefs.h. */
8046 int main(int argc, char **argv) { return 0; }
8048 if ac_fn_c_try_link
"$LINENO"; then :
8049 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8051 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8053 rm -f core conftest.err conftest.
$ac_objext \
8054 conftest
$ac_exeext conftest.
$ac_ext
8055 CFLAGS
=$ac_wine_try_cflags_saved
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8058 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8059 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
8060 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8063 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8064 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8065 $as_echo_n "(cached) " >&6
8067 ac_wine_try_cflags_saved
=$CFLAGS
8068 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8070 /* end confdefs.h. */
8071 int main(int argc, char **argv) { return 0; }
8073 if ac_fn_c_try_link
"$LINENO"; then :
8074 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8076 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8078 rm -f core conftest.err conftest.
$ac_objext \
8079 conftest
$ac_exeext conftest.
$ac_ext
8080 CFLAGS
=$ac_wine_try_cflags_saved
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8083 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8084 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
8085 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8089 echo '{ global: *; };' >conftest.map
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8091 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8092 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8093 $as_echo_n "(cached) " >&6
8095 ac_wine_try_cflags_saved
=$CFLAGS
8096 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8098 /* end confdefs.h. */
8099 int main(int argc, char **argv) { return 0; }
8101 if ac_fn_c_try_link
"$LINENO"; then :
8102 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8104 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8106 rm -f core conftest.err conftest.
$ac_objext \
8107 conftest
$ac_exeext conftest.
$ac_ext
8108 CFLAGS
=$ac_wine_try_cflags_saved
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8111 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8112 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
8113 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8118 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8119 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8120 $as_echo_n "(cached) " >&6
8122 ac_wine_try_cflags_saved
=$CFLAGS
8123 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8125 /* end confdefs.h. */
8126 int main(int argc, char **argv) { return 0; }
8128 if ac_fn_c_try_link
"$LINENO"; then :
8129 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8131 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8133 rm -f core conftest.err conftest.
$ac_objext \
8134 conftest
$ac_exeext conftest.
$ac_ext
8135 CFLAGS
=$ac_wine_try_cflags_saved
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8138 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8139 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
8140 LDEXECFLAGS
="-Wl,--export-dynamic"
8143 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8145 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8146 if eval \
${$as_ac_var+:} false
; then :
8147 $as_echo_n "(cached) " >&6
8149 ac_wine_try_cflags_saved
=$CFLAGS
8150 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8152 /* end confdefs.h. */
8153 int main(int argc, char **argv) { return 0; }
8155 if ac_fn_c_try_link
"$LINENO"; then :
8156 eval "$as_ac_var=yes"
8158 eval "$as_ac_var=no"
8160 rm -f core conftest.err conftest.
$ac_objext \
8161 conftest
$ac_exeext conftest.
$ac_ext
8162 CFLAGS
=$ac_wine_try_cflags_saved
8164 eval ac_res
=\$
$as_ac_var
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8166 $as_echo "$ac_res" >&6; }
8167 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
8168 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8169 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8171 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8173 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8174 if eval \
${$as_ac_var+:} false
; then :
8175 $as_echo_n "(cached) " >&6
8177 ac_wine_try_cflags_saved
=$CFLAGS
8178 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8180 /* end confdefs.h. */
8181 int main(int argc, char **argv) { return 0; }
8183 if ac_fn_c_try_link
"$LINENO"; then :
8184 eval "$as_ac_var=yes"
8186 eval "$as_ac_var=no"
8188 rm -f core conftest.err conftest.
$ac_objext \
8189 conftest
$ac_exeext conftest.
$ac_ext
8190 CFLAGS
=$ac_wine_try_cflags_saved
8192 eval ac_res
=\$
$as_ac_var
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8194 $as_echo "$ac_res" >&6; }
8195 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
8196 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8197 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8202 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8203 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8204 $as_echo_n "(cached) " >&6
8206 ac_wine_try_cflags_saved
=$CFLAGS
8207 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8209 /* end confdefs.h. */
8210 int main(int argc, char **argv) { return 0; }
8212 if ac_fn_c_try_link
"$LINENO"; then :
8213 ac_cv_cflags__Wl___enable_new_dtags
=yes
8215 ac_cv_cflags__Wl___enable_new_dtags
=no
8217 rm -f core conftest.err conftest.
$ac_objext \
8218 conftest
$ac_exeext conftest.
$ac_ext
8219 CFLAGS
=$ac_wine_try_cflags_saved
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8222 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8223 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
8224 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8228 *i
[3456789]86* | x86_64
)
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8230 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8231 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8232 $as_echo_n "(cached) " >&6
8234 ac_wine_try_cflags_saved
=$CFLAGS
8235 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8237 /* end confdefs.h. */
8238 int main(int argc, char **argv) { return 0; }
8240 if ac_fn_c_try_link
"$LINENO"; then :
8241 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8243 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8245 rm -f core conftest.err conftest.
$ac_objext \
8246 conftest
$ac_exeext conftest.
$ac_ext
8247 CFLAGS
=$ac_wine_try_cflags_saved
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8250 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8251 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
8253 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8254 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8258 # Extract the first word of "prelink", so it can be a program name with args.
8259 set dummy prelink
; ac_word
=$2
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8261 $as_echo_n "checking for $ac_word... " >&6; }
8262 if ${ac_cv_path_PRELINK+:} false
; then :
8263 $as_echo_n "(cached) " >&6
8267 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8271 for as_dir
in /sbin
/usr
/sbin
$PATH
8274 test -z "$as_dir" && as_dir
=.
8275 for ac_exec_ext
in '' $ac_executable_extensions; do
8276 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8277 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8285 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8289 PRELINK
=$ac_cv_path_PRELINK
8290 if test -n "$PRELINK"; then
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8292 $as_echo "$PRELINK" >&6; }
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8295 $as_echo "no" >&6; }
8299 if test "x$PRELINK" = xfalse
8301 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8308 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8309 if ${ac_cv_c_dll_unixware+:} false
; then :
8310 $as_echo_n "(cached) " >&6
8312 ac_wine_try_cflags_saved
=$CFLAGS
8313 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8315 /* end confdefs.h. */
8318 if ac_fn_c_try_link
"$LINENO"; then :
8319 ac_cv_c_dll_unixware
="yes"
8321 ac_cv_c_dll_unixware
="no"
8323 rm -f core conftest.err conftest.
$ac_objext \
8324 conftest
$ac_exeext conftest.
$ac_ext
8325 CFLAGS
=$ac_wine_try_cflags_saved
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8328 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8329 if test "$ac_cv_c_dll_unixware" = "yes"
8331 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8334 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8336 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8340 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8341 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8343 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8344 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8346 libwine.so: libwine.so.$libwine_soversion
8347 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8349 install install-lib:: libwine.so.$libwine_version
8350 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8351 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8353 install install-dev::
8354 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8357 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8361 as_fn_append LOADER_RULES
"
8362 $wine_binary: main.o
8363 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8365 wine-installed: main.o
8366 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8371 as_fn_append LIBWINE_RULES
"
8372 EXTRA_TARGETS = $libwine_targets
8375 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8376 enable_winemac_drv
=${enable_winemac_drv:-no}
8380 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8384 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
8387 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 " ;;
8389 ac_prefix_list
="" ;;
8391 for ac_prog
in $ac_prefix_list
8393 # Extract the first word of "$ac_prog", so it can be a program name with args.
8394 set dummy
$ac_prog; ac_word
=$2
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8396 $as_echo_n "checking for $ac_word... " >&6; }
8397 if ${ac_cv_prog_CROSSCC+:} false
; then :
8398 $as_echo_n "(cached) " >&6
8400 if test -n "$CROSSCC"; then
8401 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8407 test -z "$as_dir" && as_dir
=.
8408 for ac_exec_ext
in '' $ac_executable_extensions; do
8409 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8410 ac_cv_prog_CROSSCC
="$ac_prog"
8411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8420 CROSSCC
=$ac_cv_prog_CROSSCC
8421 if test -n "$CROSSCC"; then
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8423 $as_echo "$CROSSCC" >&6; }
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8426 $as_echo "no" >&6; }
8430 test -n "$CROSSCC" && break
8432 test -n "$CROSSCC" || CROSSCC
="false"
8434 if test "$CROSSCC" != "false"
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8439 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8441 /* end confdefs.h. */
8451 if ac_fn_c_try_compile
"$LINENO"; then :
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8453 $as_echo "yes" >&6; }
8459 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8465 $as_echo "no" >&6; }
8467 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8473 if test "$ac_cv_header_pthread_h" = "yes"
8475 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8476 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8480 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8481 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8482 $as_echo_n "(cached) " >&6
8484 ac_check_lib_save_LIBS
=$LIBS
8485 LIBS
="-lpthread $LIBS"
8486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8487 /* end confdefs.h. */
8489 /* Override any GCC internal prototype to avoid an error.
8490 Use char because int might match the return type of a GCC
8491 builtin and then its argument prototype would still apply. */
8495 char pthread_create ();
8499 return pthread_create ();
8504 if ac_fn_c_try_link
"$LINENO"; then :
8505 ac_cv_lib_pthread_pthread_create
=yes
8507 ac_cv_lib_pthread_pthread_create
=no
8509 rm -f core conftest.err conftest.
$ac_objext \
8510 conftest
$ac_exeext conftest.
$ac_ext
8511 LIBS
=$ac_check_lib_save_LIBS
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8514 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8515 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8516 LIBPTHREAD
="-lpthread"
8523 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$LIBPTHREAD" = x
; then :
8524 case "x$with_pthread" in
8526 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8527 Wine cannot support threads without libpthread.
8528 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8534 $as_echo_n "checking for X... " >&6; }
8537 # Check whether --with-x was given.
8538 if test "${with_x+set}" = set; then :
8542 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8543 if test "x$with_x" = xno
; then
8544 # The user explicitly disabled X.
8547 case $x_includes,$x_libraries in #(
8548 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8549 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8550 $as_echo_n "(cached) " >&6
8552 # One or both of the vars are not set, and there is no cached value.
8553 ac_x_includes
=no ac_x_libraries
=no
8554 rm -f -r conftest.dir
8555 if mkdir conftest.dir
; then
8557 cat >Imakefile
<<'_ACEOF'
8559 @echo incroot='${INCROOT}'
8561 @echo usrlibdir='${USRLIBDIR}'
8563 @echo libdir='${LIBDIR}'
8565 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8566 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8567 for ac_var
in incroot usrlibdir libdir
; do
8568 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8570 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8571 for ac_extension
in a so sl dylib la dll
; do
8572 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8573 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8574 ac_im_usrlibdir
=$ac_im_libdir; break
8577 # Screen out bogus values from the imake configuration. They are
8578 # bogus both because they are the default anyway, and because
8579 # using them would break gcc on systems where it needs fixed includes.
8580 case $ac_im_incroot in
8581 /usr
/include
) ac_x_includes
= ;;
8582 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8584 case $ac_im_usrlibdir in
8585 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8586 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8590 rm -f -r conftest.dir
8593 # Standard set of common directories for X headers.
8594 # Check X11 before X11Rn because it is often a symlink to the current release.
8608 /usr/local/X11/include
8609 /usr/local/X11R7/include
8610 /usr/local/X11R6/include
8611 /usr/local/X11R5/include
8612 /usr/local/X11R4/include
8614 /usr/local/include/X11
8615 /usr/local/include/X11R7
8616 /usr/local/include/X11R6
8617 /usr/local/include/X11R5
8618 /usr/local/include/X11R4
8622 /usr/XFree86/include/X11
8626 /usr/unsupported/include
8628 /usr/local/x11r5/include
8629 /usr/lpp/Xamples/include
8631 /usr/openwin/include
8632 /usr/openwin/share/include'
8634 if test "$ac_x_includes" = no
; then
8635 # Guess where to find include files, by looking for Xlib.h.
8636 # First, try using that file with no special directory specified.
8637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8638 /* end confdefs.h. */
8639 #include <X11/Xlib.h>
8641 if ac_fn_c_try_cpp
"$LINENO"; then :
8642 # We can compile using X headers with no special include directory.
8645 for ac_dir
in $ac_x_header_dirs; do
8646 if test -r "$ac_dir/X11/Xlib.h"; then
8647 ac_x_includes
=$ac_dir
8652 rm -f conftest.err conftest.i conftest.
$ac_ext
8653 fi # $ac_x_includes = no
8655 if test "$ac_x_libraries" = no
; then
8656 # Check for the libraries.
8657 # See if we find them without any special options.
8658 # Don't add to $LIBS permanently.
8661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8662 /* end confdefs.h. */
8663 #include <X11/Xlib.h>
8672 if ac_fn_c_try_link
"$LINENO"; then :
8674 # We can link X programs with no special library path.
8678 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8680 # Don't even attempt the hair of trying to link an X program!
8681 for ac_extension
in a so sl dylib la dll
; do
8682 if test -r "$ac_dir/libX11.$ac_extension"; then
8683 ac_x_libraries
=$ac_dir
8689 rm -f core conftest.err conftest.
$ac_objext \
8690 conftest
$ac_exeext conftest.
$ac_ext
8691 fi # $ac_x_libraries = no
8693 case $ac_x_includes,$ac_x_libraries in #(
8695 # Didn't find X, or a directory has "'" in its name.
8696 ac_cv_have_x
="have_x=no";; #(
8698 # Record where we found X for the cache.
8699 ac_cv_have_x
="have_x=yes\
8700 ac_x_includes='$ac_x_includes'\
8701 ac_x_libraries='$ac_x_libraries'"
8707 eval "$ac_cv_have_x"
8710 if test "$have_x" != yes; then
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8712 $as_echo "$have_x" >&6; }
8715 # If each of the values was on the command line, it overrides each guess.
8716 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8717 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8718 # Update the cache value to reflect the command line values.
8719 ac_cv_have_x
="have_x=yes\
8720 ac_x_includes='$x_includes'\
8721 ac_x_libraries='$x_libraries'"
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8723 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8726 if test "$no_x" = yes; then
8727 # Not all programs may use this symbol, but it does not hurt to define it.
8729 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8731 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8733 if test -n "$x_includes"; then
8734 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8737 # It would also be nice to do this for all -L options, not just this one.
8738 if test -n "$x_libraries"; then
8739 X_LIBS
="$X_LIBS -L$x_libraries"
8740 # For Solaris; some versions of Sun CC require a space after -R and
8741 # others require no space. Words are not sufficient . . . .
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8743 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8744 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8745 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8746 ac_c_werror_flag
=yes
8747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8748 /* end confdefs.h. */
8758 if ac_fn_c_try_link
"$LINENO"; then :
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8760 $as_echo "no" >&6; }
8761 X_LIBS
="$X_LIBS -R$x_libraries"
8763 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8765 /* end confdefs.h. */
8775 if ac_fn_c_try_link
"$LINENO"; then :
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8777 $as_echo "yes" >&6; }
8778 X_LIBS
="$X_LIBS -R $x_libraries"
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8781 $as_echo "neither works" >&6; }
8783 rm -f core conftest.err conftest.
$ac_objext \
8784 conftest
$ac_exeext conftest.
$ac_ext
8786 rm -f core conftest.err conftest.
$ac_objext \
8787 conftest
$ac_exeext conftest.
$ac_ext
8788 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8792 # Check for system-dependent libraries X programs must link with.
8793 # Do this before checking for the system-independent R6 libraries
8794 # (-lICE), since we may need -lsocket or whatever for X linking.
8796 if test "$ISC" = yes; then
8797 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8799 # Martyn Johnson says this is needed for Ultrix, if the X
8800 # libraries were built with DECnet support. And Karl Berry says
8801 # the Alpha needs dnet_stub (dnet does not exist).
8802 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8804 /* end confdefs.h. */
8806 /* Override any GCC internal prototype to avoid an error.
8807 Use char because int might match the return type of a GCC
8808 builtin and then its argument prototype would still apply. */
8812 char XOpenDisplay ();
8816 return XOpenDisplay ();
8821 if ac_fn_c_try_link
"$LINENO"; then :
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8825 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8826 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8827 $as_echo_n "(cached) " >&6
8829 ac_check_lib_save_LIBS
=$LIBS
8831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8832 /* end confdefs.h. */
8834 /* Override any GCC internal prototype to avoid an error.
8835 Use char because int might match the return type of a GCC
8836 builtin and then its argument prototype would still apply. */
8844 return dnet_ntoa ();
8849 if ac_fn_c_try_link
"$LINENO"; then :
8850 ac_cv_lib_dnet_dnet_ntoa
=yes
8852 ac_cv_lib_dnet_dnet_ntoa
=no
8854 rm -f core conftest.err conftest.
$ac_objext \
8855 conftest
$ac_exeext conftest.
$ac_ext
8856 LIBS
=$ac_check_lib_save_LIBS
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8859 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8860 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8861 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8864 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8866 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8867 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8868 $as_echo_n "(cached) " >&6
8870 ac_check_lib_save_LIBS
=$LIBS
8871 LIBS
="-ldnet_stub $LIBS"
8872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8873 /* end confdefs.h. */
8875 /* Override any GCC internal prototype to avoid an error.
8876 Use char because int might match the return type of a GCC
8877 builtin and then its argument prototype would still apply. */
8885 return dnet_ntoa ();
8890 if ac_fn_c_try_link
"$LINENO"; then :
8891 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8893 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8895 rm -f core conftest.err conftest.
$ac_objext \
8896 conftest
$ac_exeext conftest.
$ac_ext
8897 LIBS
=$ac_check_lib_save_LIBS
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8900 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8901 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8902 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8907 rm -f core conftest.err conftest.
$ac_objext \
8908 conftest
$ac_exeext conftest.
$ac_ext
8909 LIBS
="$ac_xsave_LIBS"
8911 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8912 # to get the SysV transport functions.
8913 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8915 # The nsl library prevents programs from opening the X display
8916 # on Irix 5.2, according to T.E. Dickey.
8917 # The functions gethostbyname, getservbyname, and inet_addr are
8918 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8919 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8920 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8924 if test $ac_cv_func_gethostbyname = no
; then
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8926 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8927 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8928 $as_echo_n "(cached) " >&6
8930 ac_check_lib_save_LIBS
=$LIBS
8932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8933 /* end confdefs.h. */
8935 /* Override any GCC internal prototype to avoid an error.
8936 Use char because int might match the return type of a GCC
8937 builtin and then its argument prototype would still apply. */
8941 char gethostbyname ();
8945 return gethostbyname ();
8950 if ac_fn_c_try_link
"$LINENO"; then :
8951 ac_cv_lib_nsl_gethostbyname
=yes
8953 ac_cv_lib_nsl_gethostbyname
=no
8955 rm -f core conftest.err conftest.
$ac_objext \
8956 conftest
$ac_exeext conftest.
$ac_ext
8957 LIBS
=$ac_check_lib_save_LIBS
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8960 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8961 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
8962 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8965 if test $ac_cv_lib_nsl_gethostbyname = no
; then
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8967 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8968 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
8969 $as_echo_n "(cached) " >&6
8971 ac_check_lib_save_LIBS
=$LIBS
8973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8974 /* end confdefs.h. */
8976 /* Override any GCC internal prototype to avoid an error.
8977 Use char because int might match the return type of a GCC
8978 builtin and then its argument prototype would still apply. */
8982 char gethostbyname ();
8986 return gethostbyname ();
8991 if ac_fn_c_try_link
"$LINENO"; then :
8992 ac_cv_lib_bsd_gethostbyname
=yes
8994 ac_cv_lib_bsd_gethostbyname
=no
8996 rm -f core conftest.err conftest.
$ac_objext \
8997 conftest
$ac_exeext conftest.
$ac_ext
8998 LIBS
=$ac_check_lib_save_LIBS
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9001 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9002 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9003 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9009 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9010 # socket/setsockopt and other routines are undefined under SCO ODT
9011 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9012 # on later versions), says Simon Leinen: it contains gethostby*
9013 # variants that don't use the name server (or something). -lsocket
9014 # must be given before -lnsl if both are needed. We assume that
9015 # if connect needs -lnsl, so does gethostbyname.
9016 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9017 if test "x$ac_cv_func_connect" = xyes
; then :
9021 if test $ac_cv_func_connect = no
; then
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9023 $as_echo_n "checking for connect in -lsocket... " >&6; }
9024 if ${ac_cv_lib_socket_connect+:} false
; then :
9025 $as_echo_n "(cached) " >&6
9027 ac_check_lib_save_LIBS
=$LIBS
9028 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9030 /* end confdefs.h. */
9032 /* Override any GCC internal prototype to avoid an error.
9033 Use char because int might match the return type of a GCC
9034 builtin and then its argument prototype would still apply. */
9047 if ac_fn_c_try_link
"$LINENO"; then :
9048 ac_cv_lib_socket_connect
=yes
9050 ac_cv_lib_socket_connect
=no
9052 rm -f core conftest.err conftest.
$ac_objext \
9053 conftest
$ac_exeext conftest.
$ac_ext
9054 LIBS
=$ac_check_lib_save_LIBS
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9057 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9058 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9059 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9064 # Guillermo Gomez says -lposix is necessary on A/UX.
9065 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9066 if test "x$ac_cv_func_remove" = xyes
; then :
9070 if test $ac_cv_func_remove = no
; then
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9072 $as_echo_n "checking for remove in -lposix... " >&6; }
9073 if ${ac_cv_lib_posix_remove+:} false
; then :
9074 $as_echo_n "(cached) " >&6
9076 ac_check_lib_save_LIBS
=$LIBS
9077 LIBS
="-lposix $LIBS"
9078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9079 /* end confdefs.h. */
9081 /* Override any GCC internal prototype to avoid an error.
9082 Use char because int might match the return type of a GCC
9083 builtin and then its argument prototype would still apply. */
9096 if ac_fn_c_try_link
"$LINENO"; then :
9097 ac_cv_lib_posix_remove
=yes
9099 ac_cv_lib_posix_remove
=no
9101 rm -f core conftest.err conftest.
$ac_objext \
9102 conftest
$ac_exeext conftest.
$ac_ext
9103 LIBS
=$ac_check_lib_save_LIBS
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9106 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9107 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9108 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9113 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9114 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9115 if test "x$ac_cv_func_shmat" = xyes
; then :
9119 if test $ac_cv_func_shmat = no
; then
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9121 $as_echo_n "checking for shmat in -lipc... " >&6; }
9122 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9123 $as_echo_n "(cached) " >&6
9125 ac_check_lib_save_LIBS
=$LIBS
9127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9128 /* end confdefs.h. */
9130 /* Override any GCC internal prototype to avoid an error.
9131 Use char because int might match the return type of a GCC
9132 builtin and then its argument prototype would still apply. */
9145 if ac_fn_c_try_link
"$LINENO"; then :
9146 ac_cv_lib_ipc_shmat
=yes
9148 ac_cv_lib_ipc_shmat
=no
9150 rm -f core conftest.err conftest.
$ac_objext \
9151 conftest
$ac_exeext conftest.
$ac_ext
9152 LIBS
=$ac_check_lib_save_LIBS
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9155 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9156 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9157 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9163 # Check for libraries that X11R6 Xt/Xaw programs need.
9164 ac_save_LDFLAGS
=$LDFLAGS
9165 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9166 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9167 # check for ICE first), but we must link in the order -lSM -lICE or
9168 # we get undefined symbols. So assume we have SM if we have ICE.
9169 # These have to be linked with before -lX11, unlike the other
9170 # libraries we check for below, so use a different variable.
9171 # John Interrante, Karl Berry
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9173 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9174 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9175 $as_echo_n "(cached) " >&6
9177 ac_check_lib_save_LIBS
=$LIBS
9178 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9180 /* end confdefs.h. */
9182 /* Override any GCC internal prototype to avoid an error.
9183 Use char because int might match the return type of a GCC
9184 builtin and then its argument prototype would still apply. */
9188 char IceConnectionNumber ();
9192 return IceConnectionNumber ();
9197 if ac_fn_c_try_link
"$LINENO"; then :
9198 ac_cv_lib_ICE_IceConnectionNumber
=yes
9200 ac_cv_lib_ICE_IceConnectionNumber
=no
9202 rm -f core conftest.err conftest.
$ac_objext \
9203 conftest
$ac_exeext conftest.
$ac_ext
9204 LIBS
=$ac_check_lib_save_LIBS
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9207 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9208 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9209 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9212 LDFLAGS
=$ac_save_LDFLAGS
9217 if test "$have_x" = "yes"
9220 ac_save_CPPFLAGS
="$CPPFLAGS"
9221 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9224 $as_echo_n "checking for -lX11... " >&6; }
9225 if ${ac_cv_lib_soname_X11+:} false
; then :
9226 $as_echo_n "(cached) " >&6
9228 ac_check_soname_save_LIBS
=$LIBS
9229 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9231 /* end confdefs.h. */
9233 /* Override any GCC internal prototype to avoid an error.
9234 Use char because int might match the return type of a GCC
9235 builtin and then its argument prototype would still apply. */
9239 char XCreateWindow ();
9243 return XCreateWindow ();
9248 if ac_fn_c_try_link
"$LINENO"; then :
9250 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9251 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'` ;;
9252 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9253 if test "x$ac_cv_lib_soname_X11" = x
; then :
9254 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9258 rm -f core conftest.err conftest.
$ac_objext \
9259 conftest
$ac_exeext conftest.
$ac_ext
9260 LIBS
=$ac_check_soname_save_LIBS
9262 if test "x$ac_cv_lib_soname_X11" = "x"; then :
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9264 $as_echo "not found" >&6; }
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9268 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9270 cat >>confdefs.h
<<_ACEOF
9271 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9277 $as_echo_n "checking for -lXext... " >&6; }
9278 if ${ac_cv_lib_soname_Xext+:} false
; then :
9279 $as_echo_n "(cached) " >&6
9281 ac_check_soname_save_LIBS
=$LIBS
9282 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9284 /* end confdefs.h. */
9286 /* Override any GCC internal prototype to avoid an error.
9287 Use char because int might match the return type of a GCC
9288 builtin and then its argument prototype would still apply. */
9292 char XextCreateExtension ();
9296 return XextCreateExtension ();
9301 if ac_fn_c_try_link
"$LINENO"; then :
9303 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9304 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'` ;;
9305 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9306 if test "x$ac_cv_lib_soname_Xext" = x
; then :
9307 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9311 rm -f core conftest.err conftest.
$ac_objext \
9312 conftest
$ac_exeext conftest.
$ac_ext
9313 LIBS
=$ac_check_soname_save_LIBS
9315 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9317 $as_echo "not found" >&6; }
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9321 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9323 cat >>confdefs.h
<<_ACEOF
9324 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9330 for ac_header
in X11
/Xlib.h \
9333 X11
/Xcursor
/Xcursor.h \
9334 X11
/extensions
/shape.h \
9335 X11
/extensions
/XInput.h \
9336 X11
/extensions
/XInput2.h \
9337 X11
/extensions
/XShm.h \
9338 X11
/extensions
/Xcomposite.h \
9339 X11
/extensions
/Xinerama.h \
9340 X11
/extensions
/Xrandr.h \
9341 X11
/extensions
/Xrender.h \
9342 X11
/extensions
/xf86vmode.h \
9343 X11
/extensions
/xf86vmproto.h
9345 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9346 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9347 # include <X11/Xlib.h>
9349 #ifdef HAVE_X11_XUTIL_H
9350 # include <X11/Xutil.h>
9353 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9354 cat >>confdefs.h
<<_ACEOF
9355 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9363 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9366 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9367 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9368 $as_echo_n "(cached) " >&6
9370 ac_check_lib_save_LIBS
=$LIBS
9371 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9373 /* end confdefs.h. */
9375 /* Override any GCC internal prototype to avoid an error.
9376 Use char because int might match the return type of a GCC
9377 builtin and then its argument prototype would still apply. */
9381 char XkbQueryExtension ();
9385 return XkbQueryExtension ();
9390 if ac_fn_c_try_link
"$LINENO"; then :
9391 ac_cv_lib_X11_XkbQueryExtension
=yes
9393 ac_cv_lib_X11_XkbQueryExtension
=no
9395 rm -f core conftest.err conftest.
$ac_objext \
9396 conftest
$ac_exeext conftest.
$ac_ext
9397 LIBS
=$ac_check_lib_save_LIBS
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9400 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9401 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9403 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9409 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9412 $as_echo_n "checking for -lXcursor... " >&6; }
9413 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9414 $as_echo_n "(cached) " >&6
9416 ac_check_soname_save_LIBS
=$LIBS
9417 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9419 /* end confdefs.h. */
9421 /* Override any GCC internal prototype to avoid an error.
9422 Use char because int might match the return type of a GCC
9423 builtin and then its argument prototype would still apply. */
9427 char XcursorImageLoadCursor ();
9431 return XcursorImageLoadCursor ();
9436 if ac_fn_c_try_link
"$LINENO"; then :
9438 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9439 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'` ;;
9440 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9441 if test "x$ac_cv_lib_soname_Xcursor" = x
; then :
9442 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9446 rm -f core conftest.err conftest.
$ac_objext \
9447 conftest
$ac_exeext conftest.
$ac_ext
9448 LIBS
=$ac_check_soname_save_LIBS
9450 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9452 $as_echo "not found" >&6; }
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9456 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9458 cat >>confdefs.h
<<_ACEOF
9459 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9465 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9466 case "x$with_xcursor" in
9467 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9469 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9470 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9474 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9477 $as_echo_n "checking for -lXi... " >&6; }
9478 if ${ac_cv_lib_soname_Xi+:} false
; then :
9479 $as_echo_n "(cached) " >&6
9481 ac_check_soname_save_LIBS
=$LIBS
9482 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9484 /* end confdefs.h. */
9486 /* Override any GCC internal prototype to avoid an error.
9487 Use char because int might match the return type of a GCC
9488 builtin and then its argument prototype would still apply. */
9492 char XOpenDevice ();
9496 return XOpenDevice ();
9501 if ac_fn_c_try_link
"$LINENO"; then :
9503 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9504 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'` ;;
9505 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9506 if test "x$ac_cv_lib_soname_Xi" = x
; then :
9507 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9511 rm -f core conftest.err conftest.
$ac_objext \
9512 conftest
$ac_exeext conftest.
$ac_ext
9513 LIBS
=$ac_check_soname_save_LIBS
9515 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9517 $as_echo "not found" >&6; }
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9521 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9523 cat >>confdefs.h
<<_ACEOF
9524 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9530 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9531 case "x$with_xinput" in
9532 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9534 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9535 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9539 if test "x$ac_cv_lib_soname_Xi" != x
9541 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9542 case "x$with_xinput2" in
9543 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9545 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9546 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9551 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9554 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9555 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9556 $as_echo_n "(cached) " >&6
9558 ac_check_lib_save_LIBS
=$LIBS
9559 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9561 /* end confdefs.h. */
9563 /* Override any GCC internal prototype to avoid an error.
9564 Use char because int might match the return type of a GCC
9565 builtin and then its argument prototype would still apply. */
9569 char XShmQueryExtension ();
9573 return XShmQueryExtension ();
9578 if ac_fn_c_try_link
"$LINENO"; then :
9579 ac_cv_lib_Xext_XShmQueryExtension
=yes
9581 ac_cv_lib_Xext_XShmQueryExtension
=no
9583 rm -f core conftest.err conftest.
$ac_objext \
9584 conftest
$ac_exeext conftest.
$ac_ext
9585 LIBS
=$ac_check_lib_save_LIBS
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9588 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9589 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9591 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9596 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9597 case "x$with_xshm" in
9598 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9600 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9601 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9605 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9608 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9609 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9610 $as_echo_n "(cached) " >&6
9612 ac_check_lib_save_LIBS
=$LIBS
9613 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9615 /* end confdefs.h. */
9617 /* Override any GCC internal prototype to avoid an error.
9618 Use char because int might match the return type of a GCC
9619 builtin and then its argument prototype would still apply. */
9623 char XShapeQueryExtension ();
9627 return XShapeQueryExtension ();
9632 if ac_fn_c_try_link
"$LINENO"; then :
9633 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9635 ac_cv_lib_Xext_XShapeQueryExtension
=no
9637 rm -f core conftest.err conftest.
$ac_objext \
9638 conftest
$ac_exeext conftest.
$ac_ext
9639 LIBS
=$ac_check_lib_save_LIBS
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9642 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9643 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9645 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9650 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9651 case "x$with_xshape" in
9652 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9654 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9655 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9659 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9662 $as_echo_n "checking for -lXxf86vm... " >&6; }
9663 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9664 $as_echo_n "(cached) " >&6
9666 ac_check_soname_save_LIBS
=$LIBS
9667 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9669 /* end confdefs.h. */
9671 /* Override any GCC internal prototype to avoid an error.
9672 Use char because int might match the return type of a GCC
9673 builtin and then its argument prototype would still apply. */
9677 char XF86VidModeQueryExtension ();
9681 return XF86VidModeQueryExtension ();
9686 if ac_fn_c_try_link
"$LINENO"; then :
9688 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9689 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'` ;;
9690 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9691 if test "x$ac_cv_lib_soname_Xxf86vm" = x
; then :
9692 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9696 rm -f core conftest.err conftest.
$ac_objext \
9697 conftest
$ac_exeext conftest.
$ac_ext
9698 LIBS
=$ac_check_soname_save_LIBS
9700 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9702 $as_echo "not found" >&6; }
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9706 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9708 cat >>confdefs.h
<<_ACEOF
9709 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9715 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9716 case "x$with_xxf86vm" in
9717 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9719 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9720 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9724 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"
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9727 $as_echo_n "checking for -lXrender... " >&6; }
9728 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9729 $as_echo_n "(cached) " >&6
9731 ac_check_soname_save_LIBS
=$LIBS
9732 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9734 /* end confdefs.h. */
9736 /* Override any GCC internal prototype to avoid an error.
9737 Use char because int might match the return type of a GCC
9738 builtin and then its argument prototype would still apply. */
9742 char XRenderQueryExtension ();
9746 return XRenderQueryExtension ();
9751 if ac_fn_c_try_link
"$LINENO"; then :
9753 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9754 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'` ;;
9755 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9756 if test "x$ac_cv_lib_soname_Xrender" = x
; then :
9757 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9761 rm -f core conftest.err conftest.
$ac_objext \
9762 conftest
$ac_exeext conftest.
$ac_ext
9763 LIBS
=$ac_check_soname_save_LIBS
9765 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9767 $as_echo "not found" >&6; }
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9771 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9773 cat >>confdefs.h
<<_ACEOF
9774 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9778 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9779 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9780 $as_echo_n "(cached) " >&6
9782 ac_check_lib_save_LIBS
=$LIBS
9783 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9785 /* end confdefs.h. */
9787 /* Override any GCC internal prototype to avoid an error.
9788 Use char because int might match the return type of a GCC
9789 builtin and then its argument prototype would still apply. */
9793 char XRenderSetPictureTransform ();
9797 return XRenderSetPictureTransform ();
9802 if ac_fn_c_try_link
"$LINENO"; then :
9803 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9805 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9807 rm -f core conftest.err conftest.
$ac_objext \
9808 conftest
$ac_exeext conftest.
$ac_ext
9809 LIBS
=$ac_check_lib_save_LIBS
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9812 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9813 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9815 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9820 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9821 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9822 $as_echo_n "(cached) " >&6
9824 ac_check_lib_save_LIBS
=$LIBS
9825 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9827 /* end confdefs.h. */
9829 /* Override any GCC internal prototype to avoid an error.
9830 Use char because int might match the return type of a GCC
9831 builtin and then its argument prototype would still apply. */
9835 char XRenderCreateLinearGradient ();
9839 return XRenderCreateLinearGradient ();
9844 if ac_fn_c_try_link
"$LINENO"; then :
9845 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9847 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9849 rm -f core conftest.err conftest.
$ac_objext \
9850 conftest
$ac_exeext conftest.
$ac_ext
9851 LIBS
=$ac_check_lib_save_LIBS
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9854 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9855 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9857 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9864 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9865 case "x$with_xrender" in
9866 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9868 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9869 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9873 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9876 /* end confdefs.h. */
9877 #include <X11/Xlib.h>
9878 #include <X11/extensions/Xrandr.h>
9882 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9887 if ac_fn_c_try_compile
"$LINENO"; then :
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9889 $as_echo_n "checking for -lXrandr... " >&6; }
9890 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9891 $as_echo_n "(cached) " >&6
9893 ac_check_soname_save_LIBS
=$LIBS
9894 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9896 /* end confdefs.h. */
9898 /* Override any GCC internal prototype to avoid an error.
9899 Use char because int might match the return type of a GCC
9900 builtin and then its argument prototype would still apply. */
9904 char XRRQueryExtension ();
9908 return XRRQueryExtension ();
9913 if ac_fn_c_try_link
"$LINENO"; then :
9915 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9916 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'` ;;
9917 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9918 if test "x$ac_cv_lib_soname_Xrandr" = x
; then :
9919 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9923 rm -f core conftest.err conftest.
$ac_objext \
9924 conftest
$ac_exeext conftest.
$ac_ext
9925 LIBS
=$ac_check_soname_save_LIBS
9927 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9929 $as_echo "not found" >&6; }
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9933 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9935 cat >>confdefs.h
<<_ACEOF
9936 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9940 /* end confdefs.h. */
9941 #include <X11/Xlib.h>
9942 #include <X11/extensions/Xrandr.h>
9946 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9951 if ac_fn_c_try_compile
"$LINENO"; then :
9953 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9956 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9959 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9961 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9962 case "x$with_xrandr" in
9963 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9965 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9966 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9970 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9973 /* end confdefs.h. */
9974 #include <X11/Xlib.h>
9975 #include <X11/extensions/Xinerama.h>
9979 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9984 if ac_fn_c_try_compile
"$LINENO"; then :
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9986 $as_echo_n "checking for -lXinerama... " >&6; }
9987 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
9988 $as_echo_n "(cached) " >&6
9990 ac_check_soname_save_LIBS
=$LIBS
9991 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9993 /* end confdefs.h. */
9995 /* Override any GCC internal prototype to avoid an error.
9996 Use char because int might match the return type of a GCC
9997 builtin and then its argument prototype would still apply. */
10001 char XineramaQueryScreens ();
10005 return XineramaQueryScreens ();
10010 if ac_fn_c_try_link
"$LINENO"; then :
10012 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10013 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'` ;;
10014 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10015 if test "x$ac_cv_lib_soname_Xinerama" = x
; then :
10016 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10020 rm -f core conftest.err conftest.
$ac_objext \
10021 conftest
$ac_exeext conftest.
$ac_ext
10022 LIBS
=$ac_check_soname_save_LIBS
10024 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10026 $as_echo "not found" >&6; }
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10030 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10032 cat >>confdefs.h
<<_ACEOF
10033 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10039 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10041 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10042 case "x$with_xinerama" in
10043 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10045 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10046 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10050 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10053 $as_echo_n "checking for -lXcomposite... " >&6; }
10054 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10055 $as_echo_n "(cached) " >&6
10057 ac_check_soname_save_LIBS
=$LIBS
10058 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
10059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10060 /* end confdefs.h. */
10062 /* Override any GCC internal prototype to avoid an error.
10063 Use char because int might match the return type of a GCC
10064 builtin and then its argument prototype would still apply. */
10068 char XCompositeRedirectWindow ();
10072 return XCompositeRedirectWindow ();
10077 if ac_fn_c_try_link
"$LINENO"; then :
10079 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10080 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'` ;;
10081 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10082 if test "x$ac_cv_lib_soname_Xcomposite" = x
; then :
10083 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10087 rm -f core conftest.err conftest.
$ac_objext \
10088 conftest
$ac_exeext conftest.
$ac_ext
10089 LIBS
=$ac_check_soname_save_LIBS
10091 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10093 $as_echo "not found" >&6; }
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10097 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10099 cat >>confdefs.h
<<_ACEOF
10100 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10106 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10107 case "x$with_xcomposite" in
10108 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10110 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10111 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10115 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10116 #include <X11/Xlib.h>
10119 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10121 cat >>confdefs.h
<<_ACEOF
10122 #define HAVE_XICCALLBACK_CALLBACK 1
10127 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10128 #include <X11/Xlib.h>
10131 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10133 cat >>confdefs.h
<<_ACEOF
10134 #define HAVE_XEVENT_XCOOKIE 1
10143 if test "x$with_opengl" != "xno"
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10146 $as_echo_n "checking for -lGL... " >&6; }
10147 if ${ac_cv_lib_soname_GL+:} false
; then :
10148 $as_echo_n "(cached) " >&6
10150 ac_check_soname_save_LIBS
=$LIBS
10151 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
10152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10153 /* end confdefs.h. */
10155 /* Override any GCC internal prototype to avoid an error.
10156 Use char because int might match the return type of a GCC
10157 builtin and then its argument prototype would still apply. */
10161 char glXCreateContext ();
10165 return glXCreateContext ();
10170 if ac_fn_c_try_link
"$LINENO"; then :
10172 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10173 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'` ;;
10174 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10175 if test "x$ac_cv_lib_soname_GL" = x
; then :
10176 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10180 rm -f core conftest.err conftest.
$ac_objext \
10181 conftest
$ac_exeext conftest.
$ac_ext
10182 LIBS
=$ac_check_soname_save_LIBS
10184 if test "x$ac_cv_lib_soname_GL" = "x"; then :
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10186 $as_echo "not found" >&6; }
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10188 $as_echo_n "checking for -lGL... " >&6; }
10189 if ${ac_cv_lib_soname_GL+:} false
; then :
10190 $as_echo_n "(cached) " >&6
10192 ac_check_soname_save_LIBS
=$LIBS
10193 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"
10194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10195 /* end confdefs.h. */
10197 /* Override any GCC internal prototype to avoid an error.
10198 Use char because int might match the return type of a GCC
10199 builtin and then its argument prototype would still apply. */
10203 char glXCreateContext ();
10207 return glXCreateContext ();
10212 if ac_fn_c_try_link
"$LINENO"; then :
10214 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10215 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'` ;;
10216 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10217 if test "x$ac_cv_lib_soname_GL" = x
; then :
10218 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10222 rm -f core conftest.err conftest.
$ac_objext \
10223 conftest
$ac_exeext conftest.
$ac_ext
10224 LIBS
=$ac_check_soname_save_LIBS
10226 if test "x$ac_cv_lib_soname_GL" = "x"; then :
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10228 $as_echo "not found" >&6; }
10229 if test -f /usr
/X11R
6/lib
/libGL.a
10231 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10232 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10234 opengl_msg
="No OpenGL library found on this system."
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10238 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10240 cat >>confdefs.h
<<_ACEOF
10241 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10244 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"
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10248 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10250 cat >>confdefs.h
<<_ACEOF
10251 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10256 if test "x$with_glu" != "xno"
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10259 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10260 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10261 $as_echo_n "(cached) " >&6
10263 ac_check_lib_save_LIBS
=$LIBS
10264 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
10265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10266 /* end confdefs.h. */
10268 /* Override any GCC internal prototype to avoid an error.
10269 Use char because int might match the return type of a GCC
10270 builtin and then its argument prototype would still apply. */
10278 return gluLookAt ();
10283 if ac_fn_c_try_link
"$LINENO"; then :
10284 ac_cv_lib_GLU_gluLookAt
=yes
10286 ac_cv_lib_GLU_gluLookAt
=no
10288 rm -f core conftest.err conftest.
$ac_objext \
10289 conftest
$ac_exeext conftest.
$ac_ext
10290 LIBS
=$ac_check_lib_save_LIBS
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10293 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10294 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10298 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10299 case "x$with_glu" in
10300 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10302 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10303 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10308 if test "x$with_osmesa" != "xno"
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10311 $as_echo_n "checking for -lOSMesa... " >&6; }
10312 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10313 $as_echo_n "(cached) " >&6
10315 ac_check_soname_save_LIBS
=$LIBS
10316 LIBS
="-lOSMesa $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
10317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10318 /* end confdefs.h. */
10320 /* Override any GCC internal prototype to avoid an error.
10321 Use char because int might match the return type of a GCC
10322 builtin and then its argument prototype would still apply. */
10335 if ac_fn_c_try_link
"$LINENO"; then :
10337 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10338 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'` ;;
10339 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10340 if test "x$ac_cv_lib_soname_OSMesa" = x
; then :
10341 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10345 rm -f core conftest.err conftest.
$ac_objext \
10346 conftest
$ac_exeext conftest.
$ac_ext
10347 LIBS
=$ac_check_soname_save_LIBS
10349 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10351 $as_echo "not found" >&6; }
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10355 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10357 cat >>confdefs.h
<<_ACEOF
10358 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10363 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10364 case "x$with_osmesa" in
10365 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10367 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10368 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10373 if test -n "$opengl_msg"; then :
10374 case "x$with_opengl" in
10375 x
) as_fn_append wine_warnings
"|$opengl_msg
10376 OpenGL and Direct3D won't be supported." ;;
10378 *) as_fn_error $?
"$opengl_msg
10379 OpenGL and Direct3D won't be supported.
10380 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10384 CPPFLAGS
="$ac_save_CPPFLAGS"
10389 enable_winex11_drv
=${enable_winex11_drv:-no}
10391 if test "x$XLIB" = "x"; then :
10394 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10395 without X support, which probably isn't what you want. You will need
10396 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10397 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10401 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10403 if test "$ac_cv_header_CL_cl_h" = "yes"
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10406 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10407 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10408 $as_echo_n "(cached) " >&6
10410 ac_check_lib_save_LIBS
=$LIBS
10411 LIBS
="-lOpenCL $LIBS"
10412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10413 /* end confdefs.h. */
10415 /* Override any GCC internal prototype to avoid an error.
10416 Use char because int might match the return type of a GCC
10417 builtin and then its argument prototype would still apply. */
10421 char clGetPlatformInfo ();
10425 return clGetPlatformInfo ();
10430 if ac_fn_c_try_link
"$LINENO"; then :
10431 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10433 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10435 rm -f core conftest.err conftest.
$ac_objext \
10436 conftest
$ac_exeext conftest.
$ac_ext
10437 LIBS
=$ac_check_lib_save_LIBS
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10440 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10441 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10442 LIBOPENCL
="-lOpenCL"
10447 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10448 case "x$with_opencl" in
10449 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10451 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10452 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10455 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10458 if test "x$with_xml" != "xno"
10460 if test -n "$XML2_CFLAGS"; then :
10462 elif test -n "$PKG_CONFIG"; then :
10463 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10465 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10466 if test -n "$XML2_LIBS"; then :
10468 elif test -n "$PKG_CONFIG"; then :
10469 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10471 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10472 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10473 ac_save_CPPFLAGS
=$CPPFLAGS
10474 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10475 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10477 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10478 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10479 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10480 cat >>confdefs.h
<<_ACEOF
10481 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10488 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"
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10491 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10492 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10493 $as_echo_n "(cached) " >&6
10495 ac_check_lib_save_LIBS
=$LIBS
10496 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10498 /* end confdefs.h. */
10500 /* Override any GCC internal prototype to avoid an error.
10501 Use char because int might match the return type of a GCC
10502 builtin and then its argument prototype would still apply. */
10506 char xmlParseMemory ();
10510 return xmlParseMemory ();
10515 if ac_fn_c_try_link
"$LINENO"; then :
10516 ac_cv_lib_xml2_xmlParseMemory
=yes
10518 ac_cv_lib_xml2_xmlParseMemory
=no
10520 rm -f core conftest.err conftest.
$ac_objext \
10521 conftest
$ac_exeext conftest.
$ac_ext
10522 LIBS
=$ac_check_lib_save_LIBS
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10525 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10526 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10528 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10535 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10536 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10537 $as_echo_n "(cached) " >&6
10539 ac_check_lib_save_LIBS
=$LIBS
10540 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10542 /* end confdefs.h. */
10544 /* Override any GCC internal prototype to avoid an error.
10545 Use char because int might match the return type of a GCC
10546 builtin and then its argument prototype would still apply. */
10550 char xmlReadMemory ();
10554 return xmlReadMemory ();
10559 if ac_fn_c_try_link
"$LINENO"; then :
10560 ac_cv_lib_xml2_xmlReadMemory
=yes
10562 ac_cv_lib_xml2_xmlReadMemory
=no
10564 rm -f core conftest.err conftest.
$ac_objext \
10565 conftest
$ac_exeext conftest.
$ac_ext
10566 LIBS
=$ac_check_lib_save_LIBS
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10569 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10570 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10572 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10577 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10578 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10579 $as_echo_n "(cached) " >&6
10581 ac_check_lib_save_LIBS
=$LIBS
10582 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10584 /* end confdefs.h. */
10586 /* Override any GCC internal prototype to avoid an error.
10587 Use char because int might match the return type of a GCC
10588 builtin and then its argument prototype would still apply. */
10592 char xmlNewDocPI ();
10596 return xmlNewDocPI ();
10601 if ac_fn_c_try_link
"$LINENO"; then :
10602 ac_cv_lib_xml2_xmlNewDocPI
=yes
10604 ac_cv_lib_xml2_xmlNewDocPI
=no
10606 rm -f core conftest.err conftest.
$ac_objext \
10607 conftest
$ac_exeext conftest.
$ac_ext
10608 LIBS
=$ac_check_lib_save_LIBS
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10611 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10612 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10614 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10619 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10620 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10621 $as_echo_n "(cached) " >&6
10623 ac_check_lib_save_LIBS
=$LIBS
10624 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10626 /* end confdefs.h. */
10628 /* Override any GCC internal prototype to avoid an error.
10629 Use char because int might match the return type of a GCC
10630 builtin and then its argument prototype would still apply. */
10634 char xmlSchemaSetParserStructuredErrors ();
10638 return xmlSchemaSetParserStructuredErrors ();
10643 if ac_fn_c_try_link
"$LINENO"; then :
10644 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10646 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10648 rm -f core conftest.err conftest.
$ac_objext \
10649 conftest
$ac_exeext conftest.
$ac_ext
10650 LIBS
=$ac_check_lib_save_LIBS
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10653 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10654 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10656 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10661 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10662 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10663 $as_echo_n "(cached) " >&6
10665 ac_check_lib_save_LIBS
=$LIBS
10666 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10668 /* end confdefs.h. */
10670 /* Override any GCC internal prototype to avoid an error.
10671 Use char because int might match the return type of a GCC
10672 builtin and then its argument prototype would still apply. */
10676 char xmlSchemaSetValidStructuredErrors ();
10680 return xmlSchemaSetValidStructuredErrors ();
10685 if ac_fn_c_try_link
"$LINENO"; then :
10686 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10688 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10690 rm -f core conftest.err conftest.
$ac_objext \
10691 conftest
$ac_exeext conftest.
$ac_ext
10692 LIBS
=$ac_check_lib_save_LIBS
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10695 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10696 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10698 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10703 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10704 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10705 $as_echo_n "(cached) " >&6
10707 ac_check_lib_save_LIBS
=$LIBS
10708 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10710 /* end confdefs.h. */
10712 /* Override any GCC internal prototype to avoid an error.
10713 Use char because int might match the return type of a GCC
10714 builtin and then its argument prototype would still apply. */
10718 char xmlFirstElementChild ();
10722 return xmlFirstElementChild ();
10727 if ac_fn_c_try_link
"$LINENO"; then :
10728 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10730 ac_cv_lib_xml2_xmlFirstElementChild
=no
10732 rm -f core conftest.err conftest.
$ac_objext \
10733 conftest
$ac_exeext conftest.
$ac_ext
10734 LIBS
=$ac_check_lib_save_LIBS
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10737 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10738 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10740 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10744 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10746 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10748 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10756 CPPFLAGS
=$ac_save_CPPFLAGS
10757 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10758 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10761 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10762 case "x$with_xml" in
10763 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10765 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10766 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10770 if test "x$with_xslt" != "xno"
10772 if test -n "$XSLT_CFLAGS"; then :
10774 elif test -n "$PKG_CONFIG"; then :
10775 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10777 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10778 if test -n "$XSLT_LIBS"; then :
10780 elif test -n "$PKG_CONFIG"; then :
10781 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10783 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10784 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10785 ac_save_CPPFLAGS
=$CPPFLAGS
10786 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10787 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10789 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10790 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10791 # include <libxslt/pattern.h>
10794 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10795 cat >>confdefs.h
<<_ACEOF
10796 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10803 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10806 $as_echo_n "checking for -lxslt... " >&6; }
10807 if ${ac_cv_lib_soname_xslt+:} false
; then :
10808 $as_echo_n "(cached) " >&6
10810 ac_check_soname_save_LIBS
=$LIBS
10811 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10813 /* end confdefs.h. */
10815 /* Override any GCC internal prototype to avoid an error.
10816 Use char because int might match the return type of a GCC
10817 builtin and then its argument prototype would still apply. */
10821 char xsltCompilePattern ();
10825 return xsltCompilePattern ();
10830 if ac_fn_c_try_link
"$LINENO"; then :
10832 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10833 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'` ;;
10834 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10835 if test "x$ac_cv_lib_soname_xslt" = x
; then :
10836 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10840 rm -f core conftest.err conftest.
$ac_objext \
10841 conftest
$ac_exeext conftest.
$ac_ext
10842 LIBS
=$ac_check_soname_save_LIBS
10844 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10846 $as_echo "not found" >&6; }
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10850 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10852 cat >>confdefs.h
<<_ACEOF
10853 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10861 CPPFLAGS
=$ac_save_CPPFLAGS
10862 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10863 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10866 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10867 case "x$with_xslt" in
10868 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10870 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10871 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10875 if test "x$with_dbus" != "xno"
10877 if test -n "$DBUS_CFLAGS"; then :
10879 elif test -n "$PKG_CONFIG"; then :
10880 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10883 if test -n "$DBUS_LIBS"; then :
10885 elif test -n "$PKG_CONFIG"; then :
10886 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10890 ac_save_CPPFLAGS
=$CPPFLAGS
10891 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10892 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10893 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10895 $as_echo_n "checking for -ldbus-1... " >&6; }
10896 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10897 $as_echo_n "(cached) " >&6
10899 ac_check_soname_save_LIBS
=$LIBS
10900 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10902 /* end confdefs.h. */
10904 /* Override any GCC internal prototype to avoid an error.
10905 Use char because int might match the return type of a GCC
10906 builtin and then its argument prototype would still apply. */
10910 char dbus_connection_close ();
10914 return dbus_connection_close ();
10919 if ac_fn_c_try_link
"$LINENO"; then :
10921 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10922 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'` ;;
10923 *) 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'`
10924 if test "x$ac_cv_lib_soname_dbus_1" = x
; then :
10925 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10929 rm -f core conftest.err conftest.
$ac_objext \
10930 conftest
$ac_exeext conftest.
$ac_ext
10931 LIBS
=$ac_check_soname_save_LIBS
10933 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10935 $as_echo "not found" >&6; }
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10939 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10941 cat >>confdefs.h
<<_ACEOF
10942 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10952 CPPFLAGS
=$ac_save_CPPFLAGS
10953 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10954 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10957 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10958 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10959 case "x$with_dbus" in
10960 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10962 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
10963 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10967 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10969 if test -n "$HAL_CFLAGS"; then :
10971 elif test -n "$PKG_CONFIG"; then :
10972 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
10975 if test -n "$HAL_LIBS"; then :
10977 elif test -n "$PKG_CONFIG"; then :
10978 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
10981 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
10982 ac_save_CPPFLAGS
=$CPPFLAGS
10983 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
10984 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10985 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10987 $as_echo_n "checking for -lhal... " >&6; }
10988 if ${ac_cv_lib_soname_hal+:} false
; then :
10989 $as_echo_n "(cached) " >&6
10991 ac_check_soname_save_LIBS
=$LIBS
10992 LIBS
="-lhal $HAL_LIBS $LIBS"
10993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10994 /* end confdefs.h. */
10996 /* Override any GCC internal prototype to avoid an error.
10997 Use char because int might match the return type of a GCC
10998 builtin and then its argument prototype would still apply. */
11002 char libhal_ctx_new ();
11006 return libhal_ctx_new ();
11011 if ac_fn_c_try_link
"$LINENO"; then :
11013 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11014 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'` ;;
11015 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11016 if test "x$ac_cv_lib_soname_hal" = x
; then :
11017 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11021 rm -f core conftest.err conftest.
$ac_objext \
11022 conftest
$ac_exeext conftest.
$ac_ext
11023 LIBS
=$ac_check_soname_save_LIBS
11025 if test "x$ac_cv_lib_soname_hal" = "x"; then :
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11027 $as_echo "not found" >&6; }
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11031 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11033 cat >>confdefs.h
<<_ACEOF
11034 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11044 CPPFLAGS
=$ac_save_CPPFLAGS
11045 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11046 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11048 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11049 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11050 case "x$with_hal" in
11051 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11053 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11054 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11059 if test "x$with_gnutls" != "xno"
11061 if test -n "$GNUTLS_CFLAGS"; then :
11063 elif test -n "$PKG_CONFIG"; then :
11064 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11067 if test -n "$GNUTLS_LIBS"; then :
11069 elif test -n "$PKG_CONFIG"; then :
11070 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11074 ac_save_CPPFLAGS
=$CPPFLAGS
11075 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11076 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11077 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11079 /* end confdefs.h. */
11080 #include <gnutls/gnutls.h>
11081 #include <gnutls/crypto.h>
11085 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11090 if ac_fn_c_try_compile
"$LINENO"; then :
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11092 $as_echo_n "checking for -lgnutls... " >&6; }
11093 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11094 $as_echo_n "(cached) " >&6
11096 ac_check_soname_save_LIBS
=$LIBS
11097 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11099 /* end confdefs.h. */
11101 /* Override any GCC internal prototype to avoid an error.
11102 Use char because int might match the return type of a GCC
11103 builtin and then its argument prototype would still apply. */
11107 char gnutls_global_init ();
11111 return gnutls_global_init ();
11116 if ac_fn_c_try_link
"$LINENO"; then :
11118 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11119 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'` ;;
11120 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11121 if test "x$ac_cv_lib_soname_gnutls" = x
; then :
11122 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11126 rm -f core conftest.err conftest.
$ac_objext \
11127 conftest
$ac_exeext conftest.
$ac_ext
11128 LIBS
=$ac_check_soname_save_LIBS
11130 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11132 $as_echo "not found" >&6; }
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11136 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11138 cat >>confdefs.h
<<_ACEOF
11139 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11145 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11151 CPPFLAGS
=$ac_save_CPPFLAGS
11152 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11153 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11156 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11157 case "x$with_gnutls" in
11158 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11160 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11161 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11166 if test "$ac_cv_header_ncurses_h" = "yes"
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11169 $as_echo_n "checking for -lncurses... " >&6; }
11170 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11171 $as_echo_n "(cached) " >&6
11173 ac_check_soname_save_LIBS
=$LIBS
11174 LIBS
="-lncurses $LIBS"
11175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11176 /* end confdefs.h. */
11178 /* Override any GCC internal prototype to avoid an error.
11179 Use char because int might match the return type of a GCC
11180 builtin and then its argument prototype would still apply. */
11193 if ac_fn_c_try_link
"$LINENO"; then :
11195 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11196 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'` ;;
11197 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11198 if test "x$ac_cv_lib_soname_ncurses" = x
; then :
11199 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11203 rm -f core conftest.err conftest.
$ac_objext \
11204 conftest
$ac_exeext conftest.
$ac_ext
11205 LIBS
=$ac_check_soname_save_LIBS
11207 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11209 $as_echo "not found" >&6; }
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11213 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11215 cat >>confdefs.h
<<_ACEOF
11216 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11219 CURSESLIBS
="-lncurses"
11221 elif test "$ac_cv_header_curses_h" = "yes"
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11224 $as_echo_n "checking for -lcurses... " >&6; }
11225 if ${ac_cv_lib_soname_curses+:} false
; then :
11226 $as_echo_n "(cached) " >&6
11228 ac_check_soname_save_LIBS
=$LIBS
11229 LIBS
="-lcurses $LIBS"
11230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11231 /* end confdefs.h. */
11233 /* Override any GCC internal prototype to avoid an error.
11234 Use char because int might match the return type of a GCC
11235 builtin and then its argument prototype would still apply. */
11248 if ac_fn_c_try_link
"$LINENO"; then :
11250 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11251 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'` ;;
11252 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11253 if test "x$ac_cv_lib_soname_curses" = x
; then :
11254 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11258 rm -f core conftest.err conftest.
$ac_objext \
11259 conftest
$ac_exeext conftest.
$ac_ext
11260 LIBS
=$ac_check_soname_save_LIBS
11262 if test "x$ac_cv_lib_soname_curses" = "x"; then :
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11264 $as_echo "not found" >&6; }
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11268 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11270 cat >>confdefs.h
<<_ACEOF
11271 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11274 CURSESLIBS
="-lcurses"
11277 ac_save_LIBS
="$LIBS"
11278 LIBS
="$LIBS $CURSESLIBS"
11279 for ac_func
in mousemask
11281 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11282 if test "x$ac_cv_func_mousemask" = xyes
; then :
11283 cat >>confdefs.h
<<_ACEOF
11284 #define HAVE_MOUSEMASK 1
11290 LIBS
="$ac_save_LIBS"
11291 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11292 case "x$with_curses" in
11293 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11295 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11296 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11300 if test "x$with_sane" != "xno"
11302 if test -n "$SANE_CFLAGS"; then :
11304 elif test -n "$PKG_CONFIG"; then :
11305 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11307 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11308 if test -n "$SANE_LIBS"; then :
11310 elif test -n "$PKG_CONFIG"; then :
11311 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11313 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11315 ac_save_CPPFLAGS
=$CPPFLAGS
11316 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11317 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11318 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11320 $as_echo_n "checking for -lsane... " >&6; }
11321 if ${ac_cv_lib_soname_sane+:} false
; then :
11322 $as_echo_n "(cached) " >&6
11324 ac_check_soname_save_LIBS
=$LIBS
11325 LIBS
="-lsane $SANE_LIBS $LIBS"
11326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11327 /* end confdefs.h. */
11329 /* Override any GCC internal prototype to avoid an error.
11330 Use char because int might match the return type of a GCC
11331 builtin and then its argument prototype would still apply. */
11339 return sane_init ();
11344 if ac_fn_c_try_link
"$LINENO"; then :
11346 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11347 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'` ;;
11348 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11349 if test "x$ac_cv_lib_soname_sane" = x
; then :
11350 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11354 rm -f core conftest.err conftest.
$ac_objext \
11355 conftest
$ac_exeext conftest.
$ac_ext
11356 LIBS
=$ac_check_soname_save_LIBS
11358 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11360 $as_echo "not found" >&6; }
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11364 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11366 cat >>confdefs.h
<<_ACEOF
11367 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11377 CPPFLAGS
=$ac_save_CPPFLAGS
11378 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11379 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11382 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11383 case "x$with_sane" in
11384 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11386 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11387 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11391 if test "x$with_v4l" != "xno"
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11394 $as_echo_n "checking for -lv4l1... " >&6; }
11395 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11396 $as_echo_n "(cached) " >&6
11398 ac_check_soname_save_LIBS
=$LIBS
11399 LIBS
="-lv4l1 $LIBS"
11400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11401 /* end confdefs.h. */
11403 /* Override any GCC internal prototype to avoid an error.
11404 Use char because int might match the return type of a GCC
11405 builtin and then its argument prototype would still apply. */
11413 return v4l1_open ();
11418 if ac_fn_c_try_link
"$LINENO"; then :
11420 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11421 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'` ;;
11422 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11423 if test "x$ac_cv_lib_soname_v4l1" = x
; then :
11424 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11428 rm -f core conftest.err conftest.
$ac_objext \
11429 conftest
$ac_exeext conftest.
$ac_ext
11430 LIBS
=$ac_check_soname_save_LIBS
11432 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11434 $as_echo "not found" >&6; }
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11438 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11440 cat >>confdefs.h
<<_ACEOF
11441 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11447 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11448 case "x$with_v4l" in
11449 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11451 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11452 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11456 if test "x$with_gphoto" != "xno"
11458 if test -n "$GPHOTO2_CFLAGS"; then :
11460 elif test -n "$PKG_CONFIG"; then :
11461 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11463 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11464 if test -n "$GPHOTO2_LIBS"; then :
11466 elif test -n "$PKG_CONFIG"; then :
11467 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11469 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11470 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11471 ac_save_CPPFLAGS
=$CPPFLAGS
11472 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11473 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11474 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11476 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11477 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11478 $as_echo_n "(cached) " >&6
11480 ac_check_lib_save_LIBS
=$LIBS
11481 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11483 /* end confdefs.h. */
11485 /* Override any GCC internal prototype to avoid an error.
11486 Use char because int might match the return type of a GCC
11487 builtin and then its argument prototype would still apply. */
11491 char gp_camera_new ();
11495 return gp_camera_new ();
11500 if ac_fn_c_try_link
"$LINENO"; then :
11501 ac_cv_lib_gphoto2_gp_camera_new
=yes
11503 ac_cv_lib_gphoto2_gp_camera_new
=no
11505 rm -f core conftest.err conftest.
$ac_objext \
11506 conftest
$ac_exeext conftest.
$ac_ext
11507 LIBS
=$ac_check_lib_save_LIBS
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11510 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11511 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11513 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11516 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11520 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11524 CPPFLAGS
=$ac_save_CPPFLAGS
11525 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11526 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11528 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
11530 elif test -n "$PKG_CONFIG"; then :
11531 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11533 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11534 if test -n "$GPHOTO2_PORT_LIBS"; then :
11536 elif test -n "$PKG_CONFIG"; then :
11537 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11539 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11540 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11541 ac_save_CPPFLAGS
=$CPPFLAGS
11542 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11543 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11544 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11546 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11547 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11548 $as_echo_n "(cached) " >&6
11550 ac_check_lib_save_LIBS
=$LIBS
11551 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11553 /* end confdefs.h. */
11555 /* Override any GCC internal prototype to avoid an error.
11556 Use char because int might match the return type of a GCC
11557 builtin and then its argument prototype would still apply. */
11561 char gp_port_info_list_new ();
11565 return gp_port_info_list_new ();
11570 if ac_fn_c_try_link
"$LINENO"; then :
11571 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11573 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11575 rm -f core conftest.err conftest.
$ac_objext \
11576 conftest
$ac_exeext conftest.
$ac_ext
11577 LIBS
=$ac_check_lib_save_LIBS
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11580 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11581 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11583 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11586 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11590 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11594 CPPFLAGS
=$ac_save_CPPFLAGS
11595 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11596 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11599 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11600 case "x$with_gphoto" in
11601 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11603 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11604 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11607 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11608 case "x$with_gphoto" in
11609 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11611 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11612 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11617 if test "$ac_cv_header_resolv_h" = "yes"
11619 ac_save_LIBS
="$LIBS"
11620 for lib
in '' -lresolv
11622 LIBS
="$lib $ac_save_LIBS"
11623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11624 /* end confdefs.h. */
11625 #ifdef HAVE_NETINET_IN_H
11626 #include <netinet/in.h>
11628 #include <resolv.h>
11632 res_query("foo",ns_c_in,0,0,0);
11637 if ac_fn_c_try_link
"$LINENO"; then :
11639 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11644 rm -f core conftest.err conftest.
$ac_objext \
11645 conftest
$ac_exeext conftest.
$ac_ext
11646 if test "${RESOLVLIBS+set}" = set; then
11650 LIBS
="$ac_save_LIBS"
11653 if test "x$with_lcms2" != "xno"
11655 if test -n "$LCMS2_CFLAGS"; then :
11657 elif test -n "$PKG_CONFIG"; then :
11658 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11661 if test -n "$LCMS2_LIBS"; then :
11663 elif test -n "$PKG_CONFIG"; then :
11664 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11667 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11668 ac_save_CPPFLAGS
=$CPPFLAGS
11669 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11670 for ac_header
in lcms2.h
11672 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11673 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11674 cat >>confdefs.h
<<_ACEOF
11675 #define HAVE_LCMS2_H 1
11682 if test "$ac_cv_header_lcms2_h" = "yes"
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11685 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11686 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11687 $as_echo_n "(cached) " >&6
11689 ac_check_lib_save_LIBS
=$LIBS
11690 LIBS
="-llcms2 $LIBS"
11691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11692 /* end confdefs.h. */
11694 /* Override any GCC internal prototype to avoid an error.
11695 Use char because int might match the return type of a GCC
11696 builtin and then its argument prototype would still apply. */
11700 char cmsOpenProfileFromFile ();
11704 return cmsOpenProfileFromFile ();
11709 if ac_fn_c_try_link
"$LINENO"; then :
11710 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11712 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11714 rm -f core conftest.err conftest.
$ac_objext \
11715 conftest
$ac_exeext conftest.
$ac_ext
11716 LIBS
=$ac_check_lib_save_LIBS
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11719 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11720 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11722 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11732 CPPFLAGS
=$ac_save_CPPFLAGS
11733 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11734 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11737 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11738 case "x$with_cms" in
11739 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11741 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11742 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11746 if test "x$with_freetype" != "xno"
11748 if test -n "$FREETYPE_CFLAGS"; then :
11750 elif test -n "$PKG_CONFIG"; then :
11751 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11753 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11754 if test -n "$FREETYPE_LIBS"; then :
11756 elif test -n "$PKG_CONFIG"; then :
11757 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11759 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11760 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11761 ac_save_CPPFLAGS
=$CPPFLAGS
11762 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11763 for ac_header
in ft2build.h
11765 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11766 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11767 cat >>confdefs.h
<<_ACEOF
11768 #define HAVE_FT2BUILD_H 1
11775 if test "$ac_cv_header_ft2build_h" = "yes"
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11778 $as_echo_n "checking for -lfreetype... " >&6; }
11779 if ${ac_cv_lib_soname_freetype+:} false
; then :
11780 $as_echo_n "(cached) " >&6
11782 ac_check_soname_save_LIBS
=$LIBS
11783 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11785 /* end confdefs.h. */
11787 /* Override any GCC internal prototype to avoid an error.
11788 Use char because int might match the return type of a GCC
11789 builtin and then its argument prototype would still apply. */
11793 char FT_Init_FreeType ();
11797 return FT_Init_FreeType ();
11802 if ac_fn_c_try_link
"$LINENO"; then :
11804 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11805 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'` ;;
11806 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11807 if test "x$ac_cv_lib_soname_freetype" = x
; then :
11808 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11812 rm -f core conftest.err conftest.
$ac_objext \
11813 conftest
$ac_exeext conftest.
$ac_ext
11814 LIBS
=$ac_check_soname_save_LIBS
11816 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11818 $as_echo "not found" >&6; }
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11822 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11824 cat >>confdefs.h
<<_ACEOF
11825 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11829 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11831 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11832 #include FT_MODULE_H
11834 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
11836 cat >>confdefs.h
<<_ACEOF
11837 #define HAVE_FT_TRUETYPEENGINETYPE 1
11848 CPPFLAGS
=$ac_save_CPPFLAGS
11849 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11850 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11853 if test "x$ac_cv_lib_soname_freetype" = x
; then :
11854 case "x$with_freetype" in
11856 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
11857 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11860 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11863 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11864 if ${ac_cv_c_ppdev+:} false
; then :
11865 $as_echo_n "(cached) " >&6
11867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11868 /* end confdefs.h. */
11869 #ifdef HAVE_SYS_IOCTL_H
11870 # include <sys/ioctl.h>
11872 #include <linux/ppdev.h>
11876 ioctl (1,PPCLAIM,0)
11881 if ac_fn_c_try_compile
"$LINENO"; then :
11882 ac_cv_c_ppdev
="yes"
11886 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11889 $as_echo "$ac_cv_c_ppdev" >&6; }
11890 if test "$ac_cv_c_ppdev" = "yes"
11893 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11897 ac_wine_check_funcs_save_LIBS
="$LIBS"
11898 LIBS
="$LIBS $LIBPTHREAD"
11900 pthread_attr_get_np \
11901 pthread_getattr_np \
11902 pthread_getthreadid_np \
11903 pthread_get_stackaddr_np \
11904 pthread_get_stacksize_np
11906 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11907 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11908 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11909 cat >>confdefs.h
<<_ACEOF
11910 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11916 LIBS
="$ac_wine_check_funcs_save_LIBS"
11918 if test "$ac_cv_header_zlib_h" = "yes"
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11921 $as_echo_n "checking for inflate in -lz... " >&6; }
11922 if ${ac_cv_lib_z_inflate+:} false
; then :
11923 $as_echo_n "(cached) " >&6
11925 ac_check_lib_save_LIBS
=$LIBS
11927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11928 /* end confdefs.h. */
11930 /* Override any GCC internal prototype to avoid an error.
11931 Use char because int might match the return type of a GCC
11932 builtin and then its argument prototype would still apply. */
11945 if ac_fn_c_try_link
"$LINENO"; then :
11946 ac_cv_lib_z_inflate
=yes
11948 ac_cv_lib_z_inflate
=no
11950 rm -f core conftest.err conftest.
$ac_objext \
11951 conftest
$ac_exeext conftest.
$ac_ext
11952 LIBS
=$ac_check_lib_save_LIBS
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11955 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11956 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
11958 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11965 if test "x$ZLIB" = "x"; then :
11966 case "x$with_zlib" in
11967 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11969 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
11970 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11974 if test "x$enable_tools" != xno
11976 if test "$ac_cv_header_gettext_po_h" = "yes"
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11979 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11980 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
11981 $as_echo_n "(cached) " >&6
11983 ac_check_lib_save_LIBS
=$LIBS
11984 LIBS
="-lgettextpo $LIBS"
11985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11986 /* end confdefs.h. */
11988 /* Override any GCC internal prototype to avoid an error.
11989 Use char because int might match the return type of a GCC
11990 builtin and then its argument prototype would still apply. */
11994 char po_message_msgctxt ();
11998 return po_message_msgctxt ();
12003 if ac_fn_c_try_link
"$LINENO"; then :
12004 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12006 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12008 rm -f core conftest.err conftest.
$ac_objext \
12009 conftest
$ac_exeext conftest.
$ac_ext
12010 LIBS
=$ac_check_lib_save_LIBS
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12013 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12014 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12016 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12018 LIBGETTEXTPO
="-lgettextpo"
12023 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
12024 case "x$with_gettextpo" in
12025 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12027 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12028 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12033 if test "x$with_gstreamer" != "xno"
12035 if test -n "$GSTREAMER_CFLAGS"; then :
12037 elif test -n "$PKG_CONFIG"; then :
12038 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12041 if test -n "$GSTREAMER_LIBS"; then :
12043 elif test -n "$PKG_CONFIG"; then :
12044 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12048 ac_save_CPPFLAGS
=$CPPFLAGS
12049 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12051 for i
in $GSTREAMER_CFLAGS
12054 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12057 GSTREAMER_CFLAGS
=$ac_gst_incl
12058 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12059 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12060 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12061 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12062 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12064 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12066 /* end confdefs.h. */
12067 #include <gst/app/gstappsink.h>
12071 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12076 if ac_fn_c_try_compile
"$LINENO"; then :
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12078 $as_echo "yes" >&6; }
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12080 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12081 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12082 $as_echo_n "(cached) " >&6
12084 ac_check_lib_save_LIBS
=$LIBS
12085 LIBS
="-lgstreamer-0.10 $LIBS"
12086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12087 /* end confdefs.h. */
12089 /* Override any GCC internal prototype to avoid an error.
12090 Use char because int might match the return type of a GCC
12091 builtin and then its argument prototype would still apply. */
12095 char gst_pad_get_caps_reffed ();
12099 return gst_pad_get_caps_reffed ();
12104 if ac_fn_c_try_link
"$LINENO"; then :
12105 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12107 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12109 rm -f core conftest.err conftest.
$ac_objext \
12110 conftest
$ac_exeext conftest.
$ac_ext
12111 LIBS
=$ac_check_lib_save_LIBS
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12114 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12115 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12117 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12118 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12119 $as_echo_n "(cached) " >&6
12121 ac_check_lib_save_LIBS
=$LIBS
12122 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12124 /* end confdefs.h. */
12126 /* Override any GCC internal prototype to avoid an error.
12127 Use char because int might match the return type of a GCC
12128 builtin and then its argument prototype would still apply. */
12132 char gst_app_buffer_new ();
12136 return gst_app_buffer_new ();
12141 if ac_fn_c_try_link
"$LINENO"; then :
12142 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12144 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12146 rm -f core conftest.err conftest.
$ac_objext \
12147 conftest
$ac_exeext conftest.
$ac_ext
12148 LIBS
=$ac_check_lib_save_LIBS
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12151 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12152 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12160 $as_echo "no" >&6; }
12162 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12167 GSTREAMER_CFLAGS
=""
12171 CPPFLAGS
=$ac_save_CPPFLAGS
12172 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12173 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12176 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12177 case "x$with_gstreamer" in
12178 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12180 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12181 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12184 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12188 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12191 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12192 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12193 $as_echo_n "(cached) " >&6
12195 ac_check_lib_save_LIBS
=$LIBS
12196 LIBS
="-lasound $LIBS"
12197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12198 /* end confdefs.h. */
12200 /* Override any GCC internal prototype to avoid an error.
12201 Use char because int might match the return type of a GCC
12202 builtin and then its argument prototype would still apply. */
12206 char snd_pcm_hw_params_get_access_mask ();
12210 return snd_pcm_hw_params_get_access_mask ();
12215 if ac_fn_c_try_link
"$LINENO"; then :
12216 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12218 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12220 rm -f core conftest.err conftest.
$ac_objext \
12221 conftest
$ac_exeext conftest.
$ac_ext
12222 LIBS
=$ac_check_lib_save_LIBS
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12225 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12226 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12228 /* end confdefs.h. */
12229 #ifdef HAVE_ALSA_ASOUNDLIB_H
12230 #include <alsa/asoundlib.h>
12231 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12232 #include <sys/asoundlib.h>
12237 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12242 if ac_fn_c_try_compile
"$LINENO"; then :
12243 ALSALIBS
="-lasound"
12245 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12250 if test "x$with_oss" != xno
12252 ac_save_CPPFLAGS
="$CPPFLAGS"
12253 if test -f /etc
/oss.conf
12257 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12258 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12259 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12260 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12261 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12263 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12265 cat >>confdefs.h
<<_ACEOF
12266 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12269 OSS4INCL
="$ac_oss_incl"
12276 CPPFLAGS
="$ac_save_CPPFLAGS"
12277 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12279 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12283 if test "x$with_capi" != "xno"
12285 if test -n "$CAPI20_CFLAGS"; then :
12287 elif test -n "$PKG_CONFIG"; then :
12288 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12291 if test -n "$CAPI20_LIBS"; then :
12293 elif test -n "$PKG_CONFIG"; then :
12294 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12298 ac_save_CPPFLAGS
=$CPPFLAGS
12299 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12300 for ac_header
in capi20.h linux
/capi.h
12302 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12303 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12305 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12306 cat >>confdefs.h
<<_ACEOF
12307 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12314 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12317 $as_echo_n "checking for -lcapi20... " >&6; }
12318 if ${ac_cv_lib_soname_capi20+:} false
; then :
12319 $as_echo_n "(cached) " >&6
12321 ac_check_soname_save_LIBS
=$LIBS
12322 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12324 /* end confdefs.h. */
12326 /* Override any GCC internal prototype to avoid an error.
12327 Use char because int might match the return type of a GCC
12328 builtin and then its argument prototype would still apply. */
12332 char capi20_register ();
12336 return capi20_register ();
12341 if ac_fn_c_try_link
"$LINENO"; then :
12343 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12344 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'` ;;
12345 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12346 if test "x$ac_cv_lib_soname_capi20" = x
; then :
12347 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12351 rm -f core conftest.err conftest.
$ac_objext \
12352 conftest
$ac_exeext conftest.
$ac_ext
12353 LIBS
=$ac_check_soname_save_LIBS
12355 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12357 $as_echo "not found" >&6; }
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12361 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12363 cat >>confdefs.h
<<_ACEOF
12364 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12370 CPPFLAGS
=$ac_save_CPPFLAGS
12371 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12372 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12375 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12376 case "x$with_capi" in
12377 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12379 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12380 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12386 if test "x$with_cups" != "xno"
12388 ac_save_CPPFLAGS
="$CPPFLAGS"
12389 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12390 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12391 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12392 for ac_header
in cups
/cups.h
12394 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12395 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12396 cat >>confdefs.h
<<_ACEOF
12397 #define HAVE_CUPS_CUPS_H 1
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12400 $as_echo_n "checking for -lcups... " >&6; }
12401 if ${ac_cv_lib_soname_cups+:} false
; then :
12402 $as_echo_n "(cached) " >&6
12404 ac_check_soname_save_LIBS
=$LIBS
12405 LIBS
="-lcups $ac_cups_libs $LIBS"
12406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12407 /* end confdefs.h. */
12409 /* Override any GCC internal prototype to avoid an error.
12410 Use char because int might match the return type of a GCC
12411 builtin and then its argument prototype would still apply. */
12415 char cupsGetDefault ();
12419 return cupsGetDefault ();
12424 if ac_fn_c_try_link
"$LINENO"; then :
12426 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12427 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'` ;;
12428 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12429 if test "x$ac_cv_lib_soname_cups" = x
; then :
12430 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12434 rm -f core conftest.err conftest.
$ac_objext \
12435 conftest
$ac_exeext conftest.
$ac_ext
12436 LIBS
=$ac_check_soname_save_LIBS
12438 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12440 $as_echo "not found" >&6; }
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12444 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12446 cat >>confdefs.h
<<_ACEOF
12447 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12450 CUPSINCL
="$ac_cups_cflags"
12456 CPPFLAGS
="$ac_save_CPPFLAGS"
12458 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12459 case "x$with_cups" in
12460 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12462 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12463 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12467 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12470 $as_echo_n "checking for -lfontconfig... " >&6; }
12471 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12472 $as_echo_n "(cached) " >&6
12474 ac_check_soname_save_LIBS
=$LIBS
12475 LIBS
="-lfontconfig $LIBS"
12476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12477 /* end confdefs.h. */
12479 /* Override any GCC internal prototype to avoid an error.
12480 Use char because int might match the return type of a GCC
12481 builtin and then its argument prototype would still apply. */
12494 if ac_fn_c_try_link
"$LINENO"; then :
12496 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12497 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'` ;;
12498 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12499 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
12500 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12504 rm -f core conftest.err conftest.
$ac_objext \
12505 conftest
$ac_exeext conftest.
$ac_ext
12506 LIBS
=$ac_check_soname_save_LIBS
12508 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12510 $as_echo "not found" >&6; }
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12514 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12516 cat >>confdefs.h
<<_ACEOF
12517 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12522 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
12524 ac_save_CPPFLAGS
="$CPPFLAGS"
12525 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
12526 $as_unset ac_cv_header_fontconfig_fontconfig_h
12527 for ac_header
in fontconfig
/fontconfig.h
12529 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12530 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12531 cat >>confdefs.h
<<_ACEOF
12532 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12539 CPPFLAGS
="$ac_save_CPPFLAGS"
12540 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12542 FONTCONFIGINCL
="$X_CFLAGS"
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12545 $as_echo_n "checking for -lfontconfig... " >&6; }
12546 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12547 $as_echo_n "(cached) " >&6
12549 ac_check_soname_save_LIBS
=$LIBS
12550 LIBS
="-lfontconfig $X_LIBS $LIBS"
12551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12552 /* end confdefs.h. */
12554 /* Override any GCC internal prototype to avoid an error.
12555 Use char because int might match the return type of a GCC
12556 builtin and then its argument prototype would still apply. */
12569 if ac_fn_c_try_link
"$LINENO"; then :
12571 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12572 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'` ;;
12573 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12574 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
12575 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12579 rm -f core conftest.err conftest.
$ac_objext \
12580 conftest
$ac_exeext conftest.
$ac_ext
12581 LIBS
=$ac_check_soname_save_LIBS
12583 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12585 $as_echo "not found" >&6; }
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12589 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12591 cat >>confdefs.h
<<_ACEOF
12592 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12599 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12600 case "x$with_fontconfig" in
12601 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12603 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12604 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12608 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12611 $as_echo_n "checking for -lgsm... " >&6; }
12612 if ${ac_cv_lib_soname_gsm+:} false
; then :
12613 $as_echo_n "(cached) " >&6
12615 ac_check_soname_save_LIBS
=$LIBS
12617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12618 /* end confdefs.h. */
12620 /* Override any GCC internal prototype to avoid an error.
12621 Use char because int might match the return type of a GCC
12622 builtin and then its argument prototype would still apply. */
12626 char gsm_create ();
12630 return gsm_create ();
12635 if ac_fn_c_try_link
"$LINENO"; then :
12637 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12638 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'` ;;
12639 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12640 if test "x$ac_cv_lib_soname_gsm" = x
; then :
12641 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12645 rm -f core conftest.err conftest.
$ac_objext \
12646 conftest
$ac_exeext conftest.
$ac_ext
12647 LIBS
=$ac_check_soname_save_LIBS
12649 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12651 $as_echo "not found" >&6; }
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12655 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12657 cat >>confdefs.h
<<_ACEOF
12658 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12664 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12665 case "x$with_gsm" in
12666 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12668 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12669 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12673 if test "x$with_jpeg" != "xno"
12675 if test -n "$JPEG_CFLAGS"; then :
12677 elif test -n "$PKG_CONFIG"; then :
12678 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12681 if test -n "$JPEG_LIBS"; then :
12683 elif test -n "$PKG_CONFIG"; then :
12684 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12688 ac_save_CPPFLAGS
=$CPPFLAGS
12689 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12690 for ac_header
in jpeglib.h
12692 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12693 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12694 cat >>confdefs.h
<<_ACEOF
12695 #define HAVE_JPEGLIB_H 1
12702 if test "$ac_cv_header_jpeglib_h" = "yes"
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12705 $as_echo_n "checking for -ljpeg... " >&6; }
12706 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12707 $as_echo_n "(cached) " >&6
12709 ac_check_soname_save_LIBS
=$LIBS
12710 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12712 /* end confdefs.h. */
12714 /* Override any GCC internal prototype to avoid an error.
12715 Use char because int might match the return type of a GCC
12716 builtin and then its argument prototype would still apply. */
12720 char jpeg_start_decompress ();
12724 return jpeg_start_decompress ();
12729 if ac_fn_c_try_link
"$LINENO"; then :
12731 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12732 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'` ;;
12733 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12734 if test "x$ac_cv_lib_soname_jpeg" = x
; then :
12735 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12739 rm -f core conftest.err conftest.
$ac_objext \
12740 conftest
$ac_exeext conftest.
$ac_ext
12741 LIBS
=$ac_check_soname_save_LIBS
12743 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12745 $as_echo "not found" >&6; }
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12749 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12751 cat >>confdefs.h
<<_ACEOF
12752 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12760 CPPFLAGS
=$ac_save_CPPFLAGS
12761 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12762 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12765 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12766 case "x$with_jpeg" in
12767 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12769 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12770 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12774 if test "x$with_png" != "xno"
12776 if test -n "$PNG_CFLAGS"; then :
12778 elif test -n "$PKG_CONFIG"; then :
12779 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12781 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12782 if test -n "$PNG_LIBS"; then :
12784 elif test -n "$PKG_CONFIG"; then :
12785 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12787 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12789 ac_save_CPPFLAGS
=$CPPFLAGS
12790 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12791 for ac_header
in png.h
12793 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12794 if test "x$ac_cv_header_png_h" = xyes
; then :
12795 cat >>confdefs.h
<<_ACEOF
12796 #define HAVE_PNG_H 1
12803 if test "$ac_cv_header_png_h" = "yes"
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12806 $as_echo_n "checking for -lpng... " >&6; }
12807 if ${ac_cv_lib_soname_png+:} false
; then :
12808 $as_echo_n "(cached) " >&6
12810 ac_check_soname_save_LIBS
=$LIBS
12811 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12813 /* end confdefs.h. */
12815 /* Override any GCC internal prototype to avoid an error.
12816 Use char because int might match the return type of a GCC
12817 builtin and then its argument prototype would still apply. */
12821 char png_create_read_struct ();
12825 return png_create_read_struct ();
12830 if ac_fn_c_try_link
"$LINENO"; then :
12832 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12833 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'` ;;
12834 *) 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'`
12835 if test "x$ac_cv_lib_soname_png" = x
; then :
12836 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12840 rm -f core conftest.err conftest.
$ac_objext \
12841 conftest
$ac_exeext conftest.
$ac_ext
12842 LIBS
=$ac_check_soname_save_LIBS
12844 if test "x$ac_cv_lib_soname_png" = "x"; then :
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12846 $as_echo "not found" >&6; }
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12850 $as_echo "$ac_cv_lib_soname_png" >&6; }
12852 cat >>confdefs.h
<<_ACEOF
12853 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12857 /* end confdefs.h. */
12862 typeof(png_set_expand_gray_1_2_4_to_8) *p
12867 if ac_fn_c_try_compile
"$LINENO"; then :
12869 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12877 CPPFLAGS
=$ac_save_CPPFLAGS
12878 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12879 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12882 if test "x$ac_cv_lib_soname_png" = "x"; then :
12883 case "x$with_png" in
12884 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12886 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
12887 This is an error since --with-png was requested." "$LINENO" 5 ;;
12891 if test "x$with_tiff" != "xno"
12893 if test -n "$TIFF_CFLAGS"; then :
12895 elif test -n "$PKG_CONFIG"; then :
12896 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12899 if test -n "$TIFF_LIBS"; then :
12901 elif test -n "$PKG_CONFIG"; then :
12902 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12906 ac_save_CPPFLAGS
=$CPPFLAGS
12907 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
12908 for ac_header
in tiffio.h
12910 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12911 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
12912 cat >>confdefs.h
<<_ACEOF
12913 #define HAVE_TIFFIO_H 1
12920 if test "$ac_cv_header_tiffio_h" = "yes"
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12923 $as_echo_n "checking for -ltiff... " >&6; }
12924 if ${ac_cv_lib_soname_tiff+:} false
; then :
12925 $as_echo_n "(cached) " >&6
12927 ac_check_soname_save_LIBS
=$LIBS
12928 LIBS
="-ltiff $TIFF_LIBS $LIBS"
12929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12930 /* end confdefs.h. */
12932 /* Override any GCC internal prototype to avoid an error.
12933 Use char because int might match the return type of a GCC
12934 builtin and then its argument prototype would still apply. */
12938 char TIFFClientOpen ();
12942 return TIFFClientOpen ();
12947 if ac_fn_c_try_link
"$LINENO"; then :
12949 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12950 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'` ;;
12951 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12952 if test "x$ac_cv_lib_soname_tiff" = x
; then :
12953 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12957 rm -f core conftest.err conftest.
$ac_objext \
12958 conftest
$ac_exeext conftest.
$ac_ext
12959 LIBS
=$ac_check_soname_save_LIBS
12961 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12963 $as_echo "not found" >&6; }
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12967 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12969 cat >>confdefs.h
<<_ACEOF
12970 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12976 CPPFLAGS
=$ac_save_CPPFLAGS
12977 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12978 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12981 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12982 case "x$with_tiff" in
12983 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12985 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
12986 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12990 if test "x$with_mpg123" != "xno"
12992 if test -n "$MPG123_CFLAGS"; then :
12994 elif test -n "$PKG_CONFIG"; then :
12995 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
12998 if test -n "$MPG123_LIBS"; then :
13000 elif test -n "$PKG_CONFIG"; then :
13001 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13004 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13005 ac_save_CPPFLAGS
=$CPPFLAGS
13006 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13007 for ac_header
in mpg123.h
13009 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13010 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13011 cat >>confdefs.h
<<_ACEOF
13012 #define HAVE_MPG123_H 1
13019 if test "$ac_cv_header_mpg123_h" = "yes"
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13022 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13023 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13024 $as_echo_n "(cached) " >&6
13026 ac_check_lib_save_LIBS
=$LIBS
13027 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13029 /* end confdefs.h. */
13031 /* Override any GCC internal prototype to avoid an error.
13032 Use char because int might match the return type of a GCC
13033 builtin and then its argument prototype would still apply. */
13037 char mpg123_feed ();
13041 return mpg123_feed ();
13046 if ac_fn_c_try_link
"$LINENO"; then :
13047 ac_cv_lib_mpg123_mpg123_feed
=yes
13049 ac_cv_lib_mpg123_mpg123_feed
=no
13051 rm -f core conftest.err conftest.
$ac_objext \
13052 conftest
$ac_exeext conftest.
$ac_ext
13053 LIBS
=$ac_check_lib_save_LIBS
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13056 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13057 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13067 CPPFLAGS
=$ac_save_CPPFLAGS
13068 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13069 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13072 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13073 case "x$with_mpg123" in
13074 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13076 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13077 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13080 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}
13082 if test "$ac_cv_header_AL_al_h" = "yes"
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13085 $as_echo_n "checking for -lopenal... " >&6; }
13086 if ${ac_cv_lib_soname_openal+:} false
; then :
13087 $as_echo_n "(cached) " >&6
13089 ac_check_soname_save_LIBS
=$LIBS
13090 LIBS
="-lopenal $LIBS"
13091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13092 /* end confdefs.h. */
13094 /* Override any GCC internal prototype to avoid an error.
13095 Use char because int might match the return type of a GCC
13096 builtin and then its argument prototype would still apply. */
13100 char alGetSource3i ();
13104 return alGetSource3i ();
13109 if ac_fn_c_try_link
"$LINENO"; then :
13111 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13112 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'` ;;
13113 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13114 if test "x$ac_cv_lib_soname_openal" = x
; then :
13115 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13119 rm -f core conftest.err conftest.
$ac_objext \
13120 conftest
$ac_exeext conftest.
$ac_ext
13121 LIBS
=$ac_check_soname_save_LIBS
13123 if test "x$ac_cv_lib_soname_openal" = "x"; then :
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13125 $as_echo "not found" >&6; }
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13129 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13131 cat >>confdefs.h
<<_ACEOF
13132 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13135 LIBOPENAL
="-lopenal"
13137 ac_cv_lib_openal
=yes
13139 cat >>confdefs.h
<<_ACEOF
13140 #define HAVE_OPENAL 1
13145 if test "x$ac_cv_lib_openal" != xyes
; then :
13146 case "x$with_openal" in
13147 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13149 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13150 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13153 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13155 if test "$ac_cv_header_kstat_h" = "yes"
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13158 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13159 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13160 $as_echo_n "(cached) " >&6
13162 ac_check_lib_save_LIBS
=$LIBS
13163 LIBS
="-lkstat $LIBS"
13164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13165 /* end confdefs.h. */
13167 /* Override any GCC internal prototype to avoid an error.
13168 Use char because int might match the return type of a GCC
13169 builtin and then its argument prototype would still apply. */
13173 char kstat_open ();
13177 return kstat_open ();
13182 if ac_fn_c_try_link
"$LINENO"; then :
13183 ac_cv_lib_kstat_kstat_open
=yes
13185 ac_cv_lib_kstat_kstat_open
=no
13187 rm -f core conftest.err conftest.
$ac_objext \
13188 conftest
$ac_exeext conftest.
$ac_ext
13189 LIBS
=$ac_check_lib_save_LIBS
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13192 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13193 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13195 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13203 if test "$ac_cv_header_libprocstat_h" = "yes"
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13206 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13207 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13208 $as_echo_n "(cached) " >&6
13210 ac_check_lib_save_LIBS
=$LIBS
13211 LIBS
="-lprocstat $LIBS"
13212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13213 /* end confdefs.h. */
13215 /* Override any GCC internal prototype to avoid an error.
13216 Use char because int might match the return type of a GCC
13217 builtin and then its argument prototype would still apply. */
13221 char procstat_open_sysctl ();
13225 return procstat_open_sysctl ();
13230 if ac_fn_c_try_link
"$LINENO"; then :
13231 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13233 ac_cv_lib_procstat_procstat_open_sysctl
=no
13235 rm -f core conftest.err conftest.
$ac_objext \
13236 conftest
$ac_exeext conftest.
$ac_ext
13237 LIBS
=$ac_check_lib_save_LIBS
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13240 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13241 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13243 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13245 LIBPROCSTAT
="-lprocstat"
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13252 $as_echo_n "checking for -lodbc... " >&6; }
13253 if ${ac_cv_lib_soname_odbc+:} false
; then :
13254 $as_echo_n "(cached) " >&6
13256 ac_check_soname_save_LIBS
=$LIBS
13257 LIBS
="-lodbc $LIBS"
13258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13259 /* end confdefs.h. */
13261 /* Override any GCC internal prototype to avoid an error.
13262 Use char because int might match the return type of a GCC
13263 builtin and then its argument prototype would still apply. */
13267 char SQLConnect ();
13271 return SQLConnect ();
13276 if ac_fn_c_try_link
"$LINENO"; then :
13278 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13279 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'` ;;
13280 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13281 if test "x$ac_cv_lib_soname_odbc" = x
; then :
13282 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13286 rm -f core conftest.err conftest.
$ac_objext \
13287 conftest
$ac_exeext conftest.
$ac_ext
13288 LIBS
=$ac_check_soname_save_LIBS
13290 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13292 $as_echo "not found" >&6; }
13293 cat >>confdefs.h
<<_ACEOF
13294 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13299 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13301 cat >>confdefs.h
<<_ACEOF
13302 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13308 if test "x$with_netapi" != "xno"
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13311 $as_echo_n "checking for -lnetapi... " >&6; }
13312 if ${ac_cv_lib_soname_netapi+:} false
; then :
13313 $as_echo_n "(cached) " >&6
13315 ac_check_soname_save_LIBS
=$LIBS
13316 LIBS
="-lnetapi $LIBS"
13317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13318 /* end confdefs.h. */
13320 /* Override any GCC internal prototype to avoid an error.
13321 Use char because int might match the return type of a GCC
13322 builtin and then its argument prototype would still apply. */
13326 char libnetapi_init ();
13330 return libnetapi_init ();
13335 if ac_fn_c_try_link
"$LINENO"; then :
13337 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13338 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'` ;;
13339 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13340 if test "x$ac_cv_lib_soname_netapi" = x
; then :
13341 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13345 rm -f core conftest.err conftest.
$ac_objext \
13346 conftest
$ac_exeext conftest.
$ac_ext
13347 LIBS
=$ac_check_soname_save_LIBS
13349 if test "x$ac_cv_lib_soname_netapi" = "x"; then :
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13351 $as_echo "not found" >&6; }
13352 cat >>confdefs.h
<<_ACEOF
13353 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13358 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13360 cat >>confdefs.h
<<_ACEOF
13361 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13368 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13369 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13370 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13371 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13373 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
13374 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13375 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13377 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13383 if test "x${GCC}" = "xyes"
13385 EXTRACFLAGS
="-Wall -pipe"
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13388 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13389 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13390 $as_echo_n "(cached) " >&6
13392 if test "$cross_compiling" = yes; then :
13393 ac_cv_c_gcc_strength_bug
="yes"
13395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13396 /* end confdefs.h. */
13397 int L[4] = {0,1,2,3};
13401 static int Array[3];
13402 unsigned int B = 3;
13404 for(i=0; i<B; i++) Array[i] = i - 3;
13405 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13407 return (Array[1] != -2 || L[2] != 3)
13412 if ac_fn_c_try_run
"$LINENO"; then :
13413 ac_cv_c_gcc_strength_bug
="no"
13415 ac_cv_c_gcc_strength_bug
="yes"
13417 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13418 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13423 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13424 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13426 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13430 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13431 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13432 $as_echo_n "(cached) " >&6
13434 ac_wine_try_cflags_saved
=$CFLAGS
13435 CFLAGS
="$CFLAGS -fno-builtin"
13436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13437 /* end confdefs.h. */
13438 int main(int argc, char **argv) { return 0; }
13440 if ac_fn_c_try_link
"$LINENO"; then :
13441 ac_cv_cflags__fno_builtin
=yes
13443 ac_cv_cflags__fno_builtin
=no
13445 rm -f core conftest.err conftest.
$ac_objext \
13446 conftest
$ac_exeext conftest.
$ac_ext
13447 CFLAGS
=$ac_wine_try_cflags_saved
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13450 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13451 if test $ac_cv_cflags__fno_builtin = yes; then :
13452 BUILTINFLAG
="-fno-builtin"
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13456 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13457 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13458 $as_echo_n "(cached) " >&6
13460 ac_wine_try_cflags_saved
=$CFLAGS
13461 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13463 /* end confdefs.h. */
13464 int main(int argc, char **argv) { return 0; }
13466 if ac_fn_c_try_link
"$LINENO"; then :
13467 ac_cv_cflags__fno_strict_aliasing
=yes
13469 ac_cv_cflags__fno_strict_aliasing
=no
13471 rm -f core conftest.err conftest.
$ac_objext \
13472 conftest
$ac_exeext conftest.
$ac_ext
13473 CFLAGS
=$ac_wine_try_cflags_saved
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13476 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13477 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
13478 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13480 saved_CFLAGS
=$CFLAGS
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13482 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13483 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13484 $as_echo_n "(cached) " >&6
13486 ac_wine_try_cflags_saved
=$CFLAGS
13487 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13489 /* end confdefs.h. */
13490 int main(int argc, char **argv) { return 0; }
13492 if ac_fn_c_try_link
"$LINENO"; then :
13493 ac_cv_cflags__Werror_unknown_warning_option
=yes
13495 ac_cv_cflags__Werror_unknown_warning_option
=no
13497 rm -f core conftest.err conftest.
$ac_objext \
13498 conftest
$ac_exeext conftest.
$ac_ext
13499 CFLAGS
=$ac_wine_try_cflags_saved
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13502 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13503 if test $ac_cv_cflags__Werror_unknown_warning_option = yes; then :
13504 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13507 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13508 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13509 $as_echo_n "(cached) " >&6
13511 ac_wine_try_cflags_saved
=$CFLAGS
13512 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13514 /* end confdefs.h. */
13515 int main(int argc, char **argv) { return 0; }
13517 if ac_fn_c_try_link
"$LINENO"; then :
13518 ac_cv_cflags__Wdeclaration_after_statement
=yes
13520 ac_cv_cflags__Wdeclaration_after_statement
=no
13522 rm -f core conftest.err conftest.
$ac_objext \
13523 conftest
$ac_exeext conftest.
$ac_ext
13524 CFLAGS
=$ac_wine_try_cflags_saved
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13527 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13528 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
13529 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13532 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13533 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13534 $as_echo_n "(cached) " >&6
13536 ac_wine_try_cflags_saved
=$CFLAGS
13537 CFLAGS
="$CFLAGS -Wempty-body"
13538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13539 /* end confdefs.h. */
13540 int main(int argc, char **argv) { return 0; }
13542 if ac_fn_c_try_link
"$LINENO"; then :
13543 ac_cv_cflags__Wempty_body
=yes
13545 ac_cv_cflags__Wempty_body
=no
13547 rm -f core conftest.err conftest.
$ac_objext \
13548 conftest
$ac_exeext conftest.
$ac_ext
13549 CFLAGS
=$ac_wine_try_cflags_saved
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13552 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13553 if test $ac_cv_cflags__Wempty_body = yes; then :
13554 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13557 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13558 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13559 $as_echo_n "(cached) " >&6
13561 ac_wine_try_cflags_saved
=$CFLAGS
13562 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13564 /* end confdefs.h. */
13565 int main(int argc, char **argv) { return 0; }
13567 if ac_fn_c_try_link
"$LINENO"; then :
13568 ac_cv_cflags__Wignored_qualifiers
=yes
13570 ac_cv_cflags__Wignored_qualifiers
=no
13572 rm -f core conftest.err conftest.
$ac_objext \
13573 conftest
$ac_exeext conftest.
$ac_ext
13574 CFLAGS
=$ac_wine_try_cflags_saved
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13577 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13578 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
13579 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13582 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13583 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13584 $as_echo_n "(cached) " >&6
13586 ac_wine_try_cflags_saved
=$CFLAGS
13587 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13589 /* end confdefs.h. */
13590 int main(int argc, char **argv) { return 0; }
13592 if ac_fn_c_try_link
"$LINENO"; then :
13593 ac_cv_cflags__Wstrict_prototypes
=yes
13595 ac_cv_cflags__Wstrict_prototypes
=no
13597 rm -f core conftest.err conftest.
$ac_objext \
13598 conftest
$ac_exeext conftest.
$ac_ext
13599 CFLAGS
=$ac_wine_try_cflags_saved
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13602 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13603 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
13604 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13607 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13608 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13609 $as_echo_n "(cached) " >&6
13611 ac_wine_try_cflags_saved
=$CFLAGS
13612 CFLAGS
="$CFLAGS -Wtype-limits"
13613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13614 /* end confdefs.h. */
13615 int main(int argc, char **argv) { return 0; }
13617 if ac_fn_c_try_link
"$LINENO"; then :
13618 ac_cv_cflags__Wtype_limits
=yes
13620 ac_cv_cflags__Wtype_limits
=no
13622 rm -f core conftest.err conftest.
$ac_objext \
13623 conftest
$ac_exeext conftest.
$ac_ext
13624 CFLAGS
=$ac_wine_try_cflags_saved
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13627 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13628 if test $ac_cv_cflags__Wtype_limits = yes; then :
13629 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13632 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13633 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13634 $as_echo_n "(cached) " >&6
13636 ac_wine_try_cflags_saved
=$CFLAGS
13637 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13639 /* end confdefs.h. */
13640 int main(int argc, char **argv) { return 0; }
13642 if ac_fn_c_try_link
"$LINENO"; then :
13643 ac_cv_cflags__Wunused_but_set_parameter
=yes
13645 ac_cv_cflags__Wunused_but_set_parameter
=no
13647 rm -f core conftest.err conftest.
$ac_objext \
13648 conftest
$ac_exeext conftest.
$ac_ext
13649 CFLAGS
=$ac_wine_try_cflags_saved
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13652 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13653 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
13654 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13657 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13658 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13659 $as_echo_n "(cached) " >&6
13661 ac_wine_try_cflags_saved
=$CFLAGS
13662 CFLAGS
="$CFLAGS -Wwrite-strings"
13663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13664 /* end confdefs.h. */
13665 int main(int argc, char **argv) { return 0; }
13667 if ac_fn_c_try_link
"$LINENO"; then :
13668 ac_cv_cflags__Wwrite_strings
=yes
13670 ac_cv_cflags__Wwrite_strings
=no
13672 rm -f core conftest.err conftest.
$ac_objext \
13673 conftest
$ac_exeext conftest.
$ac_ext
13674 CFLAGS
=$ac_wine_try_cflags_saved
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13677 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13678 if test $ac_cv_cflags__Wwrite_strings = yes; then :
13679 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13683 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13684 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13685 $as_echo_n "(cached) " >&6
13687 ac_wine_try_cflags_saved
=$CFLAGS
13688 CFLAGS
="$CFLAGS -Wpointer-arith"
13689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13690 /* end confdefs.h. */
13691 int main(int argc, char **argv) { return 0; }
13693 if ac_fn_c_try_link
"$LINENO"; then :
13694 ac_cv_cflags__Wpointer_arith
=yes
13696 ac_cv_cflags__Wpointer_arith
=no
13698 rm -f core conftest.err conftest.
$ac_objext \
13699 conftest
$ac_exeext conftest.
$ac_ext
13700 CFLAGS
=$ac_wine_try_cflags_saved
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13703 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13704 if test $ac_cv_cflags__Wpointer_arith = yes; then :
13705 saved_string_h_CFLAGS
=$CFLAGS
13706 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13708 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13709 if ${ac_cv_c_string_h_warnings+:} false
; then :
13710 $as_echo_n "(cached) " >&6
13712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13713 /* end confdefs.h. */
13714 #include <string.h>
13723 if ac_fn_c_try_compile
"$LINENO"; then :
13724 ac_cv_c_string_h_warnings
=no
13726 ac_cv_c_string_h_warnings
=yes
13728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13731 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13732 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13733 CFLAGS
=$saved_string_h_CFLAGS
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13737 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13738 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13739 $as_echo_n "(cached) " >&6
13741 ac_wine_try_cflags_saved
=$CFLAGS
13742 CFLAGS
="$CFLAGS -Wlogical-op"
13743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13744 /* end confdefs.h. */
13745 int main(int argc, char **argv) { return 0; }
13747 if ac_fn_c_try_link
"$LINENO"; then :
13748 ac_cv_cflags__Wlogical_op
=yes
13750 ac_cv_cflags__Wlogical_op
=no
13752 rm -f core conftest.err conftest.
$ac_objext \
13753 conftest
$ac_exeext conftest.
$ac_ext
13754 CFLAGS
=$ac_wine_try_cflags_saved
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13757 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13758 if test $ac_cv_cflags__Wlogical_op = yes; then :
13759 saved_string_h_CFLAGS
=$CFLAGS
13760 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13762 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13763 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13764 $as_echo_n "(cached) " >&6
13766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13767 /* end confdefs.h. */
13768 #include <string.h>
13769 char*f(const char *h,char n) {return strchr(h,n);}
13778 if ac_fn_c_try_compile
"$LINENO"; then :
13779 ac_cv_c_logicalop_noisy
=no
13781 ac_cv_c_logicalop_noisy
=yes
13783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13786 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13787 CFLAGS
=$saved_string_h_CFLAGS
13788 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13791 CFLAGS
=$saved_CFLAGS
13793 for ac_flag
in $CFLAGS; do
13795 -g) case $host_os in
13796 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13797 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13798 if ${ac_cv_cflags__gstabsp+:} false
; then :
13799 $as_echo_n "(cached) " >&6
13801 ac_wine_try_cflags_saved
=$CFLAGS
13802 CFLAGS
="$CFLAGS -gstabs+"
13803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13804 /* end confdefs.h. */
13805 int main(int argc, char **argv) { return 0; }
13807 if ac_fn_c_try_link
"$LINENO"; then :
13808 ac_cv_cflags__gstabsp
=yes
13810 ac_cv_cflags__gstabsp
=no
13812 rm -f core conftest.err conftest.
$ac_objext \
13813 conftest
$ac_exeext conftest.
$ac_ext
13814 CFLAGS
=$ac_wine_try_cflags_saved
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13817 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13818 if test $ac_cv_cflags__gstabsp = yes; then :
13819 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
13821 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13822 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13823 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
13824 $as_echo_n "(cached) " >&6
13826 ac_wine_try_cflags_saved
=$CFLAGS
13827 CFLAGS
="$CFLAGS -gdwarf-2"
13828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13829 /* end confdefs.h. */
13830 int main(int argc, char **argv) { return 0; }
13832 if ac_fn_c_try_link
"$LINENO"; then :
13833 ac_cv_cflags__gdwarf_2
=yes
13835 ac_cv_cflags__gdwarf_2
=no
13837 rm -f core conftest.err conftest.
$ac_objext \
13838 conftest
$ac_exeext conftest.
$ac_ext
13839 CFLAGS
=$ac_wine_try_cflags_saved
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13842 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13843 if test $ac_cv_cflags__gdwarf_2 = yes; then :
13844 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13847 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13848 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
13849 $as_echo_n "(cached) " >&6
13851 ac_wine_try_cflags_saved
=$CFLAGS
13852 CFLAGS
="$CFLAGS -gstrict-dwarf"
13853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13854 /* end confdefs.h. */
13855 int main(int argc, char **argv) { return 0; }
13857 if ac_fn_c_try_link
"$LINENO"; then :
13858 ac_cv_cflags__gstrict_dwarf
=yes
13860 ac_cv_cflags__gstrict_dwarf
=no
13862 rm -f core conftest.err conftest.
$ac_objext \
13863 conftest
$ac_exeext conftest.
$ac_ext
13864 CFLAGS
=$ac_wine_try_cflags_saved
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13867 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13868 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
13869 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
13876 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13877 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13878 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
13879 $as_echo_n "(cached) " >&6
13881 ac_wine_try_cflags_saved
=$CFLAGS
13882 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
13883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13884 /* end confdefs.h. */
13885 int main(int argc, char **argv) { return 0; }
13887 if ac_fn_c_try_link
"$LINENO"; then :
13888 ac_cv_cflags__fno_omit_frame_pointer
=yes
13890 ac_cv_cflags__fno_omit_frame_pointer
=no
13892 rm -f core conftest.err conftest.
$ac_objext \
13893 conftest
$ac_exeext conftest.
$ac_ext
13894 CFLAGS
=$ac_wine_try_cflags_saved
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13897 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13898 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
13899 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
13904 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13905 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13906 if ${ac_cv_cflags__Wno_format+:} false
; then :
13907 $as_echo_n "(cached) " >&6
13909 ac_wine_try_cflags_saved
=$CFLAGS
13910 CFLAGS
="$CFLAGS -Wno-format"
13911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13912 /* end confdefs.h. */
13913 int main(int argc, char **argv) { return 0; }
13915 if ac_fn_c_try_link
"$LINENO"; then :
13916 ac_cv_cflags__Wno_format
=yes
13918 ac_cv_cflags__Wno_format
=no
13920 rm -f core conftest.err conftest.
$ac_objext \
13921 conftest
$ac_exeext conftest.
$ac_ext
13922 CFLAGS
=$ac_wine_try_cflags_saved
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13925 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13926 if test $ac_cv_cflags__Wno_format = yes; then :
13927 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
13931 if test "x$enable_maintainer_mode" = "xyes"
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13934 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13935 if ${ac_cv_cflags__Werror+:} false
; then :
13936 $as_echo_n "(cached) " >&6
13938 ac_wine_try_cflags_saved
=$CFLAGS
13939 CFLAGS
="$CFLAGS -Werror"
13940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13941 /* end confdefs.h. */
13942 int main(int argc, char **argv) { return 0; }
13944 if ac_fn_c_try_link
"$LINENO"; then :
13945 ac_cv_cflags__Werror
=yes
13947 ac_cv_cflags__Werror
=no
13949 rm -f core conftest.err conftest.
$ac_objext \
13950 conftest
$ac_exeext conftest.
$ac_ext
13951 CFLAGS
=$ac_wine_try_cflags_saved
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13954 $as_echo "$ac_cv_cflags__Werror" >&6; }
13955 if test $ac_cv_cflags__Werror = yes; then :
13956 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
13960 saved_CFLAGS
="$CFLAGS"
13961 CFLAGS
="$CFLAGS -Werror"
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13963 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
13964 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
13965 $as_echo_n "(cached) " >&6
13967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13968 /* end confdefs.h. */
13969 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
13978 if ac_fn_c_try_compile
"$LINENO"; then :
13979 ac_cv_have_ms_hook_prologue
="yes"
13981 ac_cv_have_ms_hook_prologue
="no"
13983 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
13986 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
13987 CFLAGS
="$saved_CFLAGS"
13988 if test "$ac_cv_have_ms_hook_prologue" = "yes"
13991 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
13994 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14001 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14002 if ${ac_cv_c_fortify_enabled+:} false
; then :
14003 $as_echo_n "(cached) " >&6
14005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14006 /* end confdefs.h. */
14007 #include <string.h>
14011 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14012 #error Fortify enabled
14018 if ac_fn_c_try_compile
"$LINENO"; then :
14019 ac_cv_c_fortify_enabled
=no
14021 ac_cv_c_fortify_enabled
=yes
14023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14026 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14027 if test "$ac_cv_c_fortify_enabled" = yes
14029 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14034 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14035 if ${ac_cv_c_extern_prefix+:} false
; then :
14036 $as_echo_n "(cached) " >&6
14038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14039 /* end confdefs.h. */
14040 extern int ac_test;
14044 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14049 if ac_fn_c_try_link
"$LINENO"; then :
14050 ac_cv_c_extern_prefix
="yes"
14052 ac_cv_c_extern_prefix
="no"
14054 rm -f core conftest.err conftest.
$ac_objext \
14055 conftest
$ac_exeext conftest.
$ac_ext
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14058 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14063 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14064 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14065 $as_echo_n "(cached) " >&6
14067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14068 /* end confdefs.h. */
14070 #define __stdcall __attribute__((__stdcall__))
14072 int __stdcall ac_test(int i) { return i; }
14076 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14081 if ac_fn_c_try_link
"$LINENO"; then :
14082 ac_cv_c_stdcall_suffix
="yes"
14084 ac_cv_c_stdcall_suffix
="no"
14086 rm -f core conftest.err conftest.
$ac_objext \
14087 conftest
$ac_exeext conftest.
$ac_ext
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14090 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14091 *) ac_cv_c_stdcall_suffix
="no" ;;
14095 if test "$ac_cv_c_extern_prefix" = "yes"
14097 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14099 asm_name_prefix
="_"
14101 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14107 if test "$ac_cv_c_stdcall_suffix" = "yes"
14109 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14112 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14118 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14119 if ${ac_cv_asm_func_def+:} false
; then :
14120 $as_echo_n "(cached) " >&6
14122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14123 /* end confdefs.h. */
14128 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14133 if ac_fn_c_try_link
"$LINENO"; then :
14134 ac_cv_asm_func_def
=".def"
14136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14137 /* end confdefs.h. */
14142 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14147 if ac_fn_c_try_link
"$LINENO"; then :
14148 ac_cv_asm_func_def
=".type @function"
14150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14151 /* end confdefs.h. */
14156 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14161 if ac_fn_c_try_link
"$LINENO"; then :
14162 ac_cv_asm_func_def
=".type 2"
14164 ac_cv_asm_func_def
="unknown"
14166 rm -f core conftest.err conftest.
$ac_objext \
14167 conftest
$ac_exeext conftest.
$ac_ext
14169 rm -f core conftest.err conftest.
$ac_objext \
14170 conftest
$ac_exeext conftest.
$ac_ext
14172 rm -f core conftest.err conftest.
$ac_objext \
14173 conftest
$ac_exeext conftest.
$ac_ext
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14176 $as_echo "$ac_cv_asm_func_def" >&6; }
14179 case "$ac_cv_asm_func_def" in
14181 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14183 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14185 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14187 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14189 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14191 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14193 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14195 asm_func_header
="" ;;
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14199 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14200 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14201 $as_echo_n "(cached) " >&6
14203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14204 /* end confdefs.h. */
14205 asm(".text\n\t.long 0");
14214 if ac_fn_c_try_compile
"$LINENO"; then :
14215 ac_cv_c_asm_outside_funcs
="yes"
14217 ac_cv_c_asm_outside_funcs
="no"
14219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14222 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14225 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14226 if ${ac_cv_c_dot_previous+:} false
; then :
14227 $as_echo_n "(cached) " >&6
14229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14230 /* end confdefs.h. */
14235 asm(".text\nac_test:\t.long 0\n\t.previous");
14240 if ac_fn_c_try_link
"$LINENO"; then :
14241 ac_cv_c_dot_previous
="yes"
14243 ac_cv_c_dot_previous
="no"
14245 rm -f core conftest.err conftest.
$ac_objext \
14246 conftest
$ac_exeext conftest.
$ac_ext
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14249 $as_echo "$ac_cv_c_dot_previous" >&6; }
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14252 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14253 if ${ac_cv_c_cfi_support+:} false
; then :
14254 $as_echo_n "(cached) " >&6
14256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14257 /* end confdefs.h. */
14258 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14267 if ac_fn_c_try_compile
"$LINENO"; then :
14268 ac_cv_c_cfi_support
="yes"
14270 ac_cv_c_cfi_support
="no"
14272 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14275 $as_echo "$ac_cv_c_cfi_support" >&6; }
14277 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14278 asm_func_trailer
=""
14279 if test "$ac_cv_c_dot_previous" = "yes"
14281 asm_func_trailer
="\\n\\t.previous"
14283 if test "$ac_cv_c_cfi_support" = "yes"
14285 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14286 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14288 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14290 UNWINDFLAGS
=-fasynchronous-unwind-tables
14293 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14297 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14300 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14302 cat >>confdefs.h
<<_ACEOF
14303 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14307 cat >>confdefs.h
<<_ACEOF
14308 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14313 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14316 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14321 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14328 *i
[3456789]86*|x86_64
*)
14329 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14330 loader_programs
="$loader_programs $wine_binary-preloader"
14331 as_fn_append LOADER_RULES
"
14332 $wine_binary-preloader: preloader.o
14333 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14335 install install-lib:: $wine_binary-preloader
14336 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14339 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14341 preloader_EXTRADEFS = $BUILTINFLAG
14346 as_fn_append LOADER_RULES
"
14347 PROGRAMS = $loader_programs
14351 ac_save_CFLAGS
="$CFLAGS"
14352 CFLAGS
="$CFLAGS $BUILTINFLAG"
14429 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14430 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14431 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14432 cat >>confdefs.h
<<_ACEOF
14433 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14439 CFLAGS
="$ac_save_CFLAGS"
14441 if test "$ac_cv_func_dlopen" = no
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14444 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14445 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14446 $as_echo_n "(cached) " >&6
14448 ac_check_lib_save_LIBS
=$LIBS
14450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14451 /* end confdefs.h. */
14453 /* Override any GCC internal prototype to avoid an error.
14454 Use char because int might match the return type of a GCC
14455 builtin and then its argument prototype would still apply. */
14468 if ac_fn_c_try_link
"$LINENO"; then :
14469 ac_cv_lib_dl_dlopen
=yes
14471 ac_cv_lib_dl_dlopen
=no
14473 rm -f core conftest.err conftest.
$ac_objext \
14474 conftest
$ac_exeext conftest.
$ac_ext
14475 LIBS
=$ac_check_lib_save_LIBS
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14478 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14479 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14480 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14486 ac_wine_check_funcs_save_LIBS
="$LIBS"
14487 LIBS
="$LIBS $LIBDL"
14488 for ac_func
in dladdr
14490 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14491 if test "x$ac_cv_func_dladdr" = xyes
; then :
14492 cat >>confdefs.h
<<_ACEOF
14493 #define HAVE_DLADDR 1
14499 LIBS
="$ac_wine_check_funcs_save_LIBS"
14501 if test "$ac_cv_func_poll" = no
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14504 $as_echo_n "checking for poll in -lpoll... " >&6; }
14505 if ${ac_cv_lib_poll_poll+:} false
; then :
14506 $as_echo_n "(cached) " >&6
14508 ac_check_lib_save_LIBS
=$LIBS
14509 LIBS
="-lpoll $LIBS"
14510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14511 /* end confdefs.h. */
14513 /* Override any GCC internal prototype to avoid an error.
14514 Use char because int might match the return type of a GCC
14515 builtin and then its argument prototype would still apply. */
14528 if ac_fn_c_try_link
"$LINENO"; then :
14529 ac_cv_lib_poll_poll
=yes
14531 ac_cv_lib_poll_poll
=no
14533 rm -f core conftest.err conftest.
$ac_objext \
14534 conftest
$ac_exeext conftest.
$ac_ext
14535 LIBS
=$ac_check_lib_save_LIBS
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14538 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14539 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14540 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14548 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14549 if ${ac_cv_search_gethostbyname+:} false
; then :
14550 $as_echo_n "(cached) " >&6
14552 ac_func_search_save_LIBS
=$LIBS
14553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14554 /* end confdefs.h. */
14556 /* Override any GCC internal prototype to avoid an error.
14557 Use char because int might match the return type of a GCC
14558 builtin and then its argument prototype would still apply. */
14562 char gethostbyname ();
14566 return gethostbyname ();
14571 for ac_lib
in '' nsl
; do
14572 if test -z "$ac_lib"; then
14573 ac_res
="none required"
14576 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14578 if ac_fn_c_try_link
"$LINENO"; then :
14579 ac_cv_search_gethostbyname
=$ac_res
14581 rm -f core conftest.err conftest.
$ac_objext \
14583 if ${ac_cv_search_gethostbyname+:} false
; then :
14587 if ${ac_cv_search_gethostbyname+:} false
; then :
14590 ac_cv_search_gethostbyname
=no
14592 rm conftest.
$ac_ext
14593 LIBS
=$ac_func_search_save_LIBS
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14596 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14597 ac_res
=$ac_cv_search_gethostbyname
14598 if test "$ac_res" != no
; then :
14599 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14605 $as_echo_n "checking for library containing connect... " >&6; }
14606 if ${ac_cv_search_connect+:} false
; then :
14607 $as_echo_n "(cached) " >&6
14609 ac_func_search_save_LIBS
=$LIBS
14610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14611 /* end confdefs.h. */
14613 /* Override any GCC internal prototype to avoid an error.
14614 Use char because int might match the return type of a GCC
14615 builtin and then its argument prototype would still apply. */
14628 for ac_lib
in '' socket
; do
14629 if test -z "$ac_lib"; then
14630 ac_res
="none required"
14633 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14635 if ac_fn_c_try_link
"$LINENO"; then :
14636 ac_cv_search_connect
=$ac_res
14638 rm -f core conftest.err conftest.
$ac_objext \
14640 if ${ac_cv_search_connect+:} false
; then :
14644 if ${ac_cv_search_connect+:} false
; then :
14647 ac_cv_search_connect
=no
14649 rm conftest.
$ac_ext
14650 LIBS
=$ac_func_search_save_LIBS
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14653 $as_echo "$ac_cv_search_connect" >&6; }
14654 ac_res
=$ac_cv_search_connect
14655 if test "$ac_res" != no
; then :
14656 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14662 $as_echo_n "checking for library containing inet_aton... " >&6; }
14663 if ${ac_cv_search_inet_aton+:} false
; then :
14664 $as_echo_n "(cached) " >&6
14666 ac_func_search_save_LIBS
=$LIBS
14667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14668 /* end confdefs.h. */
14670 /* Override any GCC internal prototype to avoid an error.
14671 Use char because int might match the return type of a GCC
14672 builtin and then its argument prototype would still apply. */
14680 return inet_aton ();
14685 for ac_lib
in '' resolv
; do
14686 if test -z "$ac_lib"; then
14687 ac_res
="none required"
14690 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14692 if ac_fn_c_try_link
"$LINENO"; then :
14693 ac_cv_search_inet_aton
=$ac_res
14695 rm -f core conftest.err conftest.
$ac_objext \
14697 if ${ac_cv_search_inet_aton+:} false
; then :
14701 if ${ac_cv_search_inet_aton+:} false
; then :
14704 ac_cv_search_inet_aton
=no
14706 rm conftest.
$ac_ext
14707 LIBS
=$ac_func_search_save_LIBS
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14710 $as_echo "$ac_cv_search_inet_aton" >&6; }
14711 ac_res
=$ac_cv_search_inet_aton
14712 if test "$ac_res" != no
; then :
14713 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14733 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14734 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14735 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14736 cat >>confdefs.h
<<_ACEOF
14737 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14746 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14747 if ${ac_cv_search_clock_gettime+:} false
; then :
14748 $as_echo_n "(cached) " >&6
14750 ac_func_search_save_LIBS
=$LIBS
14751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14752 /* end confdefs.h. */
14754 /* Override any GCC internal prototype to avoid an error.
14755 Use char because int might match the return type of a GCC
14756 builtin and then its argument prototype would still apply. */
14760 char clock_gettime ();
14764 return clock_gettime ();
14769 for ac_lib
in '' rt
; do
14770 if test -z "$ac_lib"; then
14771 ac_res
="none required"
14774 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14776 if ac_fn_c_try_link
"$LINENO"; then :
14777 ac_cv_search_clock_gettime
=$ac_res
14779 rm -f core conftest.err conftest.
$ac_objext \
14781 if ${ac_cv_search_clock_gettime+:} false
; then :
14785 if ${ac_cv_search_clock_gettime+:} false
; then :
14788 ac_cv_search_clock_gettime
=no
14790 rm conftest.
$ac_ext
14791 LIBS
=$ac_func_search_save_LIBS
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14794 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14795 ac_res
=$ac_cv_search_clock_gettime
14796 if test "$ac_res" != no
; then :
14797 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14799 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14801 test "$ac_res" = "none required" || LIBRT
="$ac_res"
14809 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14811 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14813 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14815 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14816 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
14817 $as_echo_n "(cached) " >&6
14819 ac_check_lib_save_LIBS
=$LIBS
14820 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
14821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14822 /* end confdefs.h. */
14824 /* Override any GCC internal prototype to avoid an error.
14825 Use char because int might match the return type of a GCC
14826 builtin and then its argument prototype would still apply. */
14830 char ldap_initialize ();
14834 return ldap_initialize ();
14839 if ac_fn_c_try_link
"$LINENO"; then :
14840 ac_cv_lib_ldap_r_ldap_initialize
=yes
14842 ac_cv_lib_ldap_r_ldap_initialize
=no
14844 rm -f core conftest.err conftest.
$ac_objext \
14845 conftest
$ac_exeext conftest.
$ac_ext
14846 LIBS
=$ac_check_lib_save_LIBS
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14849 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14850 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14852 $as_echo_n "checking for ber_init in -llber... " >&6; }
14853 if ${ac_cv_lib_lber_ber_init+:} false
; then :
14854 $as_echo_n "(cached) " >&6
14856 ac_check_lib_save_LIBS
=$LIBS
14857 LIBS
="-llber $LIBPTHREAD $LIBS"
14858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14859 /* end confdefs.h. */
14861 /* Override any GCC internal prototype to avoid an error.
14862 Use char because int might match the return type of a GCC
14863 builtin and then its argument prototype would still apply. */
14871 return ber_init ();
14876 if ac_fn_c_try_link
"$LINENO"; then :
14877 ac_cv_lib_lber_ber_init
=yes
14879 ac_cv_lib_lber_ber_init
=no
14881 rm -f core conftest.err conftest.
$ac_objext \
14882 conftest
$ac_exeext conftest.
$ac_ext
14883 LIBS
=$ac_check_lib_save_LIBS
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14886 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14887 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
14889 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14891 LDAPLIBS
="-lldap_r -llber"
14898 ac_wine_check_funcs_save_LIBS
="$LIBS"
14899 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
14901 ldap_count_references \
14902 ldap_first_reference \
14903 ldap_next_reference \
14904 ldap_parse_reference \
14905 ldap_parse_sort_control \
14906 ldap_parse_sortresponse_control \
14907 ldap_parse_vlv_control \
14908 ldap_parse_vlvresponse_control
14910 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14911 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14912 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14913 cat >>confdefs.h
<<_ACEOF
14914 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14920 LIBS
="$ac_wine_check_funcs_save_LIBS"
14922 if test "x$LDAPLIBS" = "x"; then :
14923 case "x$with_ldap" in
14924 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14926 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14927 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14932 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14933 if ${wine_cv_one_arg_mkdir+:} false
; then :
14934 $as_echo_n "(cached) " >&6
14936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14937 /* end confdefs.h. */
14938 #include <sys/stat.h>
14947 if ac_fn_c_try_compile
"$LINENO"; then :
14948 wine_cv_one_arg_mkdir
=yes
14950 wine_cv_one_arg_mkdir
=no
14952 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14955 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14956 if test "$wine_cv_one_arg_mkdir" = "yes"
14959 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
14964 $as_echo_n "checking for sched_setaffinity... " >&6; }
14965 if ${wine_cv_have_sched_setaffinity+:} false
; then :
14966 $as_echo_n "(cached) " >&6
14968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14969 /* end confdefs.h. */
14970 #define _GNU_SOURCE
14975 sched_setaffinity(0, 0, 0);
14980 if ac_fn_c_try_link
"$LINENO"; then :
14981 wine_cv_have_sched_setaffinity
=yes
14983 wine_cv_have_sched_setaffinity
=no
14985 rm -f core conftest.err conftest.
$ac_objext \
14986 conftest
$ac_exeext conftest.
$ac_ext
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
14989 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
14990 if test "$wine_cv_have_sched_setaffinity" = "yes"
14993 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
14998 $as_echo_n "checking for fallocate... " >&6; }
14999 if ${wine_cv_have_fallocate+:} false
; then :
15000 $as_echo_n "(cached) " >&6
15002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15003 /* end confdefs.h. */
15004 #define _GNU_SOURCE
15009 fallocate(-1, 0, 0, 0);
15014 if ac_fn_c_try_link
"$LINENO"; then :
15015 wine_cv_have_fallocate
=yes
15017 wine_cv_have_fallocate
=no
15019 rm -f core conftest.err conftest.
$ac_objext \
15020 conftest
$ac_exeext conftest.
$ac_ext
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15023 $as_echo "$wine_cv_have_fallocate" >&6; }
15024 if test "$wine_cv_have_fallocate" = "yes"
15027 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15033 $as_echo_n "checking for inline... " >&6; }
15034 if ${ac_cv_c_inline+:} false
; then :
15035 $as_echo_n "(cached) " >&6
15038 for ac_kw
in inline __inline__ __inline
; do
15039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15040 /* end confdefs.h. */
15041 #ifndef __cplusplus
15043 static $ac_kw foo_t static_foo () {return 0; }
15044 $ac_kw foo_t foo () {return 0; }
15048 if ac_fn_c_try_compile
"$LINENO"; then :
15049 ac_cv_c_inline
=$ac_kw
15051 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15052 test "$ac_cv_c_inline" != no
&& break
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15057 $as_echo "$ac_cv_c_inline" >&6; }
15059 case $ac_cv_c_inline in
15062 case $ac_cv_c_inline in
15064 *) ac_val
=$ac_cv_c_inline;;
15066 cat >>confdefs.h
<<_ACEOF
15067 #ifndef __cplusplus
15068 #define inline $ac_val
15074 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15075 if test "x$ac_cv_type_mode_t" = xyes
; then :
15077 cat >>confdefs.h
<<_ACEOF
15078 #define HAVE_MODE_T 1
15083 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15084 if test "x$ac_cv_type_off_t" = xyes
; then :
15086 cat >>confdefs.h
<<_ACEOF
15087 #define HAVE_OFF_T 1
15092 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15093 if test "x$ac_cv_type_pid_t" = xyes
; then :
15095 cat >>confdefs.h
<<_ACEOF
15096 #define HAVE_PID_T 1
15101 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15102 if test "x$ac_cv_type_size_t" = xyes
; then :
15104 cat >>confdefs.h
<<_ACEOF
15105 #define HAVE_SIZE_T 1
15110 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15111 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15113 cat >>confdefs.h
<<_ACEOF
15114 #define HAVE_SSIZE_T 1
15119 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15120 if test "x$ac_cv_type_long_long" = xyes
; then :
15122 cat >>confdefs.h
<<_ACEOF
15123 #define HAVE_LONG_LONG 1
15128 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15129 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15131 cat >>confdefs.h
<<_ACEOF
15132 #define HAVE_FSBLKCNT_T 1
15137 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15138 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15140 cat >>confdefs.h
<<_ACEOF
15141 #define HAVE_FSFILCNT_T 1
15147 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15148 #include <signal.h>
15150 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15152 cat >>confdefs.h
<<_ACEOF
15153 #define HAVE_SIGSET_T 1
15159 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15161 if test "x$ac_cv_type_request_sense" = xyes
; then :
15163 cat >>confdefs.h
<<_ACEOF
15164 #define HAVE_REQUEST_SENSE 1
15171 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15172 #ifdef HAVE_SYS_SOCKET_H
15173 #include <sys/socket.h>
15175 #ifdef HAVE_SYS_SOCKETVAR_H
15176 #include <sys/socketvar.h>
15178 #ifdef HAVE_NET_ROUTE_H
15179 #include <net/route.h>
15181 #ifdef HAVE_NETINET_IN_H
15182 #include <netinet/in.h>
15184 #ifdef HAVE_NETINET_IN_SYSTM_H
15185 #include <netinet/in_systm.h>
15187 #ifdef HAVE_NETINET_IP_H
15188 #include <netinet/ip.h>
15190 #ifdef HAVE_NETINET_IN_PCB_H
15191 #include <netinet/in_pcb.h>
15194 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15196 cat >>confdefs.h
<<_ACEOF
15197 #define HAVE_STRUCT_XINPGEN 1
15204 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15207 #ifdef HAVE_SYS_LINK_H
15208 #include <sys/link.h>
15211 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15213 cat >>confdefs.h
<<_ACEOF
15214 #define HAVE_STRUCT_R_DEBUG 1
15219 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15222 #ifdef HAVE_SYS_LINK_H
15223 #include <sys/link.h>
15226 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15228 cat >>confdefs.h
<<_ACEOF
15229 #define HAVE_STRUCT_LINK_MAP 1
15236 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15237 #include <linux/input.h>
15240 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15242 cat >>confdefs.h
<<_ACEOF
15243 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15251 $as_echo_n "checking for sigaddset... " >&6; }
15252 if ${wine_cv_have_sigaddset+:} false
; then :
15253 $as_echo_n "(cached) " >&6
15255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15256 /* end confdefs.h. */
15257 #include <signal.h>
15261 sigset_t set; sigaddset(&set,SIGTERM);
15266 if ac_fn_c_try_link
"$LINENO"; then :
15267 wine_cv_have_sigaddset
=yes
15269 wine_cv_have_sigaddset
=no
15271 rm -f core conftest.err conftest.
$ac_objext \
15272 conftest
$ac_exeext conftest.
$ac_ext
15274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15275 $as_echo "$wine_cv_have_sigaddset" >&6; }
15276 if test "$wine_cv_have_sigaddset" = "yes"
15279 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15285 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15286 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15287 $as_echo_n "(cached) " >&6
15289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15290 /* end confdefs.h. */
15298 struct hostent *result;
15305 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15306 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15312 if ac_fn_c_try_link
"$LINENO"; then :
15313 wine_cv_linux_gethostbyname_r_6
=yes
15315 wine_cv_linux_gethostbyname_r_6
=no
15318 rm -f core conftest.err conftest.
$ac_objext \
15319 conftest
$ac_exeext conftest.
$ac_ext
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15323 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15324 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15327 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15331 if test "$ac_cv_header_linux_joystick_h" = "yes"
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15334 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15335 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15336 $as_echo_n "(cached) " >&6
15338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15339 /* end confdefs.h. */
15341 #include <sys/ioctl.h>
15342 #include <sys/types.h>
15343 #include <linux/joystick.h>
15345 struct js_event blub;
15346 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15347 #error "no 2.2 header"
15358 if ac_fn_c_try_compile
"$LINENO"; then :
15359 wine_cv_linux_joystick_22_api
=yes
15361 wine_cv_linux_joystick_22_api
=no
15363 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15367 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15368 if test "$wine_cv_linux_joystick_22_api" = "yes"
15371 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15377 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15378 #ifdef HAVE_SYS_PARAM_H
15379 # include <sys/param.h>
15381 #ifdef HAVE_SYS_MOUNT_H
15382 # include <sys/mount.h>
15384 #ifdef HAVE_SYS_VFS_H
15385 # include <sys/vfs.h>
15387 #ifdef HAVE_SYS_STATFS_H
15388 # include <sys/statfs.h>
15391 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15393 cat >>confdefs.h
<<_ACEOF
15394 #define HAVE_STRUCT_STATFS_F_BFREE 1
15399 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15400 #ifdef HAVE_SYS_PARAM_H
15401 # include <sys/param.h>
15403 #ifdef HAVE_SYS_MOUNT_H
15404 # include <sys/mount.h>
15406 #ifdef HAVE_SYS_VFS_H
15407 # include <sys/vfs.h>
15409 #ifdef HAVE_SYS_STATFS_H
15410 # include <sys/statfs.h>
15413 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15415 cat >>confdefs.h
<<_ACEOF
15416 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15421 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15422 #ifdef HAVE_SYS_PARAM_H
15423 # include <sys/param.h>
15425 #ifdef HAVE_SYS_MOUNT_H
15426 # include <sys/mount.h>
15428 #ifdef HAVE_SYS_VFS_H
15429 # include <sys/vfs.h>
15431 #ifdef HAVE_SYS_STATFS_H
15432 # include <sys/statfs.h>
15435 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15437 cat >>confdefs.h
<<_ACEOF
15438 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15443 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15444 #ifdef HAVE_SYS_PARAM_H
15445 # include <sys/param.h>
15447 #ifdef HAVE_SYS_MOUNT_H
15448 # include <sys/mount.h>
15450 #ifdef HAVE_SYS_VFS_H
15451 # include <sys/vfs.h>
15453 #ifdef HAVE_SYS_STATFS_H
15454 # include <sys/statfs.h>
15457 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15459 cat >>confdefs.h
<<_ACEOF
15460 #define HAVE_STRUCT_STATFS_F_FFREE 1
15465 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15466 #ifdef HAVE_SYS_PARAM_H
15467 # include <sys/param.h>
15469 #ifdef HAVE_SYS_MOUNT_H
15470 # include <sys/mount.h>
15472 #ifdef HAVE_SYS_VFS_H
15473 # include <sys/vfs.h>
15475 #ifdef HAVE_SYS_STATFS_H
15476 # include <sys/statfs.h>
15479 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15481 cat >>confdefs.h
<<_ACEOF
15482 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15487 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15488 #ifdef HAVE_SYS_PARAM_H
15489 # include <sys/param.h>
15491 #ifdef HAVE_SYS_MOUNT_H
15492 # include <sys/mount.h>
15494 #ifdef HAVE_SYS_VFS_H
15495 # include <sys/vfs.h>
15497 #ifdef HAVE_SYS_STATFS_H
15498 # include <sys/statfs.h>
15501 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15503 cat >>confdefs.h
<<_ACEOF
15504 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15511 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15512 #include <sys/statvfs.h>
15515 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15517 cat >>confdefs.h
<<_ACEOF
15518 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15525 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15526 #include <dirent.h>
15529 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15531 cat >>confdefs.h
<<_ACEOF
15532 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15539 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15540 #ifdef HAVE_SYS_SOCKET_H
15541 # include <sys/socket.h>
15543 #ifdef HAVE_SYS_UN_H
15544 # include <sys/un.h>
15547 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15549 cat >>confdefs.h
<<_ACEOF
15550 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15555 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15556 #ifdef HAVE_SYS_SOCKET_H
15557 # include <sys/socket.h>
15559 #ifdef HAVE_SYS_UN_H
15560 # include <sys/un.h>
15563 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15565 cat >>confdefs.h
<<_ACEOF
15566 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15571 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15572 #ifdef HAVE_SYS_SOCKET_H
15573 # include <sys/socket.h>
15575 #ifdef HAVE_SYS_UN_H
15576 # include <sys/un.h>
15579 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15581 cat >>confdefs.h
<<_ACEOF
15582 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15589 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15590 #ifdef HAVE_SCSI_SG_H
15591 #include <scsi/sg.h>
15594 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15596 cat >>confdefs.h
<<_ACEOF
15597 #define HAVE_SCSIREQ_T_CMD 1
15602 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>
15603 #ifdef HAVE_SCSI_SG_H
15604 #include <scsi/sg.h>
15607 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15609 cat >>confdefs.h
<<_ACEOF
15610 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15617 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15619 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15621 cat >>confdefs.h
<<_ACEOF
15622 #define HAVE_SIGINFO_T_SI_FD 1
15629 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15630 #ifdef HAVE_SYS_MTIO_H
15631 #include <sys/mtio.h>
15634 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15636 cat >>confdefs.h
<<_ACEOF
15637 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15642 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15643 #ifdef HAVE_SYS_MTIO_H
15644 #include <sys/mtio.h>
15647 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15649 cat >>confdefs.h
<<_ACEOF
15650 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15655 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15656 #ifdef HAVE_SYS_MTIO_H
15657 #include <sys/mtio.h>
15660 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15662 cat >>confdefs.h
<<_ACEOF
15663 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15670 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15671 #include <getopt.h>
15674 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15676 cat >>confdefs.h
<<_ACEOF
15677 #define HAVE_STRUCT_OPTION_NAME 1
15684 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15685 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15687 cat >>confdefs.h
<<_ACEOF
15688 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15693 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15694 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15696 cat >>confdefs.h
<<_ACEOF
15697 #define HAVE_STRUCT_STAT_ST_MTIM 1
15702 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15703 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15705 cat >>confdefs.h
<<_ACEOF
15706 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15711 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15712 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15714 cat >>confdefs.h
<<_ACEOF
15715 #define HAVE_STRUCT_STAT_ST_CTIM 1
15720 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15721 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15723 cat >>confdefs.h
<<_ACEOF
15724 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15729 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15730 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15732 cat >>confdefs.h
<<_ACEOF
15733 #define HAVE_STRUCT_STAT_ST_ATIM 1
15738 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15739 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15741 cat >>confdefs.h
<<_ACEOF
15742 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15747 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15748 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15750 cat >>confdefs.h
<<_ACEOF
15751 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15756 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15757 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15759 cat >>confdefs.h
<<_ACEOF
15760 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15765 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15766 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15768 cat >>confdefs.h
<<_ACEOF
15769 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15774 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15775 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15777 cat >>confdefs.h
<<_ACEOF
15778 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15783 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15784 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15786 cat >>confdefs.h
<<_ACEOF
15787 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15794 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
15795 #include <sys/types.h>
15797 #ifdef HAVE_NETINET_IN_H
15798 #include <netinet/in.h>
15801 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15803 cat >>confdefs.h
<<_ACEOF
15804 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15811 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15812 #include <resolv.h>
15815 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
15817 cat >>confdefs.h
<<_ACEOF
15818 #define HAVE_STRUCT___RES_STATE 1
15825 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
15826 #include <resolv.h>
15829 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
15831 cat >>confdefs.h
<<_ACEOF
15832 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15839 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15840 #include <sys/types.h>
15842 #ifdef HAVE_NETINET_IN_H
15843 # include <netinet/in.h>
15845 #ifdef HAVE_ARPA_NAMESER_H
15846 # include <arpa/nameser.h>
15849 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
15851 cat >>confdefs.h
<<_ACEOF
15852 #define HAVE_NS_MSG__MSG_PTR 1
15859 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15860 #include <sys/types.h>
15862 #ifdef HAVE_NETINET_IP_H
15863 #include <netinet/ip.h>
15865 #ifdef HAVE_NETINET_IP_ICMP_H
15866 #include <netinet/ip_icmp.h>
15868 #ifdef HAVE_NETINET_ICMP_VAR_H
15869 #include <netinet/icmp_var.h>
15872 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
15874 cat >>confdefs.h
<<_ACEOF
15875 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15882 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15883 #include <sys/types.h>
15885 #ifdef HAVE_ALIAS_H
15888 #ifdef HAVE_SYS_SOCKET_H
15889 #include <sys/socket.h>
15891 #ifdef HAVE_SYS_SOCKETVAR_H
15892 #include <sys/socketvar.h>
15894 #ifdef HAVE_SYS_TIMEOUT_H
15895 #include <sys/timeout.h>
15897 #ifdef HAVE_NETINET_IN_H
15898 #include <netinet/in.h>
15900 #ifdef HAVE_NETINET_IN_SYSTM_H
15901 #include <netinet/in_systm.h>
15903 #ifdef HAVE_NETINET_IP_H
15904 #include <netinet/ip.h>
15906 #ifdef HAVE_NETINET_IP_VAR_H
15907 #include <netinet/ip_var.h>
15909 #ifdef HAVE_NETINET_IP_ICMP_H
15910 #include <netinet/ip_icmp.h>
15912 #ifdef HAVE_NETINET_ICMP_VAR_H
15913 #include <netinet/icmp_var.h>
15916 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
15918 cat >>confdefs.h
<<_ACEOF
15919 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15926 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15927 #include <sys/types.h>
15929 #ifdef HAVE_SYS_SOCKETVAR_H
15930 #include <sys/socketvar.h>
15932 #ifdef HAVE_NETINET_IN_H
15933 #include <netinet/in.h>
15935 #ifdef HAVE_NETINET_IP_VAR_H
15936 #include <netinet/ip_var.h>
15939 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
15941 cat >>confdefs.h
<<_ACEOF
15942 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15949 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
15950 #include <netinet/ip_var.h>
15953 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
15955 cat >>confdefs.h
<<_ACEOF
15956 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15963 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
15964 #include <sys/types.h>
15966 #ifdef HAVE_SYS_SOCKETVAR_H
15967 #include <sys/socketvar.h>
15969 #ifdef HAVE_NETINET_IN_H
15970 #include <netinet/in.h>
15972 #ifdef HAVE_NETINET_TCP_H
15973 #include <netinet/tcp.h>
15975 #ifdef HAVE_NETINET_TCP_VAR_H
15976 #include <netinet/tcp_var.h>
15979 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
15981 cat >>confdefs.h
<<_ACEOF
15982 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
15989 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
15990 #include <netinet/tcp_var.h>
15993 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
15995 cat >>confdefs.h
<<_ACEOF
15996 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16003 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16004 #include <sys/types.h>
16006 #ifdef HAVE_NETINET_IN_H
16007 #include <netinet/in.h>
16009 #ifdef HAVE_NETINET_IP_VAR_H
16010 #include <netinet/ip_var.h>
16012 #ifdef HAVE_NETINET_UDP_H
16013 #include <netinet/udp.h>
16015 #ifdef HAVE_NETINET_UDP_VAR_H
16016 #include <netinet/udp_var.h>
16019 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16021 cat >>confdefs.h
<<_ACEOF
16022 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16029 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16030 #include <sys/types.h>
16032 #ifdef HAVE_NET_IF_H
16033 # include <net/if.h>
16036 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16038 cat >>confdefs.h
<<_ACEOF
16039 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16047 $as_echo_n "checking for timezone variable... " >&6; }
16048 if ${ac_cv_have_timezone+:} false
; then :
16049 $as_echo_n "(cached) " >&6
16051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16052 /* end confdefs.h. */
16062 if ac_fn_c_try_link
"$LINENO"; then :
16063 ac_cv_have_timezone
="yes"
16065 ac_cv_have_timezone
="no"
16067 rm -f core conftest.err conftest.
$ac_objext \
16068 conftest
$ac_exeext conftest.
$ac_ext
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16071 $as_echo "$ac_cv_have_timezone" >&6; }
16072 if test "$ac_cv_have_timezone" = "yes"
16075 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16079 $as_echo_n "checking for daylight variable... " >&6; }
16080 if ${ac_cv_have_daylight+:} false
; then :
16081 $as_echo_n "(cached) " >&6
16083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16084 /* end confdefs.h. */
16094 if ac_fn_c_try_link
"$LINENO"; then :
16095 ac_cv_have_daylight
="yes"
16097 ac_cv_have_daylight
="no"
16099 rm -f core conftest.err conftest.
$ac_objext \
16100 conftest
$ac_exeext conftest.
$ac_ext
16102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16103 $as_echo "$ac_cv_have_daylight" >&6; }
16104 if test "$ac_cv_have_daylight" = "yes"
16107 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16111 ac_save_LIBS
="$LIBS"
16113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16114 $as_echo_n "checking for isfinite... " >&6; }
16115 if ${ac_cv_have_isfinite+:} false
; then :
16116 $as_echo_n "(cached) " >&6
16118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16119 /* end confdefs.h. */
16120 #define _GNU_SOURCE
16125 float f = 0.0; return isfinite(f)
16130 if ac_fn_c_try_link
"$LINENO"; then :
16131 ac_cv_have_isfinite
="yes"
16133 ac_cv_have_isfinite
="no"
16135 rm -f core conftest.err conftest.
$ac_objext \
16136 conftest
$ac_exeext conftest.
$ac_ext
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16139 $as_echo "$ac_cv_have_isfinite" >&6; }
16140 if test "$ac_cv_have_isfinite" = "yes"
16143 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16147 ac_save_LIBS
="$LIBS"
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16150 $as_echo_n "checking for isinf... " >&6; }
16151 if ${ac_cv_have_isinf+:} false
; then :
16152 $as_echo_n "(cached) " >&6
16154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16155 /* end confdefs.h. */
16160 float f = 0.0; return isinf(f)
16165 if ac_fn_c_try_link
"$LINENO"; then :
16166 ac_cv_have_isinf
="yes"
16168 ac_cv_have_isinf
="no"
16170 rm -f core conftest.err conftest.
$ac_objext \
16171 conftest
$ac_exeext conftest.
$ac_ext
16173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16174 $as_echo "$ac_cv_have_isinf" >&6; }
16175 if test "$ac_cv_have_isinf" = "yes"
16178 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16183 $as_echo_n "checking for isnan... " >&6; }
16184 if ${ac_cv_have_isnan+:} false
; then :
16185 $as_echo_n "(cached) " >&6
16187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16188 /* end confdefs.h. */
16193 float f = 0.0; return isnan(f)
16198 if ac_fn_c_try_link
"$LINENO"; then :
16199 ac_cv_have_isnan
="yes"
16201 ac_cv_have_isnan
="no"
16203 rm -f core conftest.err conftest.
$ac_objext \
16204 conftest
$ac_exeext conftest.
$ac_ext
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16207 $as_echo "$ac_cv_have_isnan" >&6; }
16208 if test "$ac_cv_have_isnan" = "yes"
16211 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16214 LIBS
="$ac_save_LIBS"
16218 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16219 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16220 if ${ac_cv_cpp_def___i386__+:} false
; then :
16221 $as_echo_n "(cached) " >&6
16223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16224 /* end confdefs.h. */
16229 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16230 $EGREP "yes" >/dev
/null
2>&1; then :
16231 ac_cv_cpp_def___i386__
=yes
16233 ac_cv_cpp_def___i386__
=no
16238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16239 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16240 if test $ac_cv_cpp_def___i386__ = yes; then :
16241 CFLAGS
="$CFLAGS -D__i386__"
16242 LINTFLAGS
="$LINTFLAGS -D__i386__"
16244 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16245 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16246 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16247 $as_echo_n "(cached) " >&6
16249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16250 /* end confdefs.h. */
16255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16256 $EGREP "yes" >/dev
/null
2>&1; then :
16257 ac_cv_cpp_def___x86_64__
=yes
16259 ac_cv_cpp_def___x86_64__
=no
16264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16265 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16266 if test $ac_cv_cpp_def___x86_64__ = yes; then :
16267 CFLAGS
="$CFLAGS -D__x86_64__"
16268 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16270 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16271 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16272 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16273 $as_echo_n "(cached) " >&6
16275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16276 /* end confdefs.h. */
16277 #ifndef __sparc64__
16281 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16282 $EGREP "yes" >/dev
/null
2>&1; then :
16283 ac_cv_cpp_def___sparc64__
=yes
16285 ac_cv_cpp_def___sparc64__
=no
16290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16291 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16292 if test $ac_cv_cpp_def___sparc64__ = yes; then :
16293 CFLAGS
="$CFLAGS -D__sparc64__"
16294 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16296 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16297 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16298 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16299 $as_echo_n "(cached) " >&6
16301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16302 /* end confdefs.h. */
16307 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16308 $EGREP "yes" >/dev
/null
2>&1; then :
16309 ac_cv_cpp_def___sparc__
=yes
16311 ac_cv_cpp_def___sparc__
=no
16316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16317 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16318 if test $ac_cv_cpp_def___sparc__ = yes; then :
16319 CFLAGS
="$CFLAGS -D__sparc__"
16320 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16322 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16323 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16324 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16325 $as_echo_n "(cached) " >&6
16327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16328 /* end confdefs.h. */
16329 #ifndef __powerpc64__
16333 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16334 $EGREP "yes" >/dev
/null
2>&1; then :
16335 ac_cv_cpp_def___powerpc64__
=yes
16337 ac_cv_cpp_def___powerpc64__
=no
16342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16343 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16344 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
16345 CFLAGS
="$CFLAGS -D__powerpc64__"
16346 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16348 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16349 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16350 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16351 $as_echo_n "(cached) " >&6
16353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16354 /* end confdefs.h. */
16355 #ifndef __powerpc__
16359 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16360 $EGREP "yes" >/dev
/null
2>&1; then :
16361 ac_cv_cpp_def___powerpc__
=yes
16363 ac_cv_cpp_def___powerpc__
=no
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16369 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16370 if test $ac_cv_cpp_def___powerpc__ = yes; then :
16371 CFLAGS
="$CFLAGS -D__powerpc__"
16372 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16374 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16375 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16376 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16377 $as_echo_n "(cached) " >&6
16379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16380 /* end confdefs.h. */
16381 #ifndef __aarch64__
16385 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16386 $EGREP "yes" >/dev
/null
2>&1; then :
16387 ac_cv_cpp_def___aarch64__
=yes
16389 ac_cv_cpp_def___aarch64__
=no
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16395 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16396 if test $ac_cv_cpp_def___aarch64__ = yes; then :
16397 CFLAGS
="$CFLAGS -D__aarch64__"
16398 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16400 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16401 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16402 if ${ac_cv_cpp_def___arm__+:} false
; then :
16403 $as_echo_n "(cached) " >&6
16405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16406 /* end confdefs.h. */
16411 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16412 $EGREP "yes" >/dev
/null
2>&1; then :
16413 ac_cv_cpp_def___arm__
=yes
16415 ac_cv_cpp_def___arm__
=no
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16421 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16422 if test $ac_cv_cpp_def___arm__ = yes; then :
16423 CFLAGS
="$CFLAGS -D__arm__"
16424 LINTFLAGS
="$LINTFLAGS -D__arm__"
16428 case $host_vendor in
16429 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16430 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16431 if ${ac_cv_cpp_def___sun__+:} false
; then :
16432 $as_echo_n "(cached) " >&6
16434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16435 /* end confdefs.h. */
16440 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16441 $EGREP "yes" >/dev
/null
2>&1; then :
16442 ac_cv_cpp_def___sun__
=yes
16444 ac_cv_cpp_def___sun__
=no
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16450 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16451 if test $ac_cv_cpp_def___sun__ = yes; then :
16452 CFLAGS
="$CFLAGS -D__sun__"
16453 LINTFLAGS
="$LINTFLAGS -D__sun__"
16461 ac_config_commands
="$ac_config_commands include/stamp-h"
16463 $as_echo_n "creating Makefile rules..." >&6
16466 wine_fn_append_rule
"
16467 # Rules automatically generated by configure
16469 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16474 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16475 @./config.status Make.tmp Makefile && \$(MAKEDEP) ."
16477 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16478 .gitignore: config.status
16479 @./config.status .gitignore"
16481 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16482 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16484 if test "x$enable_fonts" != xno
; then
16485 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16486 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16487 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16488 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16489 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16491 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16492 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16493 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16494 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16495 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16496 wine_fn_config_symlink wine
16497 if test "x$enable_win64" != xno
; then
16498 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16499 wine_fn_config_symlink wine64
16502 wine_fn_config_dll acledit enable_acledit
16503 wine_fn_config_dll aclui enable_aclui implib
16504 wine_fn_config_dll activeds enable_activeds implib
16505 wine_fn_config_dll actxprxy enable_actxprxy clean
16506 wine_fn_config_lib adsiid
16507 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16508 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16509 wine_fn_config_dll advpack enable_advpack implib
16510 wine_fn_config_test dlls
/advpack
/tests advpack_test
16511 wine_fn_config_dll amstream enable_amstream clean
16512 wine_fn_config_test dlls
/amstream
/tests amstream_test
16513 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16514 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16515 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16516 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16517 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16518 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16519 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16520 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16521 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16522 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16523 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16524 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16525 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16526 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16527 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16528 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16529 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16530 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16531 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16532 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16533 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16534 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16535 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16536 wine_fn_config_dll apphelp enable_apphelp
16537 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16538 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16539 wine_fn_config_dll atl enable_atl clean
,implib
16540 wine_fn_config_test dlls
/atl
/tests atl_test
16541 wine_fn_config_dll atl100 enable_atl100 implib
16542 wine_fn_config_test dlls
/atl100
/tests atl100_test
16543 wine_fn_config_dll atl110 enable_atl110
16544 wine_fn_config_dll atl80 enable_atl80 implib
16545 wine_fn_config_test dlls
/atl80
/tests atl80_test
16546 wine_fn_config_dll atl90 enable_atl90
16547 wine_fn_config_dll authz enable_authz
16548 wine_fn_config_dll avicap32 enable_avicap32 implib
16549 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16550 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16551 wine_fn_config_dll avifile.dll16 enable_win16
16552 wine_fn_config_dll avrt enable_avrt implib
16553 wine_fn_config_dll bcrypt enable_bcrypt
16554 wine_fn_config_dll browseui enable_browseui clean
,po
16555 wine_fn_config_test dlls
/browseui
/tests browseui_test
16556 wine_fn_config_dll cabinet enable_cabinet implib
16557 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16558 wine_fn_config_dll capi2032 enable_capi2032 implib
16559 wine_fn_config_dll cards enable_cards implib
16560 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16561 wine_fn_config_dll clusapi enable_clusapi implib
16562 wine_fn_config_dll comcat enable_comcat
16563 wine_fn_config_test dlls
/comcat
/tests comcat_test
16564 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16565 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16566 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16567 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16568 wine_fn_config_dll
comm.drv16 enable_win16
16569 wine_fn_config_dll commdlg.dll16 enable_win16
16570 wine_fn_config_dll compobj.dll16 enable_win16
16571 wine_fn_config_dll compstui enable_compstui implib
16572 wine_fn_config_dll comsvcs enable_comsvcs implib
16573 wine_fn_config_dll credui enable_credui implib
,po
16574 wine_fn_config_test dlls
/credui
/tests credui_test
16575 wine_fn_config_dll crtdll enable_crtdll implib
16576 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16577 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16578 wine_fn_config_dll cryptdlg enable_cryptdlg po
16579 wine_fn_config_dll cryptdll enable_cryptdll implib
16580 wine_fn_config_dll cryptnet enable_cryptnet implib
16581 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16582 wine_fn_config_dll cryptui enable_cryptui implib
,po
16583 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16584 wine_fn_config_dll ctapi32 enable_ctapi32
16585 wine_fn_config_dll ctl3d.dll16 enable_win16
16586 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16587 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16588 wine_fn_config_dll d3d10 enable_d3d10 implib
16589 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16590 wine_fn_config_dll d3d10core enable_d3d10core implib
16591 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16592 wine_fn_config_dll d3d11 enable_d3d11
16593 wine_fn_config_dll d3d8 enable_d3d8 implib
16594 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16595 wine_fn_config_dll d3d9 enable_d3d9 implib
16596 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16597 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16598 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16599 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16600 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16601 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16602 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16603 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16604 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16605 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16606 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16607 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16608 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16609 wine_fn_config_dll d3dim enable_d3dim implib
16610 wine_fn_config_dll d3drm enable_d3drm implib
16611 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16612 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16613 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16614 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16615 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16616 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16617 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16618 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16619 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16620 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16621 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16622 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16623 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16624 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16625 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16626 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16627 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16628 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16629 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16630 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16631 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16632 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16633 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16634 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16635 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16636 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16637 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16638 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16639 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16640 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16641 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16642 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16643 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16644 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16645 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16646 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16647 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16648 wine_fn_config_dll dbgeng enable_dbgeng implib
16649 wine_fn_config_dll dbghelp enable_dbghelp implib
16650 wine_fn_config_dll dciman32 enable_dciman32 implib
16651 wine_fn_config_dll ddeml.dll16 enable_win16
16652 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16653 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16654 wine_fn_config_dll ddrawex enable_ddrawex clean
16655 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16656 wine_fn_config_dll devenum enable_devenum clean
,po
16657 wine_fn_config_test dlls
/devenum
/tests devenum_test
16658 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16659 wine_fn_config_dll difxapi enable_difxapi
16660 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16661 wine_fn_config_test dlls
/dinput
/tests dinput_test
16662 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16663 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16664 wine_fn_config_dll dispdib.dll16 enable_win16
16665 wine_fn_config_dll dispex enable_dispex clean
16666 wine_fn_config_test dlls
/dispex
/tests dispex_test
16667 wine_fn_config_dll display.drv16 enable_win16
16668 wine_fn_config_dll dmband enable_dmband clean
16669 wine_fn_config_test dlls
/dmband
/tests dmband_test
16670 wine_fn_config_dll dmcompos enable_dmcompos clean
16671 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
16672 wine_fn_config_dll dmime enable_dmime clean
16673 wine_fn_config_test dlls
/dmime
/tests dmime_test
16674 wine_fn_config_dll dmloader enable_dmloader clean
16675 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16676 wine_fn_config_dll dmscript enable_dmscript clean
16677 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
16678 wine_fn_config_dll dmstyle enable_dmstyle clean
16679 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
16680 wine_fn_config_dll dmsynth enable_dmsynth clean
16681 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16682 wine_fn_config_dll dmusic enable_dmusic clean
16683 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16684 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16685 wine_fn_config_dll dnsapi enable_dnsapi implib
16686 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16687 wine_fn_config_dll dplay enable_dplay implib
16688 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16689 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16690 wine_fn_config_dll dpnaddr enable_dpnaddr
16691 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16692 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16693 wine_fn_config_dll dpnhpast enable_dpnhpast
16694 wine_fn_config_dll dpnlobby enable_dpnlobby
16695 wine_fn_config_dll dpwsockx enable_dpwsockx
16696 wine_fn_config_dll drmclien enable_drmclien
16697 wine_fn_config_dll dsound enable_dsound clean
,implib
16698 wine_fn_config_test dlls
/dsound
/tests dsound_test
16699 wine_fn_config_dll dssenh enable_dssenh
16700 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16701 wine_fn_config_dll dswave enable_dswave clean
16702 wine_fn_config_dll dwmapi enable_dwmapi implib
16703 wine_fn_config_dll dwrite enable_dwrite implib
16704 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16705 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16706 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16707 wine_fn_config_lib dxerr8
16708 wine_fn_config_lib dxerr9
16709 wine_fn_config_dll dxgi enable_dxgi implib
16710 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16711 wine_fn_config_lib dxguid
16712 wine_fn_config_dll explorerframe enable_explorerframe clean
16713 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16714 wine_fn_config_dll faultrep enable_faultrep implib
16715 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16716 wine_fn_config_dll fltlib enable_fltlib
16717 wine_fn_config_dll fusion enable_fusion
16718 wine_fn_config_test dlls
/fusion
/tests fusion_test
16719 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16720 wine_fn_config_dll gameux enable_gameux clean
16721 wine_fn_config_test dlls
/gameux
/tests gameux_test
16722 wine_fn_config_dll gdi.exe16 enable_win16
16723 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
16724 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16725 wine_fn_config_dll gdiplus enable_gdiplus implib
16726 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16727 wine_fn_config_dll glu32 enable_glu32 implib
16728 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16729 wine_fn_config_dll gpkcsp enable_gpkcsp
16730 wine_fn_config_dll hal enable_hal
16731 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
16732 wine_fn_config_dll hid enable_hid implib
16733 wine_fn_config_dll hlink enable_hlink clean
,implib
16734 wine_fn_config_test dlls
/hlink
/tests hlink_test
16735 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16736 wine_fn_config_dll httpapi enable_httpapi
16737 wine_fn_config_dll iccvid enable_iccvid po
16738 wine_fn_config_dll icmp enable_icmp
16739 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
16740 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
16741 wine_fn_config_dll ifsmgr.vxd enable_win16
16742 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16743 wine_fn_config_dll imagehlp enable_imagehlp implib
16744 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
16745 wine_fn_config_dll imm.dll16 enable_win16
16746 wine_fn_config_dll imm32 enable_imm32 implib
16747 wine_fn_config_test dlls
/imm32
/tests imm32_test
16748 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
16749 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
16750 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16751 wine_fn_config_dll inetmib1 enable_inetmib1
16752 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
16753 wine_fn_config_dll infosoft enable_infosoft clean
16754 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
16755 wine_fn_config_dll initpki enable_initpki
16756 wine_fn_config_dll inkobj enable_inkobj
16757 wine_fn_config_dll inseng enable_inseng clean
16758 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16759 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
16760 wine_fn_config_dll itircl enable_itircl
16761 wine_fn_config_dll itss enable_itss clean
16762 wine_fn_config_test dlls
/itss
/tests itss_test
16763 wine_fn_config_dll joy.cpl enable_joy_cpl po
16764 wine_fn_config_dll jscript enable_jscript clean
,po
16765 wine_fn_config_test dlls
/jscript
/tests jscript_test
16766 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
16767 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
16768 wine_fn_config_dll keyboard.drv16 enable_win16
16769 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16770 wine_fn_config_dll ktmw32 enable_ktmw32
16771 wine_fn_config_dll loadperf enable_loadperf implib
16772 wine_fn_config_dll localspl enable_localspl po
16773 wine_fn_config_test dlls
/localspl
/tests localspl_test
16774 wine_fn_config_dll localui enable_localui po
16775 wine_fn_config_test dlls
/localui
/tests localui_test
16776 wine_fn_config_dll lz32 enable_lz32 implib
16777 wine_fn_config_test dlls
/lz32
/tests lz32_test
16778 wine_fn_config_dll lzexpand.dll16 enable_win16
16779 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16780 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16781 wine_fn_config_dll mapistub enable_mapistub
16782 wine_fn_config_dll mciavi32 enable_mciavi32
16783 wine_fn_config_dll mcicda enable_mcicda
16784 wine_fn_config_dll mciqtz32 enable_mciqtz32
16785 wine_fn_config_dll mciseq enable_mciseq
16786 wine_fn_config_dll mciwave enable_mciwave
16787 wine_fn_config_dll mgmtapi enable_mgmtapi
16788 wine_fn_config_dll midimap enable_midimap
16789 wine_fn_config_dll mlang enable_mlang clean
,implib
16790 wine_fn_config_test dlls
/mlang
/tests mlang_test
16791 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16792 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16793 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16794 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16795 wine_fn_config_dll mmdevldr.vxd enable_win16
16796 wine_fn_config_dll mmsystem.dll16 enable_win16
16797 wine_fn_config_dll monodebg.vxd enable_win16
16798 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16799 wine_fn_config_dll mouse.drv16 enable_win16
16800 wine_fn_config_dll mpr enable_mpr implib
,po
16801 wine_fn_config_test dlls
/mpr
/tests mpr_test
16802 wine_fn_config_dll mprapi enable_mprapi implib
16803 wine_fn_config_dll msacm.dll16 enable_win16
16804 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16805 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
16806 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
16807 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16808 wine_fn_config_dll mscat32 enable_mscat32
16809 wine_fn_config_dll mscms enable_mscms implib
16810 wine_fn_config_test dlls
/mscms
/tests mscms_test
16811 wine_fn_config_dll mscoree enable_mscoree clean
16812 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
16813 wine_fn_config_dll msctf enable_msctf clean
16814 wine_fn_config_test dlls
/msctf
/tests msctf_test
16815 wine_fn_config_dll msdaps enable_msdaps clean
16816 wine_fn_config_dll msdmo enable_msdmo implib
16817 wine_fn_config_dll msftedit enable_msftedit
16818 wine_fn_config_dll msg711.acm enable_msg711_acm
16819 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16820 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16821 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
16822 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
16823 wine_fn_config_dll msi enable_msi clean
,implib
,po
16824 wine_fn_config_test dlls
/msi
/tests msi_test
16825 wine_fn_config_dll msident enable_msident clean
16826 wine_fn_config_dll msimg32 enable_msimg32 implib
16827 wine_fn_config_dll msimsg enable_msimsg
16828 wine_fn_config_dll msimtf enable_msimtf clean
16829 wine_fn_config_dll msisip enable_msisip
16830 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16831 wine_fn_config_dll msls31 enable_msls31
16832 wine_fn_config_dll msnet32 enable_msnet32
16833 wine_fn_config_dll mspatcha enable_mspatcha
16834 wine_fn_config_dll msrle32 enable_msrle32 po
16835 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
16836 wine_fn_config_dll mssign32 enable_mssign32
16837 wine_fn_config_dll mssip32 enable_mssip32
16838 wine_fn_config_dll mstask enable_mstask clean
16839 wine_fn_config_test dlls
/mstask
/tests mstask_test
16840 wine_fn_config_dll msvcirt enable_msvcirt
16841 wine_fn_config_dll msvcm80 enable_msvcm80
16842 wine_fn_config_dll msvcm90 enable_msvcm90
16843 wine_fn_config_dll msvcp100 enable_msvcp100
16844 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
16845 wine_fn_config_dll msvcp110 enable_msvcp110
16846 wine_fn_config_dll msvcp60 enable_msvcp60
16847 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
16848 wine_fn_config_dll msvcp70 enable_msvcp70
16849 wine_fn_config_dll msvcp71 enable_msvcp71
16850 wine_fn_config_dll msvcp80 enable_msvcp80
16851 wine_fn_config_dll msvcp90 enable_msvcp90
16852 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
16853 wine_fn_config_dll msvcr100 enable_msvcr100 implib
16854 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
16855 wine_fn_config_dll msvcr110 enable_msvcr110 implib
16856 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16857 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16858 wine_fn_config_dll msvcr80 enable_msvcr80 implib
16859 wine_fn_config_dll msvcr90 enable_msvcr90 implib
16860 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
16861 wine_fn_config_dll msvcrt enable_msvcrt implib
16862 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
16863 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16864 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16865 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16866 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
16867 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
16868 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
16869 wine_fn_config_dll msvidc32 enable_msvidc32 po
16870 wine_fn_config_dll msvideo.dll16 enable_win16
16871 wine_fn_config_dll mswsock enable_mswsock implib
16872 wine_fn_config_dll msxml enable_msxml clean
16873 wine_fn_config_dll msxml2 enable_msxml2 clean
16874 wine_fn_config_dll msxml3 enable_msxml3 clean
16875 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
16876 wine_fn_config_dll msxml4 enable_msxml4 clean
16877 wine_fn_config_dll msxml6 enable_msxml6 clean
16878 wine_fn_config_dll nddeapi enable_nddeapi implib
16879 wine_fn_config_dll netapi32 enable_netapi32 implib
16880 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
16881 wine_fn_config_dll netcfgx enable_netcfgx
16882 wine_fn_config_dll newdev enable_newdev implib
16883 wine_fn_config_dll normaliz enable_normaliz implib
16884 wine_fn_config_dll npmshtml enable_npmshtml
16885 wine_fn_config_dll ntdll enable_ntdll implib
16886 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
16887 wine_fn_config_dll ntdsapi enable_ntdsapi implib
16888 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
16889 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
16890 wine_fn_config_dll ntprint enable_ntprint
16891 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
16892 wine_fn_config_dll objsel enable_objsel clean
16893 wine_fn_config_dll odbc32 enable_odbc32 implib
16894 wine_fn_config_dll odbccp32 enable_odbccp32 implib
16895 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
16896 wine_fn_config_dll odbccu32 enable_odbccu32
16897 wine_fn_config_dll ole2.dll16 enable_win16
16898 wine_fn_config_dll ole2conv.dll16 enable_win16
16899 wine_fn_config_dll ole2disp.dll16 enable_win16
16900 wine_fn_config_dll ole2nls.dll16 enable_win16
16901 wine_fn_config_dll ole2prox.dll16 enable_win16
16902 wine_fn_config_dll ole2thk.dll16 enable_win16
16903 wine_fn_config_dll ole32 enable_ole32 clean
,implib
16904 wine_fn_config_test dlls
/ole32
/tests ole32_test
16905 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
16906 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
16907 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
16908 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
16909 wine_fn_config_dll olecli.dll16 enable_win16
16910 wine_fn_config_dll olecli32 enable_olecli32 implib
16911 wine_fn_config_dll oledb32 enable_oledb32 clean
16912 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
16913 wine_fn_config_dll oledlg enable_oledlg implib
,po
16914 wine_fn_config_dll olepro32 enable_olepro32 implib
16915 wine_fn_config_dll olesvr.dll16 enable_win16
16916 wine_fn_config_dll olesvr32 enable_olesvr32 implib
16917 wine_fn_config_dll olethk32 enable_olethk32
16918 wine_fn_config_dll openal32 enable_openal32
16919 wine_fn_config_dll opencl enable_opencl
16920 wine_fn_config_dll opengl32 enable_opengl32 implib
16921 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
16922 wine_fn_config_dll pdh enable_pdh implib
16923 wine_fn_config_test dlls
/pdh
/tests pdh_test
16924 wine_fn_config_dll photometadatahandler enable_photometadatahandler
16925 wine_fn_config_dll pidgen enable_pidgen
16926 wine_fn_config_dll powrprof enable_powrprof implib
16927 wine_fn_config_dll printui enable_printui
16928 wine_fn_config_dll propsys enable_propsys clean
,implib
16929 wine_fn_config_test dlls
/propsys
/tests propsys_test
16930 wine_fn_config_dll psapi enable_psapi implib
16931 wine_fn_config_test dlls
/psapi
/tests psapi_test
16932 wine_fn_config_dll pstorec enable_pstorec clean
16933 wine_fn_config_dll qcap enable_qcap
16934 wine_fn_config_test dlls
/qcap
/tests qcap_test
16935 wine_fn_config_dll qedit enable_qedit clean
16936 wine_fn_config_test dlls
/qedit
/tests qedit_test
16937 wine_fn_config_dll qmgr enable_qmgr clean
16938 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
16939 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
16940 wine_fn_config_dll quartz enable_quartz clean
,implib
16941 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
16942 wine_fn_config_dll query enable_query
16943 wine_fn_config_dll rasapi16.dll16 enable_win16
16944 wine_fn_config_dll rasapi32 enable_rasapi32 implib
16945 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
16946 wine_fn_config_dll rasdlg enable_rasdlg implib
16947 wine_fn_config_dll regapi enable_regapi
16948 wine_fn_config_dll resutils enable_resutils implib
16949 wine_fn_config_dll riched20 enable_riched20 implib
16950 wine_fn_config_test dlls
/riched20
/tests riched20_test
16951 wine_fn_config_dll riched32 enable_riched32
16952 wine_fn_config_test dlls
/riched32
/tests riched32_test
16953 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
16954 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
16955 wine_fn_config_dll rsabase enable_rsabase
16956 wine_fn_config_dll rsaenh enable_rsaenh implib
16957 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
16958 wine_fn_config_dll rstrtmgr enable_rstrtmgr
16959 wine_fn_config_dll rtutils enable_rtutils implib
16960 wine_fn_config_dll samlib enable_samlib
16961 wine_fn_config_dll sane.ds enable_sane_ds po
16962 wine_fn_config_dll scarddlg enable_scarddlg
16963 wine_fn_config_dll sccbase enable_sccbase
16964 wine_fn_config_dll schannel enable_schannel
16965 wine_fn_config_test dlls
/schannel
/tests schannel_test
16966 wine_fn_config_dll scrrun enable_scrrun clean
16967 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
16968 wine_fn_config_dll scsiport.sys enable_scsiport_sys
16969 wine_fn_config_dll secur32 enable_secur32 implib
16970 wine_fn_config_test dlls
/secur32
/tests secur32_test
16971 wine_fn_config_dll security enable_security
16972 wine_fn_config_dll sensapi enable_sensapi implib
16973 wine_fn_config_dll serialui enable_serialui implib
,po
16974 wine_fn_config_test dlls
/serialui
/tests serialui_test
16975 wine_fn_config_dll setupapi enable_setupapi implib
,po
16976 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
16977 wine_fn_config_dll setupx.dll16 enable_win16
16978 wine_fn_config_dll sfc enable_sfc implib
16979 wine_fn_config_dll sfc_os enable_sfc_os implib
16980 wine_fn_config_dll shdoclc enable_shdoclc po
16981 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
16982 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
16983 wine_fn_config_dll shell.dll16 enable_win16
16984 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
16985 wine_fn_config_test dlls
/shell32
/tests shell32_test
16986 wine_fn_config_dll shfolder enable_shfolder implib
16987 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
16988 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
16989 wine_fn_config_dll slbcsp enable_slbcsp
16990 wine_fn_config_dll slc enable_slc implib
16991 wine_fn_config_dll snmpapi enable_snmpapi implib
16992 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
16993 wine_fn_config_dll softpub enable_softpub
16994 wine_fn_config_dll sound.drv16 enable_win16
16995 wine_fn_config_dll spoolss enable_spoolss implib
16996 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
16997 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
16998 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
16999 wine_fn_config_dll sti enable_sti clean
,implib
17000 wine_fn_config_test dlls
/sti
/tests sti_test
17001 wine_fn_config_dll storage.dll16 enable_win16
17002 wine_fn_config_dll stress.dll16 enable_win16
17003 wine_fn_config_lib strmbase
17004 wine_fn_config_lib strmiids
17005 wine_fn_config_dll svrapi enable_svrapi
17006 wine_fn_config_dll sxs enable_sxs implib
17007 wine_fn_config_test dlls
/sxs
/tests sxs_test
17008 wine_fn_config_dll system.drv16 enable_win16
17009 wine_fn_config_dll t2embed enable_t2embed
17010 wine_fn_config_dll tapi32 enable_tapi32 implib
17011 wine_fn_config_dll taskschd enable_taskschd clean
17012 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17013 wine_fn_config_dll toolhelp.dll16 enable_win16
17014 wine_fn_config_dll traffic enable_traffic
17015 wine_fn_config_dll twain.dll16 enable_win16
17016 wine_fn_config_dll twain_32 enable_twain_32
17017 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17018 wine_fn_config_dll typelib.dll16 enable_win16
17019 wine_fn_config_dll unicows enable_unicows implib
17020 wine_fn_config_dll updspapi enable_updspapi
17021 wine_fn_config_dll url enable_url implib
17022 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17023 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17024 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17025 wine_fn_config_dll user.exe16 enable_win16
17026 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17027 wine_fn_config_test dlls
/user32
/tests user32_test
17028 wine_fn_config_dll userenv enable_userenv implib
17029 wine_fn_config_test dlls
/userenv
/tests userenv_test
17030 wine_fn_config_dll usp10 enable_usp10 implib
17031 wine_fn_config_test dlls
/usp10
/tests usp10_test
17032 wine_fn_config_lib uuid
17033 wine_fn_config_dll uxtheme enable_uxtheme implib
17034 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17035 wine_fn_config_dll vbscript enable_vbscript clean
17036 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17037 wine_fn_config_dll vcomp enable_vcomp
17038 wine_fn_config_dll vcomp100 enable_vcomp100
17039 wine_fn_config_dll vcomp90 enable_vcomp90
17040 wine_fn_config_dll vdhcp.vxd enable_win16
17041 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17042 wine_fn_config_dll ver.dll16 enable_win16
17043 wine_fn_config_dll version enable_version implib
17044 wine_fn_config_test dlls
/version
/tests version_test
17045 wine_fn_config_dll vmm.vxd enable_win16
17046 wine_fn_config_dll vnbt.vxd enable_win16
17047 wine_fn_config_dll vnetbios.vxd enable_win16
17048 wine_fn_config_dll vtdapi.vxd enable_win16
17049 wine_fn_config_dll vwin32.vxd enable_win16
17050 wine_fn_config_dll w32skrnl enable_win16
17051 wine_fn_config_dll w32sys.dll16 enable_win16
17052 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17053 wine_fn_config_dll wbemprox enable_wbemprox clean
17054 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17055 wine_fn_config_dll webservices enable_webservices implib
17056 wine_fn_config_dll wer enable_wer implib
17057 wine_fn_config_test dlls
/wer
/tests wer_test
17058 wine_fn_config_dll wevtapi enable_wevtapi
17059 wine_fn_config_dll wiaservc enable_wiaservc clean
17060 wine_fn_config_dll win32s16.dll16 enable_win16
17061 wine_fn_config_dll win87em.dll16 enable_win16
17062 wine_fn_config_dll winaspi.dll16 enable_win16
17063 wine_fn_config_dll windebug.dll16 enable_win16
17064 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17065 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17066 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17067 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17068 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17069 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17070 wine_fn_config_lib winecrt0
17071 wine_fn_config_dll wined3d enable_wined3d implib
17072 wine_fn_config_dll winegstreamer enable_winegstreamer
17073 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17074 wine_fn_config_dll winemac.drv enable_winemac_drv
17075 wine_fn_config_dll winemapi enable_winemapi
17076 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17077 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17078 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17079 wine_fn_config_dll wineps16.drv16 enable_win16
17080 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17081 wine_fn_config_dll winex11.drv enable_winex11_drv
17082 wine_fn_config_dll wing.dll16 enable_win16
17083 wine_fn_config_dll wing32 enable_wing32
17084 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17085 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17086 wine_fn_config_dll wininet enable_wininet implib
,po
17087 wine_fn_config_test dlls
/wininet
/tests wininet_test
17088 wine_fn_config_dll winmm enable_winmm implib
,po
17089 wine_fn_config_test dlls
/winmm
/tests winmm_test
17090 wine_fn_config_dll winnls.dll16 enable_win16
17091 wine_fn_config_dll winnls32 enable_winnls32 implib
17092 wine_fn_config_dll winscard enable_winscard implib
17093 wine_fn_config_dll winsock.dll16 enable_win16
17094 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17095 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17096 wine_fn_config_dll winsta enable_winsta
17097 wine_fn_config_dll wintab.dll16 enable_win16
17098 wine_fn_config_dll wintab32 enable_wintab32 implib
17099 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17100 wine_fn_config_dll wintrust enable_wintrust implib
17101 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17102 wine_fn_config_dll wlanapi enable_wlanapi
17103 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17104 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17105 wine_fn_config_dll wmi enable_wmi
17106 wine_fn_config_dll wmiutils enable_wmiutils clean
17107 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17108 wine_fn_config_dll wmp enable_wmp clean
17109 wine_fn_config_dll wmvcore enable_wmvcore
17110 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17111 wine_fn_config_dll wow32 enable_win16 implib
17112 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17113 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17114 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17115 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17116 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17117 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17118 wine_fn_config_dll wsock32 enable_wsock32 implib
17119 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17120 wine_fn_config_dll wuapi enable_wuapi clean
17121 wine_fn_config_dll wuaueng enable_wuaueng
17122 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17123 wine_fn_config_dll xinput1_1 enable_xinput1_1
17124 wine_fn_config_dll xinput1_2 enable_xinput1_2
17125 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17126 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17127 wine_fn_config_dll xinput1_4 enable_xinput1_4
17128 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17129 wine_fn_config_dll xmllite enable_xmllite
17130 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17131 wine_fn_config_dll xolehlp enable_xolehlp
17132 wine_fn_config_dll xpsprint enable_xpsprint
17133 wine_fn_config_dll xpssvcs enable_xpssvcs
17134 wine_fn_config_makefile documentation enable_documentation clean
17135 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17136 wine_fn_config_makefile include enable_include clean
,install-dev
17137 wine_fn_config_makefile libs
/port enable_libs_port
17138 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17139 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17140 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17141 wine_fn_config_program arp enable_arp
install
17142 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17143 wine_fn_config_program attrib enable_attrib
install,po
17144 wine_fn_config_program cabarc enable_cabarc
install
17145 wine_fn_config_program cacls enable_cacls
install
17146 wine_fn_config_program
clock enable_clock
install,po
17147 wine_fn_config_program cmd enable_cmd
install,po
17148 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17149 wine_fn_config_program conhost enable_conhost
install
17150 wine_fn_config_program control enable_control
install
17151 wine_fn_config_program cscript enable_cscript
install
17152 wine_fn_config_program dxdiag enable_dxdiag
install,po
17153 wine_fn_config_program eject enable_eject
install
17154 wine_fn_config_program
expand enable_expand
install
17155 wine_fn_config_program explorer enable_explorer
install,po
17156 wine_fn_config_program extrac32 enable_extrac32
install
17157 wine_fn_config_program findstr enable_findstr
install
17158 wine_fn_config_program hh enable_hh
install
17159 wine_fn_config_program hostname enable_hostname
install,po
17160 wine_fn_config_program icinfo enable_icinfo
install
17161 wine_fn_config_program iexplore enable_iexplore
install
17162 wine_fn_config_program ipconfig enable_ipconfig
install,po
17163 wine_fn_config_program lodctr enable_lodctr
install
17164 wine_fn_config_program mofcomp enable_mofcomp
install
17165 wine_fn_config_program mshta enable_mshta
install
17166 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17167 wine_fn_config_program net enable_net
install,po
17168 wine_fn_config_program netsh enable_netsh
install
17169 wine_fn_config_program netstat enable_netstat
install,po
17170 wine_fn_config_program ngen enable_ngen
install
17171 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17172 wine_fn_config_program oleview enable_oleview
install,po
17173 wine_fn_config_program
ping enable_ping
install
17174 wine_fn_config_program plugplay enable_plugplay
install
17175 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17176 wine_fn_config_program progman enable_progman
install,po
17177 wine_fn_config_program reg enable_reg
install,po
17178 wine_fn_config_program regasm enable_regasm
install
17179 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17180 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17181 wine_fn_config_program regsvcs enable_regsvcs
install
17182 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
17183 wine_fn_config_program rpcss enable_rpcss clean
,install
17184 wine_fn_config_program rundll.exe16 enable_win16
install
17185 wine_fn_config_program rundll32 enable_rundll32
install
17186 wine_fn_config_program sc enable_sc
install
17187 wine_fn_config_program schtasks enable_schtasks
install
17188 wine_fn_config_program secedit enable_secedit
install
17189 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17190 wine_fn_config_program services enable_services clean
,install
17191 wine_fn_config_test programs
/services
/tests services.exe_test
17192 wine_fn_config_program spoolsv enable_spoolsv
install
17193 wine_fn_config_program start enable_start
install,po
17194 wine_fn_config_program svchost enable_svchost
install
17195 wine_fn_config_program taskkill enable_taskkill
install,po
17196 wine_fn_config_program tasklist enable_tasklist
install
17197 wine_fn_config_program taskmgr enable_taskmgr
install,po
17198 wine_fn_config_program termsv enable_termsv
install
17199 wine_fn_config_program uninstaller enable_uninstaller
install,po
17200 wine_fn_config_program unlodctr enable_unlodctr
install
17201 wine_fn_config_program view enable_view
install,po
17202 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17203 wine_fn_config_program winebrowser enable_winebrowser
install
17204 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17205 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17206 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17207 wine_fn_config_program winedevice enable_winedevice
install
17208 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17209 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17210 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17211 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17212 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17213 wine_fn_config_program winetest enable_winetest clean
17214 wine_fn_config_program winevdm enable_win16
install
17215 wine_fn_config_program winhelp.exe16 enable_win16
install
17216 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17217 wine_fn_config_program winoldap.mod16 enable_win16
install
17218 wine_fn_config_program winver enable_winver
install
17219 wine_fn_config_program wmic enable_wmic
install,po
17220 wine_fn_config_program wordpad enable_wordpad
install,po
17221 wine_fn_config_program
write enable_write
install,po
17222 wine_fn_config_program wscript enable_wscript clean
,install
17223 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17224 wine_fn_config_program wusa enable_wusa
install
17225 wine_fn_config_program xcopy enable_xcopy
install,po
17226 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17227 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17228 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17229 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17230 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17231 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17232 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17233 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17234 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17286 wine_fn_ignore_file
".gitignore"
17287 wine_fn_ignore_file
"Makefile"
17288 wine_fn_ignore_file
"TAGS"
17289 wine_fn_ignore_file
"tags"
17290 wine_fn_ignore_file
"autom4te.cache"
17291 wine_fn_ignore_file
"config.cache"
17292 wine_fn_ignore_file
"config.log"
17293 wine_fn_ignore_file
"config.status"
17294 wine_fn_ignore_file
"configure.lineno"
17295 wine_fn_ignore_file
"include/config.h"
17296 wine_fn_ignore_file
"include/stamp-h"
17297 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17299 if test "x$enable_tools" != xno
17301 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17302 ac_config_commands
="$ac_config_commands tools/makedep"
17306 ac_config_commands
="$ac_config_commands Makefile"
17309 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17313 if test "x$enable_maintainer_mode" = xyes
17315 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17316 autoconf --warnings=all
17317 include/config.h.in: include/stamp-h.in
17318 include/stamp-h.in: configure.ac aclocal.m4
17319 autoheader --warnings=all
17320 @echo timestamp > \$@"
17323 if test "x$with_gettextpo" = xyes
17325 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17326 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17327 \$(LINGUAS:%=po/%.po): po/wine.pot
17328 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17329 po/wine.pot: \$(ALL_POT_FILES)
17330 msgcat -o \$@ \$(ALL_POT_FILES)"
17333 if test "$MSGFMT" != false
17335 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17337 \$(RM) \$(LINGUAS:%=po/%.mo)"
17340 test "$srcdir" = . || posrc
="$srcdir/po"
17343 wine_fn_ignore_file
"po/$i.mo"
17344 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17345 \$(MSGFMT) -o \$@ $posrc/$i.po"
17351 if test "x$enable_tools" != xno
17353 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17354 @./config.status tools/makedep
17355 Makefile: tools/makedep$ac_exeext
17357 \$(RM) tools/makedep$ac_exeext"
17359 wine_fn_append_rule
"\$(MAKEDEP):
17360 @echo \"You need to run make in $TOOLSDIR first\" && false"
17363 if test -n "$with_wine64"
17365 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17366 fonts server tools:
17367 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17368 $with_wine64/loader/wine:
17369 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17370 $with_wine64/loader/wine-preloader:
17371 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17373 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17375 as_fn_append LOADER_RULES
"
17378 install install-lib:: wine.inf install-man-pages
17379 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17380 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17383 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17387 if test "$srcdir" = .
17389 ac_config_commands
="$ac_config_commands .gitignore"
17393 $as_echo " done" >&6
17394 cat >confcache
<<\_ACEOF
17395 # This file is a shell script that caches the results of configure
17396 # tests run on this system so they can be shared between configure
17397 # scripts and configure runs, see configure's option --config-cache.
17398 # It is not useful on other systems. If it contains results you don't
17399 # want to keep, you may remove or edit it.
17401 # config.status only pays attention to the cache file if you give it
17402 # the --recheck option to rerun configure.
17404 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17405 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17406 # following values.
17410 # The following way of writing the cache mishandles newlines in values,
17411 # but we know of no workaround that is simple, portable, and efficient.
17412 # So, we kill variables containing newlines.
17413 # Ultrix sh set writes to stderr and can't be redirected directly,
17414 # and sets the high bit in the cache file unless we assign to the vars.
17416 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17417 eval ac_val
=\$
$ac_var
17421 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17422 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17425 _ | IFS | as_nl
) ;; #(
17426 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17427 *) { eval $ac_var=; unset $ac_var;} ;;
17433 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17434 *${as_nl}ac_space
=\
*)
17435 # `set' does not quote correctly, so add quotes: double-quote
17436 # substitution turns \\\\ into \\, and sed turns \\ into \.
17439 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17442 # `set' quotes correctly as required by POSIX, so do not add quotes.
17443 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17452 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17454 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17456 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17457 if test -w "$cache_file"; then
17458 if test "x$cache_file" != "x/dev/null"; then
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17460 $as_echo "$as_me: updating cache $cache_file" >&6;}
17461 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17462 cat confcache
>"$cache_file"
17464 case $cache_file in #(
17466 mv -f confcache
"$cache_file"$$
&&
17467 mv -f "$cache_file"$$
"$cache_file" ;; #(
17469 mv -f confcache
"$cache_file" ;;
17474 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17475 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17480 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17481 # Let make expand exec_prefix.
17482 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17484 DEFS
=-DHAVE_CONFIG_H
17489 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17490 # 1. Remove the extension, and $U if already installed.
17491 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17492 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17493 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17494 # will be set to the directory where LIBOBJS objects are built.
17495 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17496 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17498 LIBOBJS
=$ac_libobjs
17500 LTLIBOBJS
=$ac_ltlibobjs
17504 : "${CONFIG_STATUS=./config.status}"
17506 ac_clean_files_save
=$ac_clean_files
17507 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17509 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17511 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17513 # Generated by $as_me.
17514 # Run this file to recreate the current configuration.
17515 # Compiler output produced by configure, useful for debugging
17516 # configure, is in config.log if it exists.
17519 ac_cs_recheck=false
17522 SHELL=\${CONFIG_SHELL-$SHELL}
17525 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17526 ## -------------------- ##
17527 ## M4sh Initialization. ##
17528 ## -------------------- ##
17530 # Be more Bourne compatible
17531 DUALCASE
=1; export DUALCASE
# for MKS sh
17532 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17535 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17536 # is contrary to our usage. Disable this feature.
17537 alias -g '${1+"$@"}'='"$@"'
17538 setopt NO_GLOB_SUBST
17540 case `(set -o) 2>/dev/null` in #(
17552 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17553 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17554 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17555 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17556 # Prefer a ksh shell builtin over an external printf program on Solaris,
17557 # but without wasting forks for bash or zsh.
17558 if test -z "$BASH_VERSION$ZSH_VERSION" \
17559 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17560 as_echo='print
-r --'
17561 as_echo_n='print
-rn --'
17562 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17563 as_echo='printf %s
\n'
17564 as_echo_n='printf %s
'
17566 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17567 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17568 as_echo_n='/usr
/ucb
/echo -n'
17570 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17571 as_echo_n_body='eval
17575 expr "X$arg" : "X\\(.*\\)$as_nl";
17576 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17578 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17580 export as_echo_n_body
17581 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17583 export as_echo_body
17584 as_echo='sh
-c $as_echo_body as_echo
'
17587 # The user is always right.
17588 if test "${PATH_SEPARATOR+set}" != set; then
17590 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17591 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17598 # We need space, tab and new line, in precisely that order. Quoting is
17599 # there to prevent editors from complaining about space-tab.
17600 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17601 # splitting by setting IFS to empty value.)
17604 # Find who we are. Look in the path if we contain no directory separator.
17607 *[\\/]* ) as_myself=$0 ;;
17608 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17609 for as_dir in $PATH
17612 test -z "$as_dir" && as_dir=.
17613 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17619 # We did not find ourselves, most probably we were run as `sh COMMAND'
17620 # in which case we are not to be found in the path.
17621 if test "x$as_myself" = x
; then
17624 if test ! -f "$as_myself"; then
17625 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17629 # Unset variables that we do not need and which cause bugs (e.g. in
17630 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17631 # suppresses any "Segmentation fault" message there. '((' could
17632 # trigger a bug in pdksh 5.2.14.
17633 for as_var
in BASH_ENV ENV MAIL MAILPATH
17634 do eval test x\
${$as_var+set} = xset \
17635 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17648 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17651 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17652 # ----------------------------------------
17653 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17654 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17655 # script with STATUS, using 1 if that was 0.
17658 as_status
=$1; test $as_status -eq 0 && as_status
=1
17660 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17661 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17663 $as_echo "$as_me: error: $2" >&2
17664 as_fn_exit
$as_status
17668 # as_fn_set_status STATUS
17669 # -----------------------
17670 # Set $? to STATUS, without forking.
17671 as_fn_set_status
()
17674 } # as_fn_set_status
17676 # as_fn_exit STATUS
17677 # -----------------
17678 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17682 as_fn_set_status
$1
17688 # Portably unset VAR.
17691 { eval $1=; unset $1;}
17693 as_unset
=as_fn_unset
17694 # as_fn_append VAR VALUE
17695 # ----------------------
17696 # Append the text in VALUE to the end of the definition contained in VAR. Take
17697 # advantage of any shell optimizations that allow amortized linear growth over
17698 # repeated appends, instead of the typical quadratic growth present in naive
17700 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17701 eval 'as_fn_append ()
17712 # as_fn_arith ARG...
17713 # ------------------
17714 # Perform arithmetic evaluation on the ARGs, and store the result in the
17715 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17716 # must be portable across $(()) and expr.
17717 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17718 eval 'as_fn_arith ()
17725 as_val
=`expr "$@" || test $? -eq 1`
17730 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17731 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17737 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17738 as_basename
=basename
17743 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17749 as_me
=`$as_basename -- "$0" ||
17750 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17751 X"$0" : 'X\(//\)$' \| \
17752 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17754 sed '/^.*\/\([^/][^/]*\)\/*$/{
17768 # Avoid depending upon Character Ranges.
17769 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17770 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17771 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17772 as_cr_digits
='0123456789'
17773 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17775 ECHO_C
= ECHO_N
= ECHO_T
=
17776 case `echo -n x` in #(((((
17778 case `echo 'xy\c'` in
17779 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17781 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17788 rm -f conf$$ conf$$.exe conf$$.
file
17789 if test -d conf$$.dir
; then
17790 rm -f conf$$.dir
/conf$$.
file
17793 mkdir conf$$.dir
2>/dev
/null
17795 if (echo >conf$$.
file) 2>/dev
/null
; then
17796 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17798 # ... but there are two gotchas:
17799 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17800 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17801 # In both cases, we have to default to `cp -pR'.
17802 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17804 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17812 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17813 rmdir conf$$.dir
2>/dev
/null
17818 # Create "$as_dir" as a directory, including parents if necessary.
17823 -*) as_dir
=.
/$as_dir;;
17825 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17829 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17830 *) as_qdir
=$as_dir;;
17832 as_dirs
="'$as_qdir' $as_dirs"
17833 as_dir
=`$as_dirname -- "$as_dir" ||
17834 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17835 X"$as_dir" : 'X\(//\)[^/]' \| \
17836 X"$as_dir" : 'X\(//\)$' \| \
17837 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17838 $as_echo X"$as_dir" |
17839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17843 /^X\(\/\/\)[^/].*/{
17856 test -d "$as_dir" && break
17858 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17859 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17863 if mkdir
-p .
2>/dev
/null
; then
17864 as_mkdir_p
='mkdir -p "$as_dir"'
17866 test -d .
/-p && rmdir .
/-p
17871 # as_fn_executable_p FILE
17872 # -----------------------
17873 # Test if FILE is an executable regular file.
17874 as_fn_executable_p
()
17876 test -f "$1" && test -x "$1"
17877 } # as_fn_executable_p
17878 as_test_x
='test -x'
17879 as_executable_p
=as_fn_executable_p
17881 # Sed expression to map a string onto a valid CPP name.
17882 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17884 # Sed expression to map a string onto a valid variable name.
17885 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17889 ## ----------------------------------- ##
17890 ## Main body of $CONFIG_STATUS script. ##
17891 ## ----------------------------------- ##
17893 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17896 # Save the log message, to keep $0 and so on meaningful, and to
17897 # report actual input values of CONFIG_FILES etc. instead of their
17898 # values after options handling.
17900 This file was extended by Wine $as_me 1.7.11, which was
17901 generated by GNU Autoconf 2.69. Invocation command line was
17903 CONFIG_FILES = $CONFIG_FILES
17904 CONFIG_HEADERS = $CONFIG_HEADERS
17905 CONFIG_LINKS = $CONFIG_LINKS
17906 CONFIG_COMMANDS = $CONFIG_COMMANDS
17909 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17914 case $ac_config_files in *"
17915 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17918 case $ac_config_headers in *"
17919 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17924 # Files that config.status was made for.
17925 config_files="$ac_config_files"
17926 config_headers="$ac_config_headers"
17927 config_links="$ac_config_links"
17928 config_commands="$ac_config_commands"
17932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17934 \`$as_me' instantiates files and other configuration actions
17935 from templates according to the current configuration. Unless the files
17936 and actions are specified as TAGs, all are instantiated by default.
17938 Usage: $0 [OPTION]... [TAG]...
17940 -h, --help print this help, then exit
17941 -V, --version print version number and configuration settings, then exit
17942 --config print configuration, then exit
17943 -q, --quiet, --silent
17944 do not print progress messages
17945 -d, --debug don't remove temporary files
17946 --recheck update $as_me by reconfiguring in the same conditions
17947 --file=FILE[:TEMPLATE]
17948 instantiate the configuration file FILE
17949 --header=FILE[:TEMPLATE]
17950 instantiate the configuration header FILE
17952 Configuration files:
17955 Configuration headers:
17958 Configuration links:
17961 Configuration commands:
17964 Report bugs to <wine-devel@winehq.org>.
17965 Wine home page: <http://www.winehq.org>."
17968 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17969 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17971 Wine config.status 1.7.11
17972 configured by $0, generated by GNU Autoconf 2.69,
17973 with options \\"\$ac_cs_config\\"
17975 Copyright (C) 2012 Free Software Foundation, Inc.
17976 This config.status script is free software; the Free Software Foundation
17977 gives unlimited permission to copy, distribute and modify it."
17981 test -n "\$AWK" || AWK=awk
17984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17985 # The default lists apply if the user does not specify any file.
17991 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17992 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17996 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18008 # Handling of the options.
18009 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18011 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18012 $as_echo "$ac_cs_version"; exit ;;
18013 --config |
--confi |
--conf |
--con |
--co |
--c )
18014 $as_echo "$ac_cs_config"; exit ;;
18015 --debug |
--debu |
--deb |
--de |
--d |
-d )
18017 --file |
--fil |
--fi |
--f )
18020 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18021 '') as_fn_error $?
"missing file argument" ;;
18023 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18024 ac_need_defaults
=false
;;
18025 --header |
--heade |
--head |
--hea )
18028 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18030 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18031 ac_need_defaults
=false
;;
18033 # Conflict between --help and --header
18034 as_fn_error $?
"ambiguous option: \`$1'
18035 Try \`$0 --help' for more information.";;
18036 --help |
--hel |
-h )
18037 $as_echo "$ac_cs_usage"; exit ;;
18038 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18039 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18042 # This is an error.
18043 -*) as_fn_error $?
"unrecognized option: \`$1'
18044 Try \`$0 --help' for more information." ;;
18046 *) as_fn_append ac_config_targets
" $1"
18047 ac_need_defaults
=false
;;
18053 ac_configure_extra_args
=
18055 if $ac_cs_silent; then
18057 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18062 if \$ac_cs_recheck; then
18063 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18065 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18066 CONFIG_SHELL='$SHELL'
18067 export CONFIG_SHELL
18072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18076 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18077 ## Running $as_me. ##
18083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18087 wine_fn_output_makedep ()
18089 as_dir=tools; as_fn_mkdir_p
18090 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18092 wine_fn_output_makefile ()
18094 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18095 `cat $wine_rules_file`
18097 as_fn_error $? "could not create Makefile" "$LINENO" 5
18099 wine_fn_output_gitignore ()
18101 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18104 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18111 # Handling of arguments.
18112 for ac_config_target
in $ac_config_targets
18114 case $ac_config_target in
18115 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18116 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18117 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18118 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18119 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18120 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18121 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18122 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18123 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18124 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18125 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18126 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18127 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18128 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18130 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18135 # If the user did not use the arguments to specify the items to instantiate,
18136 # then the envvar interface is used. Set only those that are not.
18137 # We use the long form for the default assignment because of an extremely
18138 # bizarre bug on SunOS 4.1.3.
18139 if $ac_need_defaults; then
18140 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18141 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18142 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18143 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18146 # Have a temporary directory for convenience. Make it in the build tree
18147 # simply because there is no reason against having it here, and in addition,
18148 # creating and moving files from /tmp can sometimes cause problems.
18149 # Hook for its removal unless debugging.
18150 # Note that there is a small window in which the directory will not be cleaned:
18151 # after its creation but before its name has been assigned to `$tmp'.
18155 trap 'exit_status=$?
18156 : "${ac_tmp:=$tmp}"
18157 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18159 trap 'as_fn_exit 1' 1 2 13 15
18161 # Create a (secure) tmp directory for tmp files.
18164 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18168 tmp
=.
/conf$$
-$RANDOM
18169 (umask 077 && mkdir
"$tmp")
18170 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18173 # Set up the scripts for CONFIG_FILES section.
18174 # No need to generate them if there are no CONFIG_FILES.
18175 # This happens for instance with `./config.status config.h'.
18176 if test -n "$CONFIG_FILES"; then
18179 ac_cr
=`echo X | tr X '\015'`
18180 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18181 # But we know of no other shell where ac_cr would be empty at this
18182 # point, so we can use a bashism as a fallback.
18183 if test "x$ac_cr" = x
; then
18184 eval ac_cr
=\$
\'\\r
\'
18186 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18187 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18190 ac_cs_awk_cr
=$ac_cr
18193 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18198 echo "cat >conf$$subs.awk <<_ACEOF" &&
18199 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18201 } >conf$$subs.sh ||
18202 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18203 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18205 for ac_last_try in false false false false false :; do
18206 . ./conf$$subs.sh ||
18207 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18209 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18210 if test $ac_delim_n = $ac_delim_num; then
18212 elif $ac_last_try; then
18213 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18215 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18218 rm -f conf$$subs.sh
18220 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18221 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18225 s/^/S["/; s
/!.
*/"]=/
18235 s/\(.\{148\}\)..*/\1/
18237 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18242 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18249 s/\(.\{148\}\)..*/\1/
18251 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18255 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18260 ' <conf$$subs.awk | sed '
18265 ' >>$CONFIG_STATUS || ac_write_fail=1
18266 rm -f conf$$subs.awk
18267 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18269 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18270 for (key in S) S_is_set[key] = 1
18276 nfields = split(line, field, "@
")
18278 len = length(field[1])
18279 for (i = 2; i < nfields; i++) {
18281 keylen = length(key)
18282 if (S_is_set[key]) {
18284 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18285 len += length(value) + length(field[++i])
18296 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18297 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18298 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18301 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18302 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18305 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18306 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18307 # trailing colons and then remove the whole line if VPATH becomes empty
18308 # (actually we leave an empty line to preserve line numbers).
18309 if test "x
$srcdir" = x.; then
18310 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18329 fi # test -n "$CONFIG_FILES"
18331 # Set up the scripts for CONFIG_HEADERS section.
18332 # No need to generate them if there are no CONFIG_HEADERS.
18333 # This happens for instance with `./config.status Makefile'.
18334 if test -n "$CONFIG_HEADERS"; then
18335 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18339 # Transform confdefs.h into an awk script `defines.awk', embedded as
18340 # here-document in config.status, that substitutes the proper values into
18341 # config.h.in to produce config.h.
18343 # Create a delimiter string that does not exist in confdefs.h, to ease
18344 # handling of long lines.
18346 for ac_last_try in false false :; do
18347 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18348 if test -z "$ac_tt"; then
18350 elif $ac_last_try; then
18351 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18353 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18357 # For the awk script, D is an array of macro values keyed by name,
18358 # likewise P contains macro parameters if any. Preserve backslash
18359 # newline sequences.
18361 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18363 s/.\{148\}/&'"$ac_delim"'/g
18366 s/^[ ]*#[ ]*define[ ][ ]*/ /
18373 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18375 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18379 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18380 D["\
1"]=" \
3\\\\\\n
"\\/p
18382 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18387 s/.\{148\}/&'"$ac_delim"'/g
18392 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18395 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18397 ' <confdefs.h | sed '
18398 s/'"$ac_delim"'/"\\\
18399 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18402 for (key in D) D_is_set[key] = 1
18405 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18407 split(line, arg, " ")
18408 if (arg[1] == "#") {
18412 defundef
= substr
(arg
[1], 2)
18415 split(mac1
, mac2
, "(") #)
18417 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18418 if (D_is_set
[macro
]) {
18419 # Preserve the white space surrounding the "#".
18420 print prefix
"define", macro P
[macro
] D
[macro
]
18423 # Replace #undef with comments. This is necessary, for example,
18424 # in the case of _POSIX_SOURCE, which is predefined and required
18425 # on some systems where configure will not decide to define it.
18426 if (defundef
== "undef") {
18427 print
"/*", prefix defundef
, macro
, "*/"
18435 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18436 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18437 fi # test -n "$CONFIG_HEADERS"
18440 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18445 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18447 case $ac_mode$ac_tag in
18449 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18450 :[FH
]-) ac_tag
=-:-;;
18451 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18468 -) ac_f
="$ac_tmp/stdin";;
18469 *) # Look for the file first in the build tree, then in the source tree
18470 # (if the path is not absolute). The absolute path cannot be DOS-style,
18471 # because $ac_f cannot contain `:'.
18475 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18477 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18479 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18480 as_fn_append ac_file_inputs
" '$ac_f'"
18483 # Let's still pretend it is `configure' which instantiates (i.e., don't
18484 # use $as_me), people would be surprised to read:
18485 # /* config.h. Generated by config.status. */
18486 configure_input
='Generated from '`
18487 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18489 if test x
"$ac_file" != x-
; then
18490 configure_input
="$ac_file. $configure_input"
18491 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18492 $as_echo "$as_me: creating $ac_file" >&6;}
18494 # Neutralize special characters interpreted by sed in replacement strings.
18495 case $configure_input in #(
18496 *\
&* |
*\|
* |
*\\* )
18497 ac_sed_conf_input
=`$as_echo "$configure_input" |
18498 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18499 *) ac_sed_conf_input
=$configure_input;;
18503 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18504 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18509 ac_dir
=`$as_dirname -- "$ac_file" ||
18510 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18511 X"$ac_file" : 'X\(//\)[^/]' \| \
18512 X"$ac_file" : 'X\(//\)$' \| \
18513 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18514 $as_echo X"$ac_file" |
18515 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18519 /^X\(\/\/\)[^/].*/{
18532 as_dir
="$ac_dir"; as_fn_mkdir_p
18536 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18538 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18539 # A ".." for each directory in $ac_dir_suffix.
18540 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18541 case $ac_top_builddir_sub in
18542 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18543 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18546 ac_abs_top_builddir
=$ac_pwd
18547 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18548 # for backward compatibility:
18549 ac_top_builddir
=$ac_top_build_prefix
18552 .
) # We are building in place.
18554 ac_top_srcdir
=$ac_top_builddir_sub
18555 ac_abs_top_srcdir
=$ac_pwd ;;
18556 [\\/]* | ?
:[\\/]* ) # Absolute name.
18557 ac_srcdir
=$srcdir$ac_dir_suffix;
18558 ac_top_srcdir
=$srcdir
18559 ac_abs_top_srcdir
=$srcdir ;;
18560 *) # Relative name.
18561 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18562 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18563 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18565 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18577 # If the template does not know about datarootdir, expand it.
18578 # FIXME: This hack should be removed a few years after 2.60.
18579 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18590 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18591 *datarootdir
*) ac_datarootdir_seen
=yes;;
18592 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18594 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18597 ac_datarootdir_hack='
18598 s&@datadir@&$datadir&g
18599 s&@docdir@&$docdir&g
18600 s&@infodir@&$infodir&g
18601 s&@localedir@&$localedir&g
18602 s&@mandir@&$mandir&g
18603 s&\\\${datarootdir}&$datarootdir&g' ;;
18607 # Neutralize VPATH when `$srcdir' = `.'.
18608 # Shell code in configure.ac might set extrasub.
18609 # FIXME: do we really want to maintain this feature?
18610 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18611 ac_sed_extra="$ac_vpsub
18614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18616 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18617 s|@configure_input@|
$ac_sed_conf_input|
;t t
18618 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18619 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18620 s
&@srcdir@
&$ac_srcdir&;t t
18621 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18622 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18623 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18624 s
&@builddir@
&$ac_builddir&;t t
18625 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18626 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18627 $ac_datarootdir_hack
18629 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18630 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18632 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18633 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18634 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18635 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18637 which seems to be undefined. Please make sure it is defined" >&5
18638 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18639 which seems to be undefined. Please make sure it is defined" >&2;}
18641 rm -f "$ac_tmp/stdin"
18643 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18644 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18646 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18652 if test x"$ac_file" != x-; then
18654 $as_echo "/* $configure_input */" \
18655 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18656 } >"$ac_tmp/config.h" \
18657 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18658 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18659 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18660 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18663 mv "$ac_tmp/config.h" "$ac_file" \
18664 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18667 $as_echo "/* $configure_input */" \
18668 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18669 || as_fn_error $? "could not create -" "$LINENO" 5
18677 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18680 # Prefer the file from the source tree if names are identical.
18681 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18682 ac_source=$srcdir/$ac_source
18685 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18686 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18688 if test ! -r "$ac_source"; then
18689 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18693 # Try a relative symlink, then a hard link, then a copy.
18695 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18696 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18698 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18699 ln "$ac_source" "$ac_file" 2>/dev/null ||
18700 cp -p "$ac_source" "$ac_file" ||
18701 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18704 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18705 $as_echo "$as_me: executing $ac_file commands" >&6;}
18710 case $ac_file$ac_mode in
18711 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18712 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18713 "Makefile":C) wine_fn_output_makefile Makefile ;;
18714 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18722 ac_clean_files=$ac_clean_files_save
18724 test $ac_write_fail = 0 ||
18725 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18728 # configure is writing to config.log, and then calls config.status.
18729 # config.status does its own redirection, appending to config.log.
18730 # Unfortunately, on DOS this fails, as config.log is still kept open
18731 # by configure, so config.status won't be able to
write to it
; its
18732 # output is simply discarded. So we exec the FD to /dev/null,
18733 # effectively closing config.log, so it can be properly (re)opened and
18734 # appended to by config.status. When coming back to configure, we
18735 # need to make the FD available again.
18736 if test "$no_create" != yes; then
18738 ac_config_status_args
=
18739 test "$silent" = yes &&
18740 ac_config_status_args
="$ac_config_status_args --quiet"
18742 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18744 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18745 # would make configure fail if this is the last instruction.
18746 $ac_cs_success || as_fn_exit
1
18748 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18750 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18754 if test "$no_create" = "yes"
18760 if test "x$wine_notices != "x
; then
18763 for msg
in $wine_notices; do
18765 if test -n "$msg"; then
18766 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18767 $as_echo "$as_me: $msg" >&6;}
18772 for msg
in $wine_warnings; do
18774 if test -n "$msg"; then
18776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18777 $as_echo "$as_me: WARNING: $msg" >&2;}
18783 $as_me: Finished. Do '${ac_make}' to compile Wine.