2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.10.
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.10'
584 PACKAGE_STRING
='Wine 1.7.10'
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
697 APPLICATIONSERVICESLIB
787 program_transform_name
798 ac_subst_files
='MAKE_RULES'
800 enable_option_checking
804 enable_maintainer_mode
860 enable_api_ms_win_core_localregistry_l1_1_0
861 enable_api_ms_win_core_processthreads_l1_1_0
862 enable_api_ms_win_core_winrt_error_l1_1_0
863 enable_api_ms_win_core_winrt_string_l1_1_0
864 enable_api_ms_win_downlevel_advapi32_l1_1_0
865 enable_api_ms_win_downlevel_advapi32_l2_1_0
866 enable_api_ms_win_downlevel_normaliz_l1_1_0
867 enable_api_ms_win_downlevel_ole32_l1_1_0
868 enable_api_ms_win_downlevel_shell32_l1_1_0
869 enable_api_ms_win_downlevel_shlwapi_l1_1_0
870 enable_api_ms_win_downlevel_shlwapi_l2_1_0
871 enable_api_ms_win_downlevel_user32_l1_1_0
872 enable_api_ms_win_downlevel_version_l1_1_0
873 enable_api_ms_win_security_base_l1_1_0
911 enable_d3dcompiler_33
912 enable_d3dcompiler_34
913 enable_d3dcompiler_35
914 enable_d3dcompiler_36
915 enable_d3dcompiler_37
916 enable_d3dcompiler_38
917 enable_d3dcompiler_39
918 enable_d3dcompiler_40
919 enable_d3dcompiler_41
920 enable_d3dcompiler_42
921 enable_d3dcompiler_43
1133 enable_photometadatahandler
1212 enable_windowscodecs
1213 enable_windowscodecsext
1215 enable_winecoreaudio_drv
1217 enable_winegstreamer
1218 enable_winejoystick_drv
1224 enable_wineqtdecoder
1259 enable_documentation
1267 enable_aspnet_regiis
1299 enable_presentationfontcache
1311 enable_servicemodelreg
1330 enable_winemenubuilder
1332 enable_winemsibuilder
1346 ac_precious_vars
='build_alias
1393 # Initialize some variables set by options.
1395 ac_init_version
=false
1396 ac_unrecognized_opts
=
1397 ac_unrecognized_sep
=
1398 # The variables have the same names as the options, with
1399 # dashes changed to underlines.
1400 cache_file
=/dev
/null
1407 program_transform_name
=s
,x
,x
,
1415 # Installation directory options.
1416 # These are left unexpanded so users can "make install exec_prefix=/foo"
1417 # and all the variables that are supposed to be based on exec_prefix
1418 # by default will actually change.
1419 # Use braces instead of parens because sh, perl, etc. also accept them.
1420 # (The list follows the same order as the GNU Coding Standards.)
1421 bindir
='${exec_prefix}/bin'
1422 sbindir
='${exec_prefix}/sbin'
1423 libexecdir
='${exec_prefix}/libexec'
1424 datarootdir
='${prefix}/share'
1425 datadir
='${datarootdir}'
1426 sysconfdir
='${prefix}/etc'
1427 sharedstatedir
='${prefix}/com'
1428 localstatedir
='${prefix}/var'
1429 includedir
='${prefix}/include'
1430 oldincludedir
='/usr/include'
1431 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1432 infodir
='${datarootdir}/info'
1437 libdir
='${exec_prefix}/lib'
1438 localedir
='${datarootdir}/locale'
1439 mandir
='${datarootdir}/man'
1445 # If the previous option needs an argument, assign it.
1446 if test -n "$ac_prev"; then
1447 eval $ac_prev=\
$ac_option
1453 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1458 # Accept the important Cygnus configure options, so we can diagnose typos.
1460 case $ac_dashdash$ac_option in
1464 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1466 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1467 bindir
=$ac_optarg ;;
1469 -build |
--build |
--buil |
--bui |
--bu)
1470 ac_prev
=build_alias
;;
1471 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1472 build_alias
=$ac_optarg ;;
1474 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1475 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1476 ac_prev
=cache_file
;;
1477 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1478 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1479 cache_file
=$ac_optarg ;;
1481 --config-cache |
-C)
1482 cache_file
=config.cache
;;
1484 -datadir |
--datadir |
--datadi |
--datad)
1486 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1487 datadir
=$ac_optarg ;;
1489 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1490 |
--dataroo |
--dataro |
--datar)
1491 ac_prev
=datarootdir
;;
1492 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1493 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1494 datarootdir
=$ac_optarg ;;
1496 -disable-* |
--disable-*)
1497 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1498 # Reject names that are not valid shell variable names.
1499 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1500 as_fn_error $?
"invalid feature name: $ac_useropt"
1501 ac_useropt_orig
=$ac_useropt
1502 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1503 case $ac_user_opts in
1505 "enable_
$ac_useropt"
1507 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1508 ac_unrecognized_sep
=', ';;
1510 eval enable_
$ac_useropt=no
;;
1512 -docdir |
--docdir |
--docdi |
--doc |
--do)
1514 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1515 docdir
=$ac_optarg ;;
1517 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1519 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1520 dvidir
=$ac_optarg ;;
1522 -enable-* |
--enable-*)
1523 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1524 # Reject names that are not valid shell variable names.
1525 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1526 as_fn_error $?
"invalid feature name: $ac_useropt"
1527 ac_useropt_orig
=$ac_useropt
1528 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1529 case $ac_user_opts in
1531 "enable_
$ac_useropt"
1533 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1534 ac_unrecognized_sep
=', ';;
1536 eval enable_
$ac_useropt=\
$ac_optarg ;;
1538 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1539 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1540 |
--exec |
--exe |
--ex)
1541 ac_prev
=exec_prefix
;;
1542 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1543 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1544 |
--exec=* |
--exe=* |
--ex=*)
1545 exec_prefix
=$ac_optarg ;;
1547 -gas |
--gas |
--ga |
--g)
1548 # Obsolete; use --with-gas.
1551 -help |
--help |
--hel |
--he |
-h)
1552 ac_init_help
=long
;;
1553 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1554 ac_init_help
=recursive
;;
1555 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1556 ac_init_help
=short
;;
1558 -host |
--host |
--hos |
--ho)
1559 ac_prev
=host_alias
;;
1560 -host=* |
--host=* |
--hos=* |
--ho=*)
1561 host_alias
=$ac_optarg ;;
1563 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1565 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1567 htmldir
=$ac_optarg ;;
1569 -includedir |
--includedir |
--includedi |
--included |
--include \
1570 |
--includ |
--inclu |
--incl |
--inc)
1571 ac_prev
=includedir
;;
1572 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1573 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1574 includedir
=$ac_optarg ;;
1576 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1578 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1579 infodir
=$ac_optarg ;;
1581 -libdir |
--libdir |
--libdi |
--libd)
1583 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1584 libdir
=$ac_optarg ;;
1586 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1587 |
--libexe |
--libex |
--libe)
1588 ac_prev
=libexecdir
;;
1589 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1590 |
--libexe=* |
--libex=* |
--libe=*)
1591 libexecdir
=$ac_optarg ;;
1593 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1594 ac_prev
=localedir
;;
1595 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1596 localedir
=$ac_optarg ;;
1598 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1599 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1600 ac_prev
=localstatedir
;;
1601 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1602 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1603 localstatedir
=$ac_optarg ;;
1605 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1607 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1608 mandir
=$ac_optarg ;;
1610 -nfp |
--nfp |
--nf)
1611 # Obsolete; use --without-fp.
1614 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1615 |
--no-cr |
--no-c |
-n)
1618 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1619 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1622 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1623 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1624 |
--oldin |
--oldi |
--old |
--ol |
--o)
1625 ac_prev
=oldincludedir
;;
1626 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1627 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1628 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1629 oldincludedir
=$ac_optarg ;;
1631 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1633 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1634 prefix
=$ac_optarg ;;
1636 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1637 |
--program-pre |
--program-pr |
--program-p)
1638 ac_prev
=program_prefix
;;
1639 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1640 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1641 program_prefix
=$ac_optarg ;;
1643 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1644 |
--program-suf |
--program-su |
--program-s)
1645 ac_prev
=program_suffix
;;
1646 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1647 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1648 program_suffix
=$ac_optarg ;;
1650 -program-transform-name |
--program-transform-name \
1651 |
--program-transform-nam |
--program-transform-na \
1652 |
--program-transform-n |
--program-transform- \
1653 |
--program-transform |
--program-transfor \
1654 |
--program-transfo |
--program-transf \
1655 |
--program-trans |
--program-tran \
1656 |
--progr-tra |
--program-tr |
--program-t)
1657 ac_prev
=program_transform_name
;;
1658 -program-transform-name=* |
--program-transform-name=* \
1659 |
--program-transform-nam=* |
--program-transform-na=* \
1660 |
--program-transform-n=* |
--program-transform-=* \
1661 |
--program-transform=* |
--program-transfor=* \
1662 |
--program-transfo=* |
--program-transf=* \
1663 |
--program-trans=* |
--program-tran=* \
1664 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1665 program_transform_name
=$ac_optarg ;;
1667 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1669 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1670 pdfdir
=$ac_optarg ;;
1672 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1674 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1677 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1678 |
-silent |
--silent |
--silen |
--sile |
--sil)
1681 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1683 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1685 sbindir
=$ac_optarg ;;
1687 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1688 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1689 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1691 ac_prev
=sharedstatedir
;;
1692 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1693 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1694 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1696 sharedstatedir
=$ac_optarg ;;
1698 -site |
--site |
--sit)
1700 -site=* |
--site=* |
--sit=*)
1703 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1705 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1706 srcdir
=$ac_optarg ;;
1708 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1709 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1710 ac_prev
=sysconfdir
;;
1711 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1712 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1713 sysconfdir
=$ac_optarg ;;
1715 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1716 ac_prev
=target_alias
;;
1717 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1718 target_alias
=$ac_optarg ;;
1720 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1723 -version |
--version |
--versio |
--versi |
--vers |
-V)
1724 ac_init_version
=: ;;
1727 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1728 # Reject names that are not valid shell variable names.
1729 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1730 as_fn_error $?
"invalid package name: $ac_useropt"
1731 ac_useropt_orig
=$ac_useropt
1732 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1733 case $ac_user_opts in
1737 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1738 ac_unrecognized_sep
=', ';;
1740 eval with_
$ac_useropt=\
$ac_optarg ;;
1742 -without-* |
--without-*)
1743 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1744 # Reject names that are not valid shell variable names.
1745 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1746 as_fn_error $?
"invalid package name: $ac_useropt"
1747 ac_useropt_orig
=$ac_useropt
1748 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1749 case $ac_user_opts in
1753 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1754 ac_unrecognized_sep
=', ';;
1756 eval with_
$ac_useropt=no
;;
1759 # Obsolete; use --with-x.
1762 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1763 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1764 ac_prev
=x_includes
;;
1765 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1766 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1767 x_includes
=$ac_optarg ;;
1769 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1770 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1771 ac_prev
=x_libraries
;;
1772 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1773 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1774 x_libraries
=$ac_optarg ;;
1776 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1777 Try \`$0 --help' for more information"
1781 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1782 # Reject names that are not valid shell variable names.
1783 case $ac_envvar in #(
1784 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1785 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1787 eval $ac_envvar=\
$ac_optarg
1788 export $ac_envvar ;;
1791 # FIXME: should be removed in autoconf 3.0.
1792 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1793 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1794 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1795 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1801 if test -n "$ac_prev"; then
1802 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1803 as_fn_error $?
"missing argument to $ac_option"
1806 if test -n "$ac_unrecognized_opts"; then
1807 case $enable_option_checking in
1809 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1810 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1814 # Check all directory arguments for consistency.
1815 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1816 datadir sysconfdir sharedstatedir localstatedir includedir \
1817 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1818 libdir localedir mandir
1820 eval ac_val
=\$
$ac_var
1821 # Remove trailing slashes.
1824 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1825 eval $ac_var=\
$ac_val;;
1827 # Be sure to have absolute directory names.
1829 [\\/$
]* | ?
:[\\/]* ) continue;;
1830 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1832 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1835 # There might be people who depend on the old broken behavior: `$host'
1836 # used to hold the argument of --host etc.
1837 # FIXME: To remove some day.
1840 target
=$target_alias
1842 # FIXME: To remove some day.
1843 if test "x$host_alias" != x
; then
1844 if test "x$build_alias" = x
; then
1845 cross_compiling
=maybe
1846 elif test "x$build_alias" != "x$host_alias"; then
1852 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1854 test "$silent" = yes && exec 6>/dev
/null
1857 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1858 ac_ls_di
=`ls -di .` &&
1859 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1860 as_fn_error $?
"working directory cannot be determined"
1861 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1862 as_fn_error $?
"pwd does not report name of working directory"
1865 # Find the source files, if location was not specified.
1866 if test -z "$srcdir"; then
1867 ac_srcdir_defaulted
=yes
1868 # Try the directory containing this script, then the parent directory.
1869 ac_confdir
=`$as_dirname -- "$as_myself" ||
1870 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1871 X"$as_myself" : 'X\(//\)[^/]' \| \
1872 X"$as_myself" : 'X\(//\)$' \| \
1873 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1874 $as_echo X"$as_myself" |
1875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1893 if test ! -r "$srcdir/$ac_unique_file"; then
1897 ac_srcdir_defaulted
=no
1899 if test ! -r "$srcdir/$ac_unique_file"; then
1900 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1901 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1903 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1905 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1907 # When building in place, set srcdir=.
1908 if test "$ac_abs_confdir" = "$ac_pwd"; then
1911 # Remove unnecessary trailing slashes from srcdir.
1912 # Double slashes in file names in object file debugging info
1913 # mess up M-x gdb in Emacs.
1915 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1917 for ac_var
in $ac_precious_vars; do
1918 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1919 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1920 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1921 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1925 # Report the --help message.
1927 if test "$ac_init_help" = "long"; then
1928 # Omit some internal or obsolete options to make the list less imposing.
1929 # This message is too long to be a string in the A/UX 3.1 sh.
1931 \`configure' configures Wine 1.7.10 to adapt to many kinds of systems.
1933 Usage: $0 [OPTION]... [VAR=VALUE]...
1935 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1936 VAR=VALUE. See below for descriptions of some of the useful variables.
1938 Defaults for the options are specified in brackets.
1941 -h, --help display this help and exit
1942 --help=short display options specific to this package
1943 --help=recursive display the short help of all the included packages
1944 -V, --version display version information and exit
1945 -q, --quiet, --silent do not print \`checking ...' messages
1946 --cache-file=FILE cache test results in FILE [disabled]
1947 -C, --config-cache alias for \`--cache-file=config.cache'
1948 -n, --no-create do not create output files
1949 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1951 Installation directories:
1952 --prefix=PREFIX install architecture-independent files in PREFIX
1953 [$ac_default_prefix]
1954 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1957 By default, \`make install' will install all the files in
1958 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1959 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1960 for instance \`--prefix=\$HOME'.
1962 For better control, use the options below.
1964 Fine tuning of the installation directories:
1965 --bindir=DIR user executables [EPREFIX/bin]
1966 --sbindir=DIR system admin executables [EPREFIX/sbin]
1967 --libexecdir=DIR program executables [EPREFIX/libexec]
1968 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1969 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1970 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1971 --libdir=DIR object code libraries [EPREFIX/lib]
1972 --includedir=DIR C header files [PREFIX/include]
1973 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1974 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1975 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1976 --infodir=DIR info documentation [DATAROOTDIR/info]
1977 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1978 --mandir=DIR man documentation [DATAROOTDIR/man]
1979 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1980 --htmldir=DIR html documentation [DOCDIR]
1981 --dvidir=DIR dvi documentation [DOCDIR]
1982 --pdfdir=DIR pdf documentation [DOCDIR]
1983 --psdir=DIR ps documentation [DOCDIR]
1989 --x-includes=DIR X include files are
in DIR
1990 --x-libraries=DIR X library files are
in DIR
1993 --build=BUILD configure
for building on BUILD
[guessed
]
1994 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1998 if test -n "$ac_init_help"; then
1999 case $ac_init_help in
2000 short | recursive
) echo "Configuration of Wine 1.7.10:";;
2005 --disable-option-checking ignore unrecognized
--enable/--with options
2006 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2007 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2008 --disable-win16 do not include Win16 support
2009 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2011 --disable-tests do not build the regression tests
2012 --enable-maintainer-mode
2013 enable maintainer-specific build rules
2014 --disable-largefile omit support for large files
2017 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2018 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2019 --without-alsa do not use the Alsa sound support
2020 --without-capi do not use CAPI (ISDN support)
2021 --without-cms do not use CMS (color management support)
2022 --without-coreaudio do not use the CoreAudio sound support
2023 --without-cups do not use CUPS
2024 --without-curses do not use (n)curses
2025 --without-dbus do not use DBus (dynamic device support)
2026 --without-fontconfig do not use fontconfig
2027 --without-freetype do not use the FreeType library
2028 --without-gettext do not use gettext
2029 --with-gettextpo use the GetTextPO library to rebuild po files
2030 --without-gphoto do not use gphoto (Digital Camera support)
2031 --without-glu do not use the GLU library
2032 --without-gnutls do not use GnuTLS (schannel support)
2033 --without-gsm do not use libgsm (GSM 06.10 codec support)
2034 --without-gstreamer do not use GStreamer (codecs support)
2035 --without-hal do not use HAL (dynamic device support)
2036 --without-jpeg do not use JPEG
2037 --without-ldap do not use LDAP
2038 --without-mpg123 do not use the mpg123 library
2039 --without-netapi do not use the Samba NetAPI library
2040 --without-openal do not use OpenAL
2041 --without-opencl do not use OpenCL
2042 --without-opengl do not use OpenGL
2043 --without-osmesa do not use the OSMesa library
2044 --without-oss do not use the OSS sound support
2045 --without-png do not use PNG
2046 --without-pthread do not use the pthread library
2047 --without-sane do not use SANE (scanner support)
2048 --without-tiff do not use TIFF
2049 --without-v4l do not use v4l1 (v4l support)
2050 --without-xcomposite do not use the Xcomposite extension
2051 --without-xcursor do not use the Xcursor extension
2052 --without-xinerama do not use Xinerama (multi-monitor support)
2053 --without-xinput do not use the Xinput extension
2054 --without-xinput2 do not use the Xinput 2 extension
2055 --without-xml do not use XML
2056 --without-xrandr do not use Xrandr (resolution changes)
2057 --without-xrender do not use the Xrender extension
2058 --without-xshape do not use the Xshape extension
2059 --without-xshm do not use XShm (shared memory extension)
2060 --without-xslt do not use XSLT
2061 --without-xxf86vm do not use XFree video mode extension
2062 --without-zlib do not use Zlib (data compression)
2063 --with-wine-tools=DIR use Wine tools from directory DIR
2064 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2065 --with-x use the X Window System
2067 Some influential environment variables:
2068 CC C compiler command
2069 CFLAGS C compiler flags
2070 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2071 nonstandard directory <lib dir>
2072 LIBS libraries to pass to the linker, e.g. -l<library>
2073 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2074 you have headers in a nonstandard directory <include dir>
2075 CXX C++ compiler command
2076 CXXFLAGS C++ compiler flags
2078 XMKMF Path to xmkmf, Makefile generator for X Window System
2079 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2080 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2081 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2082 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2083 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2084 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2085 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2086 HAL_LIBS Linker flags for hal, overriding pkg-config
2088 C compiler flags for gnutls, overriding pkg-config
2089 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2090 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2091 SANE_LIBS Linker flags for libsane, overriding pkg-config
2093 C compiler flags for libgphoto2, overriding pkg-config
2095 Linker flags for libgphoto2, overriding pkg-config
2097 C compiler flags for libgphoto2_port, overriding pkg-config
2099 Linker flags for libgphoto2_port, overriding pkg-config
2101 C compiler flags for lcms2, overriding pkg-config
2102 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2104 C compiler flags for freetype2, overriding pkg-config
2106 Linker flags for freetype2, overriding pkg-config
2108 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2110 Linker flags for gstreamer-app-0.10, overriding pkg-config
2112 C compiler flags for capi20, overriding pkg-config
2113 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2114 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2115 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2116 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2117 PNG_LIBS Linker flags for libpng, overriding pkg-config
2118 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2119 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2121 C compiler flags for libmpg123, overriding pkg-config
2122 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2124 Use these variables to override the choices made by `configure' or to
help
2125 it to
find libraries and programs with nonstandard names
/locations.
2127 Report bugs to
<wine-devel@winehq.org
>.
2128 Wine home page
: <http
://www.winehq.org
>.
2133 if test "$ac_init_help" = "recursive"; then
2134 # If there are subdirs, report their specific --help.
2135 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2136 test -d "$ac_dir" ||
2137 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2142 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2144 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2145 # A ".." for each directory in $ac_dir_suffix.
2146 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2147 case $ac_top_builddir_sub in
2148 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2149 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2152 ac_abs_top_builddir
=$ac_pwd
2153 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2154 # for backward compatibility:
2155 ac_top_builddir
=$ac_top_build_prefix
2158 .
) # We are building in place.
2160 ac_top_srcdir
=$ac_top_builddir_sub
2161 ac_abs_top_srcdir
=$ac_pwd ;;
2162 [\\/]* | ?
:[\\/]* ) # Absolute name.
2163 ac_srcdir
=$srcdir$ac_dir_suffix;
2164 ac_top_srcdir
=$srcdir
2165 ac_abs_top_srcdir
=$srcdir ;;
2167 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2168 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2169 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2171 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2173 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2174 # Check for guested configure.
2175 if test -f "$ac_srcdir/configure.gnu"; then
2177 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2178 elif test -f "$ac_srcdir/configure"; then
2180 $SHELL "$ac_srcdir/configure" --help=recursive
2182 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2184 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2188 test -n "$ac_init_help" && exit $ac_status
2189 if $ac_init_version; then
2191 Wine configure
1.7.10
2192 generated by GNU Autoconf
2.69
2194 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2195 This configure
script is free software
; the Free Software Foundation
2196 gives unlimited permission to copy
, distribute and modify it.
2201 ## ------------------------ ##
2202 ## Autoconf initialization. ##
2203 ## ------------------------ ##
2205 # ac_fn_c_try_compile LINENO
2206 # --------------------------
2207 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2208 ac_fn_c_try_compile
()
2210 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2211 rm -f conftest.
$ac_objext
2212 if { { ac_try
="$ac_compile"
2214 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2215 *) ac_try_echo=$ac_try;;
2217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2218 $as_echo "$ac_try_echo"; } >&5
2219 (eval "$ac_compile") 2>conftest.err
2221 if test -s conftest.err; then
2222 grep -v '^ *+' conftest.err >conftest.er1
2223 cat conftest.er1 >&5
2224 mv -f conftest.er1 conftest.err
2226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2227 test $ac_status = 0; } && {
2228 test -z "$ac_c_werror_flag" ||
2229 test ! -s conftest.err
2230 } && test -s conftest.$ac_objext; then :
2233 $as_echo "$as_me: failed program was:" >&5
2234 sed 's/^/| /' conftest.$ac_ext >&5
2238 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2239 as_fn_set_status $ac_retval
2241 } # ac_fn_c_try_compile
2243 # ac_fn_cxx_try_compile LINENO
2244 # ----------------------------
2245 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2246 ac_fn_cxx_try_compile ()
2248 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2249 rm -f conftest.$ac_objext
2250 if { { ac_try="$ac_compile"
2252 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2253 *) ac_try_echo
=$ac_try;;
2255 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2256 $as_echo "$ac_try_echo"; } >&5
2257 (eval "$ac_compile") 2>conftest.err
2259 if test -s conftest.err
; then
2260 grep -v '^ *+' conftest.err
>conftest.er1
2261 cat conftest.er1
>&5
2262 mv -f conftest.er1 conftest.err
2264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2265 test $ac_status = 0; } && {
2266 test -z "$ac_cxx_werror_flag" ||
2267 test ! -s conftest.err
2268 } && test -s conftest.
$ac_objext; then :
2271 $as_echo "$as_me: failed program was:" >&5
2272 sed 's/^/| /' conftest.
$ac_ext >&5
2276 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2277 as_fn_set_status
$ac_retval
2279 } # ac_fn_cxx_try_compile
2281 # ac_fn_c_try_link LINENO
2282 # -----------------------
2283 # Try to link conftest.$ac_ext, and return whether this succeeded.
2286 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2287 rm -f conftest.
$ac_objext conftest
$ac_exeext
2288 if { { ac_try
="$ac_link"
2290 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2291 *) ac_try_echo=$ac_try;;
2293 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2294 $as_echo "$ac_try_echo"; } >&5
2295 (eval "$ac_link") 2>conftest.err
2297 if test -s conftest.err; then
2298 grep -v '^ *+' conftest.err >conftest.er1
2299 cat conftest.er1 >&5
2300 mv -f conftest.er1 conftest.err
2302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2303 test $ac_status = 0; } && {
2304 test -z "$ac_c_werror_flag" ||
2305 test ! -s conftest.err
2306 } && test -s conftest$ac_exeext && {
2307 test "$cross_compiling" = yes ||
2308 test -x conftest$ac_exeext
2312 $as_echo "$as_me: failed program was:" >&5
2313 sed 's/^/| /' conftest.$ac_ext >&5
2317 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2318 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2319 # interfere with the next link command; also delete a directory that is
2320 # left behind by Apple's compiler. We do this before executing the actions.
2321 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2322 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2323 as_fn_set_status $ac_retval
2325 } # ac_fn_c_try_link
2327 # ac_fn_c_try_cpp LINENO
2328 # ----------------------
2329 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2332 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2333 if { { ac_try="$ac_cpp conftest.$ac_ext"
2335 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2336 *) ac_try_echo
=$ac_try;;
2338 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2339 $as_echo "$ac_try_echo"; } >&5
2340 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2342 if test -s conftest.err
; then
2343 grep -v '^ *+' conftest.err
>conftest.er1
2344 cat conftest.er1
>&5
2345 mv -f conftest.er1 conftest.err
2347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2348 test $ac_status = 0; } > conftest.i
&& {
2349 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2350 test ! -s conftest.err
2354 $as_echo "$as_me: failed program was:" >&5
2355 sed 's/^/| /' conftest.
$ac_ext >&5
2359 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2360 as_fn_set_status
$ac_retval
2364 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2365 # -------------------------------------------------------
2366 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2367 # the include files in INCLUDES and setting the cache variable VAR
2369 ac_fn_c_check_header_mongrel
()
2371 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2372 if eval \
${$3+:} false
; then :
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2374 $as_echo_n "checking for $2... " >&6; }
2375 if eval \
${$3+:} false
; then :
2376 $as_echo_n "(cached) " >&6
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2380 $as_echo "$ac_res" >&6; }
2382 # Is the header compilable?
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2384 $as_echo_n "checking $2 usability... " >&6; }
2385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2386 /* end confdefs.h. */
2390 if ac_fn_c_try_compile
"$LINENO"; then :
2391 ac_header_compiler
=yes
2393 ac_header_compiler
=no
2395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2397 $as_echo "$ac_header_compiler" >&6; }
2399 # Is the header present?
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2401 $as_echo_n "checking $2 presence... " >&6; }
2402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2403 /* end confdefs.h. */
2406 if ac_fn_c_try_cpp
"$LINENO"; then :
2407 ac_header_preproc
=yes
2409 ac_header_preproc
=no
2411 rm -f conftest.err conftest.i conftest.
$ac_ext
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2413 $as_echo "$ac_header_preproc" >&6; }
2415 # So? What about this header?
2416 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2419 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2421 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2425 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2427 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2429 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2431 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2433 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2434 ( $as_echo "## ------------------------------------ ##
2435 ## Report this to wine-devel@winehq.org ##
2436 ## ------------------------------------ ##"
2437 ) |
sed "s/^/$as_me: WARNING: /" >&2
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2441 $as_echo_n "checking for $2... " >&6; }
2442 if eval \
${$3+:} false
; then :
2443 $as_echo_n "(cached) " >&6
2445 eval "$3=\$ac_header_compiler"
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2449 $as_echo "$ac_res" >&6; }
2451 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2453 } # ac_fn_c_check_header_mongrel
2455 # ac_fn_c_try_run LINENO
2456 # ----------------------
2457 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2458 # that executables *can* be run.
2461 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2462 if { { ac_try
="$ac_link"
2464 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2465 *) ac_try_echo=$ac_try;;
2467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2468 $as_echo "$ac_try_echo"; } >&5
2469 (eval "$ac_link") 2>&5
2471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2472 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2473 { { case "(($ac_try" in
2474 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2475 *) ac_try_echo
=$ac_try;;
2477 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2478 $as_echo "$ac_try_echo"; } >&5
2479 (eval "$ac_try") 2>&5
2481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2482 test $ac_status = 0; }; }; then :
2485 $as_echo "$as_me: program exited with status $ac_status" >&5
2486 $as_echo "$as_me: failed program was:" >&5
2487 sed 's/^/| /' conftest.
$ac_ext >&5
2489 ac_retval
=$ac_status
2491 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2492 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2493 as_fn_set_status
$ac_retval
2497 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2498 # -------------------------------------------------------
2499 # Tests whether HEADER exists and can be compiled using the include files in
2500 # INCLUDES, setting the cache variable VAR accordingly.
2501 ac_fn_c_check_header_compile
()
2503 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2505 $as_echo_n "checking for $2... " >&6; }
2506 if eval \
${$3+:} false
; then :
2507 $as_echo_n "(cached) " >&6
2509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2510 /* end confdefs.h. */
2514 if ac_fn_c_try_compile
"$LINENO"; then :
2519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2523 $as_echo "$ac_res" >&6; }
2524 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2526 } # ac_fn_c_check_header_compile
2528 # ac_fn_c_check_func LINENO FUNC VAR
2529 # ----------------------------------
2530 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2531 ac_fn_c_check_func
()
2533 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2535 $as_echo_n "checking for $2... " >&6; }
2536 if eval \
${$3+:} false
; then :
2537 $as_echo_n "(cached) " >&6
2539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2540 /* end confdefs.h. */
2541 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2543 #define $2 innocuous_$2
2545 /* System header to define __stub macros and hopefully few prototypes,
2546 which can conflict with char $2 (); below.
2547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2548 <limits.h> exists even on freestanding compilers. */
2551 # include <limits.h>
2553 # include <assert.h>
2558 /* Override any GCC internal prototype to avoid an error.
2559 Use char because int might match the return type of a GCC
2560 builtin and then its argument prototype would still apply. */
2565 /* The GNU C library defines this for functions which it implements
2566 to always fail with ENOSYS. Some functions are actually named
2567 something starting with __ and the normal name is an alias. */
2568 #if defined __stub_$2 || defined __stub___$2
2580 if ac_fn_c_try_link
"$LINENO"; then :
2585 rm -f core conftest.err conftest.
$ac_objext \
2586 conftest
$ac_exeext conftest.
$ac_ext
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2590 $as_echo "$ac_res" >&6; }
2591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2593 } # ac_fn_c_check_func
2595 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2596 # ----------------------------------------------------
2597 # Tries to find if the field MEMBER exists in type AGGR, after including
2598 # INCLUDES, setting cache variable VAR accordingly.
2599 ac_fn_c_check_member
()
2601 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2603 $as_echo_n "checking for $2.$3... " >&6; }
2604 if eval \
${$4+:} false
; then :
2605 $as_echo_n "(cached) " >&6
2607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2608 /* end confdefs.h. */
2620 if ac_fn_c_try_compile
"$LINENO"; then :
2623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2624 /* end confdefs.h. */
2630 if (sizeof ac_aggr.$3)
2636 if ac_fn_c_try_compile
"$LINENO"; then :
2641 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2643 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2647 $as_echo "$ac_res" >&6; }
2648 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2650 } # ac_fn_c_check_member
2652 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2653 # -------------------------------------------
2654 # Tests whether TYPE exists after having included INCLUDES, setting cache
2655 # variable VAR accordingly.
2656 ac_fn_c_check_type
()
2658 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2660 $as_echo_n "checking for $2... " >&6; }
2661 if eval \
${$3+:} false
; then :
2662 $as_echo_n "(cached) " >&6
2665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2666 /* end confdefs.h. */
2677 if ac_fn_c_try_compile
"$LINENO"; then :
2678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2679 /* end confdefs.h. */
2690 if ac_fn_c_try_compile
"$LINENO"; then :
2695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2701 $as_echo "$ac_res" >&6; }
2702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2704 } # ac_fn_c_check_type
2705 cat >config.log
<<_ACEOF
2706 This file contains any messages produced by compilers while
2707 running configure, to aid debugging if configure makes a mistake.
2709 It was created by Wine $as_me 1.7.10, which was
2710 generated by GNU Autoconf 2.69. Invocation command line was
2722 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2723 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2724 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2725 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2726 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2728 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2729 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2731 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2732 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2733 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2734 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2735 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2736 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2737 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2745 test -z "$as_dir" && as_dir
=.
2746 $as_echo "PATH: $as_dir"
2762 # Keep a trace of the command line.
2763 # Strip out --no-create and --no-recursion so they do not pile up.
2764 # Strip out --silent because we don't want to record it for future runs.
2765 # Also quote any args containing shell meta-characters.
2766 # Make two passes to allow for proper duplicate-argument suppression.
2770 ac_must_keep_next
=false
2776 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2777 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2778 |
-silent |
--silent |
--silen |
--sile |
--sil)
2781 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2784 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2786 as_fn_append ac_configure_args1
" '$ac_arg'"
2787 if test $ac_must_keep_next = true
; then
2788 ac_must_keep_next
=false
# Got value, back to normal.
2791 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2792 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2793 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2794 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2795 case "$ac_configure_args0 " in
2796 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2799 -* ) ac_must_keep_next
=true
;;
2802 as_fn_append ac_configure_args
" '$ac_arg'"
2807 { ac_configure_args0
=; unset ac_configure_args0
;}
2808 { ac_configure_args1
=; unset ac_configure_args1
;}
2810 # When interrupted or exit'd, cleanup temporary files, and complete
2811 # config.log. We remove comments because anyway the quotes in there
2812 # would cause problems or look ugly.
2813 # WARNING: Use '\'' to represent an apostrophe within the trap.
2814 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2815 trap 'exit_status=$?
2816 # Save into config.log some information that might help in debugging.
2820 $as_echo "## ---------------- ##
2821 ## Cache variables. ##
2822 ## ---------------- ##"
2824 # The following way of writing the cache mishandles newlines in values,
2826 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2827 eval ac_val=\$$ac_var
2831 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2832 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2835 _ | IFS | as_nl) ;; #(
2836 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2837 *) { eval $ac_var=; unset $ac_var;} ;;
2842 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2843 *${as_nl}ac_space=\ *)
2845 "s/'\''/'\''\\\\'\'''\''/g;
2846 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2849 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2856 $as_echo "## ----------------- ##
2857 ## Output variables. ##
2858 ## ----------------- ##"
2860 for ac_var in $ac_subst_vars
2862 eval ac_val=\$$ac_var
2864 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2866 $as_echo "$ac_var='\''$ac_val'\''"
2870 if test -n "$ac_subst_files"; then
2871 $as_echo "## ------------------- ##
2872 ## File substitutions. ##
2873 ## ------------------- ##"
2875 for ac_var
in $ac_subst_files
2877 eval ac_val
=\$
$ac_var
2879 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2881 $as_echo "$ac_var='\''$ac_val'\''"
2886 if test -s confdefs.h; then
2887 $as_echo "## ----------- ##
2894 test "$ac_signal" != 0 &&
2895 $as_echo "$as_me: caught signal $ac_signal"
2896 $as_echo "$as_me: exit $exit_status"
2898 rm -f core *.core core.conftest.* &&
2899 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2902 for ac_signal
in 1 2 13 15; do
2903 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2907 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2908 rm -f -r conftest
* confdefs.h
2910 $as_echo "/* confdefs.h */" > confdefs.h
2912 # Predefined preprocessor variables.
2914 cat >>confdefs.h
<<_ACEOF
2915 #define PACKAGE_NAME "$PACKAGE_NAME"
2918 cat >>confdefs.h
<<_ACEOF
2919 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2922 cat >>confdefs.h
<<_ACEOF
2923 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2926 cat >>confdefs.h
<<_ACEOF
2927 #define PACKAGE_STRING "$PACKAGE_STRING"
2930 cat >>confdefs.h
<<_ACEOF
2931 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2934 cat >>confdefs.h
<<_ACEOF
2935 #define PACKAGE_URL "$PACKAGE_URL"
2939 # Let the site file select an alternate cache file if it wants to.
2940 # Prefer an explicitly selected file to automatically selected ones.
2943 if test -n "$CONFIG_SITE"; then
2944 # We do not want a PATH search for config.site.
2945 case $CONFIG_SITE in #((
2946 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2947 */*) ac_site_file1
=$CONFIG_SITE;;
2948 *) ac_site_file1
=.
/$CONFIG_SITE;;
2950 elif test "x$prefix" != xNONE
; then
2951 ac_site_file1
=$prefix/share
/config.site
2952 ac_site_file2
=$prefix/etc
/config.site
2954 ac_site_file1
=$ac_default_prefix/share
/config.site
2955 ac_site_file2
=$ac_default_prefix/etc
/config.site
2957 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2959 test "x$ac_site_file" = xNONE
&& continue
2960 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2962 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2963 sed 's/^/| /' "$ac_site_file" >&5
2965 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2967 as_fn_error $?
"failed to load site script $ac_site_file
2968 See \`config.log' for more details" "$LINENO" 5; }
2972 if test -r "$cache_file"; then
2973 # Some versions of bash will fail to source /dev/null (special files
2974 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2975 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2977 $as_echo "$as_me: loading cache $cache_file" >&6;}
2979 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2980 *) .
"./$cache_file";;
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2985 $as_echo "$as_me: creating cache $cache_file" >&6;}
2989 # Check that the precious variables saved in the cache have kept the same
2991 ac_cache_corrupted
=false
2992 for ac_var
in $ac_precious_vars; do
2993 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2994 eval ac_new_set
=\
$ac_env_${ac_var}_set
2995 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2996 eval ac_new_val
=\
$ac_env_${ac_var}_value
2997 case $ac_old_set,$ac_new_set in
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3000 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3001 ac_cache_corrupted
=: ;;
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3004 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3005 ac_cache_corrupted
=: ;;
3008 if test "x$ac_old_val" != "x$ac_new_val"; then
3009 # differences in whitespace do not lead to failure.
3010 ac_old_val_w
=`echo x $ac_old_val`
3011 ac_new_val_w
=`echo x $ac_new_val`
3012 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3014 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3015 ac_cache_corrupted
=:
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3018 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3019 eval $ac_var=\
$ac_old_val
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3022 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3024 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3027 # Pass precious variables to config.status.
3028 if test "$ac_new_set" = set; then
3030 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3031 *) ac_arg
=$ac_var=$ac_new_val ;;
3033 case " $ac_configure_args " in
3034 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3035 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3039 if $ac_cache_corrupted; then
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3043 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3044 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3046 ## -------------------- ##
3047 ## Main body of script. ##
3048 ## -------------------- ##
3051 ac_cpp
='$CPP $CPPFLAGS'
3052 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3053 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3054 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3058 ac_config_headers
="$ac_config_headers include/config.h"
3061 for ac_dir
in tools
"$srcdir"/tools
; do
3062 if test -f "$ac_dir/install-sh"; then
3064 ac_install_sh
="$ac_aux_dir/install-sh -c"
3066 elif test -f "$ac_dir/install.sh"; then
3068 ac_install_sh
="$ac_aux_dir/install.sh -c"
3070 elif test -f "$ac_dir/shtool"; then
3072 ac_install_sh
="$ac_aux_dir/shtool install -c"
3076 if test -z "$ac_aux_dir"; then
3077 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3080 # These three variables are undocumented and unsupported,
3081 # and are intended to be withdrawn in a future Autoconf release.
3082 # They can cause serious problems if a builder's source tree is in a directory
3083 # whose full name contains unusual characters.
3084 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3085 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3086 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3090 libwine_version
="1.0"
3094 # Check whether --enable-win16 was given.
3095 if test "${enable_win16+set}" = set; then :
3096 enableval
=$enable_win16;
3099 # Check whether --enable-win64 was given.
3100 if test "${enable_win64+set}" = set; then :
3101 enableval
=$enable_win64;
3104 # Check whether --enable-tests was given.
3105 if test "${enable_tests+set}" = set; then :
3106 enableval
=$enable_tests;
3109 # Check whether --enable-maintainer-mode was given.
3110 if test "${enable_maintainer_mode+set}" = set; then :
3111 enableval
=$enable_maintainer_mode;
3116 # Check whether --with-alsa was given.
3117 if test "${with_alsa+set}" = set; then :
3118 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3122 # Check whether --with-capi was given.
3123 if test "${with_capi+set}" = set; then :
3128 # Check whether --with-cms was given.
3129 if test "${with_cms+set}" = set; then :
3134 # Check whether --with-coreaudio was given.
3135 if test "${with_coreaudio+set}" = set; then :
3136 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3140 # Check whether --with-cups was given.
3141 if test "${with_cups+set}" = set; then :
3146 # Check whether --with-curses was given.
3147 if test "${with_curses+set}" = set; then :
3148 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3152 # Check whether --with-dbus was given.
3153 if test "${with_dbus+set}" = set; then :
3158 # Check whether --with-fontconfig was given.
3159 if test "${with_fontconfig+set}" = set; then :
3160 withval
=$with_fontconfig;
3164 # Check whether --with-freetype was given.
3165 if test "${with_freetype+set}" = set; then :
3166 withval
=$with_freetype;
3170 # Check whether --with-gettext was given.
3171 if test "${with_gettext+set}" = set; then :
3172 withval
=$with_gettext;
3176 # Check whether --with-gettextpo was given.
3177 if test "${with_gettextpo+set}" = set; then :
3178 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3182 # Check whether --with-gphoto was given.
3183 if test "${with_gphoto+set}" = set; then :
3184 withval
=$with_gphoto;
3188 # Check whether --with-glu was given.
3189 if test "${with_glu+set}" = set; then :
3194 # Check whether --with-gnutls was given.
3195 if test "${with_gnutls+set}" = set; then :
3196 withval
=$with_gnutls;
3200 # Check whether --with-gsm was given.
3201 if test "${with_gsm+set}" = set; then :
3202 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3206 # Check whether --with-gstreamer was given.
3207 if test "${with_gstreamer+set}" = set; then :
3208 withval
=$with_gstreamer;
3212 # Check whether --with-hal was given.
3213 if test "${with_hal+set}" = set; then :
3218 # Check whether --with-jpeg was given.
3219 if test "${with_jpeg+set}" = set; then :
3224 # Check whether --with-ldap was given.
3225 if test "${with_ldap+set}" = set; then :
3226 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3230 # Check whether --with-mpg123 was given.
3231 if test "${with_mpg123+set}" = set; then :
3232 withval
=$with_mpg123;
3236 # Check whether --with-netapi was given.
3237 if test "${with_netapi+set}" = set; then :
3238 withval
=$with_netapi;
3242 # Check whether --with-openal was given.
3243 if test "${with_openal+set}" = set; then :
3244 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3248 # Check whether --with-opencl was given.
3249 if test "${with_opencl+set}" = set; then :
3250 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3254 # Check whether --with-opengl was given.
3255 if test "${with_opengl+set}" = set; then :
3256 withval
=$with_opengl;
3260 # Check whether --with-osmesa was given.
3261 if test "${with_osmesa+set}" = set; then :
3262 withval
=$with_osmesa;
3266 # Check whether --with-oss was given.
3267 if test "${with_oss+set}" = set; then :
3272 # Check whether --with-png was given.
3273 if test "${with_png+set}" = set; then :
3278 # Check whether --with-pthread was given.
3279 if test "${with_pthread+set}" = set; then :
3280 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3284 # Check whether --with-sane was given.
3285 if test "${with_sane+set}" = set; then :
3290 # Check whether --with-tiff was given.
3291 if test "${with_tiff+set}" = set; then :
3296 # Check whether --with-v4l was given.
3297 if test "${with_v4l+set}" = set; then :
3302 # Check whether --with-xcomposite was given.
3303 if test "${with_xcomposite+set}" = set; then :
3304 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3308 # Check whether --with-xcursor was given.
3309 if test "${with_xcursor+set}" = set; then :
3310 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3314 # Check whether --with-xinerama was given.
3315 if test "${with_xinerama+set}" = set; then :
3316 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3320 # Check whether --with-xinput was given.
3321 if test "${with_xinput+set}" = set; then :
3322 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3326 # Check whether --with-xinput2 was given.
3327 if test "${with_xinput2+set}" = set; then :
3328 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3332 # Check whether --with-xml was given.
3333 if test "${with_xml+set}" = set; then :
3338 # Check whether --with-xrandr was given.
3339 if test "${with_xrandr+set}" = set; then :
3340 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3344 # Check whether --with-xrender was given.
3345 if test "${with_xrender+set}" = set; then :
3346 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3350 # Check whether --with-xshape was given.
3351 if test "${with_xshape+set}" = set; then :
3352 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3356 # Check whether --with-xshm was given.
3357 if test "${with_xshm+set}" = set; then :
3358 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3362 # Check whether --with-xslt was given.
3363 if test "${with_xslt+set}" = set; then :
3368 # Check whether --with-xxf86vm was given.
3369 if test "${with_xxf86vm+set}" = set; then :
3370 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
3374 # Check whether --with-zlib was given.
3375 if test "${with_zlib+set}" = set; then :
3376 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3381 # Check whether --with-wine-tools was given.
3382 if test "${with_wine_tools+set}" = set; then :
3383 withval
=$with_wine_tools;
3387 # Check whether --with-wine64 was given.
3388 if test "${with_wine64+set}" = set; then :
3389 withval
=$with_wine64;
3393 # Make sure we can run config.sub.
3394 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3395 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3398 $as_echo_n "checking build system type... " >&6; }
3399 if ${ac_cv_build+:} false
; then :
3400 $as_echo_n "(cached) " >&6
3402 ac_build_alias
=$build_alias
3403 test "x$ac_build_alias" = x
&&
3404 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3405 test "x$ac_build_alias" = x
&&
3406 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3407 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3408 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3412 $as_echo "$ac_cv_build" >&6; }
3413 case $ac_cv_build in
3415 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3418 ac_save_IFS
=$IFS; IFS
='-'
3424 # Remember, the first character of IFS is used to create $*,
3425 # except with old shells:
3428 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3432 $as_echo_n "checking host system type... " >&6; }
3433 if ${ac_cv_host+:} false
; then :
3434 $as_echo_n "(cached) " >&6
3436 if test "x$host_alias" = x
; then
3437 ac_cv_host
=$ac_cv_build
3439 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3440 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3445 $as_echo "$ac_cv_host" >&6; }
3448 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3451 ac_save_IFS
=$IFS; IFS
='-'
3457 # Remember, the first character of IFS is used to create $*,
3458 # except with old shells:
3461 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3467 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3468 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3469 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3475 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3477 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3478 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3479 $as_echo_n "(cached) " >&6
3481 cat >conftest.
make <<\_ACEOF
3484 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3486 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3487 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3489 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3491 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3495 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3497 $as_echo "yes" >&6; }
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3501 $as_echo "no" >&6; }
3502 SET_MAKE
="MAKE=${MAKE-make}"
3506 ac_cpp
='$CPP $CPPFLAGS'
3507 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3508 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3509 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3510 if test -n "$ac_tool_prefix"; then
3511 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3512 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3514 $as_echo_n "checking for $ac_word... " >&6; }
3515 if ${ac_cv_prog_CC+:} false
; then :
3516 $as_echo_n "(cached) " >&6
3518 if test -n "$CC"; then
3519 ac_cv_prog_CC
="$CC" # Let the user override the test.
3521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3525 test -z "$as_dir" && as_dir
=.
3526 for ac_exec_ext
in '' $ac_executable_extensions; do
3527 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3528 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3539 if test -n "$CC"; then
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3541 $as_echo "$CC" >&6; }
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3544 $as_echo "no" >&6; }
3549 if test -z "$ac_cv_prog_CC"; then
3551 # Extract the first word of "gcc", so it can be a program name with args.
3552 set dummy gcc
; ac_word
=$2
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3554 $as_echo_n "checking for $ac_word... " >&6; }
3555 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3556 $as_echo_n "(cached) " >&6
3558 if test -n "$ac_ct_CC"; then
3559 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3565 test -z "$as_dir" && as_dir
=.
3566 for ac_exec_ext
in '' $ac_executable_extensions; do
3567 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3568 ac_cv_prog_ac_ct_CC
="gcc"
3569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3578 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3579 if test -n "$ac_ct_CC"; then
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3581 $as_echo "$ac_ct_CC" >&6; }
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3584 $as_echo "no" >&6; }
3587 if test "x$ac_ct_CC" = x
; then
3590 case $cross_compiling:$ac_tool_warned in
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3594 ac_tool_warned
=yes ;;
3602 if test -z "$CC"; then
3603 if test -n "$ac_tool_prefix"; then
3604 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3605 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3607 $as_echo_n "checking for $ac_word... " >&6; }
3608 if ${ac_cv_prog_CC+:} false
; then :
3609 $as_echo_n "(cached) " >&6
3611 if test -n "$CC"; then
3612 ac_cv_prog_CC
="$CC" # Let the user override the test.
3614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3618 test -z "$as_dir" && as_dir
=.
3619 for ac_exec_ext
in '' $ac_executable_extensions; do
3620 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3621 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3632 if test -n "$CC"; then
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3634 $as_echo "$CC" >&6; }
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3637 $as_echo "no" >&6; }
3643 if test -z "$CC"; then
3644 # Extract the first word of "cc", so it can be a program name with args.
3645 set dummy cc
; ac_word
=$2
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3647 $as_echo_n "checking for $ac_word... " >&6; }
3648 if ${ac_cv_prog_CC+:} false
; then :
3649 $as_echo_n "(cached) " >&6
3651 if test -n "$CC"; then
3652 ac_cv_prog_CC
="$CC" # Let the user override the test.
3655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3659 test -z "$as_dir" && as_dir
=.
3660 for ac_exec_ext
in '' $ac_executable_extensions; do
3661 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3662 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3663 ac_prog_rejected
=yes
3667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3674 if test $ac_prog_rejected = yes; then
3675 # We found a bogon in the path, so make sure we never use it.
3676 set dummy
$ac_cv_prog_CC
3678 if test $# != 0; then
3679 # We chose a different compiler from the bogus one.
3680 # However, it has the same basename, so the bogon will be chosen
3681 # first if we set CC to just the basename; use the full file name.
3683 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3689 if test -n "$CC"; then
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3691 $as_echo "$CC" >&6; }
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3694 $as_echo "no" >&6; }
3699 if test -z "$CC"; then
3700 if test -n "$ac_tool_prefix"; then
3701 for ac_prog
in cl.exe
3703 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3704 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3706 $as_echo_n "checking for $ac_word... " >&6; }
3707 if ${ac_cv_prog_CC+:} false
; then :
3708 $as_echo_n "(cached) " >&6
3710 if test -n "$CC"; then
3711 ac_cv_prog_CC
="$CC" # Let the user override the test.
3713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3717 test -z "$as_dir" && as_dir
=.
3718 for ac_exec_ext
in '' $ac_executable_extensions; do
3719 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3720 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3731 if test -n "$CC"; then
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3733 $as_echo "$CC" >&6; }
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3736 $as_echo "no" >&6; }
3740 test -n "$CC" && break
3743 if test -z "$CC"; then
3745 for ac_prog
in cl.exe
3747 # Extract the first word of "$ac_prog", so it can be a program name with args.
3748 set dummy
$ac_prog; ac_word
=$2
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3750 $as_echo_n "checking for $ac_word... " >&6; }
3751 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3752 $as_echo_n "(cached) " >&6
3754 if test -n "$ac_ct_CC"; then
3755 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3761 test -z "$as_dir" && as_dir
=.
3762 for ac_exec_ext
in '' $ac_executable_extensions; do
3763 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3764 ac_cv_prog_ac_ct_CC
="$ac_prog"
3765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3774 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3775 if test -n "$ac_ct_CC"; then
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3777 $as_echo "$ac_ct_CC" >&6; }
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3780 $as_echo "no" >&6; }
3784 test -n "$ac_ct_CC" && break
3787 if test "x$ac_ct_CC" = x
; then
3790 case $cross_compiling:$ac_tool_warned in
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3793 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3794 ac_tool_warned
=yes ;;
3803 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3805 as_fn_error $?
"no acceptable C compiler found in \$PATH
3806 See \`config.log' for more details" "$LINENO" 5; }
3808 # Provide some information about the compiler.
3809 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3812 for ac_option
in --version -v -V -qversion; do
3813 { { ac_try
="$ac_compiler $ac_option >&5"
3815 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3816 *) ac_try_echo=$ac_try;;
3818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3819 $as_echo "$ac_try_echo"; } >&5
3820 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3822 if test -s conftest.err; then
3824 ... rest of stderr output deleted ...
3825 10q' conftest.err >conftest.er1
3826 cat conftest.er1 >&5
3828 rm -f conftest.er1 conftest.err
3829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3830 test $ac_status = 0; }
3833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3834 /* end confdefs.h. */
3844 ac_clean_files_save=$ac_clean_files
3845 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3846 # Try to create an executable without -o first, disregard a.out.
3847 # It will help us diagnose broken compilers, and finding out an intuition
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3850 $as_echo_n "checking whether the C compiler works... " >&6; }
3851 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3853 # The possible output files:
3854 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3857 for ac_file in $ac_files
3860 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3861 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3866 if { { ac_try="$ac_link_default"
3868 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3869 *) ac_try_echo
=$ac_try;;
3871 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3872 $as_echo "$ac_try_echo"; } >&5
3873 (eval "$ac_link_default") 2>&5
3875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3876 test $ac_status = 0; }; then :
3877 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3878 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3879 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3880 # so that the user can short-circuit this test for compilers unknown to
3882 for ac_file
in $ac_files ''
3884 test -f "$ac_file" ||
continue
3886 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3889 # We found the default executable, but exeext='' is most
3893 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3895 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3897 # We set ac_cv_exeext here because the later test for it is not
3898 # safe: cross compilers may not add the suffix if given an `-o'
3899 # argument, so we may need to know it at that point already.
3900 # Even if this section looks crufty: it has the advantage of
3907 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3912 if test -z "$ac_file"; then :
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3914 $as_echo "no" >&6; }
3915 $as_echo "$as_me: failed program was:" >&5
3916 sed 's/^/| /' conftest.
$ac_ext >&5
3918 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3919 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3920 as_fn_error
77 "C compiler cannot create executables
3921 See \`config.log' for more details" "$LINENO" 5; }
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3924 $as_echo "yes" >&6; }
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3927 $as_echo_n "checking for C compiler default output file name... " >&6; }
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3929 $as_echo "$ac_file" >&6; }
3930 ac_exeext
=$ac_cv_exeext
3932 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3933 ac_clean_files
=$ac_clean_files_save
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3935 $as_echo_n "checking for suffix of executables... " >&6; }
3936 if { { ac_try
="$ac_link"
3938 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3939 *) ac_try_echo=$ac_try;;
3941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3942 $as_echo "$ac_try_echo"; } >&5
3943 (eval "$ac_link") 2>&5
3945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3946 test $ac_status = 0; }; then :
3947 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3948 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3949 # work properly (i.e., refer to `conftest.exe'), while it won't with
3951 for ac_file
in conftest.exe conftest conftest.
*; do
3952 test -f "$ac_file" ||
continue
3954 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3955 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3961 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3962 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3963 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3964 See \`config.log' for more details" "$LINENO" 5; }
3966 rm -f conftest conftest
$ac_cv_exeext
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3968 $as_echo "$ac_cv_exeext" >&6; }
3970 rm -f conftest.
$ac_ext
3971 EXEEXT
=$ac_cv_exeext
3973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3974 /* end confdefs.h. */
3979 FILE *f = fopen ("conftest.out", "w");
3980 return ferror (f) || fclose (f) != 0;
3986 ac_clean_files
="$ac_clean_files conftest.out"
3987 # Check that the compiler produces executables we can run. If not, either
3988 # the compiler is broken, or we cross compile.
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3990 $as_echo_n "checking whether we are cross compiling... " >&6; }
3991 if test "$cross_compiling" != yes; then
3992 { { ac_try
="$ac_link"
3994 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3995 *) ac_try_echo=$ac_try;;
3997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3998 $as_echo "$ac_try_echo"; } >&5
3999 (eval "$ac_link") 2>&5
4001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4002 test $ac_status = 0; }
4003 if { ac_try='./conftest$ac_cv_exeext'
4004 { { case "(($ac_try" in
4005 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4006 *) ac_try_echo
=$ac_try;;
4008 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4009 $as_echo "$ac_try_echo"; } >&5
4010 (eval "$ac_try") 2>&5
4012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4013 test $ac_status = 0; }; }; then
4016 if test "$cross_compiling" = maybe
; then
4019 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4021 as_fn_error $?
"cannot run C compiled programs.
4022 If you meant to cross compile, use \`--host'.
4023 See \`config.log' for more details" "$LINENO" 5; }
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4028 $as_echo "$cross_compiling" >&6; }
4030 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4031 ac_clean_files
=$ac_clean_files_save
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4033 $as_echo_n "checking for suffix of object files... " >&6; }
4034 if ${ac_cv_objext+:} false
; then :
4035 $as_echo_n "(cached) " >&6
4037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4038 /* end confdefs.h. */
4048 rm -f conftest.o conftest.obj
4049 if { { ac_try
="$ac_compile"
4051 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4052 *) ac_try_echo=$ac_try;;
4054 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4055 $as_echo "$ac_try_echo"; } >&5
4056 (eval "$ac_compile") 2>&5
4058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4059 test $ac_status = 0; }; then :
4060 for ac_file in conftest.o conftest.obj conftest.*; do
4061 test -f "$ac_file" || continue;
4063 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4064 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4069 $as_echo "$as_me: failed program was:" >&5
4070 sed 's/^/| /' conftest.$ac_ext >&5
4072 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4074 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4075 See \
`config.log' for more details" "$LINENO" 5; }
4077 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4080 $as_echo "$ac_cv_objext" >&6; }
4081 OBJEXT=$ac_cv_objext
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4084 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4085 if ${ac_cv_c_compiler_gnu+:} false; then :
4086 $as_echo_n "(cached) " >&6
4088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4089 /* end confdefs.h. */
4102 if ac_fn_c_try_compile "$LINENO"; then :
4107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4108 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4112 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4113 if test $ac_compiler_gnu = yes; then
4118 ac_test_CFLAGS=${CFLAGS+set}
4119 ac_save_CFLAGS=$CFLAGS
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4121 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4122 if ${ac_cv_prog_cc_g+:} false; then :
4123 $as_echo_n "(cached) " >&6
4125 ac_save_c_werror_flag=$ac_c_werror_flag
4126 ac_c_werror_flag=yes
4129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h. */
4140 if ac_fn_c_try_compile "$LINENO"; then :
4144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4145 /* end confdefs.h. */
4155 if ac_fn_c_try_compile "$LINENO"; then :
4158 ac_c_werror_flag=$ac_save_c_werror_flag
4160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4161 /* end confdefs.h. */
4171 if ac_fn_c_try_compile "$LINENO"; then :
4174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4179 ac_c_werror_flag=$ac_save_c_werror_flag
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4182 $as_echo "$ac_cv_prog_cc_g" >&6; }
4183 if test "$ac_test_CFLAGS" = set; then
4184 CFLAGS=$ac_save_CFLAGS
4185 elif test $ac_cv_prog_cc_g = yes; then
4186 if test "$GCC" = yes; then
4192 if test "$GCC" = yes; then
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4199 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4200 if ${ac_cv_prog_cc_c89+:} false; then :
4201 $as_echo_n "(cached) " >&6
4203 ac_cv_prog_cc_c89=no
4205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4206 /* end confdefs.h. */
4210 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4211 struct buf { int x; };
4212 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4213 static char *e (p, i)
4219 static char *f (char * (*g) (char **, int), char **p, ...)
4224 s = g (p, va_arg (v,int));
4229 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4230 function prototypes and stuff, but not '\xHH' hex character constants.
4231 These don't provoke an error unfortunately, instead are silently treated
4232 as 'x'. The following induces an error, until -std is added to get
4233 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4234 array size at least. It's necessary to write '\x00'==0 to get something
4235 that's true only with -std. */
4236 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4238 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4239 inside strings and character constants. */
4241 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4243 int test (int i, double x);
4244 struct s1 {int (*f) (int a);};
4245 struct s2 {int (*f) (double a);};
4246 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4252 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4257 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4258 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4260 CC="$ac_save_CC $ac_arg"
4261 if ac_fn_c_try_compile "$LINENO"; then :
4262 ac_cv_prog_cc_c89=$ac_arg
4264 rm -f core conftest.err conftest.$ac_objext
4265 test "x$ac_cv_prog_cc_c89" != "xno" && break
4267 rm -f conftest.$ac_ext
4272 case "x$ac_cv_prog_cc_c89" in
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4275 $as_echo "none needed" >&6; } ;;
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4278 $as_echo "unsupported" >&6; } ;;
4280 CC="$CC $ac_cv_prog_cc_c89"
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4282 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4284 if test "x$ac_cv_prog_cc_c89" != xno; then :
4289 ac_cpp='$CPP $CPPFLAGS'
4290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4295 ac_cpp='$CXXCPP $CPPFLAGS'
4296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4299 if test -z "$CXX"; then
4300 if test -n "$CCC"; then
4303 if test -n "$ac_tool_prefix"; then
4304 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4306 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4307 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4309 $as_echo_n "checking for $ac_word... " >&6; }
4310 if ${ac_cv_prog_CXX+:} false; then :
4311 $as_echo_n "(cached) " >&6
4313 if test -n "$CXX"; then
4314 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4320 test -z "$as_dir" && as_dir=.
4321 for ac_exec_ext in '' $ac_executable_extensions; do
4322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4323 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4334 if test -n "$CXX"; then
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4336 $as_echo "$CXX" >&6; }
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4339 $as_echo "no" >&6; }
4343 test -n "$CXX" && break
4346 if test -z "$CXX"; then
4348 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4350 # Extract the first word of "$ac_prog", so it can be a program name with args.
4351 set dummy $ac_prog; ac_word=$2
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4353 $as_echo_n "checking for $ac_word... " >&6; }
4354 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4355 $as_echo_n "(cached) " >&6
4357 if test -n "$ac_ct_CXX"; then
4358 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4364 test -z "$as_dir" && as_dir=.
4365 for ac_exec_ext in '' $ac_executable_extensions; do
4366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4367 ac_cv_prog_ac_ct_CXX="$ac_prog"
4368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4377 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4378 if test -n "$ac_ct_CXX"; then
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4380 $as_echo "$ac_ct_CXX" >&6; }
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4387 test -n "$ac_ct_CXX" && break
4390 if test "x$ac_ct_CXX" = x; then
4393 case $cross_compiling:$ac_tool_warned in
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4396 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4397 ac_tool_warned=yes ;;
4405 # Provide some information about the compiler.
4406 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4409 for ac_option in --version -v -V -qversion; do
4410 { { ac_try="$ac_compiler $ac_option >&5"
4412 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4413 *) ac_try_echo
=$ac_try;;
4415 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4416 $as_echo "$ac_try_echo"; } >&5
4417 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4419 if test -s conftest.err
; then
4421 ... rest of stderr output deleted ...
4422 10q' conftest.err
>conftest.er1
4423 cat conftest.er1
>&5
4425 rm -f conftest.er1 conftest.err
4426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4427 test $ac_status = 0; }
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4431 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4432 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4433 $as_echo_n "(cached) " >&6
4435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4436 /* end confdefs.h. */
4449 if ac_fn_cxx_try_compile
"$LINENO"; then :
4454 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4455 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4459 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4460 if test $ac_compiler_gnu = yes; then
4465 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4466 ac_save_CXXFLAGS
=$CXXFLAGS
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4468 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4469 if ${ac_cv_prog_cxx_g+:} false
; then :
4470 $as_echo_n "(cached) " >&6
4472 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4473 ac_cxx_werror_flag
=yes
4476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4477 /* end confdefs.h. */
4487 if ac_fn_cxx_try_compile
"$LINENO"; then :
4488 ac_cv_prog_cxx_g
=yes
4491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4492 /* end confdefs.h. */
4502 if ac_fn_cxx_try_compile
"$LINENO"; then :
4505 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4508 /* end confdefs.h. */
4518 if ac_fn_cxx_try_compile
"$LINENO"; then :
4519 ac_cv_prog_cxx_g
=yes
4521 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4525 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4526 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4529 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4530 if test "$ac_test_CXXFLAGS" = set; then
4531 CXXFLAGS
=$ac_save_CXXFLAGS
4532 elif test $ac_cv_prog_cxx_g = yes; then
4533 if test "$GXX" = yes; then
4539 if test "$GXX" = yes; then
4546 ac_cpp
='$CPP $CPPFLAGS'
4547 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4548 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4549 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4551 if test -n "$ac_tool_prefix"; then
4552 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4553 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4555 $as_echo_n "checking for $ac_word... " >&6; }
4556 if ${ac_cv_prog_CPPBIN+:} false
; then :
4557 $as_echo_n "(cached) " >&6
4559 if test -n "$CPPBIN"; then
4560 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4566 test -z "$as_dir" && as_dir
=.
4567 for ac_exec_ext
in '' $ac_executable_extensions; do
4568 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4569 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4579 CPPBIN
=$ac_cv_prog_CPPBIN
4580 if test -n "$CPPBIN"; then
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4582 $as_echo "$CPPBIN" >&6; }
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4585 $as_echo "no" >&6; }
4590 if test -z "$ac_cv_prog_CPPBIN"; then
4591 ac_ct_CPPBIN
=$CPPBIN
4592 # Extract the first word of "cpp", so it can be a program name with args.
4593 set dummy cpp
; ac_word
=$2
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4595 $as_echo_n "checking for $ac_word... " >&6; }
4596 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4597 $as_echo_n "(cached) " >&6
4599 if test -n "$ac_ct_CPPBIN"; then
4600 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4606 test -z "$as_dir" && as_dir
=.
4607 for ac_exec_ext
in '' $ac_executable_extensions; do
4608 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4609 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4619 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4620 if test -n "$ac_ct_CPPBIN"; then
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4622 $as_echo "$ac_ct_CPPBIN" >&6; }
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4625 $as_echo "no" >&6; }
4628 if test "x$ac_ct_CPPBIN" = x
; then
4631 case $cross_compiling:$ac_tool_warned in
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4635 ac_tool_warned
=yes ;;
4637 CPPBIN
=$ac_ct_CPPBIN
4640 CPPBIN
="$ac_cv_prog_CPPBIN"
4644 cat >>confdefs.h
<<_ACEOF
4645 #define EXEEXT "$ac_exeext"
4651 if test "x$enable_win64" = "xyes"
4656 notice_platform
="64-bit "
4663 notice_platform
="32-bit "
4666 enable_win16
=${enable_win16:-yes}
4668 with_fontconfig
=${with_fontconfig:-no}
4671 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4676 $as_echo_n "checking whether $CC works... " >&6; }
4678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4679 /* end confdefs.h. */
4689 if ac_fn_c_try_link
"$LINENO"; then :
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4691 $as_echo "yes" >&6; }
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4694 $as_echo "no" >&6; }
4695 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4697 rm -f core conftest.err conftest.
$ac_objext \
4698 conftest
$ac_exeext conftest.
$ac_ext
4700 notice_platform
="32-bit "
4703 enable_win16
=${enable_win16:-yes}
4705 if test "x${GCC}" = "xyes"
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4708 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4710 /* end confdefs.h. */
4715 void func(__builtin_ms_va_list *args);
4720 if ac_fn_c_try_compile
"$LINENO"; then :
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4722 $as_echo "yes" >&6; }
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4725 $as_echo "no" >&6; }
4726 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4736 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4738 /* end confdefs.h. */
4739 int ac_test(int i) { return i; }
4743 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4748 if ac_fn_c_try_link
"$LINENO"; then :
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4750 $as_echo "yes" >&6; }
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4753 $as_echo "no" >&6; }
4754 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4756 rm -f core conftest.err conftest.
$ac_objext \
4757 conftest
$ac_exeext conftest.
$ac_ext
4758 CFLAGS
="$CFLAGS -marm"
4760 *-mingw32*|
*-cygwin*)
4761 enable_win16
=${enable_win16:-no}
4762 CFLAGS
="$CFLAGS -D_WIN32"
4765 enable_win16
=${enable_win16:-yes}
4769 enable_win16
=${enable_win16:-no}
4770 enable_win64
=${enable_win64:-no}
4772 enable_winetest
=${enable_winetest:-$enable_tests}
4774 if test -n "$with_wine64"
4776 if test "x$enable_win64" = "xyes"
4778 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4779 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4781 enable_fonts
=${enable_fonts:-no}
4782 enable_server
=${enable_server:-no}
4783 elif test "x$enable_win64" = "xyes"
4785 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4789 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4790 if ${wine_cv_toolsdir+:} false
; then :
4791 $as_echo_n "(cached) " >&6
4793 wine_cv_toolsdir
="$with_wine_tools"
4794 if test -z "$with_wine_tools"; then
4795 if test "$cross_compiling" = "yes"; then
4796 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4797 elif test -n "$with_wine64"; then
4798 wine_cv_toolsdir
="$with_wine64"
4801 if test -z "$wine_cv_toolsdir"; then
4802 wine_cv_toolsdir
="\$(top_builddir)"
4803 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4804 case "$wine_cv_toolsdir" in
4806 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4808 enable_tools
=${enable_tools:-no}
4810 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4814 $as_echo "$wine_cv_toolsdir" >&6; }
4815 TOOLSDIR
=$wine_cv_toolsdir
4817 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4819 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4825 # Extract the first word of "$ac_prog", so it can be a program name with args.
4826 set dummy
$ac_prog; ac_word
=$2
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4828 $as_echo_n "checking for $ac_word... " >&6; }
4829 if ${ac_cv_prog_FLEX+:} false
; then :
4830 $as_echo_n "(cached) " >&6
4832 if test -n "$FLEX"; then
4833 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4839 test -z "$as_dir" && as_dir
=.
4840 for ac_exec_ext
in '' $ac_executable_extensions; do
4841 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4842 ac_cv_prog_FLEX
="$ac_prog"
4843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4852 FLEX
=$ac_cv_prog_FLEX
4853 if test -n "$FLEX"; then
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4855 $as_echo "$FLEX" >&6; }
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858 $as_echo "no" >&6; }
4862 test -n "$FLEX" && break
4864 test -n "$FLEX" || FLEX
="none"
4866 if test "$FLEX" = "none"
4868 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4871 $as_echo_n "checking whether flex is recent enough... " >&6; }
4872 cat >conftest.l
<<EOF
4874 #include "prediluvian.h"
4878 if $FLEX -t conftest.l
>/dev
/null
2>&5
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4881 $as_echo "yes" >&6; }
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4884 $as_echo "no" >&6; }
4885 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4888 for ac_prog
in bison
4890 # Extract the first word of "$ac_prog", so it can be a program name with args.
4891 set dummy
$ac_prog; ac_word
=$2
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4893 $as_echo_n "checking for $ac_word... " >&6; }
4894 if ${ac_cv_prog_BISON+:} false
; then :
4895 $as_echo_n "(cached) " >&6
4897 if test -n "$BISON"; then
4898 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4904 test -z "$as_dir" && as_dir
=.
4905 for ac_exec_ext
in '' $ac_executable_extensions; do
4906 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4907 ac_cv_prog_BISON
="$ac_prog"
4908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4917 BISON
=$ac_cv_prog_BISON
4918 if test -n "$BISON"; then
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4920 $as_echo "$BISON" >&6; }
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4923 $as_echo "no" >&6; }
4927 test -n "$BISON" && break
4929 test -n "$BISON" || BISON
="none"
4931 if test "$BISON" = "none"
4933 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4936 if test -n "$ac_tool_prefix"; then
4937 for ac_prog
in ar gar
4939 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4940 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4942 $as_echo_n "checking for $ac_word... " >&6; }
4943 if ${ac_cv_prog_AR+:} false
; then :
4944 $as_echo_n "(cached) " >&6
4946 if test -n "$AR"; then
4947 ac_cv_prog_AR
="$AR" # Let the user override the test.
4949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4953 test -z "$as_dir" && as_dir
=.
4954 for ac_exec_ext
in '' $ac_executable_extensions; do
4955 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4956 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4967 if test -n "$AR"; then
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4969 $as_echo "$AR" >&6; }
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4972 $as_echo "no" >&6; }
4976 test -n "$AR" && break
4979 if test -z "$AR"; then
4981 for ac_prog
in ar gar
4983 # Extract the first word of "$ac_prog", so it can be a program name with args.
4984 set dummy
$ac_prog; ac_word
=$2
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986 $as_echo_n "checking for $ac_word... " >&6; }
4987 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4988 $as_echo_n "(cached) " >&6
4990 if test -n "$ac_ct_AR"; then
4991 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4997 test -z "$as_dir" && as_dir
=.
4998 for ac_exec_ext
in '' $ac_executable_extensions; do
4999 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5000 ac_cv_prog_ac_ct_AR
="$ac_prog"
5001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5010 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5011 if test -n "$ac_ct_AR"; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5013 $as_echo "$ac_ct_AR" >&6; }
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5020 test -n "$ac_ct_AR" && break
5023 if test "x$ac_ct_AR" = x
; then
5026 case $cross_compiling:$ac_tool_warned in
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5029 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5030 ac_tool_warned
=yes ;;
5036 if test -n "$ac_tool_prefix"; then
5037 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5038 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5040 $as_echo_n "checking for $ac_word... " >&6; }
5041 if ${ac_cv_prog_STRIP+:} false
; then :
5042 $as_echo_n "(cached) " >&6
5044 if test -n "$STRIP"; then
5045 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5051 test -z "$as_dir" && as_dir
=.
5052 for ac_exec_ext
in '' $ac_executable_extensions; do
5053 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5054 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5064 STRIP
=$ac_cv_prog_STRIP
5065 if test -n "$STRIP"; then
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5067 $as_echo "$STRIP" >&6; }
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5070 $as_echo "no" >&6; }
5075 if test -z "$ac_cv_prog_STRIP"; then
5077 # Extract the first word of "strip", so it can be a program name with args.
5078 set dummy strip
; ac_word
=$2
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5080 $as_echo_n "checking for $ac_word... " >&6; }
5081 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5082 $as_echo_n "(cached) " >&6
5084 if test -n "$ac_ct_STRIP"; then
5085 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5091 test -z "$as_dir" && as_dir
=.
5092 for ac_exec_ext
in '' $ac_executable_extensions; do
5093 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5094 ac_cv_prog_ac_ct_STRIP
="strip"
5095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5104 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5105 if test -n "$ac_ct_STRIP"; then
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5107 $as_echo "$ac_ct_STRIP" >&6; }
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5110 $as_echo "no" >&6; }
5113 if test "x$ac_ct_STRIP" = x
; then
5116 case $cross_compiling:$ac_tool_warned in
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5120 ac_tool_warned
=yes ;;
5125 STRIP
="$ac_cv_prog_STRIP"
5130 if test -n "$ac_tool_prefix"; then
5131 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5132 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5134 $as_echo_n "checking for $ac_word... " >&6; }
5135 if ${ac_cv_prog_RANLIB+:} false
; then :
5136 $as_echo_n "(cached) " >&6
5138 if test -n "$RANLIB"; then
5139 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5145 test -z "$as_dir" && as_dir
=.
5146 for ac_exec_ext
in '' $ac_executable_extensions; do
5147 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5148 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5158 RANLIB
=$ac_cv_prog_RANLIB
5159 if test -n "$RANLIB"; then
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5161 $as_echo "$RANLIB" >&6; }
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5164 $as_echo "no" >&6; }
5169 if test -z "$ac_cv_prog_RANLIB"; then
5170 ac_ct_RANLIB
=$RANLIB
5171 # Extract the first word of "ranlib", so it can be a program name with args.
5172 set dummy ranlib
; ac_word
=$2
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5174 $as_echo_n "checking for $ac_word... " >&6; }
5175 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5176 $as_echo_n "(cached) " >&6
5178 if test -n "$ac_ct_RANLIB"; then
5179 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5185 test -z "$as_dir" && as_dir
=.
5186 for ac_exec_ext
in '' $ac_executable_extensions; do
5187 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5188 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5198 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5199 if test -n "$ac_ct_RANLIB"; then
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5201 $as_echo "$ac_ct_RANLIB" >&6; }
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5204 $as_echo "no" >&6; }
5207 if test "x$ac_ct_RANLIB" = x
; then
5210 case $cross_compiling:$ac_tool_warned in
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5214 ac_tool_warned
=yes ;;
5216 RANLIB
=$ac_ct_RANLIB
5219 RANLIB
="$ac_cv_prog_RANLIB"
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5223 $as_echo_n "checking whether ln -s works... " >&6; }
5225 if test "$LN_S" = "ln -s"; then
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5227 $as_echo "yes" >&6; }
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5230 $as_echo "no, using $LN_S" >&6; }
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5234 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5235 if ${ac_cv_path_GREP+:} false
; then :
5236 $as_echo_n "(cached) " >&6
5238 if test -z "$GREP"; then
5239 ac_path_GREP_found
=false
5240 # Loop through the user's path and test for each of PROGNAME-LIST
5241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5242 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5245 test -z "$as_dir" && as_dir
=.
5246 for ac_prog
in grep ggrep
; do
5247 for ac_exec_ext
in '' $ac_executable_extensions; do
5248 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5249 as_fn_executable_p
"$ac_path_GREP" ||
continue
5250 # Check for GNU ac_path_GREP and select it if it is found.
5251 # Check for GNU $ac_path_GREP
5252 case `"$ac_path_GREP" --version 2>&1` in
5254 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5257 $as_echo_n 0123456789 >"conftest.in"
5260 cat "conftest.in" "conftest.in" >"conftest.tmp"
5261 mv "conftest.tmp" "conftest.in"
5262 cp "conftest.in" "conftest.nl"
5263 $as_echo 'GREP' >> "conftest.nl"
5264 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5265 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5266 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5267 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5268 # Best one so far, save it but keep looking for a better one
5269 ac_cv_path_GREP
="$ac_path_GREP"
5270 ac_path_GREP_max
=$ac_count
5272 # 10*(2^10) chars as input seems more than enough
5273 test $ac_count -gt 10 && break
5275 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5278 $ac_path_GREP_found && break 3
5283 if test -z "$ac_cv_path_GREP"; then
5284 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5287 ac_cv_path_GREP
=$GREP
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5292 $as_echo "$ac_cv_path_GREP" >&6; }
5293 GREP
="$ac_cv_path_GREP"
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5297 $as_echo_n "checking for egrep... " >&6; }
5298 if ${ac_cv_path_EGREP+:} false
; then :
5299 $as_echo_n "(cached) " >&6
5301 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5302 then ac_cv_path_EGREP
="$GREP -E"
5304 if test -z "$EGREP"; then
5305 ac_path_EGREP_found
=false
5306 # Loop through the user's path and test for each of PROGNAME-LIST
5307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5308 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5311 test -z "$as_dir" && as_dir
=.
5312 for ac_prog
in egrep; do
5313 for ac_exec_ext
in '' $ac_executable_extensions; do
5314 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5315 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5316 # Check for GNU ac_path_EGREP and select it if it is found.
5317 # Check for GNU $ac_path_EGREP
5318 case `"$ac_path_EGREP" --version 2>&1` in
5320 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5323 $as_echo_n 0123456789 >"conftest.in"
5326 cat "conftest.in" "conftest.in" >"conftest.tmp"
5327 mv "conftest.tmp" "conftest.in"
5328 cp "conftest.in" "conftest.nl"
5329 $as_echo 'EGREP' >> "conftest.nl"
5330 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5331 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5332 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5333 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5334 # Best one so far, save it but keep looking for a better one
5335 ac_cv_path_EGREP
="$ac_path_EGREP"
5336 ac_path_EGREP_max
=$ac_count
5338 # 10*(2^10) chars as input seems more than enough
5339 test $ac_count -gt 10 && break
5341 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5344 $ac_path_EGREP_found && break 3
5349 if test -z "$ac_cv_path_EGREP"; then
5350 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5353 ac_cv_path_EGREP
=$EGREP
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5359 $as_echo "$ac_cv_path_EGREP" >&6; }
5360 EGREP
="$ac_cv_path_EGREP"
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5364 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5365 if test -z "$MKDIR_P"; then
5366 if ${ac_cv_path_mkdir+:} false
; then :
5367 $as_echo_n "(cached) " >&6
5369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5370 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
5373 test -z "$as_dir" && as_dir
=.
5374 for ac_prog
in mkdir gmkdir
; do
5375 for ac_exec_ext
in '' $ac_executable_extensions; do
5376 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
5377 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5378 'mkdir (GNU coreutils) '* | \
5379 'mkdir (coreutils) '* | \
5380 'mkdir (fileutils) '4.1*)
5381 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
5391 test -d .
/--version && rmdir .
/--version
5392 if test "${ac_cv_path_mkdir+set}" = set; then
5393 MKDIR_P
="$ac_cv_path_mkdir -p"
5395 # As a last resort, use the slow shell script. Don't cache a
5396 # value for MKDIR_P within a source directory, because that will
5397 # break other packages using the cache if that directory is
5398 # removed, or if the value is a relative name.
5399 MKDIR_P
="$ac_install_sh -d"
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5403 $as_echo "$MKDIR_P" >&6; }
5405 # Extract the first word of "ldconfig", so it can be a program name with args.
5406 set dummy ldconfig
; ac_word
=$2
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5408 $as_echo_n "checking for $ac_word... " >&6; }
5409 if ${ac_cv_path_LDCONFIG+:} false
; then :
5410 $as_echo_n "(cached) " >&6
5414 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5418 for as_dir
in /sbin
/usr
/sbin
$PATH
5421 test -z "$as_dir" && as_dir
=.
5422 for ac_exec_ext
in '' $ac_executable_extensions; do
5423 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5424 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5432 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5436 LDCONFIG
=$ac_cv_path_LDCONFIG
5437 if test -n "$LDCONFIG"; then
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5439 $as_echo "$LDCONFIG" >&6; }
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5442 $as_echo "no" >&6; }
5447 test -z "$INSTALL" && INSTALL
="\$(top_srcdir)/tools/install-sh"
5449 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
="STRIPPROG=\"\$(STRIP)\" \$(INSTALL)"
5451 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
="\$(INSTALL)"
5453 test -z "$INSTALL_DATA" && INSTALL_DATA
="\$(INSTALL) -m 644"
5456 for ac_prog
in msgfmt
5458 # Extract the first word of "$ac_prog", so it can be a program name with args.
5459 set dummy
$ac_prog; ac_word
=$2
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5461 $as_echo_n "checking for $ac_word... " >&6; }
5462 if ${ac_cv_prog_MSGFMT+:} false
; then :
5463 $as_echo_n "(cached) " >&6
5465 if test -n "$MSGFMT"; then
5466 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5472 test -z "$as_dir" && as_dir
=.
5473 for ac_exec_ext
in '' $ac_executable_extensions; do
5474 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5475 ac_cv_prog_MSGFMT
="$ac_prog"
5476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5485 MSGFMT
=$ac_cv_prog_MSGFMT
5486 if test -n "$MSGFMT"; then
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5488 $as_echo "$MSGFMT" >&6; }
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5491 $as_echo "no" >&6; }
5495 test -n "$MSGFMT" && break
5497 test -n "$MSGFMT" || MSGFMT
="false"
5499 if test -n "$ac_tool_prefix"; then
5500 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5501 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5503 $as_echo_n "checking for $ac_word... " >&6; }
5504 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5505 $as_echo_n "(cached) " >&6
5507 if test -n "$PKG_CONFIG"; then
5508 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5514 test -z "$as_dir" && as_dir
=.
5515 for ac_exec_ext
in '' $ac_executable_extensions; do
5516 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5517 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5527 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5528 if test -n "$PKG_CONFIG"; then
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5530 $as_echo "$PKG_CONFIG" >&6; }
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5533 $as_echo "no" >&6; }
5538 if test -n "$ac_cv_prog_PKG_CONFIG"; then
5539 PKG_CONFIG
="$ac_cv_prog_PKG_CONFIG"
5540 elif test "$cross_compiling" != yes; then
5541 unset ac_cv_prog_PKG_CONFIG
5542 # Extract the first word of "pkg-config", so it can be a program name with args.
5543 set dummy pkg-config
; ac_word
=$2
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5545 $as_echo_n "checking for $ac_word... " >&6; }
5546 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5547 $as_echo_n "(cached) " >&6
5549 if test -n "$PKG_CONFIG"; then
5550 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5556 test -z "$as_dir" && as_dir
=.
5557 for ac_exec_ext
in '' $ac_executable_extensions; do
5558 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5559 ac_cv_prog_PKG_CONFIG
="pkg-config"
5560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5569 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5570 if test -n "$PKG_CONFIG"; then
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5572 $as_echo "$PKG_CONFIG" >&6; }
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5575 $as_echo "no" >&6; }
5581 if test "x$enable_maintainer_mode" != "xyes"
5588 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5589 for ac_prog
in fontforge
5591 # Extract the first word of "$ac_prog", so it can be a program name with args.
5592 set dummy
$ac_prog; ac_word
=$2
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5594 $as_echo_n "checking for $ac_word... " >&6; }
5595 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5596 $as_echo_n "(cached) " >&6
5598 if test -n "$FONTFORGE"; then
5599 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5605 test -z "$as_dir" && as_dir
=.
5606 for ac_exec_ext
in '' $ac_executable_extensions; do
5607 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5608 ac_cv_prog_FONTFORGE
="$ac_prog"
5609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5618 FONTFORGE
=$ac_cv_prog_FONTFORGE
5619 if test -n "$FONTFORGE"; then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5621 $as_echo "$FONTFORGE" >&6; }
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5624 $as_echo "no" >&6; }
5628 test -n "$FONTFORGE" && break
5630 test -n "$FONTFORGE" || FONTFORGE
="false"
5634 # Extract the first word of "$ac_prog", so it can be a program name with args.
5635 set dummy
$ac_prog; ac_word
=$2
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5637 $as_echo_n "checking for $ac_word... " >&6; }
5638 if ${ac_cv_prog_RSVG+:} false
; then :
5639 $as_echo_n "(cached) " >&6
5641 if test -n "$RSVG"; then
5642 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5648 test -z "$as_dir" && as_dir
=.
5649 for ac_exec_ext
in '' $ac_executable_extensions; do
5650 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5651 ac_cv_prog_RSVG
="$ac_prog"
5652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5661 RSVG
=$ac_cv_prog_RSVG
5662 if test -n "$RSVG"; then
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5664 $as_echo "$RSVG" >&6; }
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5667 $as_echo "no" >&6; }
5671 test -n "$RSVG" && break
5673 test -n "$RSVG" || RSVG
="false"
5675 for ac_prog
in convert
5677 # Extract the first word of "$ac_prog", so it can be a program name with args.
5678 set dummy
$ac_prog; ac_word
=$2
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5680 $as_echo_n "checking for $ac_word... " >&6; }
5681 if ${ac_cv_prog_CONVERT+:} false
; then :
5682 $as_echo_n "(cached) " >&6
5684 if test -n "$CONVERT"; then
5685 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5691 test -z "$as_dir" && as_dir
=.
5692 for ac_exec_ext
in '' $ac_executable_extensions; do
5693 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5694 ac_cv_prog_CONVERT
="$ac_prog"
5695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5704 CONVERT
=$ac_cv_prog_CONVERT
5705 if test -n "$CONVERT"; then
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5707 $as_echo "$CONVERT" >&6; }
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5710 $as_echo "no" >&6; }
5714 test -n "$CONVERT" && break
5716 test -n "$CONVERT" || CONVERT
="false"
5718 for ac_prog
in icotool
5720 # Extract the first word of "$ac_prog", so it can be a program name with args.
5721 set dummy
$ac_prog; ac_word
=$2
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5723 $as_echo_n "checking for $ac_word... " >&6; }
5724 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5725 $as_echo_n "(cached) " >&6
5727 if test -n "$ICOTOOL"; then
5728 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5734 test -z "$as_dir" && as_dir
=.
5735 for ac_exec_ext
in '' $ac_executable_extensions; do
5736 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5737 ac_cv_prog_ICOTOOL
="$ac_prog"
5738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5747 ICOTOOL
=$ac_cv_prog_ICOTOOL
5748 if test -n "$ICOTOOL"; then
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5750 $as_echo "$ICOTOOL" >&6; }
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5753 $as_echo "no" >&6; }
5757 test -n "$ICOTOOL" && break
5759 test -n "$ICOTOOL" || ICOTOOL
="false"
5761 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5762 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5764 if test "$CONVERT" = false
5766 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5769 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5770 convert_version
=`convert --version | head -n1`
5771 if test "x$convert_version" != "x"
5773 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5774 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5775 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5780 if test "$CONVERT" = false
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5783 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5784 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5787 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5791 if test "$ICOTOOL" = false
5793 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5796 $as_echo_n "checking for recent enough icotool... " >&6; }
5797 icotool_version
=`icotool --version | head -n1`
5798 if test "x$icotool_version" != "x"
5800 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5801 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5802 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5805 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5808 if test "$ICOTOOL" = false
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5811 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5812 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5815 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5821 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5824 test "x$with_gettext" != xno || MSGFMT
=false
5825 if test "$MSGFMT" != "false"
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5828 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5829 cat >conftest.po
<<EOF
5835 if $MSGFMT -o /dev
/null conftest.po
2>&5
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5838 $as_echo "yes" >&6; }
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5841 $as_echo "no" >&6; }
5845 if test "$MSGFMT" = false
; then :
5846 case "x$with_gettext" in
5847 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5849 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5850 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5856 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5857 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5858 $as_echo_n "(cached) " >&6
5860 ac_check_lib_save_LIBS
=$LIBS
5862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5863 /* end confdefs.h. */
5865 /* Override any GCC internal prototype to avoid an error.
5866 Use char because int might match the return type of a GCC
5867 builtin and then its argument prototype would still apply. */
5871 char i386_set_ldt ();
5875 return i386_set_ldt ();
5880 if ac_fn_c_try_link
"$LINENO"; then :
5881 ac_cv_lib_i386_i386_set_ldt
=yes
5883 ac_cv_lib_i386_i386_set_ldt
=no
5885 rm -f core conftest.err conftest.
$ac_objext \
5886 conftest
$ac_exeext conftest.
$ac_ext
5887 LIBS
=$ac_check_lib_save_LIBS
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5890 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5891 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5892 cat >>confdefs.h
<<_ACEOF
5893 #define HAVE_LIBI386 1
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5901 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5902 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5903 $as_echo_n "(cached) " >&6
5905 ac_check_lib_save_LIBS
=$LIBS
5906 LIBS
="-lossaudio $LIBS"
5907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5908 /* end confdefs.h. */
5910 /* Override any GCC internal prototype to avoid an error.
5911 Use char because int might match the return type of a GCC
5912 builtin and then its argument prototype would still apply. */
5920 return _oss_ioctl ();
5925 if ac_fn_c_try_link
"$LINENO"; then :
5926 ac_cv_lib_ossaudio__oss_ioctl
=yes
5928 ac_cv_lib_ossaudio__oss_ioctl
=no
5930 rm -f core conftest.err conftest.
$ac_objext \
5931 conftest
$ac_exeext conftest.
$ac_ext
5932 LIBS
=$ac_check_lib_save_LIBS
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5935 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5936 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5937 cat >>confdefs.h
<<_ACEOF
5938 #define HAVE_LIBOSSAUDIO 1
5941 LIBS
="-lossaudio $LIBS"
5952 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h
=no
5954 # Check whether --enable-largefile was given.
5955 if test "${enable_largefile+set}" = set; then :
5956 enableval
=$enable_largefile;
5959 if test "$enable_largefile" != no
; then
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5962 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5963 if ${ac_cv_sys_largefile_CC+:} false
; then :
5964 $as_echo_n "(cached) " >&6
5966 ac_cv_sys_largefile_CC
=no
5967 if test "$GCC" != yes; then
5970 # IRIX 6.2 and later do not support large files by default,
5971 # so use the C compiler's -n32 option if that helps.
5972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5973 /* end confdefs.h. */
5974 #include <sys/types.h>
5975 /* Check that off_t can represent 2**63 - 1 correctly.
5976 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5977 since some C++ compilers masquerading as C compilers
5978 incorrectly reject 9223372036854775807. */
5979 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5980 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5981 && LARGE_OFF_T % 2147483647 == 1)
5991 if ac_fn_c_try_compile
"$LINENO"; then :
5994 rm -f core conftest.err conftest.
$ac_objext
5996 if ac_fn_c_try_compile
"$LINENO"; then :
5997 ac_cv_sys_largefile_CC
=' -n32'; break
5999 rm -f core conftest.err conftest.
$ac_objext
6003 rm -f conftest.
$ac_ext
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6007 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6008 if test "$ac_cv_sys_largefile_CC" != no
; then
6009 CC
=$CC$ac_cv_sys_largefile_CC
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6013 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6014 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6015 $as_echo_n "(cached) " >&6
6018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6019 /* end confdefs.h. */
6020 #include <sys/types.h>
6021 /* Check that off_t can represent 2**63 - 1 correctly.
6022 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6023 since some C++ compilers masquerading as C compilers
6024 incorrectly reject 9223372036854775807. */
6025 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6026 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6027 && LARGE_OFF_T % 2147483647 == 1)
6037 if ac_fn_c_try_compile
"$LINENO"; then :
6038 ac_cv_sys_file_offset_bits
=no
; break
6040 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6042 /* end confdefs.h. */
6043 #define _FILE_OFFSET_BITS 64
6044 #include <sys/types.h>
6045 /* Check that off_t can represent 2**63 - 1 correctly.
6046 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6047 since some C++ compilers masquerading as C compilers
6048 incorrectly reject 9223372036854775807. */
6049 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6050 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6051 && LARGE_OFF_T % 2147483647 == 1)
6061 if ac_fn_c_try_compile
"$LINENO"; then :
6062 ac_cv_sys_file_offset_bits
=64; break
6064 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6065 ac_cv_sys_file_offset_bits
=unknown
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6070 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6071 case $ac_cv_sys_file_offset_bits in #(
6074 cat >>confdefs.h
<<_ACEOF
6075 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6080 if test $ac_cv_sys_file_offset_bits = unknown
; then
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6082 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6083 if ${ac_cv_sys_large_files+:} false
; then :
6084 $as_echo_n "(cached) " >&6
6087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6088 /* end confdefs.h. */
6089 #include <sys/types.h>
6090 /* Check that off_t can represent 2**63 - 1 correctly.
6091 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6092 since some C++ compilers masquerading as C compilers
6093 incorrectly reject 9223372036854775807. */
6094 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6095 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6096 && LARGE_OFF_T % 2147483647 == 1)
6106 if ac_fn_c_try_compile
"$LINENO"; then :
6107 ac_cv_sys_large_files
=no
; break
6109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6111 /* end confdefs.h. */
6112 #define _LARGE_FILES 1
6113 #include <sys/types.h>
6114 /* Check that off_t can represent 2**63 - 1 correctly.
6115 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6116 since some C++ compilers masquerading as C compilers
6117 incorrectly reject 9223372036854775807. */
6118 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6119 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6120 && LARGE_OFF_T % 2147483647 == 1)
6130 if ac_fn_c_try_compile
"$LINENO"; then :
6131 ac_cv_sys_large_files
=1; break
6133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6134 ac_cv_sys_large_files
=unknown
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6139 $as_echo "$ac_cv_sys_large_files" >&6; }
6140 case $ac_cv_sys_large_files in #(
6143 cat >>confdefs.h
<<_ACEOF
6144 #define _LARGE_FILES $ac_cv_sys_large_files
6156 ac_cpp
='$CPP $CPPFLAGS'
6157 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6158 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6159 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6161 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6162 # On Suns, sometimes $CPP names a directory.
6163 if test -n "$CPP" && test -d "$CPP"; then
6166 if test -z "$CPP"; then
6167 if ${ac_cv_prog_CPP+:} false
; then :
6168 $as_echo_n "(cached) " >&6
6170 # Double quotes because CPP needs to be expanded
6171 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6174 for ac_c_preproc_warn_flag
in '' yes
6176 # Use a header file that comes with gcc, so configuring glibc
6177 # with a fresh cross-compiler works.
6178 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6179 # <limits.h> exists even on freestanding compilers.
6180 # On the NeXT, cc -E runs the code through the compiler's parser,
6181 # not just through cpp. "Syntax error" is here to catch this case.
6182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6183 /* end confdefs.h. */
6185 # include <limits.h>
6187 # include <assert.h>
6191 if ac_fn_c_try_cpp
"$LINENO"; then :
6194 # Broken: fails on valid input.
6197 rm -f conftest.err conftest.i conftest.
$ac_ext
6199 # OK, works on sane cases. Now check whether nonexistent headers
6200 # can be detected and how.
6201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6202 /* end confdefs.h. */
6203 #include <ac_nonexistent.h>
6205 if ac_fn_c_try_cpp
"$LINENO"; then :
6206 # Broken: success on invalid input.
6209 # Passes both tests.
6213 rm -f conftest.err conftest.i conftest.
$ac_ext
6216 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6217 rm -f conftest.i conftest.err conftest.
$ac_ext
6218 if $ac_preproc_ok; then :
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6231 $as_echo "$CPP" >&6; }
6233 for ac_c_preproc_warn_flag
in '' yes
6235 # Use a header file that comes with gcc, so configuring glibc
6236 # with a fresh cross-compiler works.
6237 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6238 # <limits.h> exists even on freestanding compilers.
6239 # On the NeXT, cc -E runs the code through the compiler's parser,
6240 # not just through cpp. "Syntax error" is here to catch this case.
6241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6242 /* end confdefs.h. */
6244 # include <limits.h>
6246 # include <assert.h>
6250 if ac_fn_c_try_cpp
"$LINENO"; then :
6253 # Broken: fails on valid input.
6256 rm -f conftest.err conftest.i conftest.
$ac_ext
6258 # OK, works on sane cases. Now check whether nonexistent headers
6259 # can be detected and how.
6260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6261 /* end confdefs.h. */
6262 #include <ac_nonexistent.h>
6264 if ac_fn_c_try_cpp
"$LINENO"; then :
6265 # Broken: success on invalid input.
6268 # Passes both tests.
6272 rm -f conftest.err conftest.i conftest.
$ac_ext
6275 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6276 rm -f conftest.i conftest.err conftest.
$ac_ext
6277 if $ac_preproc_ok; then :
6280 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6282 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6283 See \`config.log' for more details" "$LINENO" 5; }
6287 ac_cpp
='$CPP $CPPFLAGS'
6288 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6289 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6290 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6294 $as_echo_n "checking for ANSI C header files... " >&6; }
6295 if ${ac_cv_header_stdc+:} false
; then :
6296 $as_echo_n "(cached) " >&6
6298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6299 /* end confdefs.h. */
6313 if ac_fn_c_try_compile
"$LINENO"; then :
6314 ac_cv_header_stdc
=yes
6316 ac_cv_header_stdc
=no
6318 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6320 if test $ac_cv_header_stdc = yes; then
6321 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6323 /* end confdefs.h. */
6327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6328 $EGREP "memchr" >/dev
/null
2>&1; then :
6331 ac_cv_header_stdc
=no
6337 if test $ac_cv_header_stdc = yes; then
6338 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6340 /* end confdefs.h. */
6344 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6345 $EGREP "free" >/dev
/null
2>&1; then :
6348 ac_cv_header_stdc
=no
6354 if test $ac_cv_header_stdc = yes; then
6355 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6356 if test "$cross_compiling" = yes; then :
6359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6360 /* end confdefs.h. */
6363 #if ((' ' & 0x0FF) == 0x020)
6364 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6365 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6367 # define ISLOWER(c) \
6368 (('a' <= (c) && (c) <= 'i') \
6369 || ('j' <= (c) && (c) <= 'r') \
6370 || ('s' <= (c) && (c) <= 'z'))
6371 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6374 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6379 for (i = 0; i < 256; i++)
6380 if (XOR (islower (i), ISLOWER (i))
6381 || toupper (i) != TOUPPER (i))
6386 if ac_fn_c_try_run
"$LINENO"; then :
6389 ac_cv_header_stdc
=no
6391 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6392 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6398 $as_echo "$ac_cv_header_stdc" >&6; }
6399 if test $ac_cv_header_stdc = yes; then
6401 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6405 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6406 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6407 inttypes.h stdint.h unistd.h
6409 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6410 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6412 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6413 cat >>confdefs.h
<<_ACEOF
6414 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6424 ApplicationServices
/ApplicationServices.h \
6425 AudioToolbox
/AudioConverter.h \
6426 AudioUnit
/AudioUnit.h \
6427 AudioUnit
/AudioComponent.h \
6430 CoreAudio
/CoreAudio.h \
6431 CoreServices
/CoreServices.h \
6432 DiskArbitration
/DiskArbitration.h \
6434 IOKit
/hid
/IOHIDLib.h \
6437 QuickTime
/ImageCompression.h \
6438 Security
/Security.h \
6452 fontconfig
/fontconfig.h \
6490 netinet
/in_systm.h \
6551 valgrind
/memcheck.h \
6552 valgrind
/valgrind.h \
6556 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6557 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6558 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6559 cat >>confdefs.h
<<_ACEOF
6560 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6568 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6569 if ${ac_cv_header_stat_broken+:} false
; then :
6570 $as_echo_n "(cached) " >&6
6572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6573 /* end confdefs.h. */
6574 #include <sys/types.h>
6575 #include <sys/stat.h>
6577 #if defined S_ISBLK && defined S_IFDIR
6578 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6581 #if defined S_ISBLK && defined S_IFCHR
6582 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6585 #if defined S_ISLNK && defined S_IFREG
6586 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6589 #if defined S_ISSOCK && defined S_IFREG
6590 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6594 if ac_fn_c_try_compile
"$LINENO"; then :
6595 ac_cv_header_stat_broken
=no
6597 ac_cv_header_stat_broken
=yes
6599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6602 $as_echo "$ac_cv_header_stat_broken" >&6; }
6603 if test $ac_cv_header_stat_broken = yes; then
6605 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6611 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6613 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6614 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6615 #ifdef HAVE_SYS_PARAM_H
6616 # include <sys/param.h>
6619 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6620 cat >>confdefs.h
<<_ACEOF
6621 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6636 netinet
/if_ether.h \
6637 netinet
/if_inarp.h \
6646 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6647 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6648 #ifdef HAVE_SYS_SOCKET_H
6649 # include <sys/socket.h>
6651 #ifdef HAVE_SYS_SOCKETVAR_H
6652 # include <sys/socketvar.h>
6654 #ifdef HAVE_NET_ROUTE_H
6655 # include <net/route.h>
6657 #ifdef HAVE_NETINET_IN_H
6658 # include <netinet/in.h>
6660 #ifdef HAVE_NETINET_IN_SYSTM_H
6661 # include <netinet/in_systm.h>
6663 #ifdef HAVE_NET_IF_H
6664 # include <net/if.h>
6666 #ifdef HAVE_NETINET_IP_H
6667 # include <netinet/ip.h>
6670 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6671 cat >>confdefs.h
<<_ACEOF
6672 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6680 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6682 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6683 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6687 #ifdef HAVE_SYS_SOCKET_H
6688 # include <sys/socket.h>
6690 #ifdef HAVE_SYS_SOCKETVAR_H
6691 # include <sys/socketvar.h>
6693 #ifdef HAVE_SYS_TIMEOUT_H
6694 # include <sys/timeout.h>
6696 #ifdef HAVE_NETINET_IN_H
6697 # include <netinet/in.h>
6699 #ifdef HAVE_NETINET_IN_SYSTM_H
6700 # include <netinet/in_systm.h>
6702 #ifdef HAVE_NETINET_IP_H
6703 # include <netinet/ip.h>
6705 #ifdef HAVE_NETINET_IP_VAR_H
6706 # include <netinet/ip_var.h>
6708 #ifdef HAVE_NETINET_IP_ICMP_H
6709 # include <netinet/ip_icmp.h>
6711 #ifdef HAVE_NETINET_UDP_H
6712 # include <netinet/udp.h>
6714 #ifdef HAVE_NETINET_TCP_H
6715 # include <netinet/tcp.h>
6717 #ifdef HAVE_NETINET_TCP_TIMER_H
6718 #include <netinet/tcp_timer.h>
6721 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6722 cat >>confdefs.h
<<_ACEOF
6723 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6731 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6733 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6734 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6735 #ifdef HAVE_ASM_TYPES_H
6736 # include <asm/types.h>
6738 #ifdef HAVE_SYS_SOCKET_H
6739 # include <sys/socket.h>
6741 #ifdef HAVE_LINUX_TYPES_H
6742 # include <linux/types.h>
6745 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6746 cat >>confdefs.h
<<_ACEOF
6747 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6755 for ac_header
in mach-o
/dyld_images.h
6757 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6758 # include <stdbool.h>
6760 #ifdef HAVE_STDINT_H
6761 # include <stdint.h>
6764 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6765 cat >>confdefs.h
<<_ACEOF
6766 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6774 for ac_header
in resolv.h
6776 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6777 #ifdef HAVE_SYS_SOCKET_H
6778 # include <sys/socket.h>
6780 #ifdef HAVE_NETINET_IN_H
6781 # include <netinet/in.h>
6783 #ifdef HAVE_ARPA_NAMESER_H
6784 # include <arpa/nameser.h>
6787 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6788 cat >>confdefs.h
<<_ACEOF
6789 #define HAVE_RESOLV_H 1
6797 for ac_header
in ifaddrs.h
6799 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6801 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6802 cat >>confdefs.h
<<_ACEOF
6803 #define HAVE_IFADDRS_H 1
6811 for ac_header
in ucontext.h
6813 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6815 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6816 cat >>confdefs.h
<<_ACEOF
6817 #define HAVE_UCONTEXT_H 1
6825 for ac_header
in sys
/thr.h
6827 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6828 #ifdef HAVE_UCONTEXT_H
6829 #include <ucontext.h>
6832 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6833 cat >>confdefs.h
<<_ACEOF
6834 #define HAVE_SYS_THR_H 1
6842 for ac_header
in pthread_np.h
6844 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6845 #include <pthread.h>
6848 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6849 cat >>confdefs.h
<<_ACEOF
6850 #define HAVE_PTHREAD_NP_H 1
6858 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6860 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6861 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6862 #include <sys/time.h>
6864 #include <sys/types.h>
6865 #ifdef HAVE_ASM_TYPES_H
6866 #include <asm/types.h>
6869 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6870 cat >>confdefs.h
<<_ACEOF
6871 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6879 for ac_header
in libprocstat.h
6881 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6882 #include <sys/param.h>
6884 #ifdef HAVE_SYS_QUEUE_H
6885 #include <sys/queue.h>
6887 #ifdef HAVE_SYS_SOCKET_H
6888 #include <sys/socket.h>
6891 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6892 cat >>confdefs.h
<<_ACEOF
6893 #define HAVE_LIBPROCSTAT_H 1
6902 dlldir
="\${libdir}/wine"
6906 DLLFLAGS
="-D_REENTRANT"
6915 STATIC_IMPLIBEXT
="def.a"
6916 # Extract the first word of "ldd", so it can be a program name with args.
6917 set dummy ldd
; ac_word
=$2
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6919 $as_echo_n "checking for $ac_word... " >&6; }
6920 if ${ac_cv_path_LDD+:} false
; then :
6921 $as_echo_n "(cached) " >&6
6925 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6929 as_dummy
="/sbin:/usr/sbin:$PATH"
6930 for as_dir
in $as_dummy
6933 test -z "$as_dir" && as_dir
=.
6934 for ac_exec_ext
in '' $ac_executable_extensions; do
6935 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6936 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6944 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6949 if test -n "$LDD"; then
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6951 $as_echo "$LDD" >&6; }
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6954 $as_echo "no" >&6; }
6958 if test -n "$ac_tool_prefix"; then
6959 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6960 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6962 $as_echo_n "checking for $ac_word... " >&6; }
6963 if ${ac_cv_prog_READELF+:} false
; then :
6964 $as_echo_n "(cached) " >&6
6966 if test -n "$READELF"; then
6967 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6973 test -z "$as_dir" && as_dir
=.
6974 for ac_exec_ext
in '' $ac_executable_extensions; do
6975 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6976 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6986 READELF
=$ac_cv_prog_READELF
6987 if test -n "$READELF"; then
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6989 $as_echo "$READELF" >&6; }
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6992 $as_echo "no" >&6; }
6997 if test -z "$ac_cv_prog_READELF"; then
6998 ac_ct_READELF
=$READELF
6999 # Extract the first word of "readelf", so it can be a program name with args.
7000 set dummy readelf
; ac_word
=$2
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7002 $as_echo_n "checking for $ac_word... " >&6; }
7003 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7004 $as_echo_n "(cached) " >&6
7006 if test -n "$ac_ct_READELF"; then
7007 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7013 test -z "$as_dir" && as_dir
=.
7014 for ac_exec_ext
in '' $ac_executable_extensions; do
7015 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7016 ac_cv_prog_ac_ct_READELF
="readelf"
7017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7026 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7027 if test -n "$ac_ct_READELF"; then
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7029 $as_echo "$ac_ct_READELF" >&6; }
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7032 $as_echo "no" >&6; }
7035 if test "x$ac_ct_READELF" = x
; then
7038 case $cross_compiling:$ac_tool_warned in
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7041 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7042 ac_tool_warned
=yes ;;
7044 READELF
=$ac_ct_READELF
7047 READELF
="$ac_cv_prog_READELF"
7050 wine_rules_file
=conf$
$rules.
make
7051 rm -f $wine_rules_file
7053 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7054 ALL_TEST_RESOURCES
=""
7057 wine_fn_append_file
()
7059 as_fn_append
$1 " \\$as_nl $2"
7062 wine_fn_ignore_file
()
7065 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7066 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7067 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7071 wine_fn_append_rule
()
7073 $as_echo "$1" >>$wine_rules_file
7078 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7081 wine_fn_depend_rules
()
7084 ac_makedep
="\$(MAKEDEP)"
7085 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
7088 ac_input
=$ac_input:$1
7089 test "$srcdir" = . || ac_alldeps
="$srcdir/$ac_alldeps" ;;
7091 ac_makedep
="$1 $ac_makedep" ;;
7094 wine_fn_append_rule \
7095 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status $ac_alldeps \$(MAKEDEP)
7096 @./config.status --file $ac_dir/Makefile:$ac_input && \$(MAKEDEP) -M $ac_dir
7097 depend: $ac_dir/depend
7098 .PHONY: $ac_dir/depend
7099 $ac_dir/depend: $ac_makedep dummy
7100 @./config.status --file $ac_dir/Makefile:$ac_input && \$(MAKEDEP) -M $ac_dir"
7103 wine_fn_pot_rules
()
7105 test "x$with_gettextpo" = xyes ||
return
7107 if wine_fn_has_flag mc
7109 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7110 wine_fn_append_rule \
7111 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7112 @cd $ac_dir && \$(MAKE) msg.pot
7113 $ac_dir/msg.pot: tools/wmc include"
7115 if wine_fn_has_flag po
7117 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7118 wine_fn_append_rule \
7119 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7120 @cd $ac_dir && \$(MAKE) rsrc.pot
7121 $ac_dir/rsrc.pot: tools/wrc include"
7125 wine_fn_all_rules
()
7129 wine_fn_depend_rules
${ac_rules:-Make.rules}
7130 wine_fn_append_rule \
7133 $ac_dir: $ac_dir/Makefile dummy
7134 @cd $ac_dir && \$(MAKE)"
7137 wine_fn_install_rules
()
7139 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7141 wine_fn_append_rule \
7142 ".PHONY: $ac_dir/install $ac_dir/uninstall
7143 $ac_dir/install:: $ac_dir
7144 @cd $ac_dir && \$(MAKE) install
7145 $ac_dir/uninstall:: $ac_dir/Makefile
7146 @cd $ac_dir && \$(MAKE) uninstall
7147 install:: $ac_dir/install
7148 __uninstall__: $ac_dir/uninstall"
7150 if wine_fn_has_flag install-lib
7152 wine_fn_append_rule \
7153 ".PHONY: $ac_dir/install-lib
7154 $ac_dir/install-lib:: $ac_dir
7155 @cd $ac_dir && \$(MAKE) install-lib
7156 install-lib:: $ac_dir/install-lib"
7159 if wine_fn_has_flag install-dev
7161 wine_fn_append_rule \
7162 ".PHONY: $ac_dir/install-dev
7163 $ac_dir/install-dev:: $ac_dir
7164 @cd $ac_dir && \$(MAKE) install-dev
7165 install-dev:: $ac_dir/install-dev"
7169 wine_fn_clean_rules
()
7172 ac_extraclean
="$ac_dir/Makefile"
7173 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7175 if wine_fn_has_flag clean
7177 wine_fn_append_rule \
7178 "__clean__: $ac_dir/clean
7179 .PHONY: $ac_dir/clean
7180 $ac_dir/clean: $ac_dir/Makefile
7181 @cd $ac_dir && \$(MAKE) clean
7182 \$(RM) $ac_extraclean"
7184 wine_fn_append_rule \
7185 "__clean__: $ac_dir/clean
7186 .PHONY: $ac_dir/clean
7187 $ac_dir/clean: dummy
7188 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7192 wine_fn_disabled_rules
()
7195 ac_extraclean
="$ac_dir/Makefile"
7196 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7198 wine_fn_append_rule \
7199 "__clean__: $ac_dir/clean
7200 .PHONY: $ac_dir/clean
7201 $ac_dir/clean: dummy
7202 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7205 wine_fn_config_makefile
()
7211 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7212 wine_fn_disabled_rules
; return
7215 wine_fn_install_rules
7219 wine_fn_config_lib
()
7223 ac_dir
=dlls
/$ac_name
7226 if test "x$enable_tools" = xno
; then :
7229 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7231 wine_fn_all_rules Make.rules.
in
7234 wine_fn_append_rule \
7235 ".PHONY: $ac_dir/install $ac_dir/uninstall
7236 $ac_dir/install:: $ac_dir
7237 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7239 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7240 install install-dev:: $ac_dir/install
7241 __uninstall__: $ac_dir/uninstall
7242 __builddeps__: $ac_dir
7246 wine_fn_config_dll
()
7249 ac_dir
=dlls
/$ac_name
7252 ac_implib
=${4:-$ac_name}
7253 ac_file
=$ac_dir/lib
$ac_implib
7258 if test "x$enable_tools" = xno
; then :
7261 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7264 *16) ac_implibflags
=" -m16" ;;
7266 *) ac_dll
=$ac_dll.dll
;;
7270 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7271 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7272 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7273 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7275 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7276 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7278 wine_fn_depend_rules Make.rules.
in
7279 wine_fn_clean_rules
$ac_clean
7281 wine_fn_disabled_rules
$ac_clean
7285 wine_fn_all_rules Make.rules.
in
7286 wine_fn_clean_rules
$ac_clean
7287 wine_fn_append_rule \
7288 "$ac_dir: __builddeps__
7289 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7290 @cd $ac_dir && \$(MAKE) \$@
7291 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7292 install install-lib:: $ac_dir/install-lib
7293 __uninstall__: $ac_dir/uninstall"
7294 if test -n "$DLLEXT"
7296 wine_fn_append_rule \
7297 "$ac_dir/install-lib:: $ac_dir
7298 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7299 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7301 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7303 wine_fn_append_rule \
7304 "$ac_dir/install-lib:: $ac_dir
7305 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7307 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7313 if wine_fn_has_flag staticimplib
7315 wine_fn_append_rule \
7316 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7317 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7318 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7319 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7320 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7321 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7322 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7323 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7324 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7326 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7327 install install-dev:: $ac_dir/install-dev
7328 __uninstall__: $ac_dir/uninstall"
7330 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7332 wine_fn_append_rule \
7333 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7334 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7336 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7339 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7341 wine_fn_append_rule \
7342 "__builddeps__: $ac_file.cross.a
7343 $ac_file.cross.a: $ac_dir/Makefile dummy
7344 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7347 elif wine_fn_has_flag implib
7349 wine_fn_append_rule \
7350 "__builddeps__: $ac_file.$IMPLIBEXT
7351 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7352 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7353 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7354 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7355 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7356 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7357 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7359 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7360 install install-dev:: $ac_dir/install-dev
7361 __uninstall__: $ac_dir/uninstall"
7362 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7364 wine_fn_append_rule \
7365 "__builddeps__: $ac_file.cross.a
7366 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7367 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7370 if test "$ac_name" != "$ac_implib"
7372 wine_fn_append_rule \
7373 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7374 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7375 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7377 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7378 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7379 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7381 wine_fn_append_rule \
7382 "__builddeps__: dlls/lib$ac_implib.cross.a
7383 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7384 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7386 \$(RM) dlls/lib$ac_implib.cross.a"
7387 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7393 wine_fn_config_program
()
7396 ac_dir
=programs
/$ac_name
7403 *) ac_program
=$ac_program.exe
;;
7407 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7408 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7409 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7410 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7412 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7413 wine_fn_disabled_rules
$ac_clean; return
7416 wine_fn_all_rules Make.rules.
in
7417 wine_fn_clean_rules
$ac_clean
7418 wine_fn_append_rule
"$ac_dir: __builddeps__"
7421 wine_fn_has_flag
install ||
return
7422 wine_fn_append_rule \
7423 ".PHONY: $ac_dir/install $ac_dir/uninstall
7424 install install-lib:: $ac_dir/install
7425 __uninstall__: $ac_dir/uninstall"
7427 if test -n "$DLLEXT"
7429 wine_fn_append_rule \
7430 "$ac_dir/install:: $ac_dir
7431 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7432 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7434 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7436 if test -z "$with_wine64" && wine_fn_has_flag installbin
7438 wine_fn_append_rule \
7439 "$ac_dir/install:: __tooldeps__
7440 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7442 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7445 wine_fn_append_rule \
7446 "$ac_dir/install:: $ac_dir
7447 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7449 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7452 if test -z "$with_wine64" && wine_fn_has_flag manpage
7454 wine_fn_append_rule \
7455 "$ac_dir/install:: $ac_dir
7456 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7458 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7462 wine_fn_config_test
()
7469 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7470 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7471 ac_clean
="$ac_clean $ac_dir/testlist.c"
7473 if test "x$enable_tests" = xno
; then :
7474 wine_fn_disabled_rules
$ac_clean; return
7477 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7478 wine_fn_all_rules Make.rules.
in
7479 wine_fn_clean_rules
$ac_clean
7481 wine_fn_append_rule \
7482 "$ac_dir: programs/winetest/Makefile __builddeps__
7483 programs/winetest: $ac_dir
7484 check test: $ac_dir/test
7485 .PHONY: $ac_dir/test
7487 @cd $ac_dir && \$(MAKE) test
7489 \$(RM) $ac_dir/*.ok"
7491 if test -n "$CROSSTARGET"
7493 wine_fn_append_rule \
7494 "crosstest: $ac_dir/crosstest
7495 .PHONY: $ac_dir/crosstest
7496 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7497 @cd $ac_dir && \$(MAKE) crosstest"
7501 wine_fn_config_tool
()
7505 if test "x$enable_tools" = xno
; then :
7510 wine_fn_install_rules
7513 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7514 wine_fn_append_rule
"$ac_dir: libs/port"
7516 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7520 wine_fn_config_makerules
()
7524 wine_fn_append_rule \
7525 "$ac_rules: $srcdir/$ac_rules.in $ac_deps config.status
7526 @./config.status $ac_rules
7529 wine_fn_ignore_file
$ac_rules
7532 wine_fn_config_symlink
()
7535 if test "x$1" = "x-d"
7541 wine_fn_append_rule \
7543 @./config.status \$@
7546 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7547 test -n "$ac_linkdir" ||
return
7548 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7552 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7553 loader_programs
="$wine_binary wine-installed"
7554 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7557 install install-lib:: wine-installed
7558 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7561 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7567 if test -n "$ac_tool_prefix"; then
7568 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7569 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7571 $as_echo_n "checking for $ac_word... " >&6; }
7572 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7573 $as_echo_n "(cached) " >&6
7575 if test -n "$DLLTOOL"; then
7576 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7582 test -z "$as_dir" && as_dir
=.
7583 for ac_exec_ext
in '' $ac_executable_extensions; do
7584 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7585 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7595 DLLTOOL
=$ac_cv_prog_DLLTOOL
7596 if test -n "$DLLTOOL"; then
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7598 $as_echo "$DLLTOOL" >&6; }
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7601 $as_echo "no" >&6; }
7606 if test -z "$ac_cv_prog_DLLTOOL"; then
7607 ac_ct_DLLTOOL
=$DLLTOOL
7608 # Extract the first word of "dlltool", so it can be a program name with args.
7609 set dummy dlltool
; ac_word
=$2
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7611 $as_echo_n "checking for $ac_word... " >&6; }
7612 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7613 $as_echo_n "(cached) " >&6
7615 if test -n "$ac_ct_DLLTOOL"; then
7616 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7622 test -z "$as_dir" && as_dir
=.
7623 for ac_exec_ext
in '' $ac_executable_extensions; do
7624 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7625 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7635 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7636 if test -n "$ac_ct_DLLTOOL"; then
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7638 $as_echo "$ac_ct_DLLTOOL" >&6; }
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7641 $as_echo "no" >&6; }
7644 if test "x$ac_ct_DLLTOOL" = x
; then
7647 case $cross_compiling:$ac_tool_warned in
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7650 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7651 ac_tool_warned
=yes ;;
7653 DLLTOOL
=$ac_ct_DLLTOOL
7656 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7662 STATIC_IMPLIBEXT
="a"
7663 enable_iphlpapi
=${enable_iphlpapi:-no}
7664 enable_kernel32
=${enable_kernel32:-no}
7665 enable_msvcrt
=${enable_msvcrt:-no}
7666 enable_ntdll
=${enable_ntdll:-no}
7667 enable_ws2_32
=${enable_ws2_32:-no}
7668 enable_loader
=${enable_loader:-no}
7669 enable_server
=${enable_server:-no}
7670 with_x
=${with_x:-no}
7671 with_pthread
=${with_pthread:-no}
7677 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7681 libwine_targets
="libwine.dll libwine.a"
7683 all: libwine.dll libwine.a
7685 libwine.a: \$(srcdir)/wine.def
7686 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7688 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7689 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7691 install install-lib:: libwine.dll
7692 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7694 install install-dev:: libwine.a
7695 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7698 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7705 DLLFLAGS
="$DLLFLAGS -fPIC"
7706 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7707 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7708 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7709 COREFOUNDATIONLIB
="-framework CoreFoundation"
7711 IOKITLIB
="-framework IOKit -framework CoreFoundation"
7713 FORCEFEEDBACKLIB
="-framework ForceFeedback -framework CoreFoundation"
7715 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
7717 CORESERVICESLIB
="-framework CoreServices"
7719 APPKITLIB
="-framework AppKit"
7721 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7723 darwin11
*) LDEXECFLAGS
="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7725 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7727 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
7730 if test "$ac_cv_header_Security_Security_h" = "yes"
7732 SECURITYLIB
="-framework Security -framework CoreFoundation"
7734 ac_save_LIBS
="$LIBS"
7735 LIBS
="$LIBS $SECURITYLIB"
7736 for ac_func
in SSLCopyPeerCertificates
7738 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7739 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7740 cat >>confdefs.h
<<_ACEOF
7741 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7747 LIBS
="$ac_save_LIBS"
7748 with_gnutls
=${with_gnutls:-no}
7750 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7752 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7754 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7757 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7760 ac_save_LIBS
="$LIBS"
7761 LIBS
="$LIBS $COREAUDIO"
7762 for ac_func
in AUGraphAddNode
7764 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7765 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7766 cat >>confdefs.h
<<_ACEOF
7767 #define HAVE_AUGRAPHADDNODE 1
7773 LIBS
="$ac_save_LIBS"
7775 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7777 FRAMEWORK_OPENAL
="-framework OpenAL"
7780 cat >>confdefs.h
<<_ACEOF
7781 #define HAVE_OPENAL 1
7784 ac_cv_lib_openal
=yes
7786 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7788 LIBOPENCL
="-framework OpenCL"
7790 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7792 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7794 ac_save_LIBS
="$LIBS"
7795 LIBS
="$LIBS $IOKITLIB"
7796 for ac_func
in IOHIDManagerCreate
7798 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7799 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7800 cat >>confdefs.h
<<_ACEOF
7801 #define HAVE_IOHIDMANAGERCREATE 1
7807 LIBS
="$ac_save_LIBS"
7809 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7811 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7813 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7815 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7817 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7819 CARBONLIB
="-framework Carbon"
7823 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7825 ac_save_LIBS
="$LIBS"
7826 LIBS
="$LIBS $APPLICATIONSERVICESLIB"
7827 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7828 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7829 enable_winemac_drv
=${enable_winemac_drv:-yes}
7832 LIBS
="$ac_save_LIBS"
7835 if test "x$enable_win16" = "xyes"
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7838 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7839 if test "$cross_compiling" = yes; then :
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7841 $as_echo "cross-compiling, assuming yes" >&6; }
7843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7844 /* end confdefs.h. */
7847 "good:\tnop;nop\n\t"
7848 ".globl _testfunc\n"
7849 "_testfunc:\tcallw good");
7850 extern void testfunc();
7854 unsigned short *p = (unsigned short *)testfunc;
7855 return p[0] != 0xe866 || p[1] != 0xfffa
7860 if ac_fn_c_try_run
"$LINENO"; then :
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7862 $as_echo "yes" >&6; }
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7865 $as_echo "no" >&6; }
7866 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
7868 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7869 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7874 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7878 libwine.$libwine_version.dylib: \$(OBJS)
7879 \$(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 \$@
7881 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7882 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7884 libwine.dylib: libwine.$libwine_soversion.dylib
7885 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7887 install install-lib:: libwine.$libwine_version.dylib
7888 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7889 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7891 install install-dev::
7892 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7895 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7899 as_fn_append LOADER_RULES
"
7900 $wine_binary: main.o wine_info.plist
7901 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7903 wine-installed: main.o wine_info.plist
7904 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7909 DLLFLAGS
="$DLLFLAGS -fPIC"
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7914 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7915 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7916 $as_echo_n "(cached) " >&6
7918 ac_wine_try_cflags_saved
=$CFLAGS
7919 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7921 /* end confdefs.h. */
7922 int main(int argc, char **argv) { return 0; }
7924 if ac_fn_c_try_link
"$LINENO"; then :
7925 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7927 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7929 rm -f core conftest.err conftest.
$ac_objext \
7930 conftest
$ac_exeext conftest.
$ac_ext
7931 CFLAGS
=$ac_wine_try_cflags_saved
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7934 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7935 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7936 LDEXECFLAGS
="-Wl,--export-dynamic"
7938 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7940 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7941 if eval \
${$as_ac_var+:} false
; then :
7942 $as_echo_n "(cached) " >&6
7944 ac_wine_try_cflags_saved
=$CFLAGS
7945 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7947 /* end confdefs.h. */
7948 int main(int argc, char **argv) { return 0; }
7950 if ac_fn_c_try_link
"$LINENO"; then :
7951 eval "$as_ac_var=yes"
7953 eval "$as_ac_var=no"
7955 rm -f core conftest.err conftest.
$ac_objext \
7956 conftest
$ac_exeext conftest.
$ac_ext
7957 CFLAGS
=$ac_wine_try_cflags_saved
7959 eval ac_res
=\$
$as_ac_var
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7961 $as_echo "$ac_res" >&6; }
7962 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7963 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7964 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7966 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7968 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7969 if eval \
${$as_ac_var+:} false
; then :
7970 $as_echo_n "(cached) " >&6
7972 ac_wine_try_cflags_saved
=$CFLAGS
7973 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7975 /* end confdefs.h. */
7976 int main(int argc, char **argv) { return 0; }
7978 if ac_fn_c_try_link
"$LINENO"; then :
7979 eval "$as_ac_var=yes"
7981 eval "$as_ac_var=no"
7983 rm -f core conftest.err conftest.
$ac_objext \
7984 conftest
$ac_exeext conftest.
$ac_ext
7985 CFLAGS
=$ac_wine_try_cflags_saved
7987 eval ac_res
=\$
$as_ac_var
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7989 $as_echo "$ac_res" >&6; }
7990 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7991 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7992 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7997 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7998 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7999 $as_echo_n "(cached) " >&6
8001 ac_wine_try_cflags_saved
=$CFLAGS
8002 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8004 /* end confdefs.h. */
8005 int main(int argc, char **argv) { return 0; }
8007 if ac_fn_c_try_link
"$LINENO"; then :
8008 ac_cv_cflags__Wl___enable_new_dtags
=yes
8010 ac_cv_cflags__Wl___enable_new_dtags
=no
8012 rm -f core conftest.err conftest.
$ac_objext \
8013 conftest
$ac_exeext conftest.
$ac_ext
8014 CFLAGS
=$ac_wine_try_cflags_saved
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8017 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8018 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
8019 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8023 *i
[3456789]86* | x86_64
)
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8025 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8026 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8027 $as_echo_n "(cached) " >&6
8029 ac_wine_try_cflags_saved
=$CFLAGS
8030 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8032 /* end confdefs.h. */
8033 int main(int argc, char **argv) { return 0; }
8035 if ac_fn_c_try_link
"$LINENO"; then :
8036 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8038 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8040 rm -f core conftest.err conftest.
$ac_objext \
8041 conftest
$ac_exeext conftest.
$ac_ext
8042 CFLAGS
=$ac_wine_try_cflags_saved
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8045 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8046 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
8047 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8052 libwine_targets
="libwine.so"
8056 libwine.so: \$(OBJS)
8057 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8059 install install-lib:: libwine.so
8060 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8063 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8067 as_fn_append LOADER_RULES
"
8068 $wine_binary: main.o
8069 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8071 wine-installed: main.o
8072 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8077 DLLFLAGS
="$DLLFLAGS -fPIC"
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8080 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8081 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8082 $as_echo_n "(cached) " >&6
8084 ac_wine_try_cflags_saved
=$CFLAGS
8085 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8087 /* end confdefs.h. */
8090 if ac_fn_c_try_link
"$LINENO"; then :
8091 ac_cv_c_dll_gnuelf
="yes"
8093 ac_cv_c_dll_gnuelf
="no"
8095 rm -f core conftest.err conftest.
$ac_objext \
8096 conftest
$ac_exeext conftest.
$ac_ext
8097 CFLAGS
=$ac_wine_try_cflags_saved
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8100 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8101 if test "$ac_cv_c_dll_gnuelf" = "yes"
8103 LDSHARED
="\$(CC) -shared"
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8105 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8106 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8107 $as_echo_n "(cached) " >&6
8109 ac_wine_try_cflags_saved
=$CFLAGS
8110 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8112 /* end confdefs.h. */
8113 int main(int argc, char **argv) { return 0; }
8115 if ac_fn_c_try_link
"$LINENO"; then :
8116 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8118 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8120 rm -f core conftest.err conftest.
$ac_objext \
8121 conftest
$ac_exeext conftest.
$ac_ext
8122 CFLAGS
=$ac_wine_try_cflags_saved
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8125 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8126 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
8127 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8130 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8131 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8132 $as_echo_n "(cached) " >&6
8134 ac_wine_try_cflags_saved
=$CFLAGS
8135 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8137 /* end confdefs.h. */
8138 int main(int argc, char **argv) { return 0; }
8140 if ac_fn_c_try_link
"$LINENO"; then :
8141 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8143 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8145 rm -f core conftest.err conftest.
$ac_objext \
8146 conftest
$ac_exeext conftest.
$ac_ext
8147 CFLAGS
=$ac_wine_try_cflags_saved
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8150 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8151 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
8152 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8156 echo '{ global: *; };' >conftest.map
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8158 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8159 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8160 $as_echo_n "(cached) " >&6
8162 ac_wine_try_cflags_saved
=$CFLAGS
8163 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8165 /* end confdefs.h. */
8166 int main(int argc, char **argv) { return 0; }
8168 if ac_fn_c_try_link
"$LINENO"; then :
8169 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8171 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8173 rm -f core conftest.err conftest.
$ac_objext \
8174 conftest
$ac_exeext conftest.
$ac_ext
8175 CFLAGS
=$ac_wine_try_cflags_saved
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8178 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8179 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
8180 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8185 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8186 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8187 $as_echo_n "(cached) " >&6
8189 ac_wine_try_cflags_saved
=$CFLAGS
8190 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8192 /* end confdefs.h. */
8193 int main(int argc, char **argv) { return 0; }
8195 if ac_fn_c_try_link
"$LINENO"; then :
8196 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8198 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8200 rm -f core conftest.err conftest.
$ac_objext \
8201 conftest
$ac_exeext conftest.
$ac_ext
8202 CFLAGS
=$ac_wine_try_cflags_saved
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8205 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8206 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
8207 LDEXECFLAGS
="-Wl,--export-dynamic"
8210 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8212 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8213 if eval \
${$as_ac_var+:} false
; then :
8214 $as_echo_n "(cached) " >&6
8216 ac_wine_try_cflags_saved
=$CFLAGS
8217 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8219 /* end confdefs.h. */
8220 int main(int argc, char **argv) { return 0; }
8222 if ac_fn_c_try_link
"$LINENO"; then :
8223 eval "$as_ac_var=yes"
8225 eval "$as_ac_var=no"
8227 rm -f core conftest.err conftest.
$ac_objext \
8228 conftest
$ac_exeext conftest.
$ac_ext
8229 CFLAGS
=$ac_wine_try_cflags_saved
8231 eval ac_res
=\$
$as_ac_var
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8233 $as_echo "$ac_res" >&6; }
8234 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
8235 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8236 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8238 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8240 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8241 if eval \
${$as_ac_var+:} false
; then :
8242 $as_echo_n "(cached) " >&6
8244 ac_wine_try_cflags_saved
=$CFLAGS
8245 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8247 /* end confdefs.h. */
8248 int main(int argc, char **argv) { return 0; }
8250 if ac_fn_c_try_link
"$LINENO"; then :
8251 eval "$as_ac_var=yes"
8253 eval "$as_ac_var=no"
8255 rm -f core conftest.err conftest.
$ac_objext \
8256 conftest
$ac_exeext conftest.
$ac_ext
8257 CFLAGS
=$ac_wine_try_cflags_saved
8259 eval ac_res
=\$
$as_ac_var
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8261 $as_echo "$ac_res" >&6; }
8262 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
8263 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8264 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8269 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8270 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8271 $as_echo_n "(cached) " >&6
8273 ac_wine_try_cflags_saved
=$CFLAGS
8274 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8276 /* end confdefs.h. */
8277 int main(int argc, char **argv) { return 0; }
8279 if ac_fn_c_try_link
"$LINENO"; then :
8280 ac_cv_cflags__Wl___enable_new_dtags
=yes
8282 ac_cv_cflags__Wl___enable_new_dtags
=no
8284 rm -f core conftest.err conftest.
$ac_objext \
8285 conftest
$ac_exeext conftest.
$ac_ext
8286 CFLAGS
=$ac_wine_try_cflags_saved
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8289 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8290 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
8291 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8295 *i
[3456789]86* | x86_64
)
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8297 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8298 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8299 $as_echo_n "(cached) " >&6
8301 ac_wine_try_cflags_saved
=$CFLAGS
8302 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8304 /* end confdefs.h. */
8305 int main(int argc, char **argv) { return 0; }
8307 if ac_fn_c_try_link
"$LINENO"; then :
8308 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8310 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8312 rm -f core conftest.err conftest.
$ac_objext \
8313 conftest
$ac_exeext conftest.
$ac_ext
8314 CFLAGS
=$ac_wine_try_cflags_saved
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8317 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8318 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
8320 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8321 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8325 # Extract the first word of "prelink", so it can be a program name with args.
8326 set dummy prelink
; ac_word
=$2
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8328 $as_echo_n "checking for $ac_word... " >&6; }
8329 if ${ac_cv_path_PRELINK+:} false
; then :
8330 $as_echo_n "(cached) " >&6
8334 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8338 for as_dir
in /sbin
/usr
/sbin
$PATH
8341 test -z "$as_dir" && as_dir
=.
8342 for ac_exec_ext
in '' $ac_executable_extensions; do
8343 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8344 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8352 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8356 PRELINK
=$ac_cv_path_PRELINK
8357 if test -n "$PRELINK"; then
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8359 $as_echo "$PRELINK" >&6; }
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8362 $as_echo "no" >&6; }
8366 if test "x$PRELINK" = xfalse
8368 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8375 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8376 if ${ac_cv_c_dll_unixware+:} false
; then :
8377 $as_echo_n "(cached) " >&6
8379 ac_wine_try_cflags_saved
=$CFLAGS
8380 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8382 /* end confdefs.h. */
8385 if ac_fn_c_try_link
"$LINENO"; then :
8386 ac_cv_c_dll_unixware
="yes"
8388 ac_cv_c_dll_unixware
="no"
8390 rm -f core conftest.err conftest.
$ac_objext \
8391 conftest
$ac_exeext conftest.
$ac_ext
8392 CFLAGS
=$ac_wine_try_cflags_saved
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8395 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8396 if test "$ac_cv_c_dll_unixware" = "yes"
8398 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8401 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8405 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8406 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8408 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8409 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8411 libwine.so: libwine.so.$libwine_soversion
8412 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8414 install install-lib:: libwine.so.$libwine_version
8415 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8416 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8418 install install-dev::
8419 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8422 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8426 as_fn_append LOADER_RULES
"
8427 $wine_binary: main.o
8428 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8430 wine-installed: main.o
8431 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8436 as_fn_append LIBWINE_RULES
"
8437 EXTRA_TARGETS = $libwine_targets
8440 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8441 enable_winemac_drv
=${enable_winemac_drv:-no}
8445 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8449 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
8452 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 " ;;
8454 ac_prefix_list
="" ;;
8456 for ac_prog
in $ac_prefix_list
8458 # Extract the first word of "$ac_prog", so it can be a program name with args.
8459 set dummy
$ac_prog; ac_word
=$2
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8461 $as_echo_n "checking for $ac_word... " >&6; }
8462 if ${ac_cv_prog_CROSSCC+:} false
; then :
8463 $as_echo_n "(cached) " >&6
8465 if test -n "$CROSSCC"; then
8466 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8472 test -z "$as_dir" && as_dir
=.
8473 for ac_exec_ext
in '' $ac_executable_extensions; do
8474 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8475 ac_cv_prog_CROSSCC
="$ac_prog"
8476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8485 CROSSCC
=$ac_cv_prog_CROSSCC
8486 if test -n "$CROSSCC"; then
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8488 $as_echo "$CROSSCC" >&6; }
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8491 $as_echo "no" >&6; }
8495 test -n "$CROSSCC" && break
8497 test -n "$CROSSCC" || CROSSCC
="false"
8499 if test "$CROSSCC" != "false"
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8504 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8506 /* end confdefs.h. */
8516 if ac_fn_c_try_compile
"$LINENO"; then :
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8518 $as_echo "yes" >&6; }
8524 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8530 $as_echo "no" >&6; }
8532 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8538 if test "$ac_cv_header_pthread_h" = "yes"
8540 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8541 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8545 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8546 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8547 $as_echo_n "(cached) " >&6
8549 ac_check_lib_save_LIBS
=$LIBS
8550 LIBS
="-lpthread $LIBS"
8551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8552 /* end confdefs.h. */
8554 /* Override any GCC internal prototype to avoid an error.
8555 Use char because int might match the return type of a GCC
8556 builtin and then its argument prototype would still apply. */
8560 char pthread_create ();
8564 return pthread_create ();
8569 if ac_fn_c_try_link
"$LINENO"; then :
8570 ac_cv_lib_pthread_pthread_create
=yes
8572 ac_cv_lib_pthread_pthread_create
=no
8574 rm -f core conftest.err conftest.
$ac_objext \
8575 conftest
$ac_exeext conftest.
$ac_ext
8576 LIBS
=$ac_check_lib_save_LIBS
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8579 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8580 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8581 LIBPTHREAD
="-lpthread"
8588 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$LIBPTHREAD" = x
; then :
8589 case "x$with_pthread" in
8591 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8592 Wine cannot support threads without libpthread.
8593 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8599 $as_echo_n "checking for X... " >&6; }
8602 # Check whether --with-x was given.
8603 if test "${with_x+set}" = set; then :
8607 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8608 if test "x$with_x" = xno
; then
8609 # The user explicitly disabled X.
8612 case $x_includes,$x_libraries in #(
8613 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8614 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8615 $as_echo_n "(cached) " >&6
8617 # One or both of the vars are not set, and there is no cached value.
8618 ac_x_includes
=no ac_x_libraries
=no
8619 rm -f -r conftest.dir
8620 if mkdir conftest.dir
; then
8622 cat >Imakefile
<<'_ACEOF'
8624 @echo incroot='${INCROOT}'
8626 @echo usrlibdir='${USRLIBDIR}'
8628 @echo libdir='${LIBDIR}'
8630 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8631 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8632 for ac_var
in incroot usrlibdir libdir
; do
8633 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8635 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8636 for ac_extension
in a so sl dylib la dll
; do
8637 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8638 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8639 ac_im_usrlibdir
=$ac_im_libdir; break
8642 # Screen out bogus values from the imake configuration. They are
8643 # bogus both because they are the default anyway, and because
8644 # using them would break gcc on systems where it needs fixed includes.
8645 case $ac_im_incroot in
8646 /usr
/include
) ac_x_includes
= ;;
8647 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8649 case $ac_im_usrlibdir in
8650 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8651 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8655 rm -f -r conftest.dir
8658 # Standard set of common directories for X headers.
8659 # Check X11 before X11Rn because it is often a symlink to the current release.
8673 /usr/local/X11/include
8674 /usr/local/X11R7/include
8675 /usr/local/X11R6/include
8676 /usr/local/X11R5/include
8677 /usr/local/X11R4/include
8679 /usr/local/include/X11
8680 /usr/local/include/X11R7
8681 /usr/local/include/X11R6
8682 /usr/local/include/X11R5
8683 /usr/local/include/X11R4
8687 /usr/XFree86/include/X11
8691 /usr/unsupported/include
8693 /usr/local/x11r5/include
8694 /usr/lpp/Xamples/include
8696 /usr/openwin/include
8697 /usr/openwin/share/include'
8699 if test "$ac_x_includes" = no
; then
8700 # Guess where to find include files, by looking for Xlib.h.
8701 # First, try using that file with no special directory specified.
8702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8703 /* end confdefs.h. */
8704 #include <X11/Xlib.h>
8706 if ac_fn_c_try_cpp
"$LINENO"; then :
8707 # We can compile using X headers with no special include directory.
8710 for ac_dir
in $ac_x_header_dirs; do
8711 if test -r "$ac_dir/X11/Xlib.h"; then
8712 ac_x_includes
=$ac_dir
8717 rm -f conftest.err conftest.i conftest.
$ac_ext
8718 fi # $ac_x_includes = no
8720 if test "$ac_x_libraries" = no
; then
8721 # Check for the libraries.
8722 # See if we find them without any special options.
8723 # Don't add to $LIBS permanently.
8726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8727 /* end confdefs.h. */
8728 #include <X11/Xlib.h>
8737 if ac_fn_c_try_link
"$LINENO"; then :
8739 # We can link X programs with no special library path.
8743 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8745 # Don't even attempt the hair of trying to link an X program!
8746 for ac_extension
in a so sl dylib la dll
; do
8747 if test -r "$ac_dir/libX11.$ac_extension"; then
8748 ac_x_libraries
=$ac_dir
8754 rm -f core conftest.err conftest.
$ac_objext \
8755 conftest
$ac_exeext conftest.
$ac_ext
8756 fi # $ac_x_libraries = no
8758 case $ac_x_includes,$ac_x_libraries in #(
8760 # Didn't find X, or a directory has "'" in its name.
8761 ac_cv_have_x
="have_x=no";; #(
8763 # Record where we found X for the cache.
8764 ac_cv_have_x
="have_x=yes\
8765 ac_x_includes='$ac_x_includes'\
8766 ac_x_libraries='$ac_x_libraries'"
8772 eval "$ac_cv_have_x"
8775 if test "$have_x" != yes; then
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8777 $as_echo "$have_x" >&6; }
8780 # If each of the values was on the command line, it overrides each guess.
8781 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8782 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8783 # Update the cache value to reflect the command line values.
8784 ac_cv_have_x
="have_x=yes\
8785 ac_x_includes='$x_includes'\
8786 ac_x_libraries='$x_libraries'"
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8788 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8791 if test "$no_x" = yes; then
8792 # Not all programs may use this symbol, but it does not hurt to define it.
8794 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8796 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8798 if test -n "$x_includes"; then
8799 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8802 # It would also be nice to do this for all -L options, not just this one.
8803 if test -n "$x_libraries"; then
8804 X_LIBS
="$X_LIBS -L$x_libraries"
8805 # For Solaris; some versions of Sun CC require a space after -R and
8806 # others require no space. Words are not sufficient . . . .
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8808 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8809 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8810 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8811 ac_c_werror_flag
=yes
8812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8813 /* end confdefs.h. */
8823 if ac_fn_c_try_link
"$LINENO"; then :
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8825 $as_echo "no" >&6; }
8826 X_LIBS
="$X_LIBS -R$x_libraries"
8828 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8830 /* end confdefs.h. */
8840 if ac_fn_c_try_link
"$LINENO"; then :
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8842 $as_echo "yes" >&6; }
8843 X_LIBS
="$X_LIBS -R $x_libraries"
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8846 $as_echo "neither works" >&6; }
8848 rm -f core conftest.err conftest.
$ac_objext \
8849 conftest
$ac_exeext conftest.
$ac_ext
8851 rm -f core conftest.err conftest.
$ac_objext \
8852 conftest
$ac_exeext conftest.
$ac_ext
8853 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8857 # Check for system-dependent libraries X programs must link with.
8858 # Do this before checking for the system-independent R6 libraries
8859 # (-lICE), since we may need -lsocket or whatever for X linking.
8861 if test "$ISC" = yes; then
8862 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8864 # Martyn Johnson says this is needed for Ultrix, if the X
8865 # libraries were built with DECnet support. And Karl Berry says
8866 # the Alpha needs dnet_stub (dnet does not exist).
8867 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8869 /* end confdefs.h. */
8871 /* Override any GCC internal prototype to avoid an error.
8872 Use char because int might match the return type of a GCC
8873 builtin and then its argument prototype would still apply. */
8877 char XOpenDisplay ();
8881 return XOpenDisplay ();
8886 if ac_fn_c_try_link
"$LINENO"; then :
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8890 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8891 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8892 $as_echo_n "(cached) " >&6
8894 ac_check_lib_save_LIBS
=$LIBS
8896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8897 /* end confdefs.h. */
8899 /* Override any GCC internal prototype to avoid an error.
8900 Use char because int might match the return type of a GCC
8901 builtin and then its argument prototype would still apply. */
8909 return dnet_ntoa ();
8914 if ac_fn_c_try_link
"$LINENO"; then :
8915 ac_cv_lib_dnet_dnet_ntoa
=yes
8917 ac_cv_lib_dnet_dnet_ntoa
=no
8919 rm -f core conftest.err conftest.
$ac_objext \
8920 conftest
$ac_exeext conftest.
$ac_ext
8921 LIBS
=$ac_check_lib_save_LIBS
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8924 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8925 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8926 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8929 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8931 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8932 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8933 $as_echo_n "(cached) " >&6
8935 ac_check_lib_save_LIBS
=$LIBS
8936 LIBS
="-ldnet_stub $LIBS"
8937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8938 /* end confdefs.h. */
8940 /* Override any GCC internal prototype to avoid an error.
8941 Use char because int might match the return type of a GCC
8942 builtin and then its argument prototype would still apply. */
8950 return dnet_ntoa ();
8955 if ac_fn_c_try_link
"$LINENO"; then :
8956 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8958 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8960 rm -f core conftest.err conftest.
$ac_objext \
8961 conftest
$ac_exeext conftest.
$ac_ext
8962 LIBS
=$ac_check_lib_save_LIBS
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8965 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8966 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8967 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8972 rm -f core conftest.err conftest.
$ac_objext \
8973 conftest
$ac_exeext conftest.
$ac_ext
8974 LIBS
="$ac_xsave_LIBS"
8976 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8977 # to get the SysV transport functions.
8978 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8980 # The nsl library prevents programs from opening the X display
8981 # on Irix 5.2, according to T.E. Dickey.
8982 # The functions gethostbyname, getservbyname, and inet_addr are
8983 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8984 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8985 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8989 if test $ac_cv_func_gethostbyname = no
; then
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8991 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8992 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8993 $as_echo_n "(cached) " >&6
8995 ac_check_lib_save_LIBS
=$LIBS
8997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8998 /* end confdefs.h. */
9000 /* Override any GCC internal prototype to avoid an error.
9001 Use char because int might match the return type of a GCC
9002 builtin and then its argument prototype would still apply. */
9006 char gethostbyname ();
9010 return gethostbyname ();
9015 if ac_fn_c_try_link
"$LINENO"; then :
9016 ac_cv_lib_nsl_gethostbyname
=yes
9018 ac_cv_lib_nsl_gethostbyname
=no
9020 rm -f core conftest.err conftest.
$ac_objext \
9021 conftest
$ac_exeext conftest.
$ac_ext
9022 LIBS
=$ac_check_lib_save_LIBS
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9025 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9026 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9027 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9030 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9032 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9033 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9034 $as_echo_n "(cached) " >&6
9036 ac_check_lib_save_LIBS
=$LIBS
9038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9039 /* end confdefs.h. */
9041 /* Override any GCC internal prototype to avoid an error.
9042 Use char because int might match the return type of a GCC
9043 builtin and then its argument prototype would still apply. */
9047 char gethostbyname ();
9051 return gethostbyname ();
9056 if ac_fn_c_try_link
"$LINENO"; then :
9057 ac_cv_lib_bsd_gethostbyname
=yes
9059 ac_cv_lib_bsd_gethostbyname
=no
9061 rm -f core conftest.err conftest.
$ac_objext \
9062 conftest
$ac_exeext conftest.
$ac_ext
9063 LIBS
=$ac_check_lib_save_LIBS
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9066 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9067 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9068 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9074 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9075 # socket/setsockopt and other routines are undefined under SCO ODT
9076 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9077 # on later versions), says Simon Leinen: it contains gethostby*
9078 # variants that don't use the name server (or something). -lsocket
9079 # must be given before -lnsl if both are needed. We assume that
9080 # if connect needs -lnsl, so does gethostbyname.
9081 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9082 if test "x$ac_cv_func_connect" = xyes
; then :
9086 if test $ac_cv_func_connect = no
; then
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9088 $as_echo_n "checking for connect in -lsocket... " >&6; }
9089 if ${ac_cv_lib_socket_connect+:} false
; then :
9090 $as_echo_n "(cached) " >&6
9092 ac_check_lib_save_LIBS
=$LIBS
9093 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9095 /* end confdefs.h. */
9097 /* Override any GCC internal prototype to avoid an error.
9098 Use char because int might match the return type of a GCC
9099 builtin and then its argument prototype would still apply. */
9112 if ac_fn_c_try_link
"$LINENO"; then :
9113 ac_cv_lib_socket_connect
=yes
9115 ac_cv_lib_socket_connect
=no
9117 rm -f core conftest.err conftest.
$ac_objext \
9118 conftest
$ac_exeext conftest.
$ac_ext
9119 LIBS
=$ac_check_lib_save_LIBS
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9122 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9123 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9124 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9129 # Guillermo Gomez says -lposix is necessary on A/UX.
9130 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9131 if test "x$ac_cv_func_remove" = xyes
; then :
9135 if test $ac_cv_func_remove = no
; then
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9137 $as_echo_n "checking for remove in -lposix... " >&6; }
9138 if ${ac_cv_lib_posix_remove+:} false
; then :
9139 $as_echo_n "(cached) " >&6
9141 ac_check_lib_save_LIBS
=$LIBS
9142 LIBS
="-lposix $LIBS"
9143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9144 /* end confdefs.h. */
9146 /* Override any GCC internal prototype to avoid an error.
9147 Use char because int might match the return type of a GCC
9148 builtin and then its argument prototype would still apply. */
9161 if ac_fn_c_try_link
"$LINENO"; then :
9162 ac_cv_lib_posix_remove
=yes
9164 ac_cv_lib_posix_remove
=no
9166 rm -f core conftest.err conftest.
$ac_objext \
9167 conftest
$ac_exeext conftest.
$ac_ext
9168 LIBS
=$ac_check_lib_save_LIBS
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9171 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9172 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9173 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9178 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9179 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9180 if test "x$ac_cv_func_shmat" = xyes
; then :
9184 if test $ac_cv_func_shmat = no
; then
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9186 $as_echo_n "checking for shmat in -lipc... " >&6; }
9187 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9188 $as_echo_n "(cached) " >&6
9190 ac_check_lib_save_LIBS
=$LIBS
9192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9193 /* end confdefs.h. */
9195 /* Override any GCC internal prototype to avoid an error.
9196 Use char because int might match the return type of a GCC
9197 builtin and then its argument prototype would still apply. */
9210 if ac_fn_c_try_link
"$LINENO"; then :
9211 ac_cv_lib_ipc_shmat
=yes
9213 ac_cv_lib_ipc_shmat
=no
9215 rm -f core conftest.err conftest.
$ac_objext \
9216 conftest
$ac_exeext conftest.
$ac_ext
9217 LIBS
=$ac_check_lib_save_LIBS
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9220 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9221 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9222 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9228 # Check for libraries that X11R6 Xt/Xaw programs need.
9229 ac_save_LDFLAGS
=$LDFLAGS
9230 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9231 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9232 # check for ICE first), but we must link in the order -lSM -lICE or
9233 # we get undefined symbols. So assume we have SM if we have ICE.
9234 # These have to be linked with before -lX11, unlike the other
9235 # libraries we check for below, so use a different variable.
9236 # John Interrante, Karl Berry
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9238 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9239 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9240 $as_echo_n "(cached) " >&6
9242 ac_check_lib_save_LIBS
=$LIBS
9243 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9245 /* end confdefs.h. */
9247 /* Override any GCC internal prototype to avoid an error.
9248 Use char because int might match the return type of a GCC
9249 builtin and then its argument prototype would still apply. */
9253 char IceConnectionNumber ();
9257 return IceConnectionNumber ();
9262 if ac_fn_c_try_link
"$LINENO"; then :
9263 ac_cv_lib_ICE_IceConnectionNumber
=yes
9265 ac_cv_lib_ICE_IceConnectionNumber
=no
9267 rm -f core conftest.err conftest.
$ac_objext \
9268 conftest
$ac_exeext conftest.
$ac_ext
9269 LIBS
=$ac_check_lib_save_LIBS
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9272 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9273 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9274 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9277 LDFLAGS
=$ac_save_LDFLAGS
9282 if test "$have_x" = "yes"
9285 ac_save_CPPFLAGS
="$CPPFLAGS"
9286 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9289 $as_echo_n "checking for -lX11... " >&6; }
9290 if ${ac_cv_lib_soname_X11+:} false
; then :
9291 $as_echo_n "(cached) " >&6
9293 ac_check_soname_save_LIBS
=$LIBS
9294 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9296 /* end confdefs.h. */
9298 /* Override any GCC internal prototype to avoid an error.
9299 Use char because int might match the return type of a GCC
9300 builtin and then its argument prototype would still apply. */
9304 char XCreateWindow ();
9308 return XCreateWindow ();
9313 if ac_fn_c_try_link
"$LINENO"; then :
9315 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9316 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'` ;;
9317 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9318 if test "x$ac_cv_lib_soname_X11" = x
; then :
9319 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9323 rm -f core conftest.err conftest.
$ac_objext \
9324 conftest
$ac_exeext conftest.
$ac_ext
9325 LIBS
=$ac_check_soname_save_LIBS
9327 if test "x$ac_cv_lib_soname_X11" = "x"; then :
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9329 $as_echo "not found" >&6; }
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9333 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9335 cat >>confdefs.h
<<_ACEOF
9336 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9342 $as_echo_n "checking for -lXext... " >&6; }
9343 if ${ac_cv_lib_soname_Xext+:} false
; then :
9344 $as_echo_n "(cached) " >&6
9346 ac_check_soname_save_LIBS
=$LIBS
9347 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9349 /* end confdefs.h. */
9351 /* Override any GCC internal prototype to avoid an error.
9352 Use char because int might match the return type of a GCC
9353 builtin and then its argument prototype would still apply. */
9357 char XextCreateExtension ();
9361 return XextCreateExtension ();
9366 if ac_fn_c_try_link
"$LINENO"; then :
9368 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9369 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'` ;;
9370 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9371 if test "x$ac_cv_lib_soname_Xext" = x
; then :
9372 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9376 rm -f core conftest.err conftest.
$ac_objext \
9377 conftest
$ac_exeext conftest.
$ac_ext
9378 LIBS
=$ac_check_soname_save_LIBS
9380 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9382 $as_echo "not found" >&6; }
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9386 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9388 cat >>confdefs.h
<<_ACEOF
9389 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9395 for ac_header
in X11
/Xlib.h \
9398 X11
/Xcursor
/Xcursor.h \
9399 X11
/extensions
/shape.h \
9400 X11
/extensions
/XInput.h \
9401 X11
/extensions
/XInput2.h \
9402 X11
/extensions
/XShm.h \
9403 X11
/extensions
/Xcomposite.h \
9404 X11
/extensions
/Xinerama.h \
9405 X11
/extensions
/Xrandr.h \
9406 X11
/extensions
/Xrender.h \
9407 X11
/extensions
/xf86vmode.h \
9408 X11
/extensions
/xf86vmproto.h
9410 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9411 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9412 # include <X11/Xlib.h>
9414 #ifdef HAVE_X11_XUTIL_H
9415 # include <X11/Xutil.h>
9418 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9419 cat >>confdefs.h
<<_ACEOF
9420 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9428 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9431 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9432 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9433 $as_echo_n "(cached) " >&6
9435 ac_check_lib_save_LIBS
=$LIBS
9436 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9438 /* end confdefs.h. */
9440 /* Override any GCC internal prototype to avoid an error.
9441 Use char because int might match the return type of a GCC
9442 builtin and then its argument prototype would still apply. */
9446 char XkbQueryExtension ();
9450 return XkbQueryExtension ();
9455 if ac_fn_c_try_link
"$LINENO"; then :
9456 ac_cv_lib_X11_XkbQueryExtension
=yes
9458 ac_cv_lib_X11_XkbQueryExtension
=no
9460 rm -f core conftest.err conftest.
$ac_objext \
9461 conftest
$ac_exeext conftest.
$ac_ext
9462 LIBS
=$ac_check_lib_save_LIBS
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9465 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9466 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9468 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9474 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9477 $as_echo_n "checking for -lXcursor... " >&6; }
9478 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9479 $as_echo_n "(cached) " >&6
9481 ac_check_soname_save_LIBS
=$LIBS
9482 LIBS
="-lXcursor $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 XcursorImageLoadCursor ();
9496 return XcursorImageLoadCursor ();
9501 if ac_fn_c_try_link
"$LINENO"; then :
9503 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9504 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'` ;;
9505 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9506 if test "x$ac_cv_lib_soname_Xcursor" = x
; then :
9507 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$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_Xcursor" = "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_Xcursor" >&5
9521 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9523 cat >>confdefs.h
<<_ACEOF
9524 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9530 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9531 case "x$with_xcursor" in
9532 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9534 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9535 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9539 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9542 $as_echo_n "checking for -lXi... " >&6; }
9543 if ${ac_cv_lib_soname_Xi+:} false
; then :
9544 $as_echo_n "(cached) " >&6
9546 ac_check_soname_save_LIBS
=$LIBS
9547 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9549 /* end confdefs.h. */
9551 /* Override any GCC internal prototype to avoid an error.
9552 Use char because int might match the return type of a GCC
9553 builtin and then its argument prototype would still apply. */
9557 char XOpenDevice ();
9561 return XOpenDevice ();
9566 if ac_fn_c_try_link
"$LINENO"; then :
9568 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9569 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'` ;;
9570 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9571 if test "x$ac_cv_lib_soname_Xi" = x
; then :
9572 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9576 rm -f core conftest.err conftest.
$ac_objext \
9577 conftest
$ac_exeext conftest.
$ac_ext
9578 LIBS
=$ac_check_soname_save_LIBS
9580 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9582 $as_echo "not found" >&6; }
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9586 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9588 cat >>confdefs.h
<<_ACEOF
9589 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9595 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9596 case "x$with_xinput" in
9597 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9599 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9600 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9604 if test "x$ac_cv_lib_soname_Xi" != x
9606 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9607 case "x$with_xinput2" in
9608 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9610 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9611 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9616 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9619 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9620 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9621 $as_echo_n "(cached) " >&6
9623 ac_check_lib_save_LIBS
=$LIBS
9624 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9626 /* end confdefs.h. */
9628 /* Override any GCC internal prototype to avoid an error.
9629 Use char because int might match the return type of a GCC
9630 builtin and then its argument prototype would still apply. */
9634 char XShmQueryExtension ();
9638 return XShmQueryExtension ();
9643 if ac_fn_c_try_link
"$LINENO"; then :
9644 ac_cv_lib_Xext_XShmQueryExtension
=yes
9646 ac_cv_lib_Xext_XShmQueryExtension
=no
9648 rm -f core conftest.err conftest.
$ac_objext \
9649 conftest
$ac_exeext conftest.
$ac_ext
9650 LIBS
=$ac_check_lib_save_LIBS
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9653 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9654 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9656 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9661 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9662 case "x$with_xshm" in
9663 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9665 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9666 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9670 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9673 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9674 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9675 $as_echo_n "(cached) " >&6
9677 ac_check_lib_save_LIBS
=$LIBS
9678 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9680 /* end confdefs.h. */
9682 /* Override any GCC internal prototype to avoid an error.
9683 Use char because int might match the return type of a GCC
9684 builtin and then its argument prototype would still apply. */
9688 char XShapeQueryExtension ();
9692 return XShapeQueryExtension ();
9697 if ac_fn_c_try_link
"$LINENO"; then :
9698 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9700 ac_cv_lib_Xext_XShapeQueryExtension
=no
9702 rm -f core conftest.err conftest.
$ac_objext \
9703 conftest
$ac_exeext conftest.
$ac_ext
9704 LIBS
=$ac_check_lib_save_LIBS
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9707 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9708 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9710 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9715 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9716 case "x$with_xshape" in
9717 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9719 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9720 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9724 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9727 $as_echo_n "checking for -lXxf86vm... " >&6; }
9728 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9729 $as_echo_n "(cached) " >&6
9731 ac_check_soname_save_LIBS
=$LIBS
9732 LIBS
="-lXxf86vm $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 XF86VidModeQueryExtension ();
9746 return XF86VidModeQueryExtension ();
9751 if ac_fn_c_try_link
"$LINENO"; then :
9753 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9754 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'` ;;
9755 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9756 if test "x$ac_cv_lib_soname_Xxf86vm" = x
; then :
9757 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$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_Xxf86vm" = "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_Xxf86vm" >&5
9771 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9773 cat >>confdefs.h
<<_ACEOF
9774 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9780 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9781 case "x$with_xxf86vm" in
9782 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9784 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9785 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9789 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"
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9792 $as_echo_n "checking for -lXrender... " >&6; }
9793 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9794 $as_echo_n "(cached) " >&6
9796 ac_check_soname_save_LIBS
=$LIBS
9797 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9799 /* end confdefs.h. */
9801 /* Override any GCC internal prototype to avoid an error.
9802 Use char because int might match the return type of a GCC
9803 builtin and then its argument prototype would still apply. */
9807 char XRenderQueryExtension ();
9811 return XRenderQueryExtension ();
9816 if ac_fn_c_try_link
"$LINENO"; then :
9818 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9819 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'` ;;
9820 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9821 if test "x$ac_cv_lib_soname_Xrender" = x
; then :
9822 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9826 rm -f core conftest.err conftest.
$ac_objext \
9827 conftest
$ac_exeext conftest.
$ac_ext
9828 LIBS
=$ac_check_soname_save_LIBS
9830 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9832 $as_echo "not found" >&6; }
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9836 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9838 cat >>confdefs.h
<<_ACEOF
9839 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9843 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9844 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9845 $as_echo_n "(cached) " >&6
9847 ac_check_lib_save_LIBS
=$LIBS
9848 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9850 /* end confdefs.h. */
9852 /* Override any GCC internal prototype to avoid an error.
9853 Use char because int might match the return type of a GCC
9854 builtin and then its argument prototype would still apply. */
9858 char XRenderSetPictureTransform ();
9862 return XRenderSetPictureTransform ();
9867 if ac_fn_c_try_link
"$LINENO"; then :
9868 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9870 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9872 rm -f core conftest.err conftest.
$ac_objext \
9873 conftest
$ac_exeext conftest.
$ac_ext
9874 LIBS
=$ac_check_lib_save_LIBS
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9877 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9878 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9880 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9885 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9886 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9887 $as_echo_n "(cached) " >&6
9889 ac_check_lib_save_LIBS
=$LIBS
9890 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h. */
9894 /* Override any GCC internal prototype to avoid an error.
9895 Use char because int might match the return type of a GCC
9896 builtin and then its argument prototype would still apply. */
9900 char XRenderCreateLinearGradient ();
9904 return XRenderCreateLinearGradient ();
9909 if ac_fn_c_try_link
"$LINENO"; then :
9910 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9912 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9914 rm -f core conftest.err conftest.
$ac_objext \
9915 conftest
$ac_exeext conftest.
$ac_ext
9916 LIBS
=$ac_check_lib_save_LIBS
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9919 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9920 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9922 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9929 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9930 case "x$with_xrender" in
9931 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9933 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9934 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9938 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9941 /* end confdefs.h. */
9942 #include <X11/Xlib.h>
9943 #include <X11/extensions/Xrandr.h>
9947 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9952 if ac_fn_c_try_compile
"$LINENO"; then :
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9954 $as_echo_n "checking for -lXrandr... " >&6; }
9955 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9956 $as_echo_n "(cached) " >&6
9958 ac_check_soname_save_LIBS
=$LIBS
9959 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9961 /* end confdefs.h. */
9963 /* Override any GCC internal prototype to avoid an error.
9964 Use char because int might match the return type of a GCC
9965 builtin and then its argument prototype would still apply. */
9969 char XRRQueryExtension ();
9973 return XRRQueryExtension ();
9978 if ac_fn_c_try_link
"$LINENO"; then :
9980 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9981 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'` ;;
9982 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9983 if test "x$ac_cv_lib_soname_Xrandr" = x
; then :
9984 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9988 rm -f core conftest.err conftest.
$ac_objext \
9989 conftest
$ac_exeext conftest.
$ac_ext
9990 LIBS
=$ac_check_soname_save_LIBS
9992 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9994 $as_echo "not found" >&6; }
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9998 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10000 cat >>confdefs.h
<<_ACEOF
10001 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10005 /* end confdefs.h. */
10006 #include <X11/Xlib.h>
10007 #include <X11/extensions/Xrandr.h>
10011 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10016 if ac_fn_c_try_compile
"$LINENO"; then :
10018 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10026 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10027 case "x$with_xrandr" in
10028 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10030 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10031 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10035 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10038 /* end confdefs.h. */
10039 #include <X11/Xlib.h>
10040 #include <X11/extensions/Xinerama.h>
10044 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10049 if ac_fn_c_try_compile
"$LINENO"; then :
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10051 $as_echo_n "checking for -lXinerama... " >&6; }
10052 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10053 $as_echo_n "(cached) " >&6
10055 ac_check_soname_save_LIBS
=$LIBS
10056 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
10057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10058 /* end confdefs.h. */
10060 /* Override any GCC internal prototype to avoid an error.
10061 Use char because int might match the return type of a GCC
10062 builtin and then its argument prototype would still apply. */
10066 char XineramaQueryScreens ();
10070 return XineramaQueryScreens ();
10075 if ac_fn_c_try_link
"$LINENO"; then :
10077 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10078 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'` ;;
10079 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10080 if test "x$ac_cv_lib_soname_Xinerama" = x
; then :
10081 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10085 rm -f core conftest.err conftest.
$ac_objext \
10086 conftest
$ac_exeext conftest.
$ac_ext
10087 LIBS
=$ac_check_soname_save_LIBS
10089 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10091 $as_echo "not found" >&6; }
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10095 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10097 cat >>confdefs.h
<<_ACEOF
10098 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10104 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10106 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10107 case "x$with_xinerama" in
10108 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10110 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10111 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10115 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10118 $as_echo_n "checking for -lXcomposite... " >&6; }
10119 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10120 $as_echo_n "(cached) " >&6
10122 ac_check_soname_save_LIBS
=$LIBS
10123 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
10124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10125 /* end confdefs.h. */
10127 /* Override any GCC internal prototype to avoid an error.
10128 Use char because int might match the return type of a GCC
10129 builtin and then its argument prototype would still apply. */
10133 char XCompositeRedirectWindow ();
10137 return XCompositeRedirectWindow ();
10142 if ac_fn_c_try_link
"$LINENO"; then :
10144 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10145 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'` ;;
10146 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10147 if test "x$ac_cv_lib_soname_Xcomposite" = x
; then :
10148 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10152 rm -f core conftest.err conftest.
$ac_objext \
10153 conftest
$ac_exeext conftest.
$ac_ext
10154 LIBS
=$ac_check_soname_save_LIBS
10156 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10158 $as_echo "not found" >&6; }
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10162 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10164 cat >>confdefs.h
<<_ACEOF
10165 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10171 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10172 case "x$with_xcomposite" in
10173 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10175 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10176 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10180 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10181 #include <X11/Xlib.h>
10184 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10186 cat >>confdefs.h
<<_ACEOF
10187 #define HAVE_XICCALLBACK_CALLBACK 1
10192 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10193 #include <X11/Xlib.h>
10196 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10198 cat >>confdefs.h
<<_ACEOF
10199 #define HAVE_XEVENT_XCOOKIE 1
10208 if test "x$with_opengl" != "xno"
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10211 $as_echo_n "checking for -lGL... " >&6; }
10212 if ${ac_cv_lib_soname_GL+:} false
; then :
10213 $as_echo_n "(cached) " >&6
10215 ac_check_soname_save_LIBS
=$LIBS
10216 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
10217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10218 /* end confdefs.h. */
10220 /* Override any GCC internal prototype to avoid an error.
10221 Use char because int might match the return type of a GCC
10222 builtin and then its argument prototype would still apply. */
10226 char glXCreateContext ();
10230 return glXCreateContext ();
10235 if ac_fn_c_try_link
"$LINENO"; then :
10237 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10238 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'` ;;
10239 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10240 if test "x$ac_cv_lib_soname_GL" = x
; then :
10241 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10245 rm -f core conftest.err conftest.
$ac_objext \
10246 conftest
$ac_exeext conftest.
$ac_ext
10247 LIBS
=$ac_check_soname_save_LIBS
10249 if test "x$ac_cv_lib_soname_GL" = "x"; then :
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10251 $as_echo "not found" >&6; }
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10253 $as_echo_n "checking for -lGL... " >&6; }
10254 if ${ac_cv_lib_soname_GL+:} false
; then :
10255 $as_echo_n "(cached) " >&6
10257 ac_check_soname_save_LIBS
=$LIBS
10258 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"
10259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10260 /* end confdefs.h. */
10262 /* Override any GCC internal prototype to avoid an error.
10263 Use char because int might match the return type of a GCC
10264 builtin and then its argument prototype would still apply. */
10268 char glXCreateContext ();
10272 return glXCreateContext ();
10277 if ac_fn_c_try_link
"$LINENO"; then :
10279 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10280 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'` ;;
10281 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10282 if test "x$ac_cv_lib_soname_GL" = x
; then :
10283 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10287 rm -f core conftest.err conftest.
$ac_objext \
10288 conftest
$ac_exeext conftest.
$ac_ext
10289 LIBS
=$ac_check_soname_save_LIBS
10291 if test "x$ac_cv_lib_soname_GL" = "x"; then :
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10293 $as_echo "not found" >&6; }
10294 if test -f /usr
/X11R
6/lib
/libGL.a
10296 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10297 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10299 opengl_msg
="No OpenGL library found on this system."
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10303 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10305 cat >>confdefs.h
<<_ACEOF
10306 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10309 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"
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10313 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10315 cat >>confdefs.h
<<_ACEOF
10316 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10321 if test "x$with_glu" != "xno"
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10324 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10325 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10326 $as_echo_n "(cached) " >&6
10328 ac_check_lib_save_LIBS
=$LIBS
10329 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
10330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10331 /* end confdefs.h. */
10333 /* Override any GCC internal prototype to avoid an error.
10334 Use char because int might match the return type of a GCC
10335 builtin and then its argument prototype would still apply. */
10343 return gluLookAt ();
10348 if ac_fn_c_try_link
"$LINENO"; then :
10349 ac_cv_lib_GLU_gluLookAt
=yes
10351 ac_cv_lib_GLU_gluLookAt
=no
10353 rm -f core conftest.err conftest.
$ac_objext \
10354 conftest
$ac_exeext conftest.
$ac_ext
10355 LIBS
=$ac_check_lib_save_LIBS
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10358 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10359 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10363 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10364 case "x$with_glu" in
10365 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10367 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10368 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10373 if test "x$with_osmesa" != "xno"
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10376 $as_echo_n "checking for -lOSMesa... " >&6; }
10377 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10378 $as_echo_n "(cached) " >&6
10380 ac_check_soname_save_LIBS
=$LIBS
10381 LIBS
="-lOSMesa $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
10382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10383 /* end confdefs.h. */
10385 /* Override any GCC internal prototype to avoid an error.
10386 Use char because int might match the return type of a GCC
10387 builtin and then its argument prototype would still apply. */
10400 if ac_fn_c_try_link
"$LINENO"; then :
10402 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10403 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'` ;;
10404 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10405 if test "x$ac_cv_lib_soname_OSMesa" = x
; then :
10406 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10410 rm -f core conftest.err conftest.
$ac_objext \
10411 conftest
$ac_exeext conftest.
$ac_ext
10412 LIBS
=$ac_check_soname_save_LIBS
10414 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10416 $as_echo "not found" >&6; }
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10420 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10422 cat >>confdefs.h
<<_ACEOF
10423 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10428 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10429 case "x$with_osmesa" in
10430 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10432 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10433 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10438 if test -n "$opengl_msg"; then :
10439 case "x$with_opengl" in
10440 x
) as_fn_append wine_warnings
"|$opengl_msg
10441 OpenGL and Direct3D won't be supported." ;;
10443 *) as_fn_error $?
"$opengl_msg
10444 OpenGL and Direct3D won't be supported.
10445 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10449 CPPFLAGS
="$ac_save_CPPFLAGS"
10454 enable_winex11_drv
=${enable_winex11_drv:-no}
10456 if test "x$XLIB" = "x"; then :
10459 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10460 without X support, which probably isn't what you want. You will need
10461 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10462 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10466 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10468 if test "$ac_cv_header_CL_cl_h" = "yes"
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10471 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10472 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10473 $as_echo_n "(cached) " >&6
10475 ac_check_lib_save_LIBS
=$LIBS
10476 LIBS
="-lOpenCL $LIBS"
10477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10478 /* end confdefs.h. */
10480 /* Override any GCC internal prototype to avoid an error.
10481 Use char because int might match the return type of a GCC
10482 builtin and then its argument prototype would still apply. */
10486 char clGetPlatformInfo ();
10490 return clGetPlatformInfo ();
10495 if ac_fn_c_try_link
"$LINENO"; then :
10496 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10498 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10500 rm -f core conftest.err conftest.
$ac_objext \
10501 conftest
$ac_exeext conftest.
$ac_ext
10502 LIBS
=$ac_check_lib_save_LIBS
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10505 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10506 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10507 LIBOPENCL
="-lOpenCL"
10512 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10513 case "x$with_opencl" in
10514 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10516 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10517 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10520 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10523 if test "x$with_xml" != "xno"
10525 if test -n "$XML2_CFLAGS"; then :
10527 elif test -n "$PKG_CONFIG"; then :
10528 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10530 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10531 if test -n "$XML2_LIBS"; then :
10533 elif test -n "$PKG_CONFIG"; then :
10534 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10536 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10537 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10538 ac_save_CPPFLAGS
=$CPPFLAGS
10539 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10540 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10542 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10543 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10544 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10545 cat >>confdefs.h
<<_ACEOF
10546 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10553 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"
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10556 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10557 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10558 $as_echo_n "(cached) " >&6
10560 ac_check_lib_save_LIBS
=$LIBS
10561 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10563 /* end confdefs.h. */
10565 /* Override any GCC internal prototype to avoid an error.
10566 Use char because int might match the return type of a GCC
10567 builtin and then its argument prototype would still apply. */
10571 char xmlParseMemory ();
10575 return xmlParseMemory ();
10580 if ac_fn_c_try_link
"$LINENO"; then :
10581 ac_cv_lib_xml2_xmlParseMemory
=yes
10583 ac_cv_lib_xml2_xmlParseMemory
=no
10585 rm -f core conftest.err conftest.
$ac_objext \
10586 conftest
$ac_exeext conftest.
$ac_ext
10587 LIBS
=$ac_check_lib_save_LIBS
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10590 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10591 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10593 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10600 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10601 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10602 $as_echo_n "(cached) " >&6
10604 ac_check_lib_save_LIBS
=$LIBS
10605 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10607 /* end confdefs.h. */
10609 /* Override any GCC internal prototype to avoid an error.
10610 Use char because int might match the return type of a GCC
10611 builtin and then its argument prototype would still apply. */
10615 char xmlReadMemory ();
10619 return xmlReadMemory ();
10624 if ac_fn_c_try_link
"$LINENO"; then :
10625 ac_cv_lib_xml2_xmlReadMemory
=yes
10627 ac_cv_lib_xml2_xmlReadMemory
=no
10629 rm -f core conftest.err conftest.
$ac_objext \
10630 conftest
$ac_exeext conftest.
$ac_ext
10631 LIBS
=$ac_check_lib_save_LIBS
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10634 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10635 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10637 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10642 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10643 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10644 $as_echo_n "(cached) " >&6
10646 ac_check_lib_save_LIBS
=$LIBS
10647 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10649 /* end confdefs.h. */
10651 /* Override any GCC internal prototype to avoid an error.
10652 Use char because int might match the return type of a GCC
10653 builtin and then its argument prototype would still apply. */
10657 char xmlNewDocPI ();
10661 return xmlNewDocPI ();
10666 if ac_fn_c_try_link
"$LINENO"; then :
10667 ac_cv_lib_xml2_xmlNewDocPI
=yes
10669 ac_cv_lib_xml2_xmlNewDocPI
=no
10671 rm -f core conftest.err conftest.
$ac_objext \
10672 conftest
$ac_exeext conftest.
$ac_ext
10673 LIBS
=$ac_check_lib_save_LIBS
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10676 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10677 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10679 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10684 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10685 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10686 $as_echo_n "(cached) " >&6
10688 ac_check_lib_save_LIBS
=$LIBS
10689 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10691 /* end confdefs.h. */
10693 /* Override any GCC internal prototype to avoid an error.
10694 Use char because int might match the return type of a GCC
10695 builtin and then its argument prototype would still apply. */
10699 char xmlSchemaSetParserStructuredErrors ();
10703 return xmlSchemaSetParserStructuredErrors ();
10708 if ac_fn_c_try_link
"$LINENO"; then :
10709 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10711 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10713 rm -f core conftest.err conftest.
$ac_objext \
10714 conftest
$ac_exeext conftest.
$ac_ext
10715 LIBS
=$ac_check_lib_save_LIBS
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10718 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10719 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10721 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10726 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10727 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10728 $as_echo_n "(cached) " >&6
10730 ac_check_lib_save_LIBS
=$LIBS
10731 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10733 /* end confdefs.h. */
10735 /* Override any GCC internal prototype to avoid an error.
10736 Use char because int might match the return type of a GCC
10737 builtin and then its argument prototype would still apply. */
10741 char xmlSchemaSetValidStructuredErrors ();
10745 return xmlSchemaSetValidStructuredErrors ();
10750 if ac_fn_c_try_link
"$LINENO"; then :
10751 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10753 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10755 rm -f core conftest.err conftest.
$ac_objext \
10756 conftest
$ac_exeext conftest.
$ac_ext
10757 LIBS
=$ac_check_lib_save_LIBS
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10760 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10761 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10763 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10768 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10769 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10770 $as_echo_n "(cached) " >&6
10772 ac_check_lib_save_LIBS
=$LIBS
10773 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10775 /* end confdefs.h. */
10777 /* Override any GCC internal prototype to avoid an error.
10778 Use char because int might match the return type of a GCC
10779 builtin and then its argument prototype would still apply. */
10783 char xmlFirstElementChild ();
10787 return xmlFirstElementChild ();
10792 if ac_fn_c_try_link
"$LINENO"; then :
10793 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10795 ac_cv_lib_xml2_xmlFirstElementChild
=no
10797 rm -f core conftest.err conftest.
$ac_objext \
10798 conftest
$ac_exeext conftest.
$ac_ext
10799 LIBS
=$ac_check_lib_save_LIBS
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10802 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10803 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10805 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10809 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10811 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10813 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10821 CPPFLAGS
=$ac_save_CPPFLAGS
10822 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10823 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10826 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10827 case "x$with_xml" in
10828 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10830 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10831 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10835 if test "x$with_xslt" != "xno"
10837 if test -n "$XSLT_CFLAGS"; then :
10839 elif test -n "$PKG_CONFIG"; then :
10840 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10842 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10843 if test -n "$XSLT_LIBS"; then :
10845 elif test -n "$PKG_CONFIG"; then :
10846 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10848 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10849 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10850 ac_save_CPPFLAGS
=$CPPFLAGS
10851 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10852 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10854 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10855 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10856 # include <libxslt/pattern.h>
10859 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10860 cat >>confdefs.h
<<_ACEOF
10861 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10868 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10871 $as_echo_n "checking for -lxslt... " >&6; }
10872 if ${ac_cv_lib_soname_xslt+:} false
; then :
10873 $as_echo_n "(cached) " >&6
10875 ac_check_soname_save_LIBS
=$LIBS
10876 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10878 /* end confdefs.h. */
10880 /* Override any GCC internal prototype to avoid an error.
10881 Use char because int might match the return type of a GCC
10882 builtin and then its argument prototype would still apply. */
10886 char xsltCompilePattern ();
10890 return xsltCompilePattern ();
10895 if ac_fn_c_try_link
"$LINENO"; then :
10897 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10898 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'` ;;
10899 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10900 if test "x$ac_cv_lib_soname_xslt" = x
; then :
10901 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10905 rm -f core conftest.err conftest.
$ac_objext \
10906 conftest
$ac_exeext conftest.
$ac_ext
10907 LIBS
=$ac_check_soname_save_LIBS
10909 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10911 $as_echo "not found" >&6; }
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10915 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10917 cat >>confdefs.h
<<_ACEOF
10918 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10926 CPPFLAGS
=$ac_save_CPPFLAGS
10927 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10928 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10931 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10932 case "x$with_xslt" in
10933 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10935 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10936 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10940 if test "x$with_dbus" != "xno"
10942 if test -n "$DBUS_CFLAGS"; then :
10944 elif test -n "$PKG_CONFIG"; then :
10945 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10948 if test -n "$DBUS_LIBS"; then :
10950 elif test -n "$PKG_CONFIG"; then :
10951 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10955 ac_save_CPPFLAGS
=$CPPFLAGS
10956 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10957 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10958 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10960 $as_echo_n "checking for -ldbus-1... " >&6; }
10961 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10962 $as_echo_n "(cached) " >&6
10964 ac_check_soname_save_LIBS
=$LIBS
10965 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10967 /* end confdefs.h. */
10969 /* Override any GCC internal prototype to avoid an error.
10970 Use char because int might match the return type of a GCC
10971 builtin and then its argument prototype would still apply. */
10975 char dbus_connection_close ();
10979 return dbus_connection_close ();
10984 if ac_fn_c_try_link
"$LINENO"; then :
10986 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10987 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'` ;;
10988 *) 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'`
10989 if test "x$ac_cv_lib_soname_dbus_1" = x
; then :
10990 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10994 rm -f core conftest.err conftest.
$ac_objext \
10995 conftest
$ac_exeext conftest.
$ac_ext
10996 LIBS
=$ac_check_soname_save_LIBS
10998 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11000 $as_echo "not found" >&6; }
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11004 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11006 cat >>confdefs.h
<<_ACEOF
11007 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11017 CPPFLAGS
=$ac_save_CPPFLAGS
11018 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11019 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11022 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11023 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11024 case "x$with_dbus" in
11025 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11027 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11028 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11032 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11034 if test -n "$HAL_CFLAGS"; then :
11036 elif test -n "$PKG_CONFIG"; then :
11037 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11040 if test -n "$HAL_LIBS"; then :
11042 elif test -n "$PKG_CONFIG"; then :
11043 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11046 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11047 ac_save_CPPFLAGS
=$CPPFLAGS
11048 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11049 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11050 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11052 $as_echo_n "checking for -lhal... " >&6; }
11053 if ${ac_cv_lib_soname_hal+:} false
; then :
11054 $as_echo_n "(cached) " >&6
11056 ac_check_soname_save_LIBS
=$LIBS
11057 LIBS
="-lhal $HAL_LIBS $LIBS"
11058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11059 /* end confdefs.h. */
11061 /* Override any GCC internal prototype to avoid an error.
11062 Use char because int might match the return type of a GCC
11063 builtin and then its argument prototype would still apply. */
11067 char libhal_ctx_new ();
11071 return libhal_ctx_new ();
11076 if ac_fn_c_try_link
"$LINENO"; then :
11078 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11079 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'` ;;
11080 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11081 if test "x$ac_cv_lib_soname_hal" = x
; then :
11082 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11086 rm -f core conftest.err conftest.
$ac_objext \
11087 conftest
$ac_exeext conftest.
$ac_ext
11088 LIBS
=$ac_check_soname_save_LIBS
11090 if test "x$ac_cv_lib_soname_hal" = "x"; then :
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11092 $as_echo "not found" >&6; }
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11096 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11098 cat >>confdefs.h
<<_ACEOF
11099 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11109 CPPFLAGS
=$ac_save_CPPFLAGS
11110 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11111 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11113 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11114 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11115 case "x$with_hal" in
11116 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11118 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11119 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11124 if test "x$with_gnutls" != "xno"
11126 if test -n "$GNUTLS_CFLAGS"; then :
11128 elif test -n "$PKG_CONFIG"; then :
11129 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11132 if test -n "$GNUTLS_LIBS"; then :
11134 elif test -n "$PKG_CONFIG"; then :
11135 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11139 ac_save_CPPFLAGS
=$CPPFLAGS
11140 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11141 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11142 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11144 /* end confdefs.h. */
11145 #include <gnutls/gnutls.h>
11146 #include <gnutls/crypto.h>
11150 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11155 if ac_fn_c_try_compile
"$LINENO"; then :
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11157 $as_echo_n "checking for -lgnutls... " >&6; }
11158 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11159 $as_echo_n "(cached) " >&6
11161 ac_check_soname_save_LIBS
=$LIBS
11162 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11164 /* end confdefs.h. */
11166 /* Override any GCC internal prototype to avoid an error.
11167 Use char because int might match the return type of a GCC
11168 builtin and then its argument prototype would still apply. */
11172 char gnutls_global_init ();
11176 return gnutls_global_init ();
11181 if ac_fn_c_try_link
"$LINENO"; then :
11183 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11184 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'` ;;
11185 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11186 if test "x$ac_cv_lib_soname_gnutls" = x
; then :
11187 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11191 rm -f core conftest.err conftest.
$ac_objext \
11192 conftest
$ac_exeext conftest.
$ac_ext
11193 LIBS
=$ac_check_soname_save_LIBS
11195 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11197 $as_echo "not found" >&6; }
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11201 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11203 cat >>confdefs.h
<<_ACEOF
11204 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11216 CPPFLAGS
=$ac_save_CPPFLAGS
11217 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11218 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11221 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11222 case "x$with_gnutls" in
11223 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11225 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11226 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11231 if test "$ac_cv_header_ncurses_h" = "yes"
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11234 $as_echo_n "checking for -lncurses... " >&6; }
11235 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11236 $as_echo_n "(cached) " >&6
11238 ac_check_soname_save_LIBS
=$LIBS
11239 LIBS
="-lncurses $LIBS"
11240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11241 /* end confdefs.h. */
11243 /* Override any GCC internal prototype to avoid an error.
11244 Use char because int might match the return type of a GCC
11245 builtin and then its argument prototype would still apply. */
11258 if ac_fn_c_try_link
"$LINENO"; then :
11260 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11261 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'` ;;
11262 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11263 if test "x$ac_cv_lib_soname_ncurses" = x
; then :
11264 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11268 rm -f core conftest.err conftest.
$ac_objext \
11269 conftest
$ac_exeext conftest.
$ac_ext
11270 LIBS
=$ac_check_soname_save_LIBS
11272 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11274 $as_echo "not found" >&6; }
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11278 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11280 cat >>confdefs.h
<<_ACEOF
11281 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11284 CURSESLIBS
="-lncurses"
11286 elif test "$ac_cv_header_curses_h" = "yes"
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11289 $as_echo_n "checking for -lcurses... " >&6; }
11290 if ${ac_cv_lib_soname_curses+:} false
; then :
11291 $as_echo_n "(cached) " >&6
11293 ac_check_soname_save_LIBS
=$LIBS
11294 LIBS
="-lcurses $LIBS"
11295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11296 /* end confdefs.h. */
11298 /* Override any GCC internal prototype to avoid an error.
11299 Use char because int might match the return type of a GCC
11300 builtin and then its argument prototype would still apply. */
11313 if ac_fn_c_try_link
"$LINENO"; then :
11315 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11316 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'` ;;
11317 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11318 if test "x$ac_cv_lib_soname_curses" = x
; then :
11319 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11323 rm -f core conftest.err conftest.
$ac_objext \
11324 conftest
$ac_exeext conftest.
$ac_ext
11325 LIBS
=$ac_check_soname_save_LIBS
11327 if test "x$ac_cv_lib_soname_curses" = "x"; then :
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11329 $as_echo "not found" >&6; }
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11333 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11335 cat >>confdefs.h
<<_ACEOF
11336 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11339 CURSESLIBS
="-lcurses"
11342 ac_save_LIBS
="$LIBS"
11343 LIBS
="$LIBS $CURSESLIBS"
11344 for ac_func
in mousemask
11346 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11347 if test "x$ac_cv_func_mousemask" = xyes
; then :
11348 cat >>confdefs.h
<<_ACEOF
11349 #define HAVE_MOUSEMASK 1
11355 LIBS
="$ac_save_LIBS"
11356 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11357 case "x$with_curses" in
11358 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11360 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11361 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11365 if test "x$with_sane" != "xno"
11367 if test -n "$SANE_CFLAGS"; then :
11369 elif test -n "$PKG_CONFIG"; then :
11370 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11372 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11373 if test -n "$SANE_LIBS"; then :
11375 elif test -n "$PKG_CONFIG"; then :
11376 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11378 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11380 ac_save_CPPFLAGS
=$CPPFLAGS
11381 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11382 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11383 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11385 $as_echo_n "checking for -lsane... " >&6; }
11386 if ${ac_cv_lib_soname_sane+:} false
; then :
11387 $as_echo_n "(cached) " >&6
11389 ac_check_soname_save_LIBS
=$LIBS
11390 LIBS
="-lsane $SANE_LIBS $LIBS"
11391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11392 /* end confdefs.h. */
11394 /* Override any GCC internal prototype to avoid an error.
11395 Use char because int might match the return type of a GCC
11396 builtin and then its argument prototype would still apply. */
11404 return sane_init ();
11409 if ac_fn_c_try_link
"$LINENO"; then :
11411 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11412 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'` ;;
11413 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11414 if test "x$ac_cv_lib_soname_sane" = x
; then :
11415 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11419 rm -f core conftest.err conftest.
$ac_objext \
11420 conftest
$ac_exeext conftest.
$ac_ext
11421 LIBS
=$ac_check_soname_save_LIBS
11423 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11425 $as_echo "not found" >&6; }
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11429 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11431 cat >>confdefs.h
<<_ACEOF
11432 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11442 CPPFLAGS
=$ac_save_CPPFLAGS
11443 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11444 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11447 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11448 case "x$with_sane" in
11449 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11451 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11452 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11456 if test "x$with_v4l" != "xno"
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11459 $as_echo_n "checking for -lv4l1... " >&6; }
11460 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11461 $as_echo_n "(cached) " >&6
11463 ac_check_soname_save_LIBS
=$LIBS
11464 LIBS
="-lv4l1 $LIBS"
11465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11466 /* end confdefs.h. */
11468 /* Override any GCC internal prototype to avoid an error.
11469 Use char because int might match the return type of a GCC
11470 builtin and then its argument prototype would still apply. */
11478 return v4l1_open ();
11483 if ac_fn_c_try_link
"$LINENO"; then :
11485 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11486 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'` ;;
11487 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11488 if test "x$ac_cv_lib_soname_v4l1" = x
; then :
11489 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11493 rm -f core conftest.err conftest.
$ac_objext \
11494 conftest
$ac_exeext conftest.
$ac_ext
11495 LIBS
=$ac_check_soname_save_LIBS
11497 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11499 $as_echo "not found" >&6; }
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11503 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11505 cat >>confdefs.h
<<_ACEOF
11506 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11512 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11513 case "x$with_v4l" in
11514 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11516 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11517 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11521 if test "x$with_gphoto" != "xno"
11523 if test -n "$GPHOTO2_CFLAGS"; then :
11525 elif test -n "$PKG_CONFIG"; then :
11526 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11528 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11529 if test -n "$GPHOTO2_LIBS"; then :
11531 elif test -n "$PKG_CONFIG"; then :
11532 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11534 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11535 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11536 ac_save_CPPFLAGS
=$CPPFLAGS
11537 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11538 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11539 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11541 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11542 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11543 $as_echo_n "(cached) " >&6
11545 ac_check_lib_save_LIBS
=$LIBS
11546 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11548 /* end confdefs.h. */
11550 /* Override any GCC internal prototype to avoid an error.
11551 Use char because int might match the return type of a GCC
11552 builtin and then its argument prototype would still apply. */
11556 char gp_camera_new ();
11560 return gp_camera_new ();
11565 if ac_fn_c_try_link
"$LINENO"; then :
11566 ac_cv_lib_gphoto2_gp_camera_new
=yes
11568 ac_cv_lib_gphoto2_gp_camera_new
=no
11570 rm -f core conftest.err conftest.
$ac_objext \
11571 conftest
$ac_exeext conftest.
$ac_ext
11572 LIBS
=$ac_check_lib_save_LIBS
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11575 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11576 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11578 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11581 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11585 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11589 CPPFLAGS
=$ac_save_CPPFLAGS
11590 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11591 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11593 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
11595 elif test -n "$PKG_CONFIG"; then :
11596 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11598 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11599 if test -n "$GPHOTO2_PORT_LIBS"; then :
11601 elif test -n "$PKG_CONFIG"; then :
11602 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11604 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11605 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11606 ac_save_CPPFLAGS
=$CPPFLAGS
11607 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11608 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11609 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11611 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11612 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11613 $as_echo_n "(cached) " >&6
11615 ac_check_lib_save_LIBS
=$LIBS
11616 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11618 /* end confdefs.h. */
11620 /* Override any GCC internal prototype to avoid an error.
11621 Use char because int might match the return type of a GCC
11622 builtin and then its argument prototype would still apply. */
11626 char gp_port_info_list_new ();
11630 return gp_port_info_list_new ();
11635 if ac_fn_c_try_link
"$LINENO"; then :
11636 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11638 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11640 rm -f core conftest.err conftest.
$ac_objext \
11641 conftest
$ac_exeext conftest.
$ac_ext
11642 LIBS
=$ac_check_lib_save_LIBS
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11645 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11646 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11648 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11651 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11655 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11659 CPPFLAGS
=$ac_save_CPPFLAGS
11660 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11661 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11664 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11665 case "x$with_gphoto" in
11666 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11668 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11669 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11672 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11673 case "x$with_gphoto" in
11674 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11676 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11677 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11682 if test "$ac_cv_header_resolv_h" = "yes"
11684 ac_save_LIBS
="$LIBS"
11685 for lib
in '' -lresolv
11687 LIBS
="$lib $ac_save_LIBS"
11688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11689 /* end confdefs.h. */
11690 #ifdef HAVE_NETINET_IN_H
11691 #include <netinet/in.h>
11693 #include <resolv.h>
11697 res_query("foo",ns_c_in,0,0,0);
11702 if ac_fn_c_try_link
"$LINENO"; then :
11704 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11709 rm -f core conftest.err conftest.
$ac_objext \
11710 conftest
$ac_exeext conftest.
$ac_ext
11711 if test "${RESOLVLIBS+set}" = set; then
11715 LIBS
="$ac_save_LIBS"
11718 if test "x$with_lcms2" != "xno"
11720 if test -n "$LCMS2_CFLAGS"; then :
11722 elif test -n "$PKG_CONFIG"; then :
11723 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11726 if test -n "$LCMS2_LIBS"; then :
11728 elif test -n "$PKG_CONFIG"; then :
11729 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11732 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11733 ac_save_CPPFLAGS
=$CPPFLAGS
11734 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11735 for ac_header
in lcms2.h
11737 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11738 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11739 cat >>confdefs.h
<<_ACEOF
11740 #define HAVE_LCMS2_H 1
11747 if test "$ac_cv_header_lcms2_h" = "yes"
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11750 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11751 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11752 $as_echo_n "(cached) " >&6
11754 ac_check_lib_save_LIBS
=$LIBS
11755 LIBS
="-llcms2 $LIBS"
11756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11757 /* end confdefs.h. */
11759 /* Override any GCC internal prototype to avoid an error.
11760 Use char because int might match the return type of a GCC
11761 builtin and then its argument prototype would still apply. */
11765 char cmsOpenProfileFromFile ();
11769 return cmsOpenProfileFromFile ();
11774 if ac_fn_c_try_link
"$LINENO"; then :
11775 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11777 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11779 rm -f core conftest.err conftest.
$ac_objext \
11780 conftest
$ac_exeext conftest.
$ac_ext
11781 LIBS
=$ac_check_lib_save_LIBS
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11784 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11785 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11787 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11797 CPPFLAGS
=$ac_save_CPPFLAGS
11798 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11799 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11802 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11803 case "x$with_cms" in
11804 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11806 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11807 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11811 if test "x$with_freetype" != "xno"
11813 if test -n "$FREETYPE_CFLAGS"; then :
11815 elif test -n "$PKG_CONFIG"; then :
11816 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11818 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11819 if test -n "$FREETYPE_LIBS"; then :
11821 elif test -n "$PKG_CONFIG"; then :
11822 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11824 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11825 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11826 ac_save_CPPFLAGS
=$CPPFLAGS
11827 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11828 for ac_header
in ft2build.h
11830 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11831 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11832 cat >>confdefs.h
<<_ACEOF
11833 #define HAVE_FT2BUILD_H 1
11840 if test "$ac_cv_header_ft2build_h" = "yes"
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11843 $as_echo_n "checking for -lfreetype... " >&6; }
11844 if ${ac_cv_lib_soname_freetype+:} false
; then :
11845 $as_echo_n "(cached) " >&6
11847 ac_check_soname_save_LIBS
=$LIBS
11848 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11850 /* end confdefs.h. */
11852 /* Override any GCC internal prototype to avoid an error.
11853 Use char because int might match the return type of a GCC
11854 builtin and then its argument prototype would still apply. */
11858 char FT_Init_FreeType ();
11862 return FT_Init_FreeType ();
11867 if ac_fn_c_try_link
"$LINENO"; then :
11869 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11870 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'` ;;
11871 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11872 if test "x$ac_cv_lib_soname_freetype" = x
; then :
11873 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11877 rm -f core conftest.err conftest.
$ac_objext \
11878 conftest
$ac_exeext conftest.
$ac_ext
11879 LIBS
=$ac_check_soname_save_LIBS
11881 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11883 $as_echo "not found" >&6; }
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11887 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11889 cat >>confdefs.h
<<_ACEOF
11890 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11894 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11896 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11897 #include FT_MODULE_H
11899 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
11901 cat >>confdefs.h
<<_ACEOF
11902 #define HAVE_FT_TRUETYPEENGINETYPE 1
11913 CPPFLAGS
=$ac_save_CPPFLAGS
11914 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11915 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11918 if test "x$ac_cv_lib_soname_freetype" = x
; then :
11919 case "x$with_freetype" in
11921 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
11922 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11925 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11928 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11929 if ${ac_cv_c_ppdev+:} false
; then :
11930 $as_echo_n "(cached) " >&6
11932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11933 /* end confdefs.h. */
11934 #ifdef HAVE_SYS_IOCTL_H
11935 # include <sys/ioctl.h>
11937 #include <linux/ppdev.h>
11941 ioctl (1,PPCLAIM,0)
11946 if ac_fn_c_try_compile
"$LINENO"; then :
11947 ac_cv_c_ppdev
="yes"
11951 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11954 $as_echo "$ac_cv_c_ppdev" >&6; }
11955 if test "$ac_cv_c_ppdev" = "yes"
11958 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11962 ac_wine_check_funcs_save_LIBS
="$LIBS"
11963 LIBS
="$LIBS $LIBPTHREAD"
11965 pthread_attr_get_np \
11966 pthread_getattr_np \
11967 pthread_getthreadid_np \
11968 pthread_get_stackaddr_np \
11969 pthread_get_stacksize_np
11971 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11972 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11973 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11974 cat >>confdefs.h
<<_ACEOF
11975 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11981 LIBS
="$ac_wine_check_funcs_save_LIBS"
11983 if test "$ac_cv_header_zlib_h" = "yes"
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11986 $as_echo_n "checking for inflate in -lz... " >&6; }
11987 if ${ac_cv_lib_z_inflate+:} false
; then :
11988 $as_echo_n "(cached) " >&6
11990 ac_check_lib_save_LIBS
=$LIBS
11992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11993 /* end confdefs.h. */
11995 /* Override any GCC internal prototype to avoid an error.
11996 Use char because int might match the return type of a GCC
11997 builtin and then its argument prototype would still apply. */
12010 if ac_fn_c_try_link
"$LINENO"; then :
12011 ac_cv_lib_z_inflate
=yes
12013 ac_cv_lib_z_inflate
=no
12015 rm -f core conftest.err conftest.
$ac_objext \
12016 conftest
$ac_exeext conftest.
$ac_ext
12017 LIBS
=$ac_check_lib_save_LIBS
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12020 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12021 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12023 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12030 if test "x$ZLIB" = "x"; then :
12031 case "x$with_zlib" in
12032 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12034 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12035 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12039 if test "x$enable_tools" != xno
12041 if test "$ac_cv_header_gettext_po_h" = "yes"
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12044 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12045 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12046 $as_echo_n "(cached) " >&6
12048 ac_check_lib_save_LIBS
=$LIBS
12049 LIBS
="-lgettextpo $LIBS"
12050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12051 /* end confdefs.h. */
12053 /* Override any GCC internal prototype to avoid an error.
12054 Use char because int might match the return type of a GCC
12055 builtin and then its argument prototype would still apply. */
12059 char po_message_msgctxt ();
12063 return po_message_msgctxt ();
12068 if ac_fn_c_try_link
"$LINENO"; then :
12069 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12071 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12073 rm -f core conftest.err conftest.
$ac_objext \
12074 conftest
$ac_exeext conftest.
$ac_ext
12075 LIBS
=$ac_check_lib_save_LIBS
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12078 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12079 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12081 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12083 LIBGETTEXTPO
="-lgettextpo"
12088 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
12089 case "x$with_gettextpo" in
12090 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12092 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12093 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12098 if test "x$with_gstreamer" != "xno"
12100 if test -n "$GSTREAMER_CFLAGS"; then :
12102 elif test -n "$PKG_CONFIG"; then :
12103 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12106 if test -n "$GSTREAMER_LIBS"; then :
12108 elif test -n "$PKG_CONFIG"; then :
12109 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12113 ac_save_CPPFLAGS
=$CPPFLAGS
12114 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12116 for i
in $GSTREAMER_CFLAGS
12119 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12122 GSTREAMER_CFLAGS
=$ac_gst_incl
12123 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12124 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12125 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12126 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12127 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12129 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12131 /* end confdefs.h. */
12132 #include <gst/app/gstappsink.h>
12136 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12141 if ac_fn_c_try_compile
"$LINENO"; then :
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12143 $as_echo "yes" >&6; }
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12145 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12146 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12147 $as_echo_n "(cached) " >&6
12149 ac_check_lib_save_LIBS
=$LIBS
12150 LIBS
="-lgstreamer-0.10 $LIBS"
12151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12152 /* end confdefs.h. */
12154 /* Override any GCC internal prototype to avoid an error.
12155 Use char because int might match the return type of a GCC
12156 builtin and then its argument prototype would still apply. */
12160 char gst_pad_get_caps_reffed ();
12164 return gst_pad_get_caps_reffed ();
12169 if ac_fn_c_try_link
"$LINENO"; then :
12170 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12172 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12174 rm -f core conftest.err conftest.
$ac_objext \
12175 conftest
$ac_exeext conftest.
$ac_ext
12176 LIBS
=$ac_check_lib_save_LIBS
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12179 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12180 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12182 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12183 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12184 $as_echo_n "(cached) " >&6
12186 ac_check_lib_save_LIBS
=$LIBS
12187 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12189 /* end confdefs.h. */
12191 /* Override any GCC internal prototype to avoid an error.
12192 Use char because int might match the return type of a GCC
12193 builtin and then its argument prototype would still apply. */
12197 char gst_app_buffer_new ();
12201 return gst_app_buffer_new ();
12206 if ac_fn_c_try_link
"$LINENO"; then :
12207 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12209 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12211 rm -f core conftest.err conftest.
$ac_objext \
12212 conftest
$ac_exeext conftest.
$ac_ext
12213 LIBS
=$ac_check_lib_save_LIBS
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12216 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12217 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12225 $as_echo "no" >&6; }
12227 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12232 GSTREAMER_CFLAGS
=""
12236 CPPFLAGS
=$ac_save_CPPFLAGS
12237 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12238 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12241 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12242 case "x$with_gstreamer" in
12243 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12245 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12246 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12249 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12253 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12256 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12257 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12258 $as_echo_n "(cached) " >&6
12260 ac_check_lib_save_LIBS
=$LIBS
12261 LIBS
="-lasound $LIBS"
12262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12263 /* end confdefs.h. */
12265 /* Override any GCC internal prototype to avoid an error.
12266 Use char because int might match the return type of a GCC
12267 builtin and then its argument prototype would still apply. */
12271 char snd_pcm_hw_params_get_access_mask ();
12275 return snd_pcm_hw_params_get_access_mask ();
12280 if ac_fn_c_try_link
"$LINENO"; then :
12281 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12283 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12285 rm -f core conftest.err conftest.
$ac_objext \
12286 conftest
$ac_exeext conftest.
$ac_ext
12287 LIBS
=$ac_check_lib_save_LIBS
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12290 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12291 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12293 /* end confdefs.h. */
12294 #ifdef HAVE_ALSA_ASOUNDLIB_H
12295 #include <alsa/asoundlib.h>
12296 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12297 #include <sys/asoundlib.h>
12302 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12307 if ac_fn_c_try_compile
"$LINENO"; then :
12308 ALSALIBS
="-lasound"
12310 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12315 if test "x$with_oss" != xno
12317 ac_save_CPPFLAGS
="$CPPFLAGS"
12318 if test -f /etc
/oss.conf
12322 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12323 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12324 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12325 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12326 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12328 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12330 cat >>confdefs.h
<<_ACEOF
12331 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12334 OSS4INCL
="$ac_oss_incl"
12341 CPPFLAGS
="$ac_save_CPPFLAGS"
12342 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12344 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12348 if test "x$with_capi" != "xno"
12350 if test -n "$CAPI20_CFLAGS"; then :
12352 elif test -n "$PKG_CONFIG"; then :
12353 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12356 if test -n "$CAPI20_LIBS"; then :
12358 elif test -n "$PKG_CONFIG"; then :
12359 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12363 ac_save_CPPFLAGS
=$CPPFLAGS
12364 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12365 for ac_header
in capi20.h linux
/capi.h
12367 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12368 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12370 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12371 cat >>confdefs.h
<<_ACEOF
12372 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12379 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12382 $as_echo_n "checking for -lcapi20... " >&6; }
12383 if ${ac_cv_lib_soname_capi20+:} false
; then :
12384 $as_echo_n "(cached) " >&6
12386 ac_check_soname_save_LIBS
=$LIBS
12387 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12389 /* end confdefs.h. */
12391 /* Override any GCC internal prototype to avoid an error.
12392 Use char because int might match the return type of a GCC
12393 builtin and then its argument prototype would still apply. */
12397 char capi20_register ();
12401 return capi20_register ();
12406 if ac_fn_c_try_link
"$LINENO"; then :
12408 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12409 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'` ;;
12410 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12411 if test "x$ac_cv_lib_soname_capi20" = x
; then :
12412 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12416 rm -f core conftest.err conftest.
$ac_objext \
12417 conftest
$ac_exeext conftest.
$ac_ext
12418 LIBS
=$ac_check_soname_save_LIBS
12420 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12422 $as_echo "not found" >&6; }
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12426 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12428 cat >>confdefs.h
<<_ACEOF
12429 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12435 CPPFLAGS
=$ac_save_CPPFLAGS
12436 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12437 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12440 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12441 case "x$with_capi" in
12442 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12444 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12445 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12451 if test "x$with_cups" != "xno"
12453 ac_save_CPPFLAGS
="$CPPFLAGS"
12454 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12455 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12456 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12457 for ac_header
in cups
/cups.h
12459 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12460 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12461 cat >>confdefs.h
<<_ACEOF
12462 #define HAVE_CUPS_CUPS_H 1
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12465 $as_echo_n "checking for -lcups... " >&6; }
12466 if ${ac_cv_lib_soname_cups+:} false
; then :
12467 $as_echo_n "(cached) " >&6
12469 ac_check_soname_save_LIBS
=$LIBS
12470 LIBS
="-lcups $ac_cups_libs $LIBS"
12471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12472 /* end confdefs.h. */
12474 /* Override any GCC internal prototype to avoid an error.
12475 Use char because int might match the return type of a GCC
12476 builtin and then its argument prototype would still apply. */
12480 char cupsGetDefault ();
12484 return cupsGetDefault ();
12489 if ac_fn_c_try_link
"$LINENO"; then :
12491 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12492 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'` ;;
12493 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12494 if test "x$ac_cv_lib_soname_cups" = x
; then :
12495 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12499 rm -f core conftest.err conftest.
$ac_objext \
12500 conftest
$ac_exeext conftest.
$ac_ext
12501 LIBS
=$ac_check_soname_save_LIBS
12503 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12505 $as_echo "not found" >&6; }
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12509 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12511 cat >>confdefs.h
<<_ACEOF
12512 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12515 CUPSINCL
="$ac_cups_cflags"
12521 CPPFLAGS
="$ac_save_CPPFLAGS"
12523 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12524 case "x$with_cups" in
12525 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12527 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12528 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12532 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12535 $as_echo_n "checking for -lfontconfig... " >&6; }
12536 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12537 $as_echo_n "(cached) " >&6
12539 ac_check_soname_save_LIBS
=$LIBS
12540 LIBS
="-lfontconfig $LIBS"
12541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12542 /* end confdefs.h. */
12544 /* Override any GCC internal prototype to avoid an error.
12545 Use char because int might match the return type of a GCC
12546 builtin and then its argument prototype would still apply. */
12559 if ac_fn_c_try_link
"$LINENO"; then :
12561 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12562 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'` ;;
12563 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12564 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
12565 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12569 rm -f core conftest.err conftest.
$ac_objext \
12570 conftest
$ac_exeext conftest.
$ac_ext
12571 LIBS
=$ac_check_soname_save_LIBS
12573 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12575 $as_echo "not found" >&6; }
12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12579 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12581 cat >>confdefs.h
<<_ACEOF
12582 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12587 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
12589 ac_save_CPPFLAGS
="$CPPFLAGS"
12590 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
12591 $as_unset ac_cv_header_fontconfig_fontconfig_h
12592 for ac_header
in fontconfig
/fontconfig.h
12594 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12595 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12596 cat >>confdefs.h
<<_ACEOF
12597 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12604 CPPFLAGS
="$ac_save_CPPFLAGS"
12605 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12607 FONTCONFIGINCL
="$X_CFLAGS"
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12610 $as_echo_n "checking for -lfontconfig... " >&6; }
12611 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12612 $as_echo_n "(cached) " >&6
12614 ac_check_soname_save_LIBS
=$LIBS
12615 LIBS
="-lfontconfig $X_LIBS $LIBS"
12616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12617 /* end confdefs.h. */
12619 /* Override any GCC internal prototype to avoid an error.
12620 Use char because int might match the return type of a GCC
12621 builtin and then its argument prototype would still apply. */
12634 if ac_fn_c_try_link
"$LINENO"; then :
12636 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12637 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'` ;;
12638 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12639 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
12640 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12644 rm -f core conftest.err conftest.
$ac_objext \
12645 conftest
$ac_exeext conftest.
$ac_ext
12646 LIBS
=$ac_check_soname_save_LIBS
12648 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12650 $as_echo "not found" >&6; }
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12654 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12656 cat >>confdefs.h
<<_ACEOF
12657 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12664 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12665 case "x$with_fontconfig" in
12666 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12668 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12669 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12673 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12676 $as_echo_n "checking for -lgsm... " >&6; }
12677 if ${ac_cv_lib_soname_gsm+:} false
; then :
12678 $as_echo_n "(cached) " >&6
12680 ac_check_soname_save_LIBS
=$LIBS
12682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12683 /* end confdefs.h. */
12685 /* Override any GCC internal prototype to avoid an error.
12686 Use char because int might match the return type of a GCC
12687 builtin and then its argument prototype would still apply. */
12691 char gsm_create ();
12695 return gsm_create ();
12700 if ac_fn_c_try_link
"$LINENO"; then :
12702 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12703 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'` ;;
12704 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12705 if test "x$ac_cv_lib_soname_gsm" = x
; then :
12706 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12710 rm -f core conftest.err conftest.
$ac_objext \
12711 conftest
$ac_exeext conftest.
$ac_ext
12712 LIBS
=$ac_check_soname_save_LIBS
12714 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12716 $as_echo "not found" >&6; }
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12720 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12722 cat >>confdefs.h
<<_ACEOF
12723 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12729 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12730 case "x$with_gsm" in
12731 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12733 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12734 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12738 if test "x$with_jpeg" != "xno"
12740 if test -n "$JPEG_CFLAGS"; then :
12742 elif test -n "$PKG_CONFIG"; then :
12743 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12746 if test -n "$JPEG_LIBS"; then :
12748 elif test -n "$PKG_CONFIG"; then :
12749 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12753 ac_save_CPPFLAGS
=$CPPFLAGS
12754 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12755 for ac_header
in jpeglib.h
12757 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12758 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12759 cat >>confdefs.h
<<_ACEOF
12760 #define HAVE_JPEGLIB_H 1
12767 if test "$ac_cv_header_jpeglib_h" = "yes"
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12770 $as_echo_n "checking for -ljpeg... " >&6; }
12771 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12772 $as_echo_n "(cached) " >&6
12774 ac_check_soname_save_LIBS
=$LIBS
12775 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12777 /* end confdefs.h. */
12779 /* Override any GCC internal prototype to avoid an error.
12780 Use char because int might match the return type of a GCC
12781 builtin and then its argument prototype would still apply. */
12785 char jpeg_start_decompress ();
12789 return jpeg_start_decompress ();
12794 if ac_fn_c_try_link
"$LINENO"; then :
12796 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12797 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'` ;;
12798 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12799 if test "x$ac_cv_lib_soname_jpeg" = x
; then :
12800 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12804 rm -f core conftest.err conftest.
$ac_objext \
12805 conftest
$ac_exeext conftest.
$ac_ext
12806 LIBS
=$ac_check_soname_save_LIBS
12808 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12810 $as_echo "not found" >&6; }
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12814 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12816 cat >>confdefs.h
<<_ACEOF
12817 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12825 CPPFLAGS
=$ac_save_CPPFLAGS
12826 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12827 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12830 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12831 case "x$with_jpeg" in
12832 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12834 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12835 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12839 if test "x$with_png" != "xno"
12841 if test -n "$PNG_CFLAGS"; then :
12843 elif test -n "$PKG_CONFIG"; then :
12844 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12846 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12847 if test -n "$PNG_LIBS"; then :
12849 elif test -n "$PKG_CONFIG"; then :
12850 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12852 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12854 ac_save_CPPFLAGS
=$CPPFLAGS
12855 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12856 for ac_header
in png.h
12858 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12859 if test "x$ac_cv_header_png_h" = xyes
; then :
12860 cat >>confdefs.h
<<_ACEOF
12861 #define HAVE_PNG_H 1
12868 if test "$ac_cv_header_png_h" = "yes"
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12871 $as_echo_n "checking for -lpng... " >&6; }
12872 if ${ac_cv_lib_soname_png+:} false
; then :
12873 $as_echo_n "(cached) " >&6
12875 ac_check_soname_save_LIBS
=$LIBS
12876 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12878 /* end confdefs.h. */
12880 /* Override any GCC internal prototype to avoid an error.
12881 Use char because int might match the return type of a GCC
12882 builtin and then its argument prototype would still apply. */
12886 char png_create_read_struct ();
12890 return png_create_read_struct ();
12895 if ac_fn_c_try_link
"$LINENO"; then :
12897 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12898 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'` ;;
12899 *) 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'`
12900 if test "x$ac_cv_lib_soname_png" = x
; then :
12901 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12905 rm -f core conftest.err conftest.
$ac_objext \
12906 conftest
$ac_exeext conftest.
$ac_ext
12907 LIBS
=$ac_check_soname_save_LIBS
12909 if test "x$ac_cv_lib_soname_png" = "x"; then :
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12911 $as_echo "not found" >&6; }
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12915 $as_echo "$ac_cv_lib_soname_png" >&6; }
12917 cat >>confdefs.h
<<_ACEOF
12918 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12922 /* end confdefs.h. */
12927 typeof(png_set_expand_gray_1_2_4_to_8) *p
12932 if ac_fn_c_try_compile
"$LINENO"; then :
12934 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12937 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12942 CPPFLAGS
=$ac_save_CPPFLAGS
12943 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12944 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12947 if test "x$ac_cv_lib_soname_png" = "x"; then :
12948 case "x$with_png" in
12949 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12951 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
12952 This is an error since --with-png was requested." "$LINENO" 5 ;;
12956 if test "x$with_tiff" != "xno"
12958 if test -n "$TIFF_CFLAGS"; then :
12960 elif test -n "$PKG_CONFIG"; then :
12961 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12964 if test -n "$TIFF_LIBS"; then :
12966 elif test -n "$PKG_CONFIG"; then :
12967 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12971 ac_save_CPPFLAGS
=$CPPFLAGS
12972 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
12973 for ac_header
in tiffio.h
12975 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12976 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
12977 cat >>confdefs.h
<<_ACEOF
12978 #define HAVE_TIFFIO_H 1
12985 if test "$ac_cv_header_tiffio_h" = "yes"
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12988 $as_echo_n "checking for -ltiff... " >&6; }
12989 if ${ac_cv_lib_soname_tiff+:} false
; then :
12990 $as_echo_n "(cached) " >&6
12992 ac_check_soname_save_LIBS
=$LIBS
12993 LIBS
="-ltiff $TIFF_LIBS $LIBS"
12994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12995 /* end confdefs.h. */
12997 /* Override any GCC internal prototype to avoid an error.
12998 Use char because int might match the return type of a GCC
12999 builtin and then its argument prototype would still apply. */
13003 char TIFFClientOpen ();
13007 return TIFFClientOpen ();
13012 if ac_fn_c_try_link
"$LINENO"; then :
13014 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13015 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'` ;;
13016 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13017 if test "x$ac_cv_lib_soname_tiff" = x
; then :
13018 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13022 rm -f core conftest.err conftest.
$ac_objext \
13023 conftest
$ac_exeext conftest.
$ac_ext
13024 LIBS
=$ac_check_soname_save_LIBS
13026 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13028 $as_echo "not found" >&6; }
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13032 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13034 cat >>confdefs.h
<<_ACEOF
13035 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13041 CPPFLAGS
=$ac_save_CPPFLAGS
13042 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13043 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13046 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13047 case "x$with_tiff" in
13048 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13050 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13051 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13055 if test "x$with_mpg123" != "xno"
13057 if test -n "$MPG123_CFLAGS"; then :
13059 elif test -n "$PKG_CONFIG"; then :
13060 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13063 if test -n "$MPG123_LIBS"; then :
13065 elif test -n "$PKG_CONFIG"; then :
13066 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13069 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13070 ac_save_CPPFLAGS
=$CPPFLAGS
13071 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13072 for ac_header
in mpg123.h
13074 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13075 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13076 cat >>confdefs.h
<<_ACEOF
13077 #define HAVE_MPG123_H 1
13084 if test "$ac_cv_header_mpg123_h" = "yes"
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13087 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13088 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13089 $as_echo_n "(cached) " >&6
13091 ac_check_lib_save_LIBS
=$LIBS
13092 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13094 /* end confdefs.h. */
13096 /* Override any GCC internal prototype to avoid an error.
13097 Use char because int might match the return type of a GCC
13098 builtin and then its argument prototype would still apply. */
13102 char mpg123_feed ();
13106 return mpg123_feed ();
13111 if ac_fn_c_try_link
"$LINENO"; then :
13112 ac_cv_lib_mpg123_mpg123_feed
=yes
13114 ac_cv_lib_mpg123_mpg123_feed
=no
13116 rm -f core conftest.err conftest.
$ac_objext \
13117 conftest
$ac_exeext conftest.
$ac_ext
13118 LIBS
=$ac_check_lib_save_LIBS
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13121 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13122 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13132 CPPFLAGS
=$ac_save_CPPFLAGS
13133 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13134 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13137 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13138 case "x$with_mpg123" in
13139 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13141 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13142 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13145 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}
13147 if test "$ac_cv_header_AL_al_h" = "yes"
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13150 $as_echo_n "checking for -lopenal... " >&6; }
13151 if ${ac_cv_lib_soname_openal+:} false
; then :
13152 $as_echo_n "(cached) " >&6
13154 ac_check_soname_save_LIBS
=$LIBS
13155 LIBS
="-lopenal $LIBS"
13156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13157 /* end confdefs.h. */
13159 /* Override any GCC internal prototype to avoid an error.
13160 Use char because int might match the return type of a GCC
13161 builtin and then its argument prototype would still apply. */
13165 char alGetSource3i ();
13169 return alGetSource3i ();
13174 if ac_fn_c_try_link
"$LINENO"; then :
13176 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13177 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'` ;;
13178 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13179 if test "x$ac_cv_lib_soname_openal" = x
; then :
13180 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13184 rm -f core conftest.err conftest.
$ac_objext \
13185 conftest
$ac_exeext conftest.
$ac_ext
13186 LIBS
=$ac_check_soname_save_LIBS
13188 if test "x$ac_cv_lib_soname_openal" = "x"; then :
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13190 $as_echo "not found" >&6; }
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13194 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13196 cat >>confdefs.h
<<_ACEOF
13197 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13200 LIBOPENAL
="-lopenal"
13202 ac_cv_lib_openal
=yes
13204 cat >>confdefs.h
<<_ACEOF
13205 #define HAVE_OPENAL 1
13210 if test "x$ac_cv_lib_openal" != xyes
; then :
13211 case "x$with_openal" in
13212 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13214 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13215 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13218 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13220 if test "$ac_cv_header_kstat_h" = "yes"
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13223 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13224 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13225 $as_echo_n "(cached) " >&6
13227 ac_check_lib_save_LIBS
=$LIBS
13228 LIBS
="-lkstat $LIBS"
13229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13230 /* end confdefs.h. */
13232 /* Override any GCC internal prototype to avoid an error.
13233 Use char because int might match the return type of a GCC
13234 builtin and then its argument prototype would still apply. */
13238 char kstat_open ();
13242 return kstat_open ();
13247 if ac_fn_c_try_link
"$LINENO"; then :
13248 ac_cv_lib_kstat_kstat_open
=yes
13250 ac_cv_lib_kstat_kstat_open
=no
13252 rm -f core conftest.err conftest.
$ac_objext \
13253 conftest
$ac_exeext conftest.
$ac_ext
13254 LIBS
=$ac_check_lib_save_LIBS
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13257 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13258 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13260 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13268 if test "$ac_cv_header_libprocstat_h" = "yes"
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13271 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13272 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13273 $as_echo_n "(cached) " >&6
13275 ac_check_lib_save_LIBS
=$LIBS
13276 LIBS
="-lprocstat $LIBS"
13277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13278 /* end confdefs.h. */
13280 /* Override any GCC internal prototype to avoid an error.
13281 Use char because int might match the return type of a GCC
13282 builtin and then its argument prototype would still apply. */
13286 char procstat_open_sysctl ();
13290 return procstat_open_sysctl ();
13295 if ac_fn_c_try_link
"$LINENO"; then :
13296 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13298 ac_cv_lib_procstat_procstat_open_sysctl
=no
13300 rm -f core conftest.err conftest.
$ac_objext \
13301 conftest
$ac_exeext conftest.
$ac_ext
13302 LIBS
=$ac_check_lib_save_LIBS
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13305 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13306 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13308 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13310 LIBPROCSTAT
="-lprocstat"
13316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13317 $as_echo_n "checking for -lodbc... " >&6; }
13318 if ${ac_cv_lib_soname_odbc+:} false
; then :
13319 $as_echo_n "(cached) " >&6
13321 ac_check_soname_save_LIBS
=$LIBS
13322 LIBS
="-lodbc $LIBS"
13323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13324 /* end confdefs.h. */
13326 /* Override any GCC internal prototype to avoid an error.
13327 Use char because int might match the return type of a GCC
13328 builtin and then its argument prototype would still apply. */
13332 char SQLConnect ();
13336 return SQLConnect ();
13341 if ac_fn_c_try_link
"$LINENO"; then :
13343 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13344 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'` ;;
13345 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13346 if test "x$ac_cv_lib_soname_odbc" = x
; then :
13347 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13351 rm -f core conftest.err conftest.
$ac_objext \
13352 conftest
$ac_exeext conftest.
$ac_ext
13353 LIBS
=$ac_check_soname_save_LIBS
13355 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13357 $as_echo "not found" >&6; }
13358 cat >>confdefs.h
<<_ACEOF
13359 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13364 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13366 cat >>confdefs.h
<<_ACEOF
13367 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13373 if test "x$with_netapi" != "xno"
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13376 $as_echo_n "checking for -lnetapi... " >&6; }
13377 if ${ac_cv_lib_soname_netapi+:} false
; then :
13378 $as_echo_n "(cached) " >&6
13380 ac_check_soname_save_LIBS
=$LIBS
13381 LIBS
="-lnetapi $LIBS"
13382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13383 /* end confdefs.h. */
13385 /* Override any GCC internal prototype to avoid an error.
13386 Use char because int might match the return type of a GCC
13387 builtin and then its argument prototype would still apply. */
13391 char libnetapi_init ();
13395 return libnetapi_init ();
13400 if ac_fn_c_try_link
"$LINENO"; then :
13402 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13403 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'` ;;
13404 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13405 if test "x$ac_cv_lib_soname_netapi" = x
; then :
13406 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13410 rm -f core conftest.err conftest.
$ac_objext \
13411 conftest
$ac_exeext conftest.
$ac_ext
13412 LIBS
=$ac_check_soname_save_LIBS
13414 if test "x$ac_cv_lib_soname_netapi" = "x"; then :
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13416 $as_echo "not found" >&6; }
13417 cat >>confdefs.h
<<_ACEOF
13418 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13423 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13425 cat >>confdefs.h
<<_ACEOF
13426 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13433 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13434 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13435 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13436 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13438 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
13439 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13440 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13442 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13448 if test "x${GCC}" = "xyes"
13450 EXTRACFLAGS
="-Wall -pipe"
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13453 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13454 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13455 $as_echo_n "(cached) " >&6
13457 if test "$cross_compiling" = yes; then :
13458 ac_cv_c_gcc_strength_bug
="yes"
13460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13461 /* end confdefs.h. */
13462 int L[4] = {0,1,2,3};
13466 static int Array[3];
13467 unsigned int B = 3;
13469 for(i=0; i<B; i++) Array[i] = i - 3;
13470 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13472 return (Array[1] != -2 || L[2] != 3)
13477 if ac_fn_c_try_run
"$LINENO"; then :
13478 ac_cv_c_gcc_strength_bug
="no"
13480 ac_cv_c_gcc_strength_bug
="yes"
13482 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13483 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13488 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13489 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13491 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13495 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13496 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13497 $as_echo_n "(cached) " >&6
13499 ac_wine_try_cflags_saved
=$CFLAGS
13500 CFLAGS
="$CFLAGS -fno-builtin"
13501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13502 /* end confdefs.h. */
13503 int main(int argc, char **argv) { return 0; }
13505 if ac_fn_c_try_link
"$LINENO"; then :
13506 ac_cv_cflags__fno_builtin
=yes
13508 ac_cv_cflags__fno_builtin
=no
13510 rm -f core conftest.err conftest.
$ac_objext \
13511 conftest
$ac_exeext conftest.
$ac_ext
13512 CFLAGS
=$ac_wine_try_cflags_saved
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13515 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13516 if test $ac_cv_cflags__fno_builtin = yes; then :
13517 BUILTINFLAG
="-fno-builtin"
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13521 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13522 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13523 $as_echo_n "(cached) " >&6
13525 ac_wine_try_cflags_saved
=$CFLAGS
13526 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13528 /* end confdefs.h. */
13529 int main(int argc, char **argv) { return 0; }
13531 if ac_fn_c_try_link
"$LINENO"; then :
13532 ac_cv_cflags__fno_strict_aliasing
=yes
13534 ac_cv_cflags__fno_strict_aliasing
=no
13536 rm -f core conftest.err conftest.
$ac_objext \
13537 conftest
$ac_exeext conftest.
$ac_ext
13538 CFLAGS
=$ac_wine_try_cflags_saved
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13541 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13542 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
13543 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13545 saved_CFLAGS
=$CFLAGS
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13547 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13548 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13549 $as_echo_n "(cached) " >&6
13551 ac_wine_try_cflags_saved
=$CFLAGS
13552 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13554 /* end confdefs.h. */
13555 int main(int argc, char **argv) { return 0; }
13557 if ac_fn_c_try_link
"$LINENO"; then :
13558 ac_cv_cflags__Werror_unknown_warning_option
=yes
13560 ac_cv_cflags__Werror_unknown_warning_option
=no
13562 rm -f core conftest.err conftest.
$ac_objext \
13563 conftest
$ac_exeext conftest.
$ac_ext
13564 CFLAGS
=$ac_wine_try_cflags_saved
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13567 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13568 if test $ac_cv_cflags__Werror_unknown_warning_option = yes; then :
13569 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13572 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13573 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13574 $as_echo_n "(cached) " >&6
13576 ac_wine_try_cflags_saved
=$CFLAGS
13577 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13579 /* end confdefs.h. */
13580 int main(int argc, char **argv) { return 0; }
13582 if ac_fn_c_try_link
"$LINENO"; then :
13583 ac_cv_cflags__Wdeclaration_after_statement
=yes
13585 ac_cv_cflags__Wdeclaration_after_statement
=no
13587 rm -f core conftest.err conftest.
$ac_objext \
13588 conftest
$ac_exeext conftest.
$ac_ext
13589 CFLAGS
=$ac_wine_try_cflags_saved
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13592 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13593 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
13594 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13597 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13598 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13599 $as_echo_n "(cached) " >&6
13601 ac_wine_try_cflags_saved
=$CFLAGS
13602 CFLAGS
="$CFLAGS -Wempty-body"
13603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13604 /* end confdefs.h. */
13605 int main(int argc, char **argv) { return 0; }
13607 if ac_fn_c_try_link
"$LINENO"; then :
13608 ac_cv_cflags__Wempty_body
=yes
13610 ac_cv_cflags__Wempty_body
=no
13612 rm -f core conftest.err conftest.
$ac_objext \
13613 conftest
$ac_exeext conftest.
$ac_ext
13614 CFLAGS
=$ac_wine_try_cflags_saved
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13617 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13618 if test $ac_cv_cflags__Wempty_body = yes; then :
13619 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13622 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13623 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13624 $as_echo_n "(cached) " >&6
13626 ac_wine_try_cflags_saved
=$CFLAGS
13627 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13629 /* end confdefs.h. */
13630 int main(int argc, char **argv) { return 0; }
13632 if ac_fn_c_try_link
"$LINENO"; then :
13633 ac_cv_cflags__Wignored_qualifiers
=yes
13635 ac_cv_cflags__Wignored_qualifiers
=no
13637 rm -f core conftest.err conftest.
$ac_objext \
13638 conftest
$ac_exeext conftest.
$ac_ext
13639 CFLAGS
=$ac_wine_try_cflags_saved
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13642 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13643 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
13644 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13647 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13648 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13649 $as_echo_n "(cached) " >&6
13651 ac_wine_try_cflags_saved
=$CFLAGS
13652 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13654 /* end confdefs.h. */
13655 int main(int argc, char **argv) { return 0; }
13657 if ac_fn_c_try_link
"$LINENO"; then :
13658 ac_cv_cflags__Wstrict_prototypes
=yes
13660 ac_cv_cflags__Wstrict_prototypes
=no
13662 rm -f core conftest.err conftest.
$ac_objext \
13663 conftest
$ac_exeext conftest.
$ac_ext
13664 CFLAGS
=$ac_wine_try_cflags_saved
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13667 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13668 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
13669 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13672 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13673 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13674 $as_echo_n "(cached) " >&6
13676 ac_wine_try_cflags_saved
=$CFLAGS
13677 CFLAGS
="$CFLAGS -Wtype-limits"
13678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13679 /* end confdefs.h. */
13680 int main(int argc, char **argv) { return 0; }
13682 if ac_fn_c_try_link
"$LINENO"; then :
13683 ac_cv_cflags__Wtype_limits
=yes
13685 ac_cv_cflags__Wtype_limits
=no
13687 rm -f core conftest.err conftest.
$ac_objext \
13688 conftest
$ac_exeext conftest.
$ac_ext
13689 CFLAGS
=$ac_wine_try_cflags_saved
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13692 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13693 if test $ac_cv_cflags__Wtype_limits = yes; then :
13694 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13697 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13698 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13699 $as_echo_n "(cached) " >&6
13701 ac_wine_try_cflags_saved
=$CFLAGS
13702 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13704 /* end confdefs.h. */
13705 int main(int argc, char **argv) { return 0; }
13707 if ac_fn_c_try_link
"$LINENO"; then :
13708 ac_cv_cflags__Wunused_but_set_parameter
=yes
13710 ac_cv_cflags__Wunused_but_set_parameter
=no
13712 rm -f core conftest.err conftest.
$ac_objext \
13713 conftest
$ac_exeext conftest.
$ac_ext
13714 CFLAGS
=$ac_wine_try_cflags_saved
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13717 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13718 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
13719 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13722 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13723 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13724 $as_echo_n "(cached) " >&6
13726 ac_wine_try_cflags_saved
=$CFLAGS
13727 CFLAGS
="$CFLAGS -Wwrite-strings"
13728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13729 /* end confdefs.h. */
13730 int main(int argc, char **argv) { return 0; }
13732 if ac_fn_c_try_link
"$LINENO"; then :
13733 ac_cv_cflags__Wwrite_strings
=yes
13735 ac_cv_cflags__Wwrite_strings
=no
13737 rm -f core conftest.err conftest.
$ac_objext \
13738 conftest
$ac_exeext conftest.
$ac_ext
13739 CFLAGS
=$ac_wine_try_cflags_saved
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13742 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13743 if test $ac_cv_cflags__Wwrite_strings = yes; then :
13744 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13748 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13749 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13750 $as_echo_n "(cached) " >&6
13752 ac_wine_try_cflags_saved
=$CFLAGS
13753 CFLAGS
="$CFLAGS -Wpointer-arith"
13754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13755 /* end confdefs.h. */
13756 int main(int argc, char **argv) { return 0; }
13758 if ac_fn_c_try_link
"$LINENO"; then :
13759 ac_cv_cflags__Wpointer_arith
=yes
13761 ac_cv_cflags__Wpointer_arith
=no
13763 rm -f core conftest.err conftest.
$ac_objext \
13764 conftest
$ac_exeext conftest.
$ac_ext
13765 CFLAGS
=$ac_wine_try_cflags_saved
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13768 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13769 if test $ac_cv_cflags__Wpointer_arith = yes; then :
13770 saved_string_h_CFLAGS
=$CFLAGS
13771 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13773 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13774 if ${ac_cv_c_string_h_warnings+:} false
; then :
13775 $as_echo_n "(cached) " >&6
13777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13778 /* end confdefs.h. */
13779 #include <string.h>
13788 if ac_fn_c_try_compile
"$LINENO"; then :
13789 ac_cv_c_string_h_warnings
=no
13791 ac_cv_c_string_h_warnings
=yes
13793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13796 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13797 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13798 CFLAGS
=$saved_string_h_CFLAGS
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13802 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13803 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13804 $as_echo_n "(cached) " >&6
13806 ac_wine_try_cflags_saved
=$CFLAGS
13807 CFLAGS
="$CFLAGS -Wlogical-op"
13808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13809 /* end confdefs.h. */
13810 int main(int argc, char **argv) { return 0; }
13812 if ac_fn_c_try_link
"$LINENO"; then :
13813 ac_cv_cflags__Wlogical_op
=yes
13815 ac_cv_cflags__Wlogical_op
=no
13817 rm -f core conftest.err conftest.
$ac_objext \
13818 conftest
$ac_exeext conftest.
$ac_ext
13819 CFLAGS
=$ac_wine_try_cflags_saved
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13822 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13823 if test $ac_cv_cflags__Wlogical_op = yes; then :
13824 saved_string_h_CFLAGS
=$CFLAGS
13825 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13827 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13828 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13829 $as_echo_n "(cached) " >&6
13831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13832 /* end confdefs.h. */
13833 #include <string.h>
13834 char*f(const char *h,char n) {return strchr(h,n);}
13843 if ac_fn_c_try_compile
"$LINENO"; then :
13844 ac_cv_c_logicalop_noisy
=no
13846 ac_cv_c_logicalop_noisy
=yes
13848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13851 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13852 CFLAGS
=$saved_string_h_CFLAGS
13853 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13856 CFLAGS
=$saved_CFLAGS
13858 for ac_flag
in $CFLAGS; do
13860 -g) case $host_os in
13861 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13862 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13863 if ${ac_cv_cflags__gstabsp+:} false
; then :
13864 $as_echo_n "(cached) " >&6
13866 ac_wine_try_cflags_saved
=$CFLAGS
13867 CFLAGS
="$CFLAGS -gstabs+"
13868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13869 /* end confdefs.h. */
13870 int main(int argc, char **argv) { return 0; }
13872 if ac_fn_c_try_link
"$LINENO"; then :
13873 ac_cv_cflags__gstabsp
=yes
13875 ac_cv_cflags__gstabsp
=no
13877 rm -f core conftest.err conftest.
$ac_objext \
13878 conftest
$ac_exeext conftest.
$ac_ext
13879 CFLAGS
=$ac_wine_try_cflags_saved
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13882 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13883 if test $ac_cv_cflags__gstabsp = yes; then :
13884 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
13886 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13887 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13888 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
13889 $as_echo_n "(cached) " >&6
13891 ac_wine_try_cflags_saved
=$CFLAGS
13892 CFLAGS
="$CFLAGS -gdwarf-2"
13893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13894 /* end confdefs.h. */
13895 int main(int argc, char **argv) { return 0; }
13897 if ac_fn_c_try_link
"$LINENO"; then :
13898 ac_cv_cflags__gdwarf_2
=yes
13900 ac_cv_cflags__gdwarf_2
=no
13902 rm -f core conftest.err conftest.
$ac_objext \
13903 conftest
$ac_exeext conftest.
$ac_ext
13904 CFLAGS
=$ac_wine_try_cflags_saved
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13907 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13908 if test $ac_cv_cflags__gdwarf_2 = yes; then :
13909 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13912 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13913 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
13914 $as_echo_n "(cached) " >&6
13916 ac_wine_try_cflags_saved
=$CFLAGS
13917 CFLAGS
="$CFLAGS -gstrict-dwarf"
13918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13919 /* end confdefs.h. */
13920 int main(int argc, char **argv) { return 0; }
13922 if ac_fn_c_try_link
"$LINENO"; then :
13923 ac_cv_cflags__gstrict_dwarf
=yes
13925 ac_cv_cflags__gstrict_dwarf
=no
13927 rm -f core conftest.err conftest.
$ac_objext \
13928 conftest
$ac_exeext conftest.
$ac_ext
13929 CFLAGS
=$ac_wine_try_cflags_saved
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13932 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13933 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
13934 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
13941 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13942 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13943 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
13944 $as_echo_n "(cached) " >&6
13946 ac_wine_try_cflags_saved
=$CFLAGS
13947 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
13948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13949 /* end confdefs.h. */
13950 int main(int argc, char **argv) { return 0; }
13952 if ac_fn_c_try_link
"$LINENO"; then :
13953 ac_cv_cflags__fno_omit_frame_pointer
=yes
13955 ac_cv_cflags__fno_omit_frame_pointer
=no
13957 rm -f core conftest.err conftest.
$ac_objext \
13958 conftest
$ac_exeext conftest.
$ac_ext
13959 CFLAGS
=$ac_wine_try_cflags_saved
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13962 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13963 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
13964 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
13969 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13970 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13971 if ${ac_cv_cflags__Wno_format+:} false
; then :
13972 $as_echo_n "(cached) " >&6
13974 ac_wine_try_cflags_saved
=$CFLAGS
13975 CFLAGS
="$CFLAGS -Wno-format"
13976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13977 /* end confdefs.h. */
13978 int main(int argc, char **argv) { return 0; }
13980 if ac_fn_c_try_link
"$LINENO"; then :
13981 ac_cv_cflags__Wno_format
=yes
13983 ac_cv_cflags__Wno_format
=no
13985 rm -f core conftest.err conftest.
$ac_objext \
13986 conftest
$ac_exeext conftest.
$ac_ext
13987 CFLAGS
=$ac_wine_try_cflags_saved
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13990 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13991 if test $ac_cv_cflags__Wno_format = yes; then :
13992 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
13996 if test "x$enable_maintainer_mode" = "xyes"
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13999 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14000 if ${ac_cv_cflags__Werror+:} false
; then :
14001 $as_echo_n "(cached) " >&6
14003 ac_wine_try_cflags_saved
=$CFLAGS
14004 CFLAGS
="$CFLAGS -Werror"
14005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14006 /* end confdefs.h. */
14007 int main(int argc, char **argv) { return 0; }
14009 if ac_fn_c_try_link
"$LINENO"; then :
14010 ac_cv_cflags__Werror
=yes
14012 ac_cv_cflags__Werror
=no
14014 rm -f core conftest.err conftest.
$ac_objext \
14015 conftest
$ac_exeext conftest.
$ac_ext
14016 CFLAGS
=$ac_wine_try_cflags_saved
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14019 $as_echo "$ac_cv_cflags__Werror" >&6; }
14020 if test $ac_cv_cflags__Werror = yes; then :
14021 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14025 saved_CFLAGS
="$CFLAGS"
14026 CFLAGS
="$CFLAGS -Werror"
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14028 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14029 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14030 $as_echo_n "(cached) " >&6
14032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14033 /* end confdefs.h. */
14034 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14043 if ac_fn_c_try_compile
"$LINENO"; then :
14044 ac_cv_have_ms_hook_prologue
="yes"
14046 ac_cv_have_ms_hook_prologue
="no"
14048 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14051 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14052 CFLAGS
="$saved_CFLAGS"
14053 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14056 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14059 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14066 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14067 if ${ac_cv_c_fortify_enabled+:} false
; then :
14068 $as_echo_n "(cached) " >&6
14070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14071 /* end confdefs.h. */
14072 #include <string.h>
14076 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14077 #error Fortify enabled
14083 if ac_fn_c_try_compile
"$LINENO"; then :
14084 ac_cv_c_fortify_enabled
=no
14086 ac_cv_c_fortify_enabled
=yes
14088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14091 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14092 if test "$ac_cv_c_fortify_enabled" = yes
14094 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14099 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14100 if ${ac_cv_c_extern_prefix+:} false
; then :
14101 $as_echo_n "(cached) " >&6
14103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14104 /* end confdefs.h. */
14105 extern int ac_test;
14109 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14114 if ac_fn_c_try_link
"$LINENO"; then :
14115 ac_cv_c_extern_prefix
="yes"
14117 ac_cv_c_extern_prefix
="no"
14119 rm -f core conftest.err conftest.
$ac_objext \
14120 conftest
$ac_exeext conftest.
$ac_ext
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14123 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14128 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14129 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14130 $as_echo_n "(cached) " >&6
14132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14133 /* end confdefs.h. */
14135 #define __stdcall __attribute__((__stdcall__))
14137 int __stdcall ac_test(int i) { return i; }
14141 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14146 if ac_fn_c_try_link
"$LINENO"; then :
14147 ac_cv_c_stdcall_suffix
="yes"
14149 ac_cv_c_stdcall_suffix
="no"
14151 rm -f core conftest.err conftest.
$ac_objext \
14152 conftest
$ac_exeext conftest.
$ac_ext
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14155 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14156 *) ac_cv_c_stdcall_suffix
="no" ;;
14160 if test "$ac_cv_c_extern_prefix" = "yes"
14162 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14164 asm_name_prefix
="_"
14166 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14172 if test "$ac_cv_c_stdcall_suffix" = "yes"
14174 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14177 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14183 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14184 if ${ac_cv_asm_func_def+:} false
; then :
14185 $as_echo_n "(cached) " >&6
14187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14188 /* end confdefs.h. */
14193 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14198 if ac_fn_c_try_link
"$LINENO"; then :
14199 ac_cv_asm_func_def
=".def"
14201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14202 /* end confdefs.h. */
14207 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14212 if ac_fn_c_try_link
"$LINENO"; then :
14213 ac_cv_asm_func_def
=".type @function"
14215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14216 /* end confdefs.h. */
14221 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14226 if ac_fn_c_try_link
"$LINENO"; then :
14227 ac_cv_asm_func_def
=".type 2"
14229 ac_cv_asm_func_def
="unknown"
14231 rm -f core conftest.err conftest.
$ac_objext \
14232 conftest
$ac_exeext conftest.
$ac_ext
14234 rm -f core conftest.err conftest.
$ac_objext \
14235 conftest
$ac_exeext conftest.
$ac_ext
14237 rm -f core conftest.err conftest.
$ac_objext \
14238 conftest
$ac_exeext conftest.
$ac_ext
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14241 $as_echo "$ac_cv_asm_func_def" >&6; }
14244 case "$ac_cv_asm_func_def" in
14246 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14248 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14250 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14252 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14254 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14256 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14258 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14260 asm_func_header
="" ;;
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14264 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14265 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14266 $as_echo_n "(cached) " >&6
14268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14269 /* end confdefs.h. */
14270 asm(".text\n\t.long 0");
14279 if ac_fn_c_try_compile
"$LINENO"; then :
14280 ac_cv_c_asm_outside_funcs
="yes"
14282 ac_cv_c_asm_outside_funcs
="no"
14284 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14287 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14290 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14291 if ${ac_cv_c_dot_previous+:} false
; then :
14292 $as_echo_n "(cached) " >&6
14294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14295 /* end confdefs.h. */
14300 asm(".text\nac_test:\t.long 0\n\t.previous");
14305 if ac_fn_c_try_link
"$LINENO"; then :
14306 ac_cv_c_dot_previous
="yes"
14308 ac_cv_c_dot_previous
="no"
14310 rm -f core conftest.err conftest.
$ac_objext \
14311 conftest
$ac_exeext conftest.
$ac_ext
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14314 $as_echo "$ac_cv_c_dot_previous" >&6; }
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14317 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14318 if ${ac_cv_c_cfi_support+:} false
; then :
14319 $as_echo_n "(cached) " >&6
14321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14322 /* end confdefs.h. */
14323 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14332 if ac_fn_c_try_compile
"$LINENO"; then :
14333 ac_cv_c_cfi_support
="yes"
14335 ac_cv_c_cfi_support
="no"
14337 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14340 $as_echo "$ac_cv_c_cfi_support" >&6; }
14342 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14343 asm_func_trailer
=""
14344 if test "$ac_cv_c_dot_previous" = "yes"
14346 asm_func_trailer
="\\n\\t.previous"
14348 if test "$ac_cv_c_cfi_support" = "yes"
14350 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14351 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14353 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14355 UNWINDFLAGS
=-fasynchronous-unwind-tables
14358 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14362 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14365 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14367 cat >>confdefs.h
<<_ACEOF
14368 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14372 cat >>confdefs.h
<<_ACEOF
14373 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14378 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14381 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14386 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14393 *i
[3456789]86*|x86_64
*)
14394 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14395 loader_programs
="$loader_programs $wine_binary-preloader"
14396 as_fn_append LOADER_RULES
"
14397 $wine_binary-preloader: preloader.o
14398 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14400 install install-lib:: $wine_binary-preloader
14401 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14404 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14409 as_fn_append LOADER_RULES
"
14410 PROGRAMS = $loader_programs
14414 ac_save_CFLAGS
="$CFLAGS"
14415 CFLAGS
="$CFLAGS $BUILTINFLAG"
14492 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14493 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14494 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14495 cat >>confdefs.h
<<_ACEOF
14496 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14502 CFLAGS
="$ac_save_CFLAGS"
14504 if test "$ac_cv_func_dlopen" = no
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14507 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14508 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14509 $as_echo_n "(cached) " >&6
14511 ac_check_lib_save_LIBS
=$LIBS
14513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14514 /* end confdefs.h. */
14516 /* Override any GCC internal prototype to avoid an error.
14517 Use char because int might match the return type of a GCC
14518 builtin and then its argument prototype would still apply. */
14531 if ac_fn_c_try_link
"$LINENO"; then :
14532 ac_cv_lib_dl_dlopen
=yes
14534 ac_cv_lib_dl_dlopen
=no
14536 rm -f core conftest.err conftest.
$ac_objext \
14537 conftest
$ac_exeext conftest.
$ac_ext
14538 LIBS
=$ac_check_lib_save_LIBS
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14541 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14542 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14543 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14549 ac_wine_check_funcs_save_LIBS
="$LIBS"
14550 LIBS
="$LIBS $LIBDL"
14551 for ac_func
in dladdr
14553 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14554 if test "x$ac_cv_func_dladdr" = xyes
; then :
14555 cat >>confdefs.h
<<_ACEOF
14556 #define HAVE_DLADDR 1
14562 LIBS
="$ac_wine_check_funcs_save_LIBS"
14564 if test "$ac_cv_func_poll" = no
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14567 $as_echo_n "checking for poll in -lpoll... " >&6; }
14568 if ${ac_cv_lib_poll_poll+:} false
; then :
14569 $as_echo_n "(cached) " >&6
14571 ac_check_lib_save_LIBS
=$LIBS
14572 LIBS
="-lpoll $LIBS"
14573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14574 /* end confdefs.h. */
14576 /* Override any GCC internal prototype to avoid an error.
14577 Use char because int might match the return type of a GCC
14578 builtin and then its argument prototype would still apply. */
14591 if ac_fn_c_try_link
"$LINENO"; then :
14592 ac_cv_lib_poll_poll
=yes
14594 ac_cv_lib_poll_poll
=no
14596 rm -f core conftest.err conftest.
$ac_objext \
14597 conftest
$ac_exeext conftest.
$ac_ext
14598 LIBS
=$ac_check_lib_save_LIBS
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14601 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14602 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14603 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14611 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14612 if ${ac_cv_search_gethostbyname+:} false
; then :
14613 $as_echo_n "(cached) " >&6
14615 ac_func_search_save_LIBS
=$LIBS
14616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14617 /* end confdefs.h. */
14619 /* Override any GCC internal prototype to avoid an error.
14620 Use char because int might match the return type of a GCC
14621 builtin and then its argument prototype would still apply. */
14625 char gethostbyname ();
14629 return gethostbyname ();
14634 for ac_lib
in '' nsl
; do
14635 if test -z "$ac_lib"; then
14636 ac_res
="none required"
14639 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14641 if ac_fn_c_try_link
"$LINENO"; then :
14642 ac_cv_search_gethostbyname
=$ac_res
14644 rm -f core conftest.err conftest.
$ac_objext \
14646 if ${ac_cv_search_gethostbyname+:} false
; then :
14650 if ${ac_cv_search_gethostbyname+:} false
; then :
14653 ac_cv_search_gethostbyname
=no
14655 rm conftest.
$ac_ext
14656 LIBS
=$ac_func_search_save_LIBS
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14659 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14660 ac_res
=$ac_cv_search_gethostbyname
14661 if test "$ac_res" != no
; then :
14662 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14668 $as_echo_n "checking for library containing connect... " >&6; }
14669 if ${ac_cv_search_connect+:} false
; then :
14670 $as_echo_n "(cached) " >&6
14672 ac_func_search_save_LIBS
=$LIBS
14673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14674 /* end confdefs.h. */
14676 /* Override any GCC internal prototype to avoid an error.
14677 Use char because int might match the return type of a GCC
14678 builtin and then its argument prototype would still apply. */
14691 for ac_lib
in '' socket
; do
14692 if test -z "$ac_lib"; then
14693 ac_res
="none required"
14696 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14698 if ac_fn_c_try_link
"$LINENO"; then :
14699 ac_cv_search_connect
=$ac_res
14701 rm -f core conftest.err conftest.
$ac_objext \
14703 if ${ac_cv_search_connect+:} false
; then :
14707 if ${ac_cv_search_connect+:} false
; then :
14710 ac_cv_search_connect
=no
14712 rm conftest.
$ac_ext
14713 LIBS
=$ac_func_search_save_LIBS
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14716 $as_echo "$ac_cv_search_connect" >&6; }
14717 ac_res
=$ac_cv_search_connect
14718 if test "$ac_res" != no
; then :
14719 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14725 $as_echo_n "checking for library containing inet_aton... " >&6; }
14726 if ${ac_cv_search_inet_aton+:} false
; then :
14727 $as_echo_n "(cached) " >&6
14729 ac_func_search_save_LIBS
=$LIBS
14730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14731 /* end confdefs.h. */
14733 /* Override any GCC internal prototype to avoid an error.
14734 Use char because int might match the return type of a GCC
14735 builtin and then its argument prototype would still apply. */
14743 return inet_aton ();
14748 for ac_lib
in '' resolv
; do
14749 if test -z "$ac_lib"; then
14750 ac_res
="none required"
14753 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14755 if ac_fn_c_try_link
"$LINENO"; then :
14756 ac_cv_search_inet_aton
=$ac_res
14758 rm -f core conftest.err conftest.
$ac_objext \
14760 if ${ac_cv_search_inet_aton+:} false
; then :
14764 if ${ac_cv_search_inet_aton+:} false
; then :
14767 ac_cv_search_inet_aton
=no
14769 rm conftest.
$ac_ext
14770 LIBS
=$ac_func_search_save_LIBS
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14773 $as_echo "$ac_cv_search_inet_aton" >&6; }
14774 ac_res
=$ac_cv_search_inet_aton
14775 if test "$ac_res" != no
; then :
14776 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14796 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14797 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14798 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14799 cat >>confdefs.h
<<_ACEOF
14800 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14809 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14810 if ${ac_cv_search_clock_gettime+:} false
; then :
14811 $as_echo_n "(cached) " >&6
14813 ac_func_search_save_LIBS
=$LIBS
14814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14815 /* end confdefs.h. */
14817 /* Override any GCC internal prototype to avoid an error.
14818 Use char because int might match the return type of a GCC
14819 builtin and then its argument prototype would still apply. */
14823 char clock_gettime ();
14827 return clock_gettime ();
14832 for ac_lib
in '' rt
; do
14833 if test -z "$ac_lib"; then
14834 ac_res
="none required"
14837 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14839 if ac_fn_c_try_link
"$LINENO"; then :
14840 ac_cv_search_clock_gettime
=$ac_res
14842 rm -f core conftest.err conftest.
$ac_objext \
14844 if ${ac_cv_search_clock_gettime+:} false
; then :
14848 if ${ac_cv_search_clock_gettime+:} false
; then :
14851 ac_cv_search_clock_gettime
=no
14853 rm conftest.
$ac_ext
14854 LIBS
=$ac_func_search_save_LIBS
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14857 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14858 ac_res
=$ac_cv_search_clock_gettime
14859 if test "$ac_res" != no
; then :
14860 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14862 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14864 test "$ac_res" = "none required" || LIBRT
="$ac_res"
14872 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14874 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14876 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14878 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14879 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
14880 $as_echo_n "(cached) " >&6
14882 ac_check_lib_save_LIBS
=$LIBS
14883 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
14884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14885 /* end confdefs.h. */
14887 /* Override any GCC internal prototype to avoid an error.
14888 Use char because int might match the return type of a GCC
14889 builtin and then its argument prototype would still apply. */
14893 char ldap_initialize ();
14897 return ldap_initialize ();
14902 if ac_fn_c_try_link
"$LINENO"; then :
14903 ac_cv_lib_ldap_r_ldap_initialize
=yes
14905 ac_cv_lib_ldap_r_ldap_initialize
=no
14907 rm -f core conftest.err conftest.
$ac_objext \
14908 conftest
$ac_exeext conftest.
$ac_ext
14909 LIBS
=$ac_check_lib_save_LIBS
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14912 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14913 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14915 $as_echo_n "checking for ber_init in -llber... " >&6; }
14916 if ${ac_cv_lib_lber_ber_init+:} false
; then :
14917 $as_echo_n "(cached) " >&6
14919 ac_check_lib_save_LIBS
=$LIBS
14920 LIBS
="-llber $LIBPTHREAD $LIBS"
14921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14922 /* end confdefs.h. */
14924 /* Override any GCC internal prototype to avoid an error.
14925 Use char because int might match the return type of a GCC
14926 builtin and then its argument prototype would still apply. */
14934 return ber_init ();
14939 if ac_fn_c_try_link
"$LINENO"; then :
14940 ac_cv_lib_lber_ber_init
=yes
14942 ac_cv_lib_lber_ber_init
=no
14944 rm -f core conftest.err conftest.
$ac_objext \
14945 conftest
$ac_exeext conftest.
$ac_ext
14946 LIBS
=$ac_check_lib_save_LIBS
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14949 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14950 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
14952 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14954 LDAPLIBS
="-lldap_r -llber"
14961 ac_wine_check_funcs_save_LIBS
="$LIBS"
14962 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
14964 ldap_count_references \
14965 ldap_first_reference \
14966 ldap_next_reference \
14967 ldap_parse_reference \
14968 ldap_parse_sort_control \
14969 ldap_parse_sortresponse_control \
14970 ldap_parse_vlv_control \
14971 ldap_parse_vlvresponse_control
14973 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14974 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14975 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14976 cat >>confdefs.h
<<_ACEOF
14977 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14983 LIBS
="$ac_wine_check_funcs_save_LIBS"
14985 if test "x$LDAPLIBS" = "x"; then :
14986 case "x$with_ldap" in
14987 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14989 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14990 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14995 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14996 if ${wine_cv_one_arg_mkdir+:} false
; then :
14997 $as_echo_n "(cached) " >&6
14999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15000 /* end confdefs.h. */
15001 #include <sys/stat.h>
15010 if ac_fn_c_try_compile
"$LINENO"; then :
15011 wine_cv_one_arg_mkdir
=yes
15013 wine_cv_one_arg_mkdir
=no
15015 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15018 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15019 if test "$wine_cv_one_arg_mkdir" = "yes"
15022 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15027 $as_echo_n "checking for sched_setaffinity... " >&6; }
15028 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15029 $as_echo_n "(cached) " >&6
15031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15032 /* end confdefs.h. */
15033 #define _GNU_SOURCE
15038 sched_setaffinity(0, 0, 0);
15043 if ac_fn_c_try_link
"$LINENO"; then :
15044 wine_cv_have_sched_setaffinity
=yes
15046 wine_cv_have_sched_setaffinity
=no
15048 rm -f core conftest.err conftest.
$ac_objext \
15049 conftest
$ac_exeext conftest.
$ac_ext
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15052 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15053 if test "$wine_cv_have_sched_setaffinity" = "yes"
15056 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15061 $as_echo_n "checking for fallocate... " >&6; }
15062 if ${wine_cv_have_fallocate+:} false
; then :
15063 $as_echo_n "(cached) " >&6
15065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15066 /* end confdefs.h. */
15067 #define _GNU_SOURCE
15072 fallocate(-1, 0, 0, 0);
15077 if ac_fn_c_try_link
"$LINENO"; then :
15078 wine_cv_have_fallocate
=yes
15080 wine_cv_have_fallocate
=no
15082 rm -f core conftest.err conftest.
$ac_objext \
15083 conftest
$ac_exeext conftest.
$ac_ext
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15086 $as_echo "$wine_cv_have_fallocate" >&6; }
15087 if test "$wine_cv_have_fallocate" = "yes"
15090 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15096 $as_echo_n "checking for inline... " >&6; }
15097 if ${ac_cv_c_inline+:} false
; then :
15098 $as_echo_n "(cached) " >&6
15101 for ac_kw
in inline __inline__ __inline
; do
15102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15103 /* end confdefs.h. */
15104 #ifndef __cplusplus
15106 static $ac_kw foo_t static_foo () {return 0; }
15107 $ac_kw foo_t foo () {return 0; }
15111 if ac_fn_c_try_compile
"$LINENO"; then :
15112 ac_cv_c_inline
=$ac_kw
15114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15115 test "$ac_cv_c_inline" != no
&& break
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15120 $as_echo "$ac_cv_c_inline" >&6; }
15122 case $ac_cv_c_inline in
15125 case $ac_cv_c_inline in
15127 *) ac_val
=$ac_cv_c_inline;;
15129 cat >>confdefs.h
<<_ACEOF
15130 #ifndef __cplusplus
15131 #define inline $ac_val
15137 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15138 if test "x$ac_cv_type_mode_t" = xyes
; then :
15140 cat >>confdefs.h
<<_ACEOF
15141 #define HAVE_MODE_T 1
15146 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15147 if test "x$ac_cv_type_off_t" = xyes
; then :
15149 cat >>confdefs.h
<<_ACEOF
15150 #define HAVE_OFF_T 1
15155 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15156 if test "x$ac_cv_type_pid_t" = xyes
; then :
15158 cat >>confdefs.h
<<_ACEOF
15159 #define HAVE_PID_T 1
15164 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15165 if test "x$ac_cv_type_size_t" = xyes
; then :
15167 cat >>confdefs.h
<<_ACEOF
15168 #define HAVE_SIZE_T 1
15173 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15174 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15176 cat >>confdefs.h
<<_ACEOF
15177 #define HAVE_SSIZE_T 1
15182 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15183 if test "x$ac_cv_type_long_long" = xyes
; then :
15185 cat >>confdefs.h
<<_ACEOF
15186 #define HAVE_LONG_LONG 1
15191 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15192 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15194 cat >>confdefs.h
<<_ACEOF
15195 #define HAVE_FSBLKCNT_T 1
15200 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15201 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15203 cat >>confdefs.h
<<_ACEOF
15204 #define HAVE_FSFILCNT_T 1
15210 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15211 #include <signal.h>
15213 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15215 cat >>confdefs.h
<<_ACEOF
15216 #define HAVE_SIGSET_T 1
15222 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15224 if test "x$ac_cv_type_request_sense" = xyes
; then :
15226 cat >>confdefs.h
<<_ACEOF
15227 #define HAVE_REQUEST_SENSE 1
15234 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15235 #ifdef HAVE_SYS_SOCKET_H
15236 #include <sys/socket.h>
15238 #ifdef HAVE_SYS_SOCKETVAR_H
15239 #include <sys/socketvar.h>
15241 #ifdef HAVE_NET_ROUTE_H
15242 #include <net/route.h>
15244 #ifdef HAVE_NETINET_IN_H
15245 #include <netinet/in.h>
15247 #ifdef HAVE_NETINET_IN_SYSTM_H
15248 #include <netinet/in_systm.h>
15250 #ifdef HAVE_NETINET_IP_H
15251 #include <netinet/ip.h>
15253 #ifdef HAVE_NETINET_IN_PCB_H
15254 #include <netinet/in_pcb.h>
15257 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15259 cat >>confdefs.h
<<_ACEOF
15260 #define HAVE_STRUCT_XINPGEN 1
15267 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15270 #ifdef HAVE_SYS_LINK_H
15271 #include <sys/link.h>
15274 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15276 cat >>confdefs.h
<<_ACEOF
15277 #define HAVE_STRUCT_R_DEBUG 1
15282 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15285 #ifdef HAVE_SYS_LINK_H
15286 #include <sys/link.h>
15289 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15291 cat >>confdefs.h
<<_ACEOF
15292 #define HAVE_STRUCT_LINK_MAP 1
15299 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15300 #include <linux/input.h>
15303 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15305 cat >>confdefs.h
<<_ACEOF
15306 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15314 $as_echo_n "checking for sigaddset... " >&6; }
15315 if ${wine_cv_have_sigaddset+:} false
; then :
15316 $as_echo_n "(cached) " >&6
15318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15319 /* end confdefs.h. */
15320 #include <signal.h>
15324 sigset_t set; sigaddset(&set,SIGTERM);
15329 if ac_fn_c_try_link
"$LINENO"; then :
15330 wine_cv_have_sigaddset
=yes
15332 wine_cv_have_sigaddset
=no
15334 rm -f core conftest.err conftest.
$ac_objext \
15335 conftest
$ac_exeext conftest.
$ac_ext
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15338 $as_echo "$wine_cv_have_sigaddset" >&6; }
15339 if test "$wine_cv_have_sigaddset" = "yes"
15342 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15348 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15349 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15350 $as_echo_n "(cached) " >&6
15352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15353 /* end confdefs.h. */
15361 struct hostent *result;
15368 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15369 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15375 if ac_fn_c_try_link
"$LINENO"; then :
15376 wine_cv_linux_gethostbyname_r_6
=yes
15378 wine_cv_linux_gethostbyname_r_6
=no
15381 rm -f core conftest.err conftest.
$ac_objext \
15382 conftest
$ac_exeext conftest.
$ac_ext
15385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15386 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15387 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15390 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15394 if test "$ac_cv_header_linux_joystick_h" = "yes"
15396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15397 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15398 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15399 $as_echo_n "(cached) " >&6
15401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15402 /* end confdefs.h. */
15404 #include <sys/ioctl.h>
15405 #include <sys/types.h>
15406 #include <linux/joystick.h>
15408 struct js_event blub;
15409 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15410 #error "no 2.2 header"
15421 if ac_fn_c_try_compile
"$LINENO"; then :
15422 wine_cv_linux_joystick_22_api
=yes
15424 wine_cv_linux_joystick_22_api
=no
15426 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15430 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15431 if test "$wine_cv_linux_joystick_22_api" = "yes"
15434 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15440 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15441 #ifdef HAVE_SYS_PARAM_H
15442 # include <sys/param.h>
15444 #ifdef HAVE_SYS_MOUNT_H
15445 # include <sys/mount.h>
15447 #ifdef HAVE_SYS_VFS_H
15448 # include <sys/vfs.h>
15450 #ifdef HAVE_SYS_STATFS_H
15451 # include <sys/statfs.h>
15454 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15456 cat >>confdefs.h
<<_ACEOF
15457 #define HAVE_STRUCT_STATFS_F_BFREE 1
15462 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15463 #ifdef HAVE_SYS_PARAM_H
15464 # include <sys/param.h>
15466 #ifdef HAVE_SYS_MOUNT_H
15467 # include <sys/mount.h>
15469 #ifdef HAVE_SYS_VFS_H
15470 # include <sys/vfs.h>
15472 #ifdef HAVE_SYS_STATFS_H
15473 # include <sys/statfs.h>
15476 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15478 cat >>confdefs.h
<<_ACEOF
15479 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15484 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15485 #ifdef HAVE_SYS_PARAM_H
15486 # include <sys/param.h>
15488 #ifdef HAVE_SYS_MOUNT_H
15489 # include <sys/mount.h>
15491 #ifdef HAVE_SYS_VFS_H
15492 # include <sys/vfs.h>
15494 #ifdef HAVE_SYS_STATFS_H
15495 # include <sys/statfs.h>
15498 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15500 cat >>confdefs.h
<<_ACEOF
15501 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15506 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15507 #ifdef HAVE_SYS_PARAM_H
15508 # include <sys/param.h>
15510 #ifdef HAVE_SYS_MOUNT_H
15511 # include <sys/mount.h>
15513 #ifdef HAVE_SYS_VFS_H
15514 # include <sys/vfs.h>
15516 #ifdef HAVE_SYS_STATFS_H
15517 # include <sys/statfs.h>
15520 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15522 cat >>confdefs.h
<<_ACEOF
15523 #define HAVE_STRUCT_STATFS_F_FFREE 1
15528 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15529 #ifdef HAVE_SYS_PARAM_H
15530 # include <sys/param.h>
15532 #ifdef HAVE_SYS_MOUNT_H
15533 # include <sys/mount.h>
15535 #ifdef HAVE_SYS_VFS_H
15536 # include <sys/vfs.h>
15538 #ifdef HAVE_SYS_STATFS_H
15539 # include <sys/statfs.h>
15542 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15544 cat >>confdefs.h
<<_ACEOF
15545 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15550 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15551 #ifdef HAVE_SYS_PARAM_H
15552 # include <sys/param.h>
15554 #ifdef HAVE_SYS_MOUNT_H
15555 # include <sys/mount.h>
15557 #ifdef HAVE_SYS_VFS_H
15558 # include <sys/vfs.h>
15560 #ifdef HAVE_SYS_STATFS_H
15561 # include <sys/statfs.h>
15564 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15566 cat >>confdefs.h
<<_ACEOF
15567 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15574 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15575 #include <sys/statvfs.h>
15578 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15580 cat >>confdefs.h
<<_ACEOF
15581 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15588 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15589 #include <dirent.h>
15592 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15594 cat >>confdefs.h
<<_ACEOF
15595 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15602 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15603 #ifdef HAVE_SYS_SOCKET_H
15604 # include <sys/socket.h>
15606 #ifdef HAVE_SYS_UN_H
15607 # include <sys/un.h>
15610 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15612 cat >>confdefs.h
<<_ACEOF
15613 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15618 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15619 #ifdef HAVE_SYS_SOCKET_H
15620 # include <sys/socket.h>
15622 #ifdef HAVE_SYS_UN_H
15623 # include <sys/un.h>
15626 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15628 cat >>confdefs.h
<<_ACEOF
15629 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15634 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15635 #ifdef HAVE_SYS_SOCKET_H
15636 # include <sys/socket.h>
15638 #ifdef HAVE_SYS_UN_H
15639 # include <sys/un.h>
15642 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15644 cat >>confdefs.h
<<_ACEOF
15645 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15652 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15653 #ifdef HAVE_SCSI_SG_H
15654 #include <scsi/sg.h>
15657 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15659 cat >>confdefs.h
<<_ACEOF
15660 #define HAVE_SCSIREQ_T_CMD 1
15665 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>
15666 #ifdef HAVE_SCSI_SG_H
15667 #include <scsi/sg.h>
15670 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15672 cat >>confdefs.h
<<_ACEOF
15673 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15680 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15682 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15684 cat >>confdefs.h
<<_ACEOF
15685 #define HAVE_SIGINFO_T_SI_FD 1
15692 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15693 #ifdef HAVE_SYS_MTIO_H
15694 #include <sys/mtio.h>
15697 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15699 cat >>confdefs.h
<<_ACEOF
15700 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15705 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15706 #ifdef HAVE_SYS_MTIO_H
15707 #include <sys/mtio.h>
15710 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15712 cat >>confdefs.h
<<_ACEOF
15713 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15718 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15719 #ifdef HAVE_SYS_MTIO_H
15720 #include <sys/mtio.h>
15723 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15725 cat >>confdefs.h
<<_ACEOF
15726 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15733 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15734 #include <getopt.h>
15737 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15739 cat >>confdefs.h
<<_ACEOF
15740 #define HAVE_STRUCT_OPTION_NAME 1
15747 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15748 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15750 cat >>confdefs.h
<<_ACEOF
15751 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15756 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15757 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15759 cat >>confdefs.h
<<_ACEOF
15760 #define HAVE_STRUCT_STAT_ST_MTIM 1
15765 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15766 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15768 cat >>confdefs.h
<<_ACEOF
15769 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15774 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15775 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15777 cat >>confdefs.h
<<_ACEOF
15778 #define HAVE_STRUCT_STAT_ST_CTIM 1
15783 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15784 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15786 cat >>confdefs.h
<<_ACEOF
15787 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15792 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15793 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15795 cat >>confdefs.h
<<_ACEOF
15796 #define HAVE_STRUCT_STAT_ST_ATIM 1
15801 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15802 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15804 cat >>confdefs.h
<<_ACEOF
15805 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15810 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15811 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15813 cat >>confdefs.h
<<_ACEOF
15814 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15819 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15820 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15822 cat >>confdefs.h
<<_ACEOF
15823 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15828 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15829 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15831 cat >>confdefs.h
<<_ACEOF
15832 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15837 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15838 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15840 cat >>confdefs.h
<<_ACEOF
15841 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15846 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15847 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15849 cat >>confdefs.h
<<_ACEOF
15850 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15857 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
15858 #include <sys/types.h>
15860 #ifdef HAVE_NETINET_IN_H
15861 #include <netinet/in.h>
15864 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15866 cat >>confdefs.h
<<_ACEOF
15867 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15874 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15875 #include <resolv.h>
15878 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
15880 cat >>confdefs.h
<<_ACEOF
15881 #define HAVE_STRUCT___RES_STATE 1
15888 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
15889 #include <resolv.h>
15892 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
15894 cat >>confdefs.h
<<_ACEOF
15895 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15902 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15903 #include <sys/types.h>
15905 #ifdef HAVE_NETINET_IN_H
15906 # include <netinet/in.h>
15908 #ifdef HAVE_ARPA_NAMESER_H
15909 # include <arpa/nameser.h>
15912 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
15914 cat >>confdefs.h
<<_ACEOF
15915 #define HAVE_NS_MSG__MSG_PTR 1
15922 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15923 #include <sys/types.h>
15925 #ifdef HAVE_NETINET_IP_H
15926 #include <netinet/ip.h>
15928 #ifdef HAVE_NETINET_IP_ICMP_H
15929 #include <netinet/ip_icmp.h>
15931 #ifdef HAVE_NETINET_ICMP_VAR_H
15932 #include <netinet/icmp_var.h>
15935 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
15937 cat >>confdefs.h
<<_ACEOF
15938 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15945 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15946 #include <sys/types.h>
15948 #ifdef HAVE_ALIAS_H
15951 #ifdef HAVE_SYS_SOCKET_H
15952 #include <sys/socket.h>
15954 #ifdef HAVE_SYS_SOCKETVAR_H
15955 #include <sys/socketvar.h>
15957 #ifdef HAVE_SYS_TIMEOUT_H
15958 #include <sys/timeout.h>
15960 #ifdef HAVE_NETINET_IN_H
15961 #include <netinet/in.h>
15963 #ifdef HAVE_NETINET_IN_SYSTM_H
15964 #include <netinet/in_systm.h>
15966 #ifdef HAVE_NETINET_IP_H
15967 #include <netinet/ip.h>
15969 #ifdef HAVE_NETINET_IP_VAR_H
15970 #include <netinet/ip_var.h>
15972 #ifdef HAVE_NETINET_IP_ICMP_H
15973 #include <netinet/ip_icmp.h>
15975 #ifdef HAVE_NETINET_ICMP_VAR_H
15976 #include <netinet/icmp_var.h>
15979 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
15981 cat >>confdefs.h
<<_ACEOF
15982 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15989 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15990 #include <sys/types.h>
15992 #ifdef HAVE_SYS_SOCKETVAR_H
15993 #include <sys/socketvar.h>
15995 #ifdef HAVE_NETINET_IN_H
15996 #include <netinet/in.h>
15998 #ifdef HAVE_NETINET_IP_VAR_H
15999 #include <netinet/ip_var.h>
16002 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16004 cat >>confdefs.h
<<_ACEOF
16005 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16012 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
16013 #include <netinet/ip_var.h>
16016 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16018 cat >>confdefs.h
<<_ACEOF
16019 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16026 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16027 #include <sys/types.h>
16029 #ifdef HAVE_SYS_SOCKETVAR_H
16030 #include <sys/socketvar.h>
16032 #ifdef HAVE_NETINET_IN_H
16033 #include <netinet/in.h>
16035 #ifdef HAVE_NETINET_TCP_H
16036 #include <netinet/tcp.h>
16038 #ifdef HAVE_NETINET_TCP_VAR_H
16039 #include <netinet/tcp_var.h>
16042 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16044 cat >>confdefs.h
<<_ACEOF
16045 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16052 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
16053 #include <netinet/tcp_var.h>
16056 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16058 cat >>confdefs.h
<<_ACEOF
16059 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16066 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16067 #include <sys/types.h>
16069 #ifdef HAVE_NETINET_IN_H
16070 #include <netinet/in.h>
16072 #ifdef HAVE_NETINET_IP_VAR_H
16073 #include <netinet/ip_var.h>
16075 #ifdef HAVE_NETINET_UDP_H
16076 #include <netinet/udp.h>
16078 #ifdef HAVE_NETINET_UDP_VAR_H
16079 #include <netinet/udp_var.h>
16082 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16084 cat >>confdefs.h
<<_ACEOF
16085 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16092 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16093 #include <sys/types.h>
16095 #ifdef HAVE_NET_IF_H
16096 # include <net/if.h>
16099 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16101 cat >>confdefs.h
<<_ACEOF
16102 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16110 $as_echo_n "checking for timezone variable... " >&6; }
16111 if ${ac_cv_have_timezone+:} false
; then :
16112 $as_echo_n "(cached) " >&6
16114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16115 /* end confdefs.h. */
16125 if ac_fn_c_try_link
"$LINENO"; then :
16126 ac_cv_have_timezone
="yes"
16128 ac_cv_have_timezone
="no"
16130 rm -f core conftest.err conftest.
$ac_objext \
16131 conftest
$ac_exeext conftest.
$ac_ext
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16134 $as_echo "$ac_cv_have_timezone" >&6; }
16135 if test "$ac_cv_have_timezone" = "yes"
16138 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16142 $as_echo_n "checking for daylight variable... " >&6; }
16143 if ${ac_cv_have_daylight+:} false
; then :
16144 $as_echo_n "(cached) " >&6
16146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16147 /* end confdefs.h. */
16157 if ac_fn_c_try_link
"$LINENO"; then :
16158 ac_cv_have_daylight
="yes"
16160 ac_cv_have_daylight
="no"
16162 rm -f core conftest.err conftest.
$ac_objext \
16163 conftest
$ac_exeext conftest.
$ac_ext
16165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16166 $as_echo "$ac_cv_have_daylight" >&6; }
16167 if test "$ac_cv_have_daylight" = "yes"
16170 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16174 ac_save_LIBS
="$LIBS"
16176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16177 $as_echo_n "checking for isfinite... " >&6; }
16178 if ${ac_cv_have_isfinite+:} false
; then :
16179 $as_echo_n "(cached) " >&6
16181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16182 /* end confdefs.h. */
16183 #define _GNU_SOURCE
16188 float f = 0.0; return isfinite(f)
16193 if ac_fn_c_try_link
"$LINENO"; then :
16194 ac_cv_have_isfinite
="yes"
16196 ac_cv_have_isfinite
="no"
16198 rm -f core conftest.err conftest.
$ac_objext \
16199 conftest
$ac_exeext conftest.
$ac_ext
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16202 $as_echo "$ac_cv_have_isfinite" >&6; }
16203 if test "$ac_cv_have_isfinite" = "yes"
16206 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16210 ac_save_LIBS
="$LIBS"
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16213 $as_echo_n "checking for isinf... " >&6; }
16214 if ${ac_cv_have_isinf+:} false
; then :
16215 $as_echo_n "(cached) " >&6
16217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16218 /* end confdefs.h. */
16223 float f = 0.0; return isinf(f)
16228 if ac_fn_c_try_link
"$LINENO"; then :
16229 ac_cv_have_isinf
="yes"
16231 ac_cv_have_isinf
="no"
16233 rm -f core conftest.err conftest.
$ac_objext \
16234 conftest
$ac_exeext conftest.
$ac_ext
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16237 $as_echo "$ac_cv_have_isinf" >&6; }
16238 if test "$ac_cv_have_isinf" = "yes"
16241 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16246 $as_echo_n "checking for isnan... " >&6; }
16247 if ${ac_cv_have_isnan+:} false
; then :
16248 $as_echo_n "(cached) " >&6
16250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16251 /* end confdefs.h. */
16256 float f = 0.0; return isnan(f)
16261 if ac_fn_c_try_link
"$LINENO"; then :
16262 ac_cv_have_isnan
="yes"
16264 ac_cv_have_isnan
="no"
16266 rm -f core conftest.err conftest.
$ac_objext \
16267 conftest
$ac_exeext conftest.
$ac_ext
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16270 $as_echo "$ac_cv_have_isnan" >&6; }
16271 if test "$ac_cv_have_isnan" = "yes"
16274 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16277 LIBS
="$ac_save_LIBS"
16281 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16282 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16283 if ${ac_cv_cpp_def___i386__+:} false
; then :
16284 $as_echo_n "(cached) " >&6
16286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16287 /* end confdefs.h. */
16292 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16293 $EGREP "yes" >/dev
/null
2>&1; then :
16294 ac_cv_cpp_def___i386__
=yes
16296 ac_cv_cpp_def___i386__
=no
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16302 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16303 if test $ac_cv_cpp_def___i386__ = yes; then :
16304 CFLAGS
="$CFLAGS -D__i386__"
16305 LINTFLAGS
="$LINTFLAGS -D__i386__"
16307 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16308 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16309 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16310 $as_echo_n "(cached) " >&6
16312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16313 /* end confdefs.h. */
16318 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16319 $EGREP "yes" >/dev
/null
2>&1; then :
16320 ac_cv_cpp_def___x86_64__
=yes
16322 ac_cv_cpp_def___x86_64__
=no
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16328 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16329 if test $ac_cv_cpp_def___x86_64__ = yes; then :
16330 CFLAGS
="$CFLAGS -D__x86_64__"
16331 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16333 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16334 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16335 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16336 $as_echo_n "(cached) " >&6
16338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16339 /* end confdefs.h. */
16340 #ifndef __sparc64__
16344 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16345 $EGREP "yes" >/dev
/null
2>&1; then :
16346 ac_cv_cpp_def___sparc64__
=yes
16348 ac_cv_cpp_def___sparc64__
=no
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16354 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16355 if test $ac_cv_cpp_def___sparc64__ = yes; then :
16356 CFLAGS
="$CFLAGS -D__sparc64__"
16357 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16359 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16360 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16361 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16362 $as_echo_n "(cached) " >&6
16364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16365 /* end confdefs.h. */
16370 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16371 $EGREP "yes" >/dev
/null
2>&1; then :
16372 ac_cv_cpp_def___sparc__
=yes
16374 ac_cv_cpp_def___sparc__
=no
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16380 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16381 if test $ac_cv_cpp_def___sparc__ = yes; then :
16382 CFLAGS
="$CFLAGS -D__sparc__"
16383 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16385 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16386 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16387 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16388 $as_echo_n "(cached) " >&6
16390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16391 /* end confdefs.h. */
16392 #ifndef __powerpc64__
16396 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16397 $EGREP "yes" >/dev
/null
2>&1; then :
16398 ac_cv_cpp_def___powerpc64__
=yes
16400 ac_cv_cpp_def___powerpc64__
=no
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16406 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16407 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
16408 CFLAGS
="$CFLAGS -D__powerpc64__"
16409 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16411 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16412 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16413 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16414 $as_echo_n "(cached) " >&6
16416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16417 /* end confdefs.h. */
16418 #ifndef __powerpc__
16422 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16423 $EGREP "yes" >/dev
/null
2>&1; then :
16424 ac_cv_cpp_def___powerpc__
=yes
16426 ac_cv_cpp_def___powerpc__
=no
16431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16432 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16433 if test $ac_cv_cpp_def___powerpc__ = yes; then :
16434 CFLAGS
="$CFLAGS -D__powerpc__"
16435 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16437 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16438 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16439 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16440 $as_echo_n "(cached) " >&6
16442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16443 /* end confdefs.h. */
16444 #ifndef __aarch64__
16448 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16449 $EGREP "yes" >/dev
/null
2>&1; then :
16450 ac_cv_cpp_def___aarch64__
=yes
16452 ac_cv_cpp_def___aarch64__
=no
16457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16458 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16459 if test $ac_cv_cpp_def___aarch64__ = yes; then :
16460 CFLAGS
="$CFLAGS -D__aarch64__"
16461 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16463 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16464 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16465 if ${ac_cv_cpp_def___arm__+:} false
; then :
16466 $as_echo_n "(cached) " >&6
16468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16469 /* end confdefs.h. */
16474 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16475 $EGREP "yes" >/dev
/null
2>&1; then :
16476 ac_cv_cpp_def___arm__
=yes
16478 ac_cv_cpp_def___arm__
=no
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16484 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16485 if test $ac_cv_cpp_def___arm__ = yes; then :
16486 CFLAGS
="$CFLAGS -D__arm__"
16487 LINTFLAGS
="$LINTFLAGS -D__arm__"
16491 case $host_vendor in
16492 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16493 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16494 if ${ac_cv_cpp_def___sun__+:} false
; then :
16495 $as_echo_n "(cached) " >&6
16497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16498 /* end confdefs.h. */
16503 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16504 $EGREP "yes" >/dev
/null
2>&1; then :
16505 ac_cv_cpp_def___sun__
=yes
16507 ac_cv_cpp_def___sun__
=no
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16513 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16514 if test $ac_cv_cpp_def___sun__ = yes; then :
16515 CFLAGS
="$CFLAGS -D__sun__"
16516 LINTFLAGS
="$LINTFLAGS -D__sun__"
16524 ac_config_commands
="$ac_config_commands include/stamp-h"
16526 $as_echo_n "creating Makefile rules..." >&6
16529 wine_fn_append_rule
"
16530 # Rules automatically generated by configure
16535 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status
16536 @./config.status Make.tmp Makefile"
16538 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16539 .gitignore: config.status
16540 @./config.status .gitignore"
16542 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16543 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16545 if test "x$enable_fonts" != xno
; then
16546 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16547 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16548 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16549 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16550 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16552 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16553 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16554 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16555 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16556 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16557 wine_fn_config_symlink wine
16558 if test "x$enable_win64" != xno
; then
16559 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16560 wine_fn_config_symlink wine64
16563 wine_fn_config_makerules Make.rules
16564 MAKE_RULES
=Make.rules
16565 ac_config_files
="$ac_config_files Make.rules"
16568 wine_fn_config_dll acledit enable_acledit
16569 wine_fn_config_dll aclui enable_aclui implib
16570 wine_fn_config_dll activeds enable_activeds implib
16571 wine_fn_config_dll actxprxy enable_actxprxy clean
16572 wine_fn_config_lib adsiid
16573 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16574 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16575 wine_fn_config_dll advpack enable_advpack implib
16576 wine_fn_config_test dlls
/advpack
/tests advpack_test
16577 wine_fn_config_dll amstream enable_amstream clean
16578 wine_fn_config_test dlls
/amstream
/tests amstream_test
16579 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16580 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16581 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16582 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16583 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16584 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16585 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16586 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16587 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16588 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16589 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16590 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16591 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16592 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16593 wine_fn_config_dll apphelp enable_apphelp
16594 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16595 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16596 wine_fn_config_dll atl enable_atl clean
,implib
16597 wine_fn_config_test dlls
/atl
/tests atl_test
16598 wine_fn_config_dll atl100 enable_atl100 implib
16599 wine_fn_config_test dlls
/atl100
/tests atl100_test
16600 wine_fn_config_dll atl110 enable_atl110
16601 wine_fn_config_dll atl80 enable_atl80 implib
16602 wine_fn_config_test dlls
/atl80
/tests atl80_test
16603 wine_fn_config_dll atl90 enable_atl90
16604 wine_fn_config_dll authz enable_authz
16605 wine_fn_config_dll avicap32 enable_avicap32 implib
16606 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16607 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16608 wine_fn_config_dll avifile.dll16 enable_win16
16609 wine_fn_config_dll avrt enable_avrt implib
16610 wine_fn_config_dll bcrypt enable_bcrypt
16611 wine_fn_config_dll browseui enable_browseui clean
,po
16612 wine_fn_config_test dlls
/browseui
/tests browseui_test
16613 wine_fn_config_dll cabinet enable_cabinet implib
16614 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16615 wine_fn_config_dll capi2032 enable_capi2032 implib
16616 wine_fn_config_dll cards enable_cards implib
16617 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16618 wine_fn_config_dll clusapi enable_clusapi implib
16619 wine_fn_config_dll comcat enable_comcat
16620 wine_fn_config_test dlls
/comcat
/tests comcat_test
16621 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16622 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16623 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16624 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16625 wine_fn_config_dll
comm.drv16 enable_win16
16626 wine_fn_config_dll commdlg.dll16 enable_win16
16627 wine_fn_config_dll compobj.dll16 enable_win16
16628 wine_fn_config_dll compstui enable_compstui implib
16629 wine_fn_config_dll comsvcs enable_comsvcs implib
16630 wine_fn_config_dll credui enable_credui implib
,po
16631 wine_fn_config_test dlls
/credui
/tests credui_test
16632 wine_fn_config_dll crtdll enable_crtdll implib
16633 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16634 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16635 wine_fn_config_dll cryptdlg enable_cryptdlg po
16636 wine_fn_config_dll cryptdll enable_cryptdll implib
16637 wine_fn_config_dll cryptnet enable_cryptnet implib
16638 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16639 wine_fn_config_dll cryptui enable_cryptui implib
,po
16640 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16641 wine_fn_config_dll ctapi32 enable_ctapi32
16642 wine_fn_config_dll ctl3d.dll16 enable_win16
16643 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16644 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16645 wine_fn_config_dll d3d10 enable_d3d10 implib
16646 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16647 wine_fn_config_dll d3d10core enable_d3d10core implib
16648 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16649 wine_fn_config_dll d3d11 enable_d3d11
16650 wine_fn_config_dll d3d8 enable_d3d8 implib
16651 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16652 wine_fn_config_dll d3d9 enable_d3d9 implib
16653 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16654 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16655 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16656 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16657 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16658 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16659 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16660 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16661 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16662 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16663 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16664 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16665 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16666 wine_fn_config_dll d3dim enable_d3dim implib
16667 wine_fn_config_dll d3drm enable_d3drm implib
16668 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16669 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16670 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16671 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16672 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16673 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16674 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16675 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16676 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16677 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16678 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16679 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16680 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16681 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16682 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16683 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16684 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16685 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16686 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16687 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16688 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16689 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16690 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16691 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16692 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16693 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16694 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16695 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16696 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16697 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16698 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16699 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16700 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16701 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16702 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16703 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16704 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16705 wine_fn_config_dll dbgeng enable_dbgeng implib
16706 wine_fn_config_dll dbghelp enable_dbghelp implib
16707 wine_fn_config_dll dciman32 enable_dciman32 implib
16708 wine_fn_config_dll ddeml.dll16 enable_win16
16709 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16710 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16711 wine_fn_config_dll ddrawex enable_ddrawex clean
16712 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16713 wine_fn_config_dll devenum enable_devenum clean
,po
16714 wine_fn_config_test dlls
/devenum
/tests devenum_test
16715 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16716 wine_fn_config_dll difxapi enable_difxapi
16717 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16718 wine_fn_config_test dlls
/dinput
/tests dinput_test
16719 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16720 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16721 wine_fn_config_dll dispdib.dll16 enable_win16
16722 wine_fn_config_dll dispex enable_dispex clean
16723 wine_fn_config_test dlls
/dispex
/tests dispex_test
16724 wine_fn_config_dll display.drv16 enable_win16
16725 wine_fn_config_dll dmband enable_dmband clean
16726 wine_fn_config_test dlls
/dmband
/tests dmband_test
16727 wine_fn_config_dll dmcompos enable_dmcompos clean
16728 wine_fn_config_dll dmime enable_dmime clean
16729 wine_fn_config_test dlls
/dmime
/tests dmime_test
16730 wine_fn_config_dll dmloader enable_dmloader clean
16731 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16732 wine_fn_config_dll dmscript enable_dmscript clean
16733 wine_fn_config_dll dmstyle enable_dmstyle clean
16734 wine_fn_config_dll dmsynth enable_dmsynth clean
16735 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16736 wine_fn_config_dll dmusic enable_dmusic clean
16737 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16738 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16739 wine_fn_config_dll dnsapi enable_dnsapi implib
16740 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16741 wine_fn_config_dll dplay enable_dplay implib
16742 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16743 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16744 wine_fn_config_dll dpnaddr enable_dpnaddr
16745 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16746 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16747 wine_fn_config_dll dpnhpast enable_dpnhpast
16748 wine_fn_config_dll dpnlobby enable_dpnlobby
16749 wine_fn_config_dll dpwsockx enable_dpwsockx
16750 wine_fn_config_dll drmclien enable_drmclien
16751 wine_fn_config_dll dsound enable_dsound clean
,implib
16752 wine_fn_config_test dlls
/dsound
/tests dsound_test
16753 wine_fn_config_dll dssenh enable_dssenh
16754 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16755 wine_fn_config_dll dswave enable_dswave clean
16756 wine_fn_config_dll dwmapi enable_dwmapi implib
16757 wine_fn_config_dll dwrite enable_dwrite implib
16758 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16759 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16760 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16761 wine_fn_config_lib dxerr8
16762 wine_fn_config_lib dxerr9
16763 wine_fn_config_dll dxgi enable_dxgi implib
16764 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16765 wine_fn_config_lib dxguid
16766 wine_fn_config_dll explorerframe enable_explorerframe clean
16767 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16768 wine_fn_config_dll faultrep enable_faultrep implib
16769 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16770 wine_fn_config_dll fltlib enable_fltlib
16771 wine_fn_config_dll fusion enable_fusion
16772 wine_fn_config_test dlls
/fusion
/tests fusion_test
16773 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16774 wine_fn_config_dll gameux enable_gameux clean
16775 wine_fn_config_test dlls
/gameux
/tests gameux_test
16776 wine_fn_config_dll gdi.exe16 enable_win16
16777 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
16778 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16779 wine_fn_config_dll gdiplus enable_gdiplus implib
16780 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16781 wine_fn_config_dll glu32 enable_glu32 implib
16782 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16783 wine_fn_config_dll gpkcsp enable_gpkcsp
16784 wine_fn_config_dll hal enable_hal
16785 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
16786 wine_fn_config_dll hid enable_hid implib
16787 wine_fn_config_dll hlink enable_hlink clean
,implib
16788 wine_fn_config_test dlls
/hlink
/tests hlink_test
16789 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16790 wine_fn_config_dll httpapi enable_httpapi
16791 wine_fn_config_dll iccvid enable_iccvid po
16792 wine_fn_config_dll icmp enable_icmp
16793 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
16794 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
16795 wine_fn_config_dll ifsmgr.vxd enable_win16
16796 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16797 wine_fn_config_dll imagehlp enable_imagehlp implib
16798 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
16799 wine_fn_config_dll imm.dll16 enable_win16
16800 wine_fn_config_dll imm32 enable_imm32 implib
16801 wine_fn_config_test dlls
/imm32
/tests imm32_test
16802 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
16803 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
16804 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16805 wine_fn_config_dll inetmib1 enable_inetmib1
16806 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
16807 wine_fn_config_dll infosoft enable_infosoft clean
16808 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
16809 wine_fn_config_dll initpki enable_initpki
16810 wine_fn_config_dll inkobj enable_inkobj
16811 wine_fn_config_dll inseng enable_inseng clean
16812 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16813 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
16814 wine_fn_config_dll itircl enable_itircl
16815 wine_fn_config_dll itss enable_itss clean
16816 wine_fn_config_test dlls
/itss
/tests itss_test
16817 wine_fn_config_dll joy.cpl enable_joy_cpl po
16818 wine_fn_config_dll jscript enable_jscript clean
,po
16819 wine_fn_config_test dlls
/jscript
/tests jscript_test
16820 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
16821 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
16822 wine_fn_config_dll keyboard.drv16 enable_win16
16823 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16824 wine_fn_config_dll ktmw32 enable_ktmw32
16825 wine_fn_config_dll loadperf enable_loadperf implib
16826 wine_fn_config_dll localspl enable_localspl po
16827 wine_fn_config_test dlls
/localspl
/tests localspl_test
16828 wine_fn_config_dll localui enable_localui po
16829 wine_fn_config_test dlls
/localui
/tests localui_test
16830 wine_fn_config_dll lz32 enable_lz32 implib
16831 wine_fn_config_test dlls
/lz32
/tests lz32_test
16832 wine_fn_config_dll lzexpand.dll16 enable_win16
16833 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16834 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16835 wine_fn_config_dll mapistub enable_mapistub
16836 wine_fn_config_dll mciavi32 enable_mciavi32
16837 wine_fn_config_dll mcicda enable_mcicda
16838 wine_fn_config_dll mciqtz32 enable_mciqtz32
16839 wine_fn_config_dll mciseq enable_mciseq
16840 wine_fn_config_dll mciwave enable_mciwave
16841 wine_fn_config_dll mgmtapi enable_mgmtapi
16842 wine_fn_config_dll midimap enable_midimap
16843 wine_fn_config_dll mlang enable_mlang clean
,implib
16844 wine_fn_config_test dlls
/mlang
/tests mlang_test
16845 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16846 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16847 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16848 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16849 wine_fn_config_dll mmdevldr.vxd enable_win16
16850 wine_fn_config_dll mmsystem.dll16 enable_win16
16851 wine_fn_config_dll monodebg.vxd enable_win16
16852 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16853 wine_fn_config_dll mouse.drv16 enable_win16
16854 wine_fn_config_dll mpr enable_mpr implib
,po
16855 wine_fn_config_test dlls
/mpr
/tests mpr_test
16856 wine_fn_config_dll mprapi enable_mprapi implib
16857 wine_fn_config_dll msacm.dll16 enable_win16
16858 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16859 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
16860 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
16861 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16862 wine_fn_config_dll mscat32 enable_mscat32
16863 wine_fn_config_dll mscms enable_mscms implib
16864 wine_fn_config_test dlls
/mscms
/tests mscms_test
16865 wine_fn_config_dll mscoree enable_mscoree clean
16866 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
16867 wine_fn_config_dll msctf enable_msctf clean
16868 wine_fn_config_test dlls
/msctf
/tests msctf_test
16869 wine_fn_config_dll msdaps enable_msdaps clean
16870 wine_fn_config_dll msdmo enable_msdmo implib
16871 wine_fn_config_dll msftedit enable_msftedit
16872 wine_fn_config_dll msg711.acm enable_msg711_acm
16873 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16874 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16875 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
16876 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
16877 wine_fn_config_dll msi enable_msi clean
,implib
,po
16878 wine_fn_config_test dlls
/msi
/tests msi_test
16879 wine_fn_config_dll msident enable_msident clean
16880 wine_fn_config_dll msimg32 enable_msimg32 implib
16881 wine_fn_config_dll msimsg enable_msimsg
16882 wine_fn_config_dll msimtf enable_msimtf clean
16883 wine_fn_config_dll msisip enable_msisip
16884 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16885 wine_fn_config_dll msls31 enable_msls31
16886 wine_fn_config_dll msnet32 enable_msnet32
16887 wine_fn_config_dll mspatcha enable_mspatcha
16888 wine_fn_config_dll msrle32 enable_msrle32 po
16889 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
16890 wine_fn_config_dll mssign32 enable_mssign32
16891 wine_fn_config_dll mssip32 enable_mssip32
16892 wine_fn_config_dll mstask enable_mstask clean
16893 wine_fn_config_test dlls
/mstask
/tests mstask_test
16894 wine_fn_config_dll msvcirt enable_msvcirt
16895 wine_fn_config_dll msvcm80 enable_msvcm80
16896 wine_fn_config_dll msvcm90 enable_msvcm90
16897 wine_fn_config_dll msvcp100 enable_msvcp100
16898 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
16899 wine_fn_config_dll msvcp110 enable_msvcp110
16900 wine_fn_config_dll msvcp60 enable_msvcp60
16901 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
16902 wine_fn_config_dll msvcp70 enable_msvcp70
16903 wine_fn_config_dll msvcp71 enable_msvcp71
16904 wine_fn_config_dll msvcp80 enable_msvcp80
16905 wine_fn_config_dll msvcp90 enable_msvcp90
16906 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
16907 wine_fn_config_dll msvcr100 enable_msvcr100 implib
16908 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
16909 wine_fn_config_dll msvcr110 enable_msvcr110 implib
16910 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16911 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16912 wine_fn_config_dll msvcr80 enable_msvcr80 implib
16913 wine_fn_config_dll msvcr90 enable_msvcr90 implib
16914 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
16915 wine_fn_config_dll msvcrt enable_msvcrt implib
16916 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
16917 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16918 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16919 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16920 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
16921 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
16922 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
16923 wine_fn_config_dll msvidc32 enable_msvidc32 po
16924 wine_fn_config_dll msvideo.dll16 enable_win16
16925 wine_fn_config_dll mswsock enable_mswsock implib
16926 wine_fn_config_dll msxml enable_msxml clean
16927 wine_fn_config_dll msxml2 enable_msxml2 clean
16928 wine_fn_config_dll msxml3 enable_msxml3 clean
16929 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
16930 wine_fn_config_dll msxml4 enable_msxml4 clean
16931 wine_fn_config_dll msxml6 enable_msxml6 clean
16932 wine_fn_config_dll nddeapi enable_nddeapi implib
16933 wine_fn_config_dll netapi32 enable_netapi32 implib
16934 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
16935 wine_fn_config_dll netcfgx enable_netcfgx
16936 wine_fn_config_dll newdev enable_newdev implib
16937 wine_fn_config_dll normaliz enable_normaliz implib
16938 wine_fn_config_dll npmshtml enable_npmshtml
16939 wine_fn_config_dll ntdll enable_ntdll implib
16940 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
16941 wine_fn_config_dll ntdsapi enable_ntdsapi implib
16942 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
16943 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
16944 wine_fn_config_dll ntprint enable_ntprint
16945 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
16946 wine_fn_config_dll objsel enable_objsel clean
16947 wine_fn_config_dll odbc32 enable_odbc32 implib
16948 wine_fn_config_dll odbccp32 enable_odbccp32 implib
16949 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
16950 wine_fn_config_dll odbccu32 enable_odbccu32
16951 wine_fn_config_dll ole2.dll16 enable_win16
16952 wine_fn_config_dll ole2conv.dll16 enable_win16
16953 wine_fn_config_dll ole2disp.dll16 enable_win16
16954 wine_fn_config_dll ole2nls.dll16 enable_win16
16955 wine_fn_config_dll ole2prox.dll16 enable_win16
16956 wine_fn_config_dll ole2thk.dll16 enable_win16
16957 wine_fn_config_dll ole32 enable_ole32 clean
,implib
16958 wine_fn_config_test dlls
/ole32
/tests ole32_test
16959 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
16960 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
16961 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
16962 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
16963 wine_fn_config_dll olecli.dll16 enable_win16
16964 wine_fn_config_dll olecli32 enable_olecli32 implib
16965 wine_fn_config_dll oledb32 enable_oledb32 clean
16966 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
16967 wine_fn_config_dll oledlg enable_oledlg implib
,po
16968 wine_fn_config_dll olepro32 enable_olepro32 implib
16969 wine_fn_config_dll olesvr.dll16 enable_win16
16970 wine_fn_config_dll olesvr32 enable_olesvr32 implib
16971 wine_fn_config_dll olethk32 enable_olethk32
16972 wine_fn_config_dll openal32 enable_openal32
16973 wine_fn_config_dll opencl enable_opencl
16974 wine_fn_config_dll opengl32 enable_opengl32 implib
16975 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
16976 wine_fn_config_dll pdh enable_pdh implib
16977 wine_fn_config_test dlls
/pdh
/tests pdh_test
16978 wine_fn_config_dll photometadatahandler enable_photometadatahandler
16979 wine_fn_config_dll pidgen enable_pidgen
16980 wine_fn_config_dll powrprof enable_powrprof implib
16981 wine_fn_config_dll printui enable_printui
16982 wine_fn_config_dll propsys enable_propsys clean
,implib
16983 wine_fn_config_test dlls
/propsys
/tests propsys_test
16984 wine_fn_config_dll psapi enable_psapi implib
16985 wine_fn_config_test dlls
/psapi
/tests psapi_test
16986 wine_fn_config_dll pstorec enable_pstorec clean
16987 wine_fn_config_dll qcap enable_qcap
16988 wine_fn_config_test dlls
/qcap
/tests qcap_test
16989 wine_fn_config_dll qedit enable_qedit clean
16990 wine_fn_config_test dlls
/qedit
/tests qedit_test
16991 wine_fn_config_dll qmgr enable_qmgr clean
16992 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
16993 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
16994 wine_fn_config_dll quartz enable_quartz clean
,implib
16995 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
16996 wine_fn_config_dll query enable_query
16997 wine_fn_config_dll rasapi16.dll16 enable_win16
16998 wine_fn_config_dll rasapi32 enable_rasapi32 implib
16999 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17000 wine_fn_config_dll rasdlg enable_rasdlg implib
17001 wine_fn_config_dll regapi enable_regapi
17002 wine_fn_config_dll resutils enable_resutils implib
17003 wine_fn_config_dll riched20 enable_riched20 implib
17004 wine_fn_config_test dlls
/riched20
/tests riched20_test
17005 wine_fn_config_dll riched32 enable_riched32
17006 wine_fn_config_test dlls
/riched32
/tests riched32_test
17007 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17008 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17009 wine_fn_config_dll rsabase enable_rsabase
17010 wine_fn_config_dll rsaenh enable_rsaenh implib
17011 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17012 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17013 wine_fn_config_dll rtutils enable_rtutils implib
17014 wine_fn_config_dll samlib enable_samlib
17015 wine_fn_config_dll sane.ds enable_sane_ds po
17016 wine_fn_config_dll scarddlg enable_scarddlg
17017 wine_fn_config_dll sccbase enable_sccbase
17018 wine_fn_config_dll schannel enable_schannel
17019 wine_fn_config_test dlls
/schannel
/tests schannel_test
17020 wine_fn_config_dll scrrun enable_scrrun clean
17021 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17022 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17023 wine_fn_config_dll secur32 enable_secur32 implib
17024 wine_fn_config_test dlls
/secur32
/tests secur32_test
17025 wine_fn_config_dll security enable_security
17026 wine_fn_config_dll sensapi enable_sensapi implib
17027 wine_fn_config_dll serialui enable_serialui implib
,po
17028 wine_fn_config_test dlls
/serialui
/tests serialui_test
17029 wine_fn_config_dll setupapi enable_setupapi implib
,po
17030 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17031 wine_fn_config_dll setupx.dll16 enable_win16
17032 wine_fn_config_dll sfc enable_sfc implib
17033 wine_fn_config_dll sfc_os enable_sfc_os implib
17034 wine_fn_config_dll shdoclc enable_shdoclc po
17035 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17036 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17037 wine_fn_config_dll shell.dll16 enable_win16
17038 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17039 wine_fn_config_test dlls
/shell32
/tests shell32_test
17040 wine_fn_config_dll shfolder enable_shfolder implib
17041 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17042 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17043 wine_fn_config_dll slbcsp enable_slbcsp
17044 wine_fn_config_dll slc enable_slc implib
17045 wine_fn_config_dll snmpapi enable_snmpapi implib
17046 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17047 wine_fn_config_dll softpub enable_softpub
17048 wine_fn_config_dll sound.drv16 enable_win16
17049 wine_fn_config_dll spoolss enable_spoolss implib
17050 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17051 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17052 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17053 wine_fn_config_dll sti enable_sti clean
,implib
17054 wine_fn_config_test dlls
/sti
/tests sti_test
17055 wine_fn_config_dll storage.dll16 enable_win16
17056 wine_fn_config_dll stress.dll16 enable_win16
17057 wine_fn_config_lib strmbase
17058 wine_fn_config_lib strmiids
17059 wine_fn_config_dll svrapi enable_svrapi
17060 wine_fn_config_dll sxs enable_sxs implib
17061 wine_fn_config_test dlls
/sxs
/tests sxs_test
17062 wine_fn_config_dll system.drv16 enable_win16
17063 wine_fn_config_dll t2embed enable_t2embed
17064 wine_fn_config_dll tapi32 enable_tapi32 implib
17065 wine_fn_config_dll taskschd enable_taskschd clean
17066 wine_fn_config_dll toolhelp.dll16 enable_win16
17067 wine_fn_config_dll traffic enable_traffic
17068 wine_fn_config_dll twain.dll16 enable_win16
17069 wine_fn_config_dll twain_32 enable_twain_32
17070 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17071 wine_fn_config_dll typelib.dll16 enable_win16
17072 wine_fn_config_dll unicows enable_unicows implib
17073 wine_fn_config_dll updspapi enable_updspapi
17074 wine_fn_config_dll url enable_url implib
17075 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17076 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17077 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17078 wine_fn_config_dll user.exe16 enable_win16
17079 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17080 wine_fn_config_test dlls
/user32
/tests user32_test
17081 wine_fn_config_dll userenv enable_userenv implib
17082 wine_fn_config_test dlls
/userenv
/tests userenv_test
17083 wine_fn_config_dll usp10 enable_usp10 implib
17084 wine_fn_config_test dlls
/usp10
/tests usp10_test
17085 wine_fn_config_lib uuid
17086 wine_fn_config_dll uxtheme enable_uxtheme implib
17087 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17088 wine_fn_config_dll vbscript enable_vbscript clean
17089 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17090 wine_fn_config_dll vcomp enable_vcomp
17091 wine_fn_config_dll vcomp100 enable_vcomp100
17092 wine_fn_config_dll vcomp90 enable_vcomp90
17093 wine_fn_config_dll vdhcp.vxd enable_win16
17094 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17095 wine_fn_config_dll ver.dll16 enable_win16
17096 wine_fn_config_dll version enable_version implib
17097 wine_fn_config_test dlls
/version
/tests version_test
17098 wine_fn_config_dll vmm.vxd enable_win16
17099 wine_fn_config_dll vnbt.vxd enable_win16
17100 wine_fn_config_dll vnetbios.vxd enable_win16
17101 wine_fn_config_dll vtdapi.vxd enable_win16
17102 wine_fn_config_dll vwin32.vxd enable_win16
17103 wine_fn_config_dll w32skrnl enable_win16
17104 wine_fn_config_dll w32sys.dll16 enable_win16
17105 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17106 wine_fn_config_dll wbemprox enable_wbemprox clean
17107 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17108 wine_fn_config_dll webservices enable_webservices implib
17109 wine_fn_config_dll wer enable_wer implib
17110 wine_fn_config_test dlls
/wer
/tests wer_test
17111 wine_fn_config_dll wevtapi enable_wevtapi
17112 wine_fn_config_dll wiaservc enable_wiaservc clean
17113 wine_fn_config_dll win32s16.dll16 enable_win16
17114 wine_fn_config_dll win87em.dll16 enable_win16
17115 wine_fn_config_dll winaspi.dll16 enable_win16
17116 wine_fn_config_dll windebug.dll16 enable_win16
17117 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17118 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17119 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17120 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17121 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17122 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17123 wine_fn_config_lib winecrt0
17124 wine_fn_config_dll wined3d enable_wined3d implib
17125 wine_fn_config_dll winegstreamer enable_winegstreamer
17126 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17127 wine_fn_config_dll winemac.drv enable_winemac_drv
17128 wine_fn_config_dll winemapi enable_winemapi
17129 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17130 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17131 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17132 wine_fn_config_dll wineps16.drv16 enable_win16
17133 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17134 wine_fn_config_dll winex11.drv enable_winex11_drv
17135 wine_fn_config_dll wing.dll16 enable_win16
17136 wine_fn_config_dll wing32 enable_wing32
17137 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17138 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17139 wine_fn_config_dll wininet enable_wininet implib
,po
17140 wine_fn_config_test dlls
/wininet
/tests wininet_test
17141 wine_fn_config_dll winmm enable_winmm implib
,po
17142 wine_fn_config_test dlls
/winmm
/tests winmm_test
17143 wine_fn_config_dll winnls.dll16 enable_win16
17144 wine_fn_config_dll winnls32 enable_winnls32 implib
17145 wine_fn_config_dll winscard enable_winscard implib
17146 wine_fn_config_dll winsock.dll16 enable_win16
17147 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17148 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17149 wine_fn_config_dll winsta enable_winsta
17150 wine_fn_config_dll wintab.dll16 enable_win16
17151 wine_fn_config_dll wintab32 enable_wintab32 implib
17152 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17153 wine_fn_config_dll wintrust enable_wintrust implib
17154 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17155 wine_fn_config_dll wlanapi enable_wlanapi
17156 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17157 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17158 wine_fn_config_dll wmi enable_wmi
17159 wine_fn_config_dll wmiutils enable_wmiutils clean
17160 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17161 wine_fn_config_dll wmvcore enable_wmvcore
17162 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17163 wine_fn_config_dll wow32 enable_win16 implib
17164 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17165 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17166 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17167 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17168 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17169 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17170 wine_fn_config_dll wsock32 enable_wsock32 implib
17171 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17172 wine_fn_config_dll wuapi enable_wuapi clean
17173 wine_fn_config_dll wuaueng enable_wuaueng
17174 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17175 wine_fn_config_dll xinput1_1 enable_xinput1_1
17176 wine_fn_config_dll xinput1_2 enable_xinput1_2
17177 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17178 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17179 wine_fn_config_dll xinput1_4 enable_xinput1_4
17180 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17181 wine_fn_config_dll xmllite enable_xmllite
17182 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17183 wine_fn_config_dll xolehlp enable_xolehlp
17184 wine_fn_config_dll xpsprint enable_xpsprint
17185 wine_fn_config_dll xpssvcs enable_xpssvcs
17186 wine_fn_config_makefile documentation enable_documentation clean
17187 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17188 wine_fn_config_makefile include enable_include clean
,install-dev
17189 wine_fn_config_makefile libs
/port enable_libs_port
17190 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17191 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17192 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17193 wine_fn_config_program arp enable_arp
install
17194 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17195 wine_fn_config_program attrib enable_attrib
install,po
17196 wine_fn_config_program cabarc enable_cabarc
install
17197 wine_fn_config_program cacls enable_cacls
install
17198 wine_fn_config_program
clock enable_clock
install,po
17199 wine_fn_config_program cmd enable_cmd
install,po
17200 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17201 wine_fn_config_program conhost enable_conhost
install
17202 wine_fn_config_program control enable_control
install
17203 wine_fn_config_program cscript enable_cscript
install
17204 wine_fn_config_program dxdiag enable_dxdiag
install,po
17205 wine_fn_config_program eject enable_eject
install
17206 wine_fn_config_program
expand enable_expand
install
17207 wine_fn_config_program explorer enable_explorer
install,po
17208 wine_fn_config_program extrac32 enable_extrac32
install
17209 wine_fn_config_program findstr enable_findstr
install
17210 wine_fn_config_program hh enable_hh
install
17211 wine_fn_config_program hostname enable_hostname
install,po
17212 wine_fn_config_program icinfo enable_icinfo
install
17213 wine_fn_config_program iexplore enable_iexplore
install
17214 wine_fn_config_program ipconfig enable_ipconfig
install,po
17215 wine_fn_config_program lodctr enable_lodctr
install
17216 wine_fn_config_program mofcomp enable_mofcomp
install
17217 wine_fn_config_program mshta enable_mshta
install
17218 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17219 wine_fn_config_program net enable_net
install,po
17220 wine_fn_config_program netsh enable_netsh
install
17221 wine_fn_config_program netstat enable_netstat
install,po
17222 wine_fn_config_program ngen enable_ngen
install
17223 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17224 wine_fn_config_program oleview enable_oleview
install,po
17225 wine_fn_config_program
ping enable_ping
install
17226 wine_fn_config_program plugplay enable_plugplay
install
17227 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17228 wine_fn_config_program progman enable_progman
install,po
17229 wine_fn_config_program reg enable_reg
install,po
17230 wine_fn_config_program regasm enable_regasm
install
17231 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17232 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17233 wine_fn_config_program regsvcs enable_regsvcs
install
17234 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
17235 wine_fn_config_program rpcss enable_rpcss clean
,install
17236 wine_fn_config_program rundll.exe16 enable_win16
install
17237 wine_fn_config_program rundll32 enable_rundll32
install
17238 wine_fn_config_program sc enable_sc
install
17239 wine_fn_config_program schtasks enable_schtasks
install
17240 wine_fn_config_program secedit enable_secedit
install
17241 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17242 wine_fn_config_program services enable_services clean
,install
17243 wine_fn_config_test programs
/services
/tests services.exe_test
17244 wine_fn_config_program spoolsv enable_spoolsv
install
17245 wine_fn_config_program start enable_start
install,po
17246 wine_fn_config_program svchost enable_svchost
install
17247 wine_fn_config_program taskkill enable_taskkill
install,po
17248 wine_fn_config_program tasklist enable_tasklist
install
17249 wine_fn_config_program taskmgr enable_taskmgr
install,po
17250 wine_fn_config_program termsv enable_termsv
install
17251 wine_fn_config_program uninstaller enable_uninstaller
install,po
17252 wine_fn_config_program unlodctr enable_unlodctr
install
17253 wine_fn_config_program view enable_view
install,po
17254 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17255 wine_fn_config_program winebrowser enable_winebrowser
install
17256 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17257 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17258 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17259 wine_fn_config_program winedevice enable_winedevice
install
17260 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17261 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17262 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17263 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17264 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17265 wine_fn_config_program winetest enable_winetest clean
17266 wine_fn_config_program winevdm enable_win16
install
17267 wine_fn_config_program winhelp.exe16 enable_win16
install
17268 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17269 wine_fn_config_program winoldap.mod16 enable_win16
install
17270 wine_fn_config_program winver enable_winver
install
17271 wine_fn_config_program wmic enable_wmic
install,po
17272 wine_fn_config_program wordpad enable_wordpad
install,po
17273 wine_fn_config_program
write enable_write
install,po
17274 wine_fn_config_program wscript enable_wscript clean
,install
17275 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17276 wine_fn_config_program wusa enable_wusa
install
17277 wine_fn_config_program xcopy enable_xcopy
install,po
17278 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17279 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17280 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17281 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17282 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17283 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17284 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17285 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17286 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17338 wine_fn_ignore_file
".gitignore"
17339 wine_fn_ignore_file
"Makefile"
17340 wine_fn_ignore_file
"TAGS"
17341 wine_fn_ignore_file
"tags"
17342 wine_fn_ignore_file
"autom4te.cache"
17343 wine_fn_ignore_file
"config.cache"
17344 wine_fn_ignore_file
"config.log"
17345 wine_fn_ignore_file
"config.status"
17346 wine_fn_ignore_file
"configure.lineno"
17347 wine_fn_ignore_file
"include/config.h"
17348 wine_fn_ignore_file
"include/stamp-h"
17349 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17351 ac_config_commands
="$ac_config_commands Makefile"
17354 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17358 if test "x$enable_maintainer_mode" = xyes
17360 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17361 autoconf --warnings=all
17362 include/config.h.in: include/stamp-h.in
17363 include/stamp-h.in: configure.ac aclocal.m4
17364 autoheader --warnings=all
17365 @echo timestamp > \$@"
17368 if test "x$with_gettextpo" = xyes
17370 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17371 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17372 \$(LINGUAS:%=po/%.po): po/wine.pot
17373 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17374 po/wine.pot: \$(ALL_POT_FILES)
17375 msgcat -o \$@ \$(ALL_POT_FILES)"
17378 if test "$MSGFMT" != false
17380 PORCFLAGS
="--po-dir=\$(top_builddir)/po"
17382 wine_fn_append_rule
"__builddeps__: \$(ALL_MO_FILES)
17384 \$(RM) \$(ALL_MO_FILES)"
17387 test "$srcdir" = . || posrc
="$srcdir/po"
17390 wine_fn_ignore_file
"po/$i.mo"
17391 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17392 \$(MSGFMT) -o \$@ $posrc/$i.po"
17398 if test "x$enable_tools" != xno
17400 ac_config_commands
="$ac_config_commands tools"
17402 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17403 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h
17404 \$(CC) -Iinclude -I$srcdir/include -D__WINESRC__ \$(EXTRACFLAGS) \$(CPPFLAGS) \$(CFLAGS) -o \$@ $srcdir/tools/makedep.c \$(LDFLAGS)
17406 \$(RM) tools/makedep$ac_exeext"
17408 wine_fn_append_rule
"\$(MAKEDEP):
17409 @echo \"You need to run make in $TOOLSDIR first\" && false"
17412 if test -n "$with_wine64"
17414 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17415 fonts server tools:
17416 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17417 $with_wine64/loader/wine:
17418 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17419 $with_wine64/loader/wine-preloader:
17420 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17422 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17424 as_fn_append LOADER_RULES
"
17427 install install-lib:: wine.inf install-man-pages
17428 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17429 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17432 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17436 if test "$srcdir" = .
17438 ac_config_commands
="$ac_config_commands .gitignore"
17442 $as_echo " done" >&6
17443 cat >confcache
<<\_ACEOF
17444 # This file is a shell script that caches the results of configure
17445 # tests run on this system so they can be shared between configure
17446 # scripts and configure runs, see configure's option --config-cache.
17447 # It is not useful on other systems. If it contains results you don't
17448 # want to keep, you may remove or edit it.
17450 # config.status only pays attention to the cache file if you give it
17451 # the --recheck option to rerun configure.
17453 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17454 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17455 # following values.
17459 # The following way of writing the cache mishandles newlines in values,
17460 # but we know of no workaround that is simple, portable, and efficient.
17461 # So, we kill variables containing newlines.
17462 # Ultrix sh set writes to stderr and can't be redirected directly,
17463 # and sets the high bit in the cache file unless we assign to the vars.
17465 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17466 eval ac_val
=\$
$ac_var
17470 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17471 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17474 _ | IFS | as_nl
) ;; #(
17475 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17476 *) { eval $ac_var=; unset $ac_var;} ;;
17482 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17483 *${as_nl}ac_space
=\
*)
17484 # `set' does not quote correctly, so add quotes: double-quote
17485 # substitution turns \\\\ into \\, and sed turns \\ into \.
17488 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17491 # `set' quotes correctly as required by POSIX, so do not add quotes.
17492 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17501 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17503 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17505 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17506 if test -w "$cache_file"; then
17507 if test "x$cache_file" != "x/dev/null"; then
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17509 $as_echo "$as_me: updating cache $cache_file" >&6;}
17510 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17511 cat confcache
>"$cache_file"
17513 case $cache_file in #(
17515 mv -f confcache
"$cache_file"$$
&&
17516 mv -f "$cache_file"$$
"$cache_file" ;; #(
17518 mv -f confcache
"$cache_file" ;;
17523 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17524 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17529 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17530 # Let make expand exec_prefix.
17531 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17533 DEFS
=-DHAVE_CONFIG_H
17538 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17539 # 1. Remove the extension, and $U if already installed.
17540 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17541 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17542 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17543 # will be set to the directory where LIBOBJS objects are built.
17544 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17545 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17547 LIBOBJS
=$ac_libobjs
17549 LTLIBOBJS
=$ac_ltlibobjs
17553 : "${CONFIG_STATUS=./config.status}"
17555 ac_clean_files_save
=$ac_clean_files
17556 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17557 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17558 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17560 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17562 # Generated by $as_me.
17563 # Run this file to recreate the current configuration.
17564 # Compiler output produced by configure, useful for debugging
17565 # configure, is in config.log if it exists.
17568 ac_cs_recheck=false
17571 SHELL=\${CONFIG_SHELL-$SHELL}
17574 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17575 ## -------------------- ##
17576 ## M4sh Initialization. ##
17577 ## -------------------- ##
17579 # Be more Bourne compatible
17580 DUALCASE
=1; export DUALCASE
# for MKS sh
17581 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17584 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17585 # is contrary to our usage. Disable this feature.
17586 alias -g '${1+"$@"}'='"$@"'
17587 setopt NO_GLOB_SUBST
17589 case `(set -o) 2>/dev/null` in #(
17601 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17602 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17603 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17604 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17605 # Prefer a ksh shell builtin over an external printf program on Solaris,
17606 # but without wasting forks for bash or zsh.
17607 if test -z "$BASH_VERSION$ZSH_VERSION" \
17608 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17609 as_echo='print
-r --'
17610 as_echo_n='print
-rn --'
17611 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17612 as_echo='printf %s
\n'
17613 as_echo_n='printf %s
'
17615 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17616 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17617 as_echo_n='/usr
/ucb
/echo -n'
17619 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17620 as_echo_n_body='eval
17624 expr "X$arg" : "X\\(.*\\)$as_nl";
17625 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17627 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17629 export as_echo_n_body
17630 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17632 export as_echo_body
17633 as_echo='sh
-c $as_echo_body as_echo
'
17636 # The user is always right.
17637 if test "${PATH_SEPARATOR+set}" != set; then
17639 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17640 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17647 # We need space, tab and new line, in precisely that order. Quoting is
17648 # there to prevent editors from complaining about space-tab.
17649 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17650 # splitting by setting IFS to empty value.)
17653 # Find who we are. Look in the path if we contain no directory separator.
17656 *[\\/]* ) as_myself=$0 ;;
17657 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17658 for as_dir in $PATH
17661 test -z "$as_dir" && as_dir=.
17662 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17668 # We did not find ourselves, most probably we were run as `sh COMMAND'
17669 # in which case we are not to be found in the path.
17670 if test "x$as_myself" = x
; then
17673 if test ! -f "$as_myself"; then
17674 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17678 # Unset variables that we do not need and which cause bugs (e.g. in
17679 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17680 # suppresses any "Segmentation fault" message there. '((' could
17681 # trigger a bug in pdksh 5.2.14.
17682 for as_var
in BASH_ENV ENV MAIL MAILPATH
17683 do eval test x\
${$as_var+set} = xset \
17684 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17697 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17700 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17701 # ----------------------------------------
17702 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17703 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17704 # script with STATUS, using 1 if that was 0.
17707 as_status
=$1; test $as_status -eq 0 && as_status
=1
17709 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17710 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17712 $as_echo "$as_me: error: $2" >&2
17713 as_fn_exit
$as_status
17717 # as_fn_set_status STATUS
17718 # -----------------------
17719 # Set $? to STATUS, without forking.
17720 as_fn_set_status
()
17723 } # as_fn_set_status
17725 # as_fn_exit STATUS
17726 # -----------------
17727 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17731 as_fn_set_status
$1
17737 # Portably unset VAR.
17740 { eval $1=; unset $1;}
17742 as_unset
=as_fn_unset
17743 # as_fn_append VAR VALUE
17744 # ----------------------
17745 # Append the text in VALUE to the end of the definition contained in VAR. Take
17746 # advantage of any shell optimizations that allow amortized linear growth over
17747 # repeated appends, instead of the typical quadratic growth present in naive
17749 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17750 eval 'as_fn_append ()
17761 # as_fn_arith ARG...
17762 # ------------------
17763 # Perform arithmetic evaluation on the ARGs, and store the result in the
17764 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17765 # must be portable across $(()) and expr.
17766 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17767 eval 'as_fn_arith ()
17774 as_val
=`expr "$@" || test $? -eq 1`
17779 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17780 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17786 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17787 as_basename
=basename
17792 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17798 as_me
=`$as_basename -- "$0" ||
17799 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17800 X"$0" : 'X\(//\)$' \| \
17801 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17803 sed '/^.*\/\([^/][^/]*\)\/*$/{
17817 # Avoid depending upon Character Ranges.
17818 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17819 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17820 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17821 as_cr_digits
='0123456789'
17822 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17824 ECHO_C
= ECHO_N
= ECHO_T
=
17825 case `echo -n x` in #(((((
17827 case `echo 'xy\c'` in
17828 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17830 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17837 rm -f conf$$ conf$$.exe conf$$.
file
17838 if test -d conf$$.dir
; then
17839 rm -f conf$$.dir
/conf$$.
file
17842 mkdir conf$$.dir
2>/dev
/null
17844 if (echo >conf$$.
file) 2>/dev
/null
; then
17845 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17847 # ... but there are two gotchas:
17848 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17849 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17850 # In both cases, we have to default to `cp -pR'.
17851 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17853 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17861 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17862 rmdir conf$$.dir
2>/dev
/null
17867 # Create "$as_dir" as a directory, including parents if necessary.
17872 -*) as_dir
=.
/$as_dir;;
17874 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17878 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17879 *) as_qdir
=$as_dir;;
17881 as_dirs
="'$as_qdir' $as_dirs"
17882 as_dir
=`$as_dirname -- "$as_dir" ||
17883 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17884 X"$as_dir" : 'X\(//\)[^/]' \| \
17885 X"$as_dir" : 'X\(//\)$' \| \
17886 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17887 $as_echo X"$as_dir" |
17888 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17892 /^X\(\/\/\)[^/].*/{
17905 test -d "$as_dir" && break
17907 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17908 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17912 if mkdir
-p .
2>/dev
/null
; then
17913 as_mkdir_p
='mkdir -p "$as_dir"'
17915 test -d .
/-p && rmdir .
/-p
17920 # as_fn_executable_p FILE
17921 # -----------------------
17922 # Test if FILE is an executable regular file.
17923 as_fn_executable_p
()
17925 test -f "$1" && test -x "$1"
17926 } # as_fn_executable_p
17927 as_test_x
='test -x'
17928 as_executable_p
=as_fn_executable_p
17930 # Sed expression to map a string onto a valid CPP name.
17931 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17933 # Sed expression to map a string onto a valid variable name.
17934 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17938 ## ----------------------------------- ##
17939 ## Main body of $CONFIG_STATUS script. ##
17940 ## ----------------------------------- ##
17942 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17944 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17945 # Save the log message, to keep $0 and so on meaningful, and to
17946 # report actual input values of CONFIG_FILES etc. instead of their
17947 # values after options handling.
17949 This file was extended by Wine $as_me 1.7.10, which was
17950 generated by GNU Autoconf 2.69. Invocation command line was
17952 CONFIG_FILES = $CONFIG_FILES
17953 CONFIG_HEADERS = $CONFIG_HEADERS
17954 CONFIG_LINKS = $CONFIG_LINKS
17955 CONFIG_COMMANDS = $CONFIG_COMMANDS
17958 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17963 case $ac_config_files in *"
17964 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17967 case $ac_config_headers in *"
17968 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17973 # Files that config.status was made for.
17974 config_files="$ac_config_files"
17975 config_headers="$ac_config_headers"
17976 config_links="$ac_config_links"
17977 config_commands="$ac_config_commands"
17981 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17983 \`$as_me' instantiates files and other configuration actions
17984 from templates according to the current configuration. Unless the files
17985 and actions are specified as TAGs, all are instantiated by default.
17987 Usage: $0 [OPTION]... [TAG]...
17989 -h, --help print this help, then exit
17990 -V, --version print version number and configuration settings, then exit
17991 --config print configuration, then exit
17992 -q, --quiet, --silent
17993 do not print progress messages
17994 -d, --debug don't remove temporary files
17995 --recheck update $as_me by reconfiguring in the same conditions
17996 --file=FILE[:TEMPLATE]
17997 instantiate the configuration file FILE
17998 --header=FILE[:TEMPLATE]
17999 instantiate the configuration header FILE
18001 Configuration files:
18004 Configuration headers:
18007 Configuration links:
18010 Configuration commands:
18013 Report bugs to <wine-devel@winehq.org>.
18014 Wine home page: <http://www.winehq.org>."
18017 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18018 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18020 Wine config.status 1.7.10
18021 configured by $0, generated by GNU Autoconf 2.69,
18022 with options \\"\$ac_cs_config\\"
18024 Copyright (C) 2012 Free Software Foundation, Inc.
18025 This config.status script is free software; the Free Software Foundation
18026 gives unlimited permission to copy, distribute and modify it."
18031 test -n "\$AWK" || AWK=awk
18034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18035 # The default lists apply if the user does not specify any file.
18041 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18042 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18046 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18058 # Handling of the options.
18059 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18061 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18062 $as_echo "$ac_cs_version"; exit ;;
18063 --config |
--confi |
--conf |
--con |
--co |
--c )
18064 $as_echo "$ac_cs_config"; exit ;;
18065 --debug |
--debu |
--deb |
--de |
--d |
-d )
18067 --file |
--fil |
--fi |
--f )
18070 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18071 '') as_fn_error $?
"missing file argument" ;;
18073 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18074 ac_need_defaults
=false
;;
18075 --header |
--heade |
--head |
--hea )
18078 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18080 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18081 ac_need_defaults
=false
;;
18083 # Conflict between --help and --header
18084 as_fn_error $?
"ambiguous option: \`$1'
18085 Try \`$0 --help' for more information.";;
18086 --help |
--hel |
-h )
18087 $as_echo "$ac_cs_usage"; exit ;;
18088 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18089 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18092 # This is an error.
18093 -*) as_fn_error $?
"unrecognized option: \`$1'
18094 Try \`$0 --help' for more information." ;;
18096 *) as_fn_append ac_config_targets
" $1"
18097 ac_need_defaults
=false
;;
18103 ac_configure_extra_args
=
18105 if $ac_cs_silent; then
18107 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18112 if \$ac_cs_recheck; then
18113 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18115 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18116 CONFIG_SHELL='$SHELL'
18117 export CONFIG_SHELL
18122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18126 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18127 ## Running $as_me. ##
18133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18137 wine_fn_output_makefile ()
18139 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18140 `cat $wine_rules_file`
18142 as_fn_error $? "could not create Makefile" "$LINENO" 5
18144 wine_fn_output_gitignore ()
18146 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18149 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18156 # Handling of arguments.
18157 for ac_config_target
in $ac_config_targets
18159 case $ac_config_target in
18160 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18161 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18162 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18163 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18164 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18165 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18166 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18167 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18168 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18169 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18170 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
18171 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18172 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18173 "tools") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools" ;;
18174 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18176 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18181 # If the user did not use the arguments to specify the items to instantiate,
18182 # then the envvar interface is used. Set only those that are not.
18183 # We use the long form for the default assignment because of an extremely
18184 # bizarre bug on SunOS 4.1.3.
18185 if $ac_need_defaults; then
18186 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18187 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18188 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18189 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18192 # Have a temporary directory for convenience. Make it in the build tree
18193 # simply because there is no reason against having it here, and in addition,
18194 # creating and moving files from /tmp can sometimes cause problems.
18195 # Hook for its removal unless debugging.
18196 # Note that there is a small window in which the directory will not be cleaned:
18197 # after its creation but before its name has been assigned to `$tmp'.
18201 trap 'exit_status=$?
18202 : "${ac_tmp:=$tmp}"
18203 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18205 trap 'as_fn_exit 1' 1 2 13 15
18207 # Create a (secure) tmp directory for tmp files.
18210 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18214 tmp
=.
/conf$$
-$RANDOM
18215 (umask 077 && mkdir
"$tmp")
18216 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18219 # Set up the scripts for CONFIG_FILES section.
18220 # No need to generate them if there are no CONFIG_FILES.
18221 # This happens for instance with `./config.status config.h'.
18222 if test -n "$CONFIG_FILES"; then
18224 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
18225 ac_cs_awk_getline
=:
18226 ac_cs_awk_pipe_init
=
18227 ac_cs_awk_read_file
='
18228 while ((getline aline < (F[key])) > 0)
18231 ac_cs_awk_pipe_fini
=
18233 ac_cs_awk_getline
=false
18234 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
18235 ac_cs_awk_read_file
='
18237 print "cat " F[key] " &&"
18238 '$ac_cs_awk_pipe_init
18239 # The final `:' finishes the AND list.
18240 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
18242 ac_cr
=`echo X | tr X '\015'`
18243 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18244 # But we know of no other shell where ac_cr would be empty at this
18245 # point, so we can use a bashism as a fallback.
18246 if test "x$ac_cr" = x
; then
18247 eval ac_cr
=\$
\'\\r
\'
18249 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18250 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18253 ac_cs_awk_cr
=$ac_cr
18256 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18259 # Create commands to substitute file output variables.
18261 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
18262 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
18263 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
18266 } >conf$
$files.sh
&&
18267 . .
/conf$
$files.sh ||
18268 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
18269 rm -f conf$
$files.sh
18272 echo "cat >conf$$subs.awk <<_ACEOF" &&
18273 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18275 } >conf$$subs.sh ||
18276 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18277 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18279 for ac_last_try in false false false false false :; do
18280 . ./conf$$subs.sh ||
18281 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18283 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18284 if test $ac_delim_n = $ac_delim_num; then
18286 elif $ac_last_try; then
18287 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18289 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18292 rm -f conf$$subs.sh
18294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18295 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18299 s/^/S["/; s
/!.
*/"]=/
18309 s/\(.\{148\}\)..*/\1/
18311 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18316 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18323 s/\(.\{148\}\)..*/\1/
18325 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18329 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18334 ' <conf$$subs.awk | sed '
18339 ' >>$CONFIG_STATUS || ac_write_fail=1
18340 rm -f conf$$subs.awk
18341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18343 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18344 for (key in S) S_is_set[key] = 1
18346 \$ac_cs_awk_pipe_init
18350 nfields = split(line, field, "@
")
18352 len = length(field[1])
18353 for (i = 2; i < nfields; i++) {
18355 keylen = length(key)
18356 if (S_is_set[key]) {
18358 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18359 len += length(value) + length(field[++i])
18364 if (nfields == 3 && !substed) {
18366 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
18367 \$ac_cs_awk_read_file
18373 \$ac_cs_awk_pipe_fini
18376 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18377 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18378 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18381 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18382 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18385 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18386 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18387 # trailing colons and then remove the whole line if VPATH becomes empty
18388 # (actually we leave an empty line to preserve line numbers).
18389 if test "x
$srcdir" = x.; then
18390 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18408 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18409 fi # test -n "$CONFIG_FILES"
18411 # Set up the scripts for CONFIG_HEADERS section.
18412 # No need to generate them if there are no CONFIG_HEADERS.
18413 # This happens for instance with `./config.status Makefile'.
18414 if test -n "$CONFIG_HEADERS"; then
18415 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18419 # Transform confdefs.h into an awk script `defines.awk', embedded as
18420 # here-document in config.status, that substitutes the proper values into
18421 # config.h.in to produce config.h.
18423 # Create a delimiter string that does not exist in confdefs.h, to ease
18424 # handling of long lines.
18426 for ac_last_try in false false :; do
18427 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18428 if test -z "$ac_tt"; then
18430 elif $ac_last_try; then
18431 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18433 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18437 # For the awk script, D is an array of macro values keyed by name,
18438 # likewise P contains macro parameters if any. Preserve backslash
18439 # newline sequences.
18441 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18443 s/.\{148\}/&'"$ac_delim"'/g
18446 s/^[ ]*#[ ]*define[ ][ ]*/ /
18453 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18455 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18459 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18460 D["\
1"]=" \
3\\\\\\n
"\\/p
18462 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18467 s/.\{148\}/&'"$ac_delim"'/g
18472 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18475 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18477 ' <confdefs.h | sed '
18478 s/'"$ac_delim"'/"\\\
18479 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18482 for (key in D) D_is_set[key] = 1
18485 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18487 split(line, arg, " ")
18488 if (arg[1] == "#") {
18492 defundef
= substr
(arg
[1], 2)
18495 split(mac1
, mac2
, "(") #)
18497 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18498 if (D_is_set
[macro
]) {
18499 # Preserve the white space surrounding the "#".
18500 print prefix
"define", macro P
[macro
] D
[macro
]
18503 # Replace #undef with comments. This is necessary, for example,
18504 # in the case of _POSIX_SOURCE, which is predefined and required
18505 # on some systems where configure will not decide to define it.
18506 if (defundef
== "undef") {
18507 print
"/*", prefix defundef
, macro
, "*/"
18515 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18516 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18517 fi # test -n "$CONFIG_HEADERS"
18520 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18525 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18527 case $ac_mode$ac_tag in
18529 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18530 :[FH
]-) ac_tag
=-:-;;
18531 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18548 -) ac_f
="$ac_tmp/stdin";;
18549 *) # Look for the file first in the build tree, then in the source tree
18550 # (if the path is not absolute). The absolute path cannot be DOS-style,
18551 # because $ac_f cannot contain `:'.
18555 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18557 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18559 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18560 as_fn_append ac_file_inputs
" '$ac_f'"
18563 # Let's still pretend it is `configure' which instantiates (i.e., don't
18564 # use $as_me), people would be surprised to read:
18565 # /* config.h. Generated by config.status. */
18566 configure_input
='Generated from '`
18567 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18569 if test x
"$ac_file" != x-
; then
18570 configure_input
="$ac_file. $configure_input"
18571 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18572 $as_echo "$as_me: creating $ac_file" >&6;}
18574 # Neutralize special characters interpreted by sed in replacement strings.
18575 case $configure_input in #(
18576 *\
&* |
*\|
* |
*\\* )
18577 ac_sed_conf_input
=`$as_echo "$configure_input" |
18578 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18579 *) ac_sed_conf_input
=$configure_input;;
18583 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18584 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18589 ac_dir
=`$as_dirname -- "$ac_file" ||
18590 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18591 X"$ac_file" : 'X\(//\)[^/]' \| \
18592 X"$ac_file" : 'X\(//\)$' \| \
18593 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18594 $as_echo X"$ac_file" |
18595 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18599 /^X\(\/\/\)[^/].*/{
18612 as_dir
="$ac_dir"; as_fn_mkdir_p
18616 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18618 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18619 # A ".." for each directory in $ac_dir_suffix.
18620 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18621 case $ac_top_builddir_sub in
18622 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18623 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18626 ac_abs_top_builddir
=$ac_pwd
18627 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18628 # for backward compatibility:
18629 ac_top_builddir
=$ac_top_build_prefix
18632 .
) # We are building in place.
18634 ac_top_srcdir
=$ac_top_builddir_sub
18635 ac_abs_top_srcdir
=$ac_pwd ;;
18636 [\\/]* | ?
:[\\/]* ) # Absolute name.
18637 ac_srcdir
=$srcdir$ac_dir_suffix;
18638 ac_top_srcdir
=$srcdir
18639 ac_abs_top_srcdir
=$srcdir ;;
18640 *) # Relative name.
18641 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18642 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18643 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18645 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18654 ac_MKDIR_P
=$MKDIR_P
18656 [\\/$
]* | ?
:[\\/]* ) ;;
18657 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18661 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18662 # If the template does not know about datarootdir, expand it.
18663 # FIXME: This hack should be removed a few years after 2.60.
18664 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18675 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18676 *datarootdir
*) ac_datarootdir_seen
=yes;;
18677 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18679 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18681 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18682 ac_datarootdir_hack='
18683 s&@datadir@&$datadir&g
18684 s&@docdir@&$docdir&g
18685 s&@infodir@&$infodir&g
18686 s&@localedir@&$localedir&g
18687 s&@mandir@&$mandir&g
18688 s&\\\${datarootdir}&$datarootdir&g' ;;
18692 # Neutralize VPATH when `$srcdir' = `.'.
18693 # Shell code in configure.ac might set extrasub.
18694 # FIXME: do we really want to maintain this feature?
18695 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18696 ac_sed_extra="$ac_vpsub
18699 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18701 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18702 s|@configure_input@|
$ac_sed_conf_input|
;t t
18703 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18704 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18705 s
&@srcdir@
&$ac_srcdir&;t t
18706 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18707 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18708 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18709 s
&@builddir@
&$ac_builddir&;t t
18710 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18711 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18712 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18713 $ac_datarootdir_hack
18715 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18716 if $ac_cs_awk_getline; then
18717 $AWK -f "$ac_tmp/subs.
awk"
18719 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
18721 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18723 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18724 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18725 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18726 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18728 which seems to be undefined. Please make sure it is defined" >&5
18729 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18730 which seems to be undefined. Please make sure it is defined" >&2;}
18732 rm -f "$ac_tmp/stdin"
18734 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18735 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18737 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18743 if test x"$ac_file" != x-; then
18745 $as_echo "/* $configure_input */" \
18746 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18747 } >"$ac_tmp/config.h" \
18748 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18749 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18750 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18751 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18754 mv "$ac_tmp/config.h" "$ac_file" \
18755 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18758 $as_echo "/* $configure_input */" \
18759 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18760 || as_fn_error $? "could not create -" "$LINENO" 5
18768 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18771 # Prefer the file from the source tree if names are identical.
18772 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18773 ac_source=$srcdir/$ac_source
18776 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18777 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18779 if test ! -r "$ac_source"; then
18780 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18784 # Try a relative symlink, then a hard link, then a copy.
18786 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18787 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18789 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18790 ln "$ac_source" "$ac_file" 2>/dev/null ||
18791 cp -p "$ac_source" "$ac_file" ||
18792 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18795 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18796 $as_echo "$as_me: executing $ac_file commands" >&6;}
18801 case $ac_file$ac_mode in
18802 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18803 "Makefile":C) wine_fn_output_makefile Makefile ;;
18804 "tools":C) as_dir=tools; as_fn_mkdir_p ;;
18805 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18813 ac_clean_files=$ac_clean_files_save
18815 test $ac_write_fail = 0 ||
18816 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18819 # configure is writing to config.log, and then calls config.status.
18820 # config.status does its own redirection, appending to config.log.
18821 # Unfortunately, on DOS this fails, as config.log is still kept open
18822 # by configure, so config.status won't be able to
write to it
; its
18823 # output is simply discarded. So we exec the FD to /dev/null,
18824 # effectively closing config.log, so it can be properly (re)opened and
18825 # appended to by config.status. When coming back to configure, we
18826 # need to make the FD available again.
18827 if test "$no_create" != yes; then
18829 ac_config_status_args
=
18830 test "$silent" = yes &&
18831 ac_config_status_args
="$ac_config_status_args --quiet"
18833 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18835 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18836 # would make configure fail if this is the last instruction.
18837 $ac_cs_success || as_fn_exit
1
18839 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18841 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18845 if test "$no_create" = "yes"
18851 if test "x$wine_notices != "x
; then
18854 for msg
in $wine_notices; do
18856 if test -n "$msg"; then
18857 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18858 $as_echo "$as_me: $msg" >&6;}
18863 for msg
in $wine_warnings; do
18865 if test -n "$msg"; then
18867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18868 $as_echo "$as_me: WARNING: $msg" >&2;}
18874 $as_me: Finished. Do '${ac_make}' to compile Wine.