2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.11.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='wine'
583 PACKAGE_VERSION
='1.7.11'
584 PACKAGE_STRING
='Wine 1.7.11'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
697 APPLICATIONSERVICES_LIBS
781 program_transform_name
794 enable_option_checking
798 enable_maintainer_mode
854 enable_api_ms_win_core_com_l1_1_0
855 enable_api_ms_win_core_console_l1_1_0
856 enable_api_ms_win_core_debug_l1_1_1
857 enable_api_ms_win_core_errorhandling_l1_1_1
858 enable_api_ms_win_core_file_l1_2_0
859 enable_api_ms_win_core_handle_l1_1_0
860 enable_api_ms_win_core_heap_l1_2_0
861 enable_api_ms_win_core_heap_obsolete_l1_1_0
862 enable_api_ms_win_core_interlocked_l1_2_0
863 enable_api_ms_win_core_io_l1_1_1
864 enable_api_ms_win_core_kernel32_legacy_l1_1_0
865 enable_api_ms_win_core_libraryloader_l1_1_1
866 enable_api_ms_win_core_localization_l1_2_0
867 enable_api_ms_win_core_localization_obsolete_l1_1_0
868 enable_api_ms_win_core_localregistry_l1_1_0
869 enable_api_ms_win_core_memory_l1_1_1
870 enable_api_ms_win_core_namedpipe_l1_2_0
871 enable_api_ms_win_core_processenvironment_l1_2_0
872 enable_api_ms_win_core_processthreads_l1_1_0
873 enable_api_ms_win_core_processthreads_l1_1_1
874 enable_api_ms_win_core_profile_l1_1_0
875 enable_api_ms_win_core_psapi_l1_1_0
876 enable_api_ms_win_core_registry_l1_1_0
877 enable_api_ms_win_core_string_l1_1_0
878 enable_api_ms_win_core_synch_l1_2_0
879 enable_api_ms_win_core_sysinfo_l1_2_0
880 enable_api_ms_win_core_util_l1_1_0
881 enable_api_ms_win_core_winrt_error_l1_1_0
882 enable_api_ms_win_core_winrt_string_l1_1_0
883 enable_api_ms_win_downlevel_advapi32_l1_1_0
884 enable_api_ms_win_downlevel_advapi32_l2_1_0
885 enable_api_ms_win_downlevel_normaliz_l1_1_0
886 enable_api_ms_win_downlevel_ole32_l1_1_0
887 enable_api_ms_win_downlevel_shell32_l1_1_0
888 enable_api_ms_win_downlevel_shlwapi_l1_1_0
889 enable_api_ms_win_downlevel_shlwapi_l2_1_0
890 enable_api_ms_win_downlevel_user32_l1_1_0
891 enable_api_ms_win_downlevel_version_l1_1_0
892 enable_api_ms_win_ntuser_dc_access_l1_1_0
893 enable_api_ms_win_security_base_l1_1_0
931 enable_d3dcompiler_33
932 enable_d3dcompiler_34
933 enable_d3dcompiler_35
934 enable_d3dcompiler_36
935 enable_d3dcompiler_37
936 enable_d3dcompiler_38
937 enable_d3dcompiler_39
938 enable_d3dcompiler_40
939 enable_d3dcompiler_41
940 enable_d3dcompiler_42
941 enable_d3dcompiler_43
1014 enable_explorerframe
1015 enable_ext_ms_win_gdi_devcaps_l1_1_0
1154 enable_photometadatahandler
1233 enable_windowscodecs
1234 enable_windowscodecsext
1236 enable_winecoreaudio_drv
1238 enable_winegstreamer
1239 enable_winejoystick_drv
1245 enable_wineqtdecoder
1281 enable_documentation
1289 enable_aspnet_regiis
1321 enable_presentationfontcache
1333 enable_servicemodelreg
1352 enable_winemenubuilder
1354 enable_winemsibuilder
1368 ac_precious_vars
='build_alias
1417 # Initialize some variables set by options.
1419 ac_init_version
=false
1420 ac_unrecognized_opts
=
1421 ac_unrecognized_sep
=
1422 # The variables have the same names as the options, with
1423 # dashes changed to underlines.
1424 cache_file
=/dev
/null
1431 program_transform_name
=s
,x
,x
,
1439 # Installation directory options.
1440 # These are left unexpanded so users can "make install exec_prefix=/foo"
1441 # and all the variables that are supposed to be based on exec_prefix
1442 # by default will actually change.
1443 # Use braces instead of parens because sh, perl, etc. also accept them.
1444 # (The list follows the same order as the GNU Coding Standards.)
1445 bindir
='${exec_prefix}/bin'
1446 sbindir
='${exec_prefix}/sbin'
1447 libexecdir
='${exec_prefix}/libexec'
1448 datarootdir
='${prefix}/share'
1449 datadir
='${datarootdir}'
1450 sysconfdir
='${prefix}/etc'
1451 sharedstatedir
='${prefix}/com'
1452 localstatedir
='${prefix}/var'
1453 includedir
='${prefix}/include'
1454 oldincludedir
='/usr/include'
1455 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1456 infodir
='${datarootdir}/info'
1461 libdir
='${exec_prefix}/lib'
1462 localedir
='${datarootdir}/locale'
1463 mandir
='${datarootdir}/man'
1469 # If the previous option needs an argument, assign it.
1470 if test -n "$ac_prev"; then
1471 eval $ac_prev=\
$ac_option
1477 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1482 # Accept the important Cygnus configure options, so we can diagnose typos.
1484 case $ac_dashdash$ac_option in
1488 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1490 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1491 bindir
=$ac_optarg ;;
1493 -build |
--build |
--buil |
--bui |
--bu)
1494 ac_prev
=build_alias
;;
1495 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1496 build_alias
=$ac_optarg ;;
1498 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1499 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1500 ac_prev
=cache_file
;;
1501 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1502 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1503 cache_file
=$ac_optarg ;;
1505 --config-cache |
-C)
1506 cache_file
=config.cache
;;
1508 -datadir |
--datadir |
--datadi |
--datad)
1510 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1511 datadir
=$ac_optarg ;;
1513 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1514 |
--dataroo |
--dataro |
--datar)
1515 ac_prev
=datarootdir
;;
1516 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1517 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1518 datarootdir
=$ac_optarg ;;
1520 -disable-* |
--disable-*)
1521 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1522 # Reject names that are not valid shell variable names.
1523 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1524 as_fn_error $?
"invalid feature name: $ac_useropt"
1525 ac_useropt_orig
=$ac_useropt
1526 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1527 case $ac_user_opts in
1529 "enable_
$ac_useropt"
1531 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1532 ac_unrecognized_sep
=', ';;
1534 eval enable_
$ac_useropt=no
;;
1536 -docdir |
--docdir |
--docdi |
--doc |
--do)
1538 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1539 docdir
=$ac_optarg ;;
1541 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1543 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1544 dvidir
=$ac_optarg ;;
1546 -enable-* |
--enable-*)
1547 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1548 # Reject names that are not valid shell variable names.
1549 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1550 as_fn_error $?
"invalid feature name: $ac_useropt"
1551 ac_useropt_orig
=$ac_useropt
1552 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1553 case $ac_user_opts in
1555 "enable_
$ac_useropt"
1557 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1558 ac_unrecognized_sep
=', ';;
1560 eval enable_
$ac_useropt=\
$ac_optarg ;;
1562 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1563 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1564 |
--exec |
--exe |
--ex)
1565 ac_prev
=exec_prefix
;;
1566 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1567 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1568 |
--exec=* |
--exe=* |
--ex=*)
1569 exec_prefix
=$ac_optarg ;;
1571 -gas |
--gas |
--ga |
--g)
1572 # Obsolete; use --with-gas.
1575 -help |
--help |
--hel |
--he |
-h)
1576 ac_init_help
=long
;;
1577 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1578 ac_init_help
=recursive
;;
1579 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1580 ac_init_help
=short
;;
1582 -host |
--host |
--hos |
--ho)
1583 ac_prev
=host_alias
;;
1584 -host=* |
--host=* |
--hos=* |
--ho=*)
1585 host_alias
=$ac_optarg ;;
1587 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1589 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1591 htmldir
=$ac_optarg ;;
1593 -includedir |
--includedir |
--includedi |
--included |
--include \
1594 |
--includ |
--inclu |
--incl |
--inc)
1595 ac_prev
=includedir
;;
1596 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1597 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1598 includedir
=$ac_optarg ;;
1600 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1602 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1603 infodir
=$ac_optarg ;;
1605 -libdir |
--libdir |
--libdi |
--libd)
1607 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1608 libdir
=$ac_optarg ;;
1610 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1611 |
--libexe |
--libex |
--libe)
1612 ac_prev
=libexecdir
;;
1613 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1614 |
--libexe=* |
--libex=* |
--libe=*)
1615 libexecdir
=$ac_optarg ;;
1617 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1618 ac_prev
=localedir
;;
1619 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1620 localedir
=$ac_optarg ;;
1622 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1623 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1624 ac_prev
=localstatedir
;;
1625 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1626 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1627 localstatedir
=$ac_optarg ;;
1629 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1631 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1632 mandir
=$ac_optarg ;;
1634 -nfp |
--nfp |
--nf)
1635 # Obsolete; use --without-fp.
1638 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1639 |
--no-cr |
--no-c |
-n)
1642 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1643 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1646 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1647 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1648 |
--oldin |
--oldi |
--old |
--ol |
--o)
1649 ac_prev
=oldincludedir
;;
1650 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1651 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1652 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1653 oldincludedir
=$ac_optarg ;;
1655 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1657 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1658 prefix
=$ac_optarg ;;
1660 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1661 |
--program-pre |
--program-pr |
--program-p)
1662 ac_prev
=program_prefix
;;
1663 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1664 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1665 program_prefix
=$ac_optarg ;;
1667 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1668 |
--program-suf |
--program-su |
--program-s)
1669 ac_prev
=program_suffix
;;
1670 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1671 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1672 program_suffix
=$ac_optarg ;;
1674 -program-transform-name |
--program-transform-name \
1675 |
--program-transform-nam |
--program-transform-na \
1676 |
--program-transform-n |
--program-transform- \
1677 |
--program-transform |
--program-transfor \
1678 |
--program-transfo |
--program-transf \
1679 |
--program-trans |
--program-tran \
1680 |
--progr-tra |
--program-tr |
--program-t)
1681 ac_prev
=program_transform_name
;;
1682 -program-transform-name=* |
--program-transform-name=* \
1683 |
--program-transform-nam=* |
--program-transform-na=* \
1684 |
--program-transform-n=* |
--program-transform-=* \
1685 |
--program-transform=* |
--program-transfor=* \
1686 |
--program-transfo=* |
--program-transf=* \
1687 |
--program-trans=* |
--program-tran=* \
1688 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1689 program_transform_name
=$ac_optarg ;;
1691 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1693 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1694 pdfdir
=$ac_optarg ;;
1696 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1698 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1701 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1702 |
-silent |
--silent |
--silen |
--sile |
--sil)
1705 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1707 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1709 sbindir
=$ac_optarg ;;
1711 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1712 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1713 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1715 ac_prev
=sharedstatedir
;;
1716 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1717 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1718 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1720 sharedstatedir
=$ac_optarg ;;
1722 -site |
--site |
--sit)
1724 -site=* |
--site=* |
--sit=*)
1727 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1729 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1730 srcdir
=$ac_optarg ;;
1732 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1733 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1734 ac_prev
=sysconfdir
;;
1735 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1736 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1737 sysconfdir
=$ac_optarg ;;
1739 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1740 ac_prev
=target_alias
;;
1741 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1742 target_alias
=$ac_optarg ;;
1744 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1747 -version |
--version |
--versio |
--versi |
--vers |
-V)
1748 ac_init_version
=: ;;
1751 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1752 # Reject names that are not valid shell variable names.
1753 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1754 as_fn_error $?
"invalid package name: $ac_useropt"
1755 ac_useropt_orig
=$ac_useropt
1756 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1757 case $ac_user_opts in
1761 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1762 ac_unrecognized_sep
=', ';;
1764 eval with_
$ac_useropt=\
$ac_optarg ;;
1766 -without-* |
--without-*)
1767 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1768 # Reject names that are not valid shell variable names.
1769 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1770 as_fn_error $?
"invalid package name: $ac_useropt"
1771 ac_useropt_orig
=$ac_useropt
1772 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1773 case $ac_user_opts in
1777 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1778 ac_unrecognized_sep
=', ';;
1780 eval with_
$ac_useropt=no
;;
1783 # Obsolete; use --with-x.
1786 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1787 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1788 ac_prev
=x_includes
;;
1789 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1790 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1791 x_includes
=$ac_optarg ;;
1793 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1794 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1795 ac_prev
=x_libraries
;;
1796 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1797 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1798 x_libraries
=$ac_optarg ;;
1800 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1801 Try \`$0 --help' for more information"
1805 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1806 # Reject names that are not valid shell variable names.
1807 case $ac_envvar in #(
1808 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1809 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1811 eval $ac_envvar=\
$ac_optarg
1812 export $ac_envvar ;;
1815 # FIXME: should be removed in autoconf 3.0.
1816 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1817 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1818 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1819 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1825 if test -n "$ac_prev"; then
1826 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1827 as_fn_error $?
"missing argument to $ac_option"
1830 if test -n "$ac_unrecognized_opts"; then
1831 case $enable_option_checking in
1833 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1834 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1838 # Check all directory arguments for consistency.
1839 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1840 datadir sysconfdir sharedstatedir localstatedir includedir \
1841 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1842 libdir localedir mandir
1844 eval ac_val
=\$
$ac_var
1845 # Remove trailing slashes.
1848 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1849 eval $ac_var=\
$ac_val;;
1851 # Be sure to have absolute directory names.
1853 [\\/$
]* | ?
:[\\/]* ) continue;;
1854 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1856 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1859 # There might be people who depend on the old broken behavior: `$host'
1860 # used to hold the argument of --host etc.
1861 # FIXME: To remove some day.
1864 target
=$target_alias
1866 # FIXME: To remove some day.
1867 if test "x$host_alias" != x
; then
1868 if test "x$build_alias" = x
; then
1869 cross_compiling
=maybe
1870 elif test "x$build_alias" != "x$host_alias"; then
1876 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1878 test "$silent" = yes && exec 6>/dev
/null
1881 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1882 ac_ls_di
=`ls -di .` &&
1883 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1884 as_fn_error $?
"working directory cannot be determined"
1885 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1886 as_fn_error $?
"pwd does not report name of working directory"
1889 # Find the source files, if location was not specified.
1890 if test -z "$srcdir"; then
1891 ac_srcdir_defaulted
=yes
1892 # Try the directory containing this script, then the parent directory.
1893 ac_confdir
=`$as_dirname -- "$as_myself" ||
1894 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1895 X"$as_myself" : 'X\(//\)[^/]' \| \
1896 X"$as_myself" : 'X\(//\)$' \| \
1897 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1898 $as_echo X"$as_myself" |
1899 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1917 if test ! -r "$srcdir/$ac_unique_file"; then
1921 ac_srcdir_defaulted
=no
1923 if test ! -r "$srcdir/$ac_unique_file"; then
1924 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1925 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1927 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1929 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1931 # When building in place, set srcdir=.
1932 if test "$ac_abs_confdir" = "$ac_pwd"; then
1935 # Remove unnecessary trailing slashes from srcdir.
1936 # Double slashes in file names in object file debugging info
1937 # mess up M-x gdb in Emacs.
1939 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1941 for ac_var
in $ac_precious_vars; do
1942 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1943 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1944 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1945 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1949 # Report the --help message.
1951 if test "$ac_init_help" = "long"; then
1952 # Omit some internal or obsolete options to make the list less imposing.
1953 # This message is too long to be a string in the A/UX 3.1 sh.
1955 \`configure' configures Wine 1.7.11 to adapt to many kinds of systems.
1957 Usage: $0 [OPTION]... [VAR=VALUE]...
1959 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1960 VAR=VALUE. See below for descriptions of some of the useful variables.
1962 Defaults for the options are specified in brackets.
1965 -h, --help display this help and exit
1966 --help=short display options specific to this package
1967 --help=recursive display the short help of all the included packages
1968 -V, --version display version information and exit
1969 -q, --quiet, --silent do not print \`checking ...' messages
1970 --cache-file=FILE cache test results in FILE [disabled]
1971 -C, --config-cache alias for \`--cache-file=config.cache'
1972 -n, --no-create do not create output files
1973 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1975 Installation directories:
1976 --prefix=PREFIX install architecture-independent files in PREFIX
1977 [$ac_default_prefix]
1978 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1981 By default, \`make install' will install all the files in
1982 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1983 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1984 for instance \`--prefix=\$HOME'.
1986 For better control, use the options below.
1988 Fine tuning of the installation directories:
1989 --bindir=DIR user executables [EPREFIX/bin]
1990 --sbindir=DIR system admin executables [EPREFIX/sbin]
1991 --libexecdir=DIR program executables [EPREFIX/libexec]
1992 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1993 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1994 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1995 --libdir=DIR object code libraries [EPREFIX/lib]
1996 --includedir=DIR C header files [PREFIX/include]
1997 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1998 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1999 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2000 --infodir=DIR info documentation [DATAROOTDIR/info]
2001 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2002 --mandir=DIR man documentation [DATAROOTDIR/man]
2003 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2004 --htmldir=DIR html documentation [DOCDIR]
2005 --dvidir=DIR dvi documentation [DOCDIR]
2006 --pdfdir=DIR pdf documentation [DOCDIR]
2007 --psdir=DIR ps documentation [DOCDIR]
2013 --x-includes=DIR X include files are
in DIR
2014 --x-libraries=DIR X library files are
in DIR
2017 --build=BUILD configure
for building on BUILD
[guessed
]
2018 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2022 if test -n "$ac_init_help"; then
2023 case $ac_init_help in
2024 short | recursive
) echo "Configuration of Wine 1.7.11:";;
2029 --disable-option-checking ignore unrecognized
--enable/--with options
2030 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2031 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2032 --disable-win16 do not include Win16 support
2033 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2035 --disable-tests do not build the regression tests
2036 --enable-maintainer-mode
2037 enable maintainer-specific build rules
2038 --disable-largefile omit support for large files
2041 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2042 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2043 --without-alsa do not use the Alsa sound support
2044 --without-capi do not use CAPI (ISDN support)
2045 --without-cms do not use CMS (color management support)
2046 --without-coreaudio do not use the CoreAudio sound support
2047 --without-cups do not use CUPS
2048 --without-curses do not use (n)curses
2049 --without-dbus do not use DBus (dynamic device support)
2050 --without-fontconfig do not use fontconfig
2051 --without-freetype do not use the FreeType library
2052 --without-gettext do not use gettext
2053 --with-gettextpo use the GetTextPO library to rebuild po files
2054 --without-gphoto do not use gphoto (Digital Camera support)
2055 --without-glu do not use the GLU library
2056 --without-gnutls do not use GnuTLS (schannel support)
2057 --without-gsm do not use libgsm (GSM 06.10 codec support)
2058 --without-gstreamer do not use GStreamer (codecs support)
2059 --without-hal do not use HAL (dynamic device support)
2060 --without-jpeg do not use JPEG
2061 --without-ldap do not use LDAP
2062 --without-mpg123 do not use the mpg123 library
2063 --without-netapi do not use the Samba NetAPI library
2064 --without-openal do not use OpenAL
2065 --without-opencl do not use OpenCL
2066 --without-opengl do not use OpenGL
2067 --without-osmesa do not use the OSMesa library
2068 --without-oss do not use the OSS sound support
2069 --without-png do not use PNG
2070 --without-pthread do not use the pthread library
2071 --without-sane do not use SANE (scanner support)
2072 --without-tiff do not use TIFF
2073 --without-v4l do not use v4l1 (v4l support)
2074 --without-xcomposite do not use the Xcomposite extension
2075 --without-xcursor do not use the Xcursor extension
2076 --without-xinerama do not use Xinerama (multi-monitor support)
2077 --without-xinput do not use the Xinput extension
2078 --without-xinput2 do not use the Xinput 2 extension
2079 --without-xml do not use XML
2080 --without-xrandr do not use Xrandr (resolution changes)
2081 --without-xrender do not use the Xrender extension
2082 --without-xshape do not use the Xshape extension
2083 --without-xshm do not use XShm (shared memory extension)
2084 --without-xslt do not use XSLT
2085 --without-xxf86vm do not use XFree video mode extension
2086 --without-zlib do not use Zlib (data compression)
2087 --with-wine-tools=DIR use Wine tools from directory DIR
2088 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2089 --with-x use the X Window System
2091 Some influential environment variables:
2092 CC C compiler command
2093 CFLAGS C compiler flags
2094 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2095 nonstandard directory <lib dir>
2096 LIBS libraries to pass to the linker, e.g. -l<library>
2097 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2098 you have headers in a nonstandard directory <include dir>
2099 CXX C++ compiler command
2100 CXXFLAGS C++ compiler flags
2102 XMKMF Path to xmkmf, Makefile generator for X Window System
2103 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2104 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2105 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2106 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2107 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2108 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2109 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2110 HAL_LIBS Linker flags for hal, overriding pkg-config
2112 C compiler flags for gnutls, overriding pkg-config
2113 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2114 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2115 SANE_LIBS Linker flags for libsane, overriding pkg-config
2117 C compiler flags for libgphoto2, overriding pkg-config
2119 Linker flags for libgphoto2, overriding pkg-config
2121 C compiler flags for libgphoto2_port, overriding pkg-config
2123 Linker flags for libgphoto2_port, overriding pkg-config
2125 C compiler flags for lcms2, overriding pkg-config
2126 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2128 C compiler flags for freetype2, overriding pkg-config
2130 Linker flags for freetype2, overriding pkg-config
2132 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2134 Linker flags for gstreamer-app-0.10, overriding pkg-config
2136 C compiler flags for capi20, overriding pkg-config
2137 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2139 C compiler flags for fontconfig, overriding pkg-config
2141 Linker flags for fontconfig, overriding pkg-config
2142 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2143 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2144 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2145 PNG_LIBS Linker flags for libpng, overriding pkg-config
2146 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2147 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2149 C compiler flags for libmpg123, overriding pkg-config
2150 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2152 Use these variables to override the choices made by `configure' or to
help
2153 it to
find libraries and programs with nonstandard names
/locations.
2155 Report bugs to
<wine-devel@winehq.org
>.
2156 Wine home page
: <http
://www.winehq.org
>.
2161 if test "$ac_init_help" = "recursive"; then
2162 # If there are subdirs, report their specific --help.
2163 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2164 test -d "$ac_dir" ||
2165 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2170 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2172 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2173 # A ".." for each directory in $ac_dir_suffix.
2174 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2175 case $ac_top_builddir_sub in
2176 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2177 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2180 ac_abs_top_builddir
=$ac_pwd
2181 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2182 # for backward compatibility:
2183 ac_top_builddir
=$ac_top_build_prefix
2186 .
) # We are building in place.
2188 ac_top_srcdir
=$ac_top_builddir_sub
2189 ac_abs_top_srcdir
=$ac_pwd ;;
2190 [\\/]* | ?
:[\\/]* ) # Absolute name.
2191 ac_srcdir
=$srcdir$ac_dir_suffix;
2192 ac_top_srcdir
=$srcdir
2193 ac_abs_top_srcdir
=$srcdir ;;
2195 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2196 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2197 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2199 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2201 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2202 # Check for guested configure.
2203 if test -f "$ac_srcdir/configure.gnu"; then
2205 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2206 elif test -f "$ac_srcdir/configure"; then
2208 $SHELL "$ac_srcdir/configure" --help=recursive
2210 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2212 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2216 test -n "$ac_init_help" && exit $ac_status
2217 if $ac_init_version; then
2219 Wine configure
1.7.11
2220 generated by GNU Autoconf
2.69
2222 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2223 This configure
script is free software
; the Free Software Foundation
2224 gives unlimited permission to copy
, distribute and modify it.
2229 ## ------------------------ ##
2230 ## Autoconf initialization. ##
2231 ## ------------------------ ##
2233 # ac_fn_c_try_compile LINENO
2234 # --------------------------
2235 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2236 ac_fn_c_try_compile
()
2238 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2239 rm -f conftest.
$ac_objext
2240 if { { ac_try
="$ac_compile"
2242 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2243 *) ac_try_echo=$ac_try;;
2245 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2246 $as_echo "$ac_try_echo"; } >&5
2247 (eval "$ac_compile") 2>conftest.err
2249 if test -s conftest.err; then
2250 grep -v '^ *+' conftest.err >conftest.er1
2251 cat conftest.er1 >&5
2252 mv -f conftest.er1 conftest.err
2254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2255 test $ac_status = 0; } && {
2256 test -z "$ac_c_werror_flag" ||
2257 test ! -s conftest.err
2258 } && test -s conftest.$ac_objext; then :
2261 $as_echo "$as_me: failed program was:" >&5
2262 sed 's/^/| /' conftest.$ac_ext >&5
2266 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2267 as_fn_set_status $ac_retval
2269 } # ac_fn_c_try_compile
2271 # ac_fn_cxx_try_compile LINENO
2272 # ----------------------------
2273 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2274 ac_fn_cxx_try_compile ()
2276 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2277 rm -f conftest.$ac_objext
2278 if { { ac_try="$ac_compile"
2280 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2281 *) ac_try_echo
=$ac_try;;
2283 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2284 $as_echo "$ac_try_echo"; } >&5
2285 (eval "$ac_compile") 2>conftest.err
2287 if test -s conftest.err
; then
2288 grep -v '^ *+' conftest.err
>conftest.er1
2289 cat conftest.er1
>&5
2290 mv -f conftest.er1 conftest.err
2292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2293 test $ac_status = 0; } && {
2294 test -z "$ac_cxx_werror_flag" ||
2295 test ! -s conftest.err
2296 } && test -s conftest.
$ac_objext; then :
2299 $as_echo "$as_me: failed program was:" >&5
2300 sed 's/^/| /' conftest.
$ac_ext >&5
2304 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2305 as_fn_set_status
$ac_retval
2307 } # ac_fn_cxx_try_compile
2309 # ac_fn_c_try_link LINENO
2310 # -----------------------
2311 # Try to link conftest.$ac_ext, and return whether this succeeded.
2314 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2315 rm -f conftest.
$ac_objext conftest
$ac_exeext
2316 if { { ac_try
="$ac_link"
2318 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2319 *) ac_try_echo=$ac_try;;
2321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2322 $as_echo "$ac_try_echo"; } >&5
2323 (eval "$ac_link") 2>conftest.err
2325 if test -s conftest.err; then
2326 grep -v '^ *+' conftest.err >conftest.er1
2327 cat conftest.er1 >&5
2328 mv -f conftest.er1 conftest.err
2330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2331 test $ac_status = 0; } && {
2332 test -z "$ac_c_werror_flag" ||
2333 test ! -s conftest.err
2334 } && test -s conftest$ac_exeext && {
2335 test "$cross_compiling" = yes ||
2336 test -x conftest$ac_exeext
2340 $as_echo "$as_me: failed program was:" >&5
2341 sed 's/^/| /' conftest.$ac_ext >&5
2345 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2346 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2347 # interfere with the next link command; also delete a directory that is
2348 # left behind by Apple's compiler. We do this before executing the actions.
2349 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2350 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2351 as_fn_set_status $ac_retval
2353 } # ac_fn_c_try_link
2355 # ac_fn_c_try_cpp LINENO
2356 # ----------------------
2357 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2360 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2361 if { { ac_try="$ac_cpp conftest.$ac_ext"
2363 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2364 *) ac_try_echo
=$ac_try;;
2366 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2367 $as_echo "$ac_try_echo"; } >&5
2368 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2370 if test -s conftest.err
; then
2371 grep -v '^ *+' conftest.err
>conftest.er1
2372 cat conftest.er1
>&5
2373 mv -f conftest.er1 conftest.err
2375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2376 test $ac_status = 0; } > conftest.i
&& {
2377 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2378 test ! -s conftest.err
2382 $as_echo "$as_me: failed program was:" >&5
2383 sed 's/^/| /' conftest.
$ac_ext >&5
2387 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2388 as_fn_set_status
$ac_retval
2392 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2393 # -------------------------------------------------------
2394 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2395 # the include files in INCLUDES and setting the cache variable VAR
2397 ac_fn_c_check_header_mongrel
()
2399 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2400 if eval \
${$3+:} false
; then :
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2402 $as_echo_n "checking for $2... " >&6; }
2403 if eval \
${$3+:} false
; then :
2404 $as_echo_n "(cached) " >&6
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2408 $as_echo "$ac_res" >&6; }
2410 # Is the header compilable?
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2412 $as_echo_n "checking $2 usability... " >&6; }
2413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2414 /* end confdefs.h. */
2418 if ac_fn_c_try_compile
"$LINENO"; then :
2419 ac_header_compiler
=yes
2421 ac_header_compiler
=no
2423 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2425 $as_echo "$ac_header_compiler" >&6; }
2427 # Is the header present?
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2429 $as_echo_n "checking $2 presence... " >&6; }
2430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2431 /* end confdefs.h. */
2434 if ac_fn_c_try_cpp
"$LINENO"; then :
2435 ac_header_preproc
=yes
2437 ac_header_preproc
=no
2439 rm -f conftest.err conftest.i conftest.
$ac_ext
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2441 $as_echo "$ac_header_preproc" >&6; }
2443 # So? What about this header?
2444 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2447 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2449 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2453 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2455 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2457 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2459 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2461 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2462 ( $as_echo "## ------------------------------------ ##
2463 ## Report this to wine-devel@winehq.org ##
2464 ## ------------------------------------ ##"
2465 ) |
sed "s/^/$as_me: WARNING: /" >&2
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2469 $as_echo_n "checking for $2... " >&6; }
2470 if eval \
${$3+:} false
; then :
2471 $as_echo_n "(cached) " >&6
2473 eval "$3=\$ac_header_compiler"
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2477 $as_echo "$ac_res" >&6; }
2479 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2481 } # ac_fn_c_check_header_mongrel
2483 # ac_fn_c_try_run LINENO
2484 # ----------------------
2485 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2486 # that executables *can* be run.
2489 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2490 if { { ac_try
="$ac_link"
2492 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2493 *) ac_try_echo=$ac_try;;
2495 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2496 $as_echo "$ac_try_echo"; } >&5
2497 (eval "$ac_link") 2>&5
2499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2500 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2501 { { case "(($ac_try" in
2502 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2503 *) ac_try_echo
=$ac_try;;
2505 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2506 $as_echo "$ac_try_echo"; } >&5
2507 (eval "$ac_try") 2>&5
2509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2510 test $ac_status = 0; }; }; then :
2513 $as_echo "$as_me: program exited with status $ac_status" >&5
2514 $as_echo "$as_me: failed program was:" >&5
2515 sed 's/^/| /' conftest.
$ac_ext >&5
2517 ac_retval
=$ac_status
2519 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2520 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2521 as_fn_set_status
$ac_retval
2525 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2526 # -------------------------------------------------------
2527 # Tests whether HEADER exists and can be compiled using the include files in
2528 # INCLUDES, setting the cache variable VAR accordingly.
2529 ac_fn_c_check_header_compile
()
2531 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2533 $as_echo_n "checking for $2... " >&6; }
2534 if eval \
${$3+:} false
; then :
2535 $as_echo_n "(cached) " >&6
2537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2538 /* end confdefs.h. */
2542 if ac_fn_c_try_compile
"$LINENO"; then :
2547 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2551 $as_echo "$ac_res" >&6; }
2552 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2554 } # ac_fn_c_check_header_compile
2556 # ac_fn_c_check_func LINENO FUNC VAR
2557 # ----------------------------------
2558 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2559 ac_fn_c_check_func
()
2561 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2563 $as_echo_n "checking for $2... " >&6; }
2564 if eval \
${$3+:} false
; then :
2565 $as_echo_n "(cached) " >&6
2567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2568 /* end confdefs.h. */
2569 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2571 #define $2 innocuous_$2
2573 /* System header to define __stub macros and hopefully few prototypes,
2574 which can conflict with char $2 (); below.
2575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2576 <limits.h> exists even on freestanding compilers. */
2579 # include <limits.h>
2581 # include <assert.h>
2586 /* Override any GCC internal prototype to avoid an error.
2587 Use char because int might match the return type of a GCC
2588 builtin and then its argument prototype would still apply. */
2593 /* The GNU C library defines this for functions which it implements
2594 to always fail with ENOSYS. Some functions are actually named
2595 something starting with __ and the normal name is an alias. */
2596 #if defined __stub_$2 || defined __stub___$2
2608 if ac_fn_c_try_link
"$LINENO"; then :
2613 rm -f core conftest.err conftest.
$ac_objext \
2614 conftest
$ac_exeext conftest.
$ac_ext
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2618 $as_echo "$ac_res" >&6; }
2619 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2621 } # ac_fn_c_check_func
2623 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2624 # ----------------------------------------------------
2625 # Tries to find if the field MEMBER exists in type AGGR, after including
2626 # INCLUDES, setting cache variable VAR accordingly.
2627 ac_fn_c_check_member
()
2629 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2631 $as_echo_n "checking for $2.$3... " >&6; }
2632 if eval \
${$4+:} false
; then :
2633 $as_echo_n "(cached) " >&6
2635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2636 /* end confdefs.h. */
2648 if ac_fn_c_try_compile
"$LINENO"; then :
2651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2652 /* end confdefs.h. */
2658 if (sizeof ac_aggr.$3)
2664 if ac_fn_c_try_compile
"$LINENO"; then :
2669 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2671 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2675 $as_echo "$ac_res" >&6; }
2676 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2678 } # ac_fn_c_check_member
2680 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2681 # -------------------------------------------
2682 # Tests whether TYPE exists after having included INCLUDES, setting cache
2683 # variable VAR accordingly.
2684 ac_fn_c_check_type
()
2686 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2688 $as_echo_n "checking for $2... " >&6; }
2689 if eval \
${$3+:} false
; then :
2690 $as_echo_n "(cached) " >&6
2693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2694 /* end confdefs.h. */
2705 if ac_fn_c_try_compile
"$LINENO"; then :
2706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2707 /* end confdefs.h. */
2718 if ac_fn_c_try_compile
"$LINENO"; then :
2723 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2725 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2729 $as_echo "$ac_res" >&6; }
2730 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2732 } # ac_fn_c_check_type
2733 cat >config.log
<<_ACEOF
2734 This file contains any messages produced by compilers while
2735 running configure, to aid debugging if configure makes a mistake.
2737 It was created by Wine $as_me 1.7.11, which was
2738 generated by GNU Autoconf 2.69. Invocation command line was
2750 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2751 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2752 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2753 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2754 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2756 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2757 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2759 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2760 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2761 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2762 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2763 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2764 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2765 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2773 test -z "$as_dir" && as_dir
=.
2774 $as_echo "PATH: $as_dir"
2790 # Keep a trace of the command line.
2791 # Strip out --no-create and --no-recursion so they do not pile up.
2792 # Strip out --silent because we don't want to record it for future runs.
2793 # Also quote any args containing shell meta-characters.
2794 # Make two passes to allow for proper duplicate-argument suppression.
2798 ac_must_keep_next
=false
2804 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2805 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2806 |
-silent |
--silent |
--silen |
--sile |
--sil)
2809 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2812 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2814 as_fn_append ac_configure_args1
" '$ac_arg'"
2815 if test $ac_must_keep_next = true
; then
2816 ac_must_keep_next
=false
# Got value, back to normal.
2819 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2820 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2821 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2822 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2823 case "$ac_configure_args0 " in
2824 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2827 -* ) ac_must_keep_next
=true
;;
2830 as_fn_append ac_configure_args
" '$ac_arg'"
2835 { ac_configure_args0
=; unset ac_configure_args0
;}
2836 { ac_configure_args1
=; unset ac_configure_args1
;}
2838 # When interrupted or exit'd, cleanup temporary files, and complete
2839 # config.log. We remove comments because anyway the quotes in there
2840 # would cause problems or look ugly.
2841 # WARNING: Use '\'' to represent an apostrophe within the trap.
2842 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2843 trap 'exit_status=$?
2844 # Save into config.log some information that might help in debugging.
2848 $as_echo "## ---------------- ##
2849 ## Cache variables. ##
2850 ## ---------------- ##"
2852 # The following way of writing the cache mishandles newlines in values,
2854 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2855 eval ac_val=\$$ac_var
2859 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2860 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2863 _ | IFS | as_nl) ;; #(
2864 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2865 *) { eval $ac_var=; unset $ac_var;} ;;
2870 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2871 *${as_nl}ac_space=\ *)
2873 "s/'\''/'\''\\\\'\'''\''/g;
2874 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2877 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2884 $as_echo "## ----------------- ##
2885 ## Output variables. ##
2886 ## ----------------- ##"
2888 for ac_var in $ac_subst_vars
2890 eval ac_val=\$$ac_var
2892 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2894 $as_echo "$ac_var='\''$ac_val'\''"
2898 if test -n "$ac_subst_files"; then
2899 $as_echo "## ------------------- ##
2900 ## File substitutions. ##
2901 ## ------------------- ##"
2903 for ac_var
in $ac_subst_files
2905 eval ac_val
=\$
$ac_var
2907 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2909 $as_echo "$ac_var='\''$ac_val'\''"
2914 if test -s confdefs.h; then
2915 $as_echo "## ----------- ##
2922 test "$ac_signal" != 0 &&
2923 $as_echo "$as_me: caught signal $ac_signal"
2924 $as_echo "$as_me: exit $exit_status"
2926 rm -f core *.core core.conftest.* &&
2927 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2930 for ac_signal
in 1 2 13 15; do
2931 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2935 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2936 rm -f -r conftest
* confdefs.h
2938 $as_echo "/* confdefs.h */" > confdefs.h
2940 # Predefined preprocessor variables.
2942 cat >>confdefs.h
<<_ACEOF
2943 #define PACKAGE_NAME "$PACKAGE_NAME"
2946 cat >>confdefs.h
<<_ACEOF
2947 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2950 cat >>confdefs.h
<<_ACEOF
2951 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2954 cat >>confdefs.h
<<_ACEOF
2955 #define PACKAGE_STRING "$PACKAGE_STRING"
2958 cat >>confdefs.h
<<_ACEOF
2959 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2962 cat >>confdefs.h
<<_ACEOF
2963 #define PACKAGE_URL "$PACKAGE_URL"
2967 # Let the site file select an alternate cache file if it wants to.
2968 # Prefer an explicitly selected file to automatically selected ones.
2971 if test -n "$CONFIG_SITE"; then
2972 # We do not want a PATH search for config.site.
2973 case $CONFIG_SITE in #((
2974 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2975 */*) ac_site_file1
=$CONFIG_SITE;;
2976 *) ac_site_file1
=.
/$CONFIG_SITE;;
2978 elif test "x$prefix" != xNONE
; then
2979 ac_site_file1
=$prefix/share
/config.site
2980 ac_site_file2
=$prefix/etc
/config.site
2982 ac_site_file1
=$ac_default_prefix/share
/config.site
2983 ac_site_file2
=$ac_default_prefix/etc
/config.site
2985 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2987 test "x$ac_site_file" = xNONE
&& continue
2988 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2990 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2991 sed 's/^/| /' "$ac_site_file" >&5
2993 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2994 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2995 as_fn_error $?
"failed to load site script $ac_site_file
2996 See \`config.log' for more details" "$LINENO" 5; }
3000 if test -r "$cache_file"; then
3001 # Some versions of bash will fail to source /dev/null (special files
3002 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3003 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3005 $as_echo "$as_me: loading cache $cache_file" >&6;}
3007 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3008 *) .
"./$cache_file";;
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3013 $as_echo "$as_me: creating cache $cache_file" >&6;}
3017 # Check that the precious variables saved in the cache have kept the same
3019 ac_cache_corrupted
=false
3020 for ac_var
in $ac_precious_vars; do
3021 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3022 eval ac_new_set
=\
$ac_env_${ac_var}_set
3023 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3024 eval ac_new_val
=\
$ac_env_${ac_var}_value
3025 case $ac_old_set,$ac_new_set in
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3028 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3029 ac_cache_corrupted
=: ;;
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3032 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3033 ac_cache_corrupted
=: ;;
3036 if test "x$ac_old_val" != "x$ac_new_val"; then
3037 # differences in whitespace do not lead to failure.
3038 ac_old_val_w
=`echo x $ac_old_val`
3039 ac_new_val_w
=`echo x $ac_new_val`
3040 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3042 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3043 ac_cache_corrupted
=:
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3046 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3047 eval $ac_var=\
$ac_old_val
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3050 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3052 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3055 # Pass precious variables to config.status.
3056 if test "$ac_new_set" = set; then
3058 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3059 *) ac_arg
=$ac_var=$ac_new_val ;;
3061 case " $ac_configure_args " in
3062 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3063 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3067 if $ac_cache_corrupted; then
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3069 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3071 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3072 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3074 ## -------------------- ##
3075 ## Main body of script. ##
3076 ## -------------------- ##
3079 ac_cpp
='$CPP $CPPFLAGS'
3080 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3081 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3082 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3086 ac_config_headers
="$ac_config_headers include/config.h"
3089 for ac_dir
in tools
"$srcdir"/tools
; do
3090 if test -f "$ac_dir/install-sh"; then
3092 ac_install_sh
="$ac_aux_dir/install-sh -c"
3094 elif test -f "$ac_dir/install.sh"; then
3096 ac_install_sh
="$ac_aux_dir/install.sh -c"
3098 elif test -f "$ac_dir/shtool"; then
3100 ac_install_sh
="$ac_aux_dir/shtool install -c"
3104 if test -z "$ac_aux_dir"; then
3105 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3108 # These three variables are undocumented and unsupported,
3109 # and are intended to be withdrawn in a future Autoconf release.
3110 # They can cause serious problems if a builder's source tree is in a directory
3111 # whose full name contains unusual characters.
3112 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3113 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3114 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3118 libwine_version
="1.0"
3122 # Check whether --enable-win16 was given.
3123 if test "${enable_win16+set}" = set; then :
3124 enableval
=$enable_win16;
3127 # Check whether --enable-win64 was given.
3128 if test "${enable_win64+set}" = set; then :
3129 enableval
=$enable_win64;
3132 # Check whether --enable-tests was given.
3133 if test "${enable_tests+set}" = set; then :
3134 enableval
=$enable_tests;
3137 # Check whether --enable-maintainer-mode was given.
3138 if test "${enable_maintainer_mode+set}" = set; then :
3139 enableval
=$enable_maintainer_mode;
3144 # Check whether --with-alsa was given.
3145 if test "${with_alsa+set}" = set; then :
3146 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3150 # Check whether --with-capi was given.
3151 if test "${with_capi+set}" = set; then :
3156 # Check whether --with-cms was given.
3157 if test "${with_cms+set}" = set; then :
3162 # Check whether --with-coreaudio was given.
3163 if test "${with_coreaudio+set}" = set; then :
3164 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3168 # Check whether --with-cups was given.
3169 if test "${with_cups+set}" = set; then :
3174 # Check whether --with-curses was given.
3175 if test "${with_curses+set}" = set; then :
3176 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3180 # Check whether --with-dbus was given.
3181 if test "${with_dbus+set}" = set; then :
3186 # Check whether --with-fontconfig was given.
3187 if test "${with_fontconfig+set}" = set; then :
3188 withval
=$with_fontconfig;
3192 # Check whether --with-freetype was given.
3193 if test "${with_freetype+set}" = set; then :
3194 withval
=$with_freetype;
3198 # Check whether --with-gettext was given.
3199 if test "${with_gettext+set}" = set; then :
3200 withval
=$with_gettext;
3204 # Check whether --with-gettextpo was given.
3205 if test "${with_gettextpo+set}" = set; then :
3206 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3210 # Check whether --with-gphoto was given.
3211 if test "${with_gphoto+set}" = set; then :
3212 withval
=$with_gphoto;
3216 # Check whether --with-glu was given.
3217 if test "${with_glu+set}" = set; then :
3222 # Check whether --with-gnutls was given.
3223 if test "${with_gnutls+set}" = set; then :
3224 withval
=$with_gnutls;
3228 # Check whether --with-gsm was given.
3229 if test "${with_gsm+set}" = set; then :
3230 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3234 # Check whether --with-gstreamer was given.
3235 if test "${with_gstreamer+set}" = set; then :
3236 withval
=$with_gstreamer;
3240 # Check whether --with-hal was given.
3241 if test "${with_hal+set}" = set; then :
3246 # Check whether --with-jpeg was given.
3247 if test "${with_jpeg+set}" = set; then :
3252 # Check whether --with-ldap was given.
3253 if test "${with_ldap+set}" = set; then :
3254 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3258 # Check whether --with-mpg123 was given.
3259 if test "${with_mpg123+set}" = set; then :
3260 withval
=$with_mpg123;
3264 # Check whether --with-netapi was given.
3265 if test "${with_netapi+set}" = set; then :
3266 withval
=$with_netapi;
3270 # Check whether --with-openal was given.
3271 if test "${with_openal+set}" = set; then :
3272 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3276 # Check whether --with-opencl was given.
3277 if test "${with_opencl+set}" = set; then :
3278 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3282 # Check whether --with-opengl was given.
3283 if test "${with_opengl+set}" = set; then :
3284 withval
=$with_opengl;
3288 # Check whether --with-osmesa was given.
3289 if test "${with_osmesa+set}" = set; then :
3290 withval
=$with_osmesa;
3294 # Check whether --with-oss was given.
3295 if test "${with_oss+set}" = set; then :
3300 # Check whether --with-png was given.
3301 if test "${with_png+set}" = set; then :
3306 # Check whether --with-pthread was given.
3307 if test "${with_pthread+set}" = set; then :
3308 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3312 # Check whether --with-sane was given.
3313 if test "${with_sane+set}" = set; then :
3318 # Check whether --with-tiff was given.
3319 if test "${with_tiff+set}" = set; then :
3324 # Check whether --with-v4l was given.
3325 if test "${with_v4l+set}" = set; then :
3330 # Check whether --with-xcomposite was given.
3331 if test "${with_xcomposite+set}" = set; then :
3332 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3336 # Check whether --with-xcursor was given.
3337 if test "${with_xcursor+set}" = set; then :
3338 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3342 # Check whether --with-xinerama was given.
3343 if test "${with_xinerama+set}" = set; then :
3344 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3348 # Check whether --with-xinput was given.
3349 if test "${with_xinput+set}" = set; then :
3350 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3354 # Check whether --with-xinput2 was given.
3355 if test "${with_xinput2+set}" = set; then :
3356 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3360 # Check whether --with-xml was given.
3361 if test "${with_xml+set}" = set; then :
3366 # Check whether --with-xrandr was given.
3367 if test "${with_xrandr+set}" = set; then :
3368 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3372 # Check whether --with-xrender was given.
3373 if test "${with_xrender+set}" = set; then :
3374 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3378 # Check whether --with-xshape was given.
3379 if test "${with_xshape+set}" = set; then :
3380 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3384 # Check whether --with-xshm was given.
3385 if test "${with_xshm+set}" = set; then :
3386 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3390 # Check whether --with-xslt was given.
3391 if test "${with_xslt+set}" = set; then :
3396 # Check whether --with-xxf86vm was given.
3397 if test "${with_xxf86vm+set}" = set; then :
3398 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
3402 # Check whether --with-zlib was given.
3403 if test "${with_zlib+set}" = set; then :
3404 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3409 # Check whether --with-wine-tools was given.
3410 if test "${with_wine_tools+set}" = set; then :
3411 withval
=$with_wine_tools;
3415 # Check whether --with-wine64 was given.
3416 if test "${with_wine64+set}" = set; then :
3417 withval
=$with_wine64;
3421 # Make sure we can run config.sub.
3422 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3423 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3426 $as_echo_n "checking build system type... " >&6; }
3427 if ${ac_cv_build+:} false
; then :
3428 $as_echo_n "(cached) " >&6
3430 ac_build_alias
=$build_alias
3431 test "x$ac_build_alias" = x
&&
3432 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3433 test "x$ac_build_alias" = x
&&
3434 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3435 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3436 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3440 $as_echo "$ac_cv_build" >&6; }
3441 case $ac_cv_build in
3443 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3446 ac_save_IFS
=$IFS; IFS
='-'
3452 # Remember, the first character of IFS is used to create $*,
3453 # except with old shells:
3456 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3460 $as_echo_n "checking host system type... " >&6; }
3461 if ${ac_cv_host+:} false
; then :
3462 $as_echo_n "(cached) " >&6
3464 if test "x$host_alias" = x
; then
3465 ac_cv_host
=$ac_cv_build
3467 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3468 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3473 $as_echo "$ac_cv_host" >&6; }
3476 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3479 ac_save_IFS
=$IFS; IFS
='-'
3485 # Remember, the first character of IFS is used to create $*,
3486 # except with old shells:
3489 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3495 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3496 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3497 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3503 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3505 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3506 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3507 $as_echo_n "(cached) " >&6
3509 cat >conftest.
make <<\_ACEOF
3512 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3514 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3515 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3517 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3519 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3523 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3525 $as_echo "yes" >&6; }
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3529 $as_echo "no" >&6; }
3530 SET_MAKE
="MAKE=${MAKE-make}"
3534 ac_cpp
='$CPP $CPPFLAGS'
3535 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3536 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3537 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3538 if test -n "$ac_tool_prefix"; then
3539 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3540 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3542 $as_echo_n "checking for $ac_word... " >&6; }
3543 if ${ac_cv_prog_CC+:} false
; then :
3544 $as_echo_n "(cached) " >&6
3546 if test -n "$CC"; then
3547 ac_cv_prog_CC
="$CC" # Let the user override the test.
3549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3553 test -z "$as_dir" && as_dir
=.
3554 for ac_exec_ext
in '' $ac_executable_extensions; do
3555 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3556 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3567 if test -n "$CC"; then
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3569 $as_echo "$CC" >&6; }
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3572 $as_echo "no" >&6; }
3577 if test -z "$ac_cv_prog_CC"; then
3579 # Extract the first word of "gcc", so it can be a program name with args.
3580 set dummy gcc
; ac_word
=$2
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3582 $as_echo_n "checking for $ac_word... " >&6; }
3583 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3584 $as_echo_n "(cached) " >&6
3586 if test -n "$ac_ct_CC"; then
3587 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3593 test -z "$as_dir" && as_dir
=.
3594 for ac_exec_ext
in '' $ac_executable_extensions; do
3595 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3596 ac_cv_prog_ac_ct_CC
="gcc"
3597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3606 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3607 if test -n "$ac_ct_CC"; then
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3609 $as_echo "$ac_ct_CC" >&6; }
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3612 $as_echo "no" >&6; }
3615 if test "x$ac_ct_CC" = x
; then
3618 case $cross_compiling:$ac_tool_warned in
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3622 ac_tool_warned
=yes ;;
3630 if test -z "$CC"; then
3631 if test -n "$ac_tool_prefix"; then
3632 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3633 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3635 $as_echo_n "checking for $ac_word... " >&6; }
3636 if ${ac_cv_prog_CC+:} false
; then :
3637 $as_echo_n "(cached) " >&6
3639 if test -n "$CC"; then
3640 ac_cv_prog_CC
="$CC" # Let the user override the test.
3642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3646 test -z "$as_dir" && as_dir
=.
3647 for ac_exec_ext
in '' $ac_executable_extensions; do
3648 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3649 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3660 if test -n "$CC"; then
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3662 $as_echo "$CC" >&6; }
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3665 $as_echo "no" >&6; }
3671 if test -z "$CC"; then
3672 # Extract the first word of "cc", so it can be a program name with args.
3673 set dummy cc
; ac_word
=$2
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3675 $as_echo_n "checking for $ac_word... " >&6; }
3676 if ${ac_cv_prog_CC+:} false
; then :
3677 $as_echo_n "(cached) " >&6
3679 if test -n "$CC"; then
3680 ac_cv_prog_CC
="$CC" # Let the user override the test.
3683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3687 test -z "$as_dir" && as_dir
=.
3688 for ac_exec_ext
in '' $ac_executable_extensions; do
3689 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3690 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3691 ac_prog_rejected
=yes
3695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3702 if test $ac_prog_rejected = yes; then
3703 # We found a bogon in the path, so make sure we never use it.
3704 set dummy
$ac_cv_prog_CC
3706 if test $# != 0; then
3707 # We chose a different compiler from the bogus one.
3708 # However, it has the same basename, so the bogon will be chosen
3709 # first if we set CC to just the basename; use the full file name.
3711 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3717 if test -n "$CC"; then
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3719 $as_echo "$CC" >&6; }
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3722 $as_echo "no" >&6; }
3727 if test -z "$CC"; then
3728 if test -n "$ac_tool_prefix"; then
3729 for ac_prog
in cl.exe
3731 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3732 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3734 $as_echo_n "checking for $ac_word... " >&6; }
3735 if ${ac_cv_prog_CC+:} false
; then :
3736 $as_echo_n "(cached) " >&6
3738 if test -n "$CC"; then
3739 ac_cv_prog_CC
="$CC" # Let the user override the test.
3741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3745 test -z "$as_dir" && as_dir
=.
3746 for ac_exec_ext
in '' $ac_executable_extensions; do
3747 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3748 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3759 if test -n "$CC"; then
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3761 $as_echo "$CC" >&6; }
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3764 $as_echo "no" >&6; }
3768 test -n "$CC" && break
3771 if test -z "$CC"; then
3773 for ac_prog
in cl.exe
3775 # Extract the first word of "$ac_prog", so it can be a program name with args.
3776 set dummy
$ac_prog; ac_word
=$2
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3778 $as_echo_n "checking for $ac_word... " >&6; }
3779 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3780 $as_echo_n "(cached) " >&6
3782 if test -n "$ac_ct_CC"; then
3783 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3789 test -z "$as_dir" && as_dir
=.
3790 for ac_exec_ext
in '' $ac_executable_extensions; do
3791 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3792 ac_cv_prog_ac_ct_CC
="$ac_prog"
3793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3802 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3803 if test -n "$ac_ct_CC"; then
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3805 $as_echo "$ac_ct_CC" >&6; }
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3808 $as_echo "no" >&6; }
3812 test -n "$ac_ct_CC" && break
3815 if test "x$ac_ct_CC" = x
; then
3818 case $cross_compiling:$ac_tool_warned in
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3822 ac_tool_warned
=yes ;;
3831 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3833 as_fn_error $?
"no acceptable C compiler found in \$PATH
3834 See \`config.log' for more details" "$LINENO" 5; }
3836 # Provide some information about the compiler.
3837 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3840 for ac_option
in --version -v -V -qversion; do
3841 { { ac_try
="$ac_compiler $ac_option >&5"
3843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3844 *) ac_try_echo=$ac_try;;
3846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3847 $as_echo "$ac_try_echo"; } >&5
3848 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3850 if test -s conftest.err; then
3852 ... rest of stderr output deleted ...
3853 10q' conftest.err >conftest.er1
3854 cat conftest.er1 >&5
3856 rm -f conftest.er1 conftest.err
3857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3858 test $ac_status = 0; }
3861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3862 /* end confdefs.h. */
3872 ac_clean_files_save=$ac_clean_files
3873 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3874 # Try to create an executable without -o first, disregard a.out.
3875 # It will help us diagnose broken compilers, and finding out an intuition
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3878 $as_echo_n "checking whether the C compiler works... " >&6; }
3879 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3881 # The possible output files:
3882 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3885 for ac_file in $ac_files
3888 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3889 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3894 if { { ac_try="$ac_link_default"
3896 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3897 *) ac_try_echo
=$ac_try;;
3899 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3900 $as_echo "$ac_try_echo"; } >&5
3901 (eval "$ac_link_default") 2>&5
3903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3904 test $ac_status = 0; }; then :
3905 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3906 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3907 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3908 # so that the user can short-circuit this test for compilers unknown to
3910 for ac_file
in $ac_files ''
3912 test -f "$ac_file" ||
continue
3914 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3917 # We found the default executable, but exeext='' is most
3921 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3923 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3925 # We set ac_cv_exeext here because the later test for it is not
3926 # safe: cross compilers may not add the suffix if given an `-o'
3927 # argument, so we may need to know it at that point already.
3928 # Even if this section looks crufty: it has the advantage of
3935 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3940 if test -z "$ac_file"; then :
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3942 $as_echo "no" >&6; }
3943 $as_echo "$as_me: failed program was:" >&5
3944 sed 's/^/| /' conftest.
$ac_ext >&5
3946 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3948 as_fn_error
77 "C compiler cannot create executables
3949 See \`config.log' for more details" "$LINENO" 5; }
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3952 $as_echo "yes" >&6; }
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3955 $as_echo_n "checking for C compiler default output file name... " >&6; }
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3957 $as_echo "$ac_file" >&6; }
3958 ac_exeext
=$ac_cv_exeext
3960 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3961 ac_clean_files
=$ac_clean_files_save
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3963 $as_echo_n "checking for suffix of executables... " >&6; }
3964 if { { ac_try
="$ac_link"
3966 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3967 *) ac_try_echo=$ac_try;;
3969 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3970 $as_echo "$ac_try_echo"; } >&5
3971 (eval "$ac_link") 2>&5
3973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3974 test $ac_status = 0; }; then :
3975 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3976 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3977 # work properly (i.e., refer to `conftest.exe'), while it won't with
3979 for ac_file
in conftest.exe conftest conftest.
*; do
3980 test -f "$ac_file" ||
continue
3982 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3983 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3989 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3990 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3991 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3992 See \`config.log' for more details" "$LINENO" 5; }
3994 rm -f conftest conftest
$ac_cv_exeext
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3996 $as_echo "$ac_cv_exeext" >&6; }
3998 rm -f conftest.
$ac_ext
3999 EXEEXT
=$ac_cv_exeext
4001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4002 /* end confdefs.h. */
4007 FILE *f = fopen ("conftest.out", "w");
4008 return ferror (f) || fclose (f) != 0;
4014 ac_clean_files
="$ac_clean_files conftest.out"
4015 # Check that the compiler produces executables we can run. If not, either
4016 # the compiler is broken, or we cross compile.
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4018 $as_echo_n "checking whether we are cross compiling... " >&6; }
4019 if test "$cross_compiling" != yes; then
4020 { { ac_try
="$ac_link"
4022 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4023 *) ac_try_echo=$ac_try;;
4025 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4026 $as_echo "$ac_try_echo"; } >&5
4027 (eval "$ac_link") 2>&5
4029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4030 test $ac_status = 0; }
4031 if { ac_try='./conftest$ac_cv_exeext'
4032 { { case "(($ac_try" in
4033 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4034 *) ac_try_echo
=$ac_try;;
4036 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4037 $as_echo "$ac_try_echo"; } >&5
4038 (eval "$ac_try") 2>&5
4040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4041 test $ac_status = 0; }; }; then
4044 if test "$cross_compiling" = maybe
; then
4047 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4049 as_fn_error $?
"cannot run C compiled programs.
4050 If you meant to cross compile, use \`--host'.
4051 See \`config.log' for more details" "$LINENO" 5; }
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4056 $as_echo "$cross_compiling" >&6; }
4058 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4059 ac_clean_files
=$ac_clean_files_save
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4061 $as_echo_n "checking for suffix of object files... " >&6; }
4062 if ${ac_cv_objext+:} false
; then :
4063 $as_echo_n "(cached) " >&6
4065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4066 /* end confdefs.h. */
4076 rm -f conftest.o conftest.obj
4077 if { { ac_try
="$ac_compile"
4079 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4080 *) ac_try_echo=$ac_try;;
4082 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4083 $as_echo "$ac_try_echo"; } >&5
4084 (eval "$ac_compile") 2>&5
4086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4087 test $ac_status = 0; }; then :
4088 for ac_file in conftest.o conftest.obj conftest.*; do
4089 test -f "$ac_file" || continue;
4091 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4092 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4097 $as_echo "$as_me: failed program was:" >&5
4098 sed 's/^/| /' conftest.$ac_ext >&5
4100 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4101 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4102 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4103 See \
`config.log' for more details" "$LINENO" 5; }
4105 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4108 $as_echo "$ac_cv_objext" >&6; }
4109 OBJEXT=$ac_cv_objext
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4112 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4113 if ${ac_cv_c_compiler_gnu+:} false; then :
4114 $as_echo_n "(cached) " >&6
4116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4117 /* end confdefs.h. */
4130 if ac_fn_c_try_compile "$LINENO"; then :
4135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4136 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4140 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4141 if test $ac_compiler_gnu = yes; then
4146 ac_test_CFLAGS=${CFLAGS+set}
4147 ac_save_CFLAGS=$CFLAGS
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4149 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4150 if ${ac_cv_prog_cc_g+:} false; then :
4151 $as_echo_n "(cached) " >&6
4153 ac_save_c_werror_flag=$ac_c_werror_flag
4154 ac_c_werror_flag=yes
4157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4158 /* end confdefs.h. */
4168 if ac_fn_c_try_compile "$LINENO"; then :
4172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4173 /* end confdefs.h. */
4183 if ac_fn_c_try_compile "$LINENO"; then :
4186 ac_c_werror_flag=$ac_save_c_werror_flag
4188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4189 /* end confdefs.h. */
4199 if ac_fn_c_try_compile "$LINENO"; then :
4202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4207 ac_c_werror_flag=$ac_save_c_werror_flag
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4210 $as_echo "$ac_cv_prog_cc_g" >&6; }
4211 if test "$ac_test_CFLAGS" = set; then
4212 CFLAGS=$ac_save_CFLAGS
4213 elif test $ac_cv_prog_cc_g = yes; then
4214 if test "$GCC" = yes; then
4220 if test "$GCC" = yes; then
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4227 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4228 if ${ac_cv_prog_cc_c89+:} false; then :
4229 $as_echo_n "(cached) " >&6
4231 ac_cv_prog_cc_c89=no
4233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4234 /* end confdefs.h. */
4238 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4239 struct buf { int x; };
4240 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4241 static char *e (p, i)
4247 static char *f (char * (*g) (char **, int), char **p, ...)
4252 s = g (p, va_arg (v,int));
4257 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4258 function prototypes and stuff, but not '\xHH' hex character constants.
4259 These don't provoke an error unfortunately, instead are silently treated
4260 as 'x'. The following induces an error, until -std is added to get
4261 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4262 array size at least. It's necessary to write '\x00'==0 to get something
4263 that's true only with -std. */
4264 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4266 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4267 inside strings and character constants. */
4269 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4271 int test (int i, double x);
4272 struct s1 {int (*f) (int a);};
4273 struct s2 {int (*f) (double a);};
4274 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4280 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4285 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4286 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4288 CC="$ac_save_CC $ac_arg"
4289 if ac_fn_c_try_compile "$LINENO"; then :
4290 ac_cv_prog_cc_c89=$ac_arg
4292 rm -f core conftest.err conftest.$ac_objext
4293 test "x$ac_cv_prog_cc_c89" != "xno" && break
4295 rm -f conftest.$ac_ext
4300 case "x$ac_cv_prog_cc_c89" in
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4303 $as_echo "none needed" >&6; } ;;
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4306 $as_echo "unsupported" >&6; } ;;
4308 CC="$CC $ac_cv_prog_cc_c89"
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4310 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4312 if test "x$ac_cv_prog_cc_c89" != xno; then :
4317 ac_cpp='$CPP $CPPFLAGS'
4318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4323 ac_cpp='$CXXCPP $CPPFLAGS'
4324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4327 if test -z "$CXX"; then
4328 if test -n "$CCC"; then
4331 if test -n "$ac_tool_prefix"; then
4332 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4334 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4335 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4337 $as_echo_n "checking for $ac_word... " >&6; }
4338 if ${ac_cv_prog_CXX+:} false; then :
4339 $as_echo_n "(cached) " >&6
4341 if test -n "$CXX"; then
4342 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4348 test -z "$as_dir" && as_dir=.
4349 for ac_exec_ext in '' $ac_executable_extensions; do
4350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4351 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4362 if test -n "$CXX"; then
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4364 $as_echo "$CXX" >&6; }
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4367 $as_echo "no" >&6; }
4371 test -n "$CXX" && break
4374 if test -z "$CXX"; then
4376 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4378 # Extract the first word of "$ac_prog", so it can be a program name with args.
4379 set dummy $ac_prog; ac_word=$2
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4381 $as_echo_n "checking for $ac_word... " >&6; }
4382 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4383 $as_echo_n "(cached) " >&6
4385 if test -n "$ac_ct_CXX"; then
4386 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4392 test -z "$as_dir" && as_dir=.
4393 for ac_exec_ext in '' $ac_executable_extensions; do
4394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4395 ac_cv_prog_ac_ct_CXX="$ac_prog"
4396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4405 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4406 if test -n "$ac_ct_CXX"; then
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4408 $as_echo "$ac_ct_CXX" >&6; }
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4411 $as_echo "no" >&6; }
4415 test -n "$ac_ct_CXX" && break
4418 if test "x$ac_ct_CXX" = x; then
4421 case $cross_compiling:$ac_tool_warned in
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4424 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4425 ac_tool_warned=yes ;;
4433 # Provide some information about the compiler.
4434 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4437 for ac_option in --version -v -V -qversion; do
4438 { { ac_try="$ac_compiler $ac_option >&5"
4440 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4441 *) ac_try_echo
=$ac_try;;
4443 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4444 $as_echo "$ac_try_echo"; } >&5
4445 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4447 if test -s conftest.err
; then
4449 ... rest of stderr output deleted ...
4450 10q' conftest.err
>conftest.er1
4451 cat conftest.er1
>&5
4453 rm -f conftest.er1 conftest.err
4454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4455 test $ac_status = 0; }
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4459 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4460 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4461 $as_echo_n "(cached) " >&6
4463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4464 /* end confdefs.h. */
4477 if ac_fn_cxx_try_compile
"$LINENO"; then :
4482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4483 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4487 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4488 if test $ac_compiler_gnu = yes; then
4493 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4494 ac_save_CXXFLAGS
=$CXXFLAGS
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4496 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4497 if ${ac_cv_prog_cxx_g+:} false
; then :
4498 $as_echo_n "(cached) " >&6
4500 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4501 ac_cxx_werror_flag
=yes
4504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4505 /* end confdefs.h. */
4515 if ac_fn_cxx_try_compile
"$LINENO"; then :
4516 ac_cv_prog_cxx_g
=yes
4519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4520 /* end confdefs.h. */
4530 if ac_fn_cxx_try_compile
"$LINENO"; then :
4533 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4536 /* end confdefs.h. */
4546 if ac_fn_cxx_try_compile
"$LINENO"; then :
4547 ac_cv_prog_cxx_g
=yes
4549 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4553 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4554 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4557 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4558 if test "$ac_test_CXXFLAGS" = set; then
4559 CXXFLAGS
=$ac_save_CXXFLAGS
4560 elif test $ac_cv_prog_cxx_g = yes; then
4561 if test "$GXX" = yes; then
4567 if test "$GXX" = yes; then
4574 ac_cpp
='$CPP $CPPFLAGS'
4575 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4576 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4577 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4579 if test -n "$ac_tool_prefix"; then
4580 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4581 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4583 $as_echo_n "checking for $ac_word... " >&6; }
4584 if ${ac_cv_prog_CPPBIN+:} false
; then :
4585 $as_echo_n "(cached) " >&6
4587 if test -n "$CPPBIN"; then
4588 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4594 test -z "$as_dir" && as_dir
=.
4595 for ac_exec_ext
in '' $ac_executable_extensions; do
4596 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4597 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4607 CPPBIN
=$ac_cv_prog_CPPBIN
4608 if test -n "$CPPBIN"; then
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4610 $as_echo "$CPPBIN" >&6; }
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4613 $as_echo "no" >&6; }
4618 if test -z "$ac_cv_prog_CPPBIN"; then
4619 ac_ct_CPPBIN
=$CPPBIN
4620 # Extract the first word of "cpp", so it can be a program name with args.
4621 set dummy cpp
; ac_word
=$2
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4623 $as_echo_n "checking for $ac_word... " >&6; }
4624 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4625 $as_echo_n "(cached) " >&6
4627 if test -n "$ac_ct_CPPBIN"; then
4628 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4634 test -z "$as_dir" && as_dir
=.
4635 for ac_exec_ext
in '' $ac_executable_extensions; do
4636 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4637 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4647 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4648 if test -n "$ac_ct_CPPBIN"; then
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4650 $as_echo "$ac_ct_CPPBIN" >&6; }
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4653 $as_echo "no" >&6; }
4656 if test "x$ac_ct_CPPBIN" = x
; then
4659 case $cross_compiling:$ac_tool_warned in
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4662 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4663 ac_tool_warned
=yes ;;
4665 CPPBIN
=$ac_ct_CPPBIN
4668 CPPBIN
="$ac_cv_prog_CPPBIN"
4672 cat >>confdefs.h
<<_ACEOF
4673 #define EXEEXT "$ac_exeext"
4679 if test "x$enable_win64" = "xyes"
4684 notice_platform
="64-bit "
4691 notice_platform
="32-bit "
4694 enable_win16
=${enable_win16:-yes}
4696 with_fontconfig
=${with_fontconfig:-no}
4699 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4704 $as_echo_n "checking whether $CC works... " >&6; }
4706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4707 /* end confdefs.h. */
4717 if ac_fn_c_try_link
"$LINENO"; then :
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4719 $as_echo "yes" >&6; }
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4722 $as_echo "no" >&6; }
4723 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4725 rm -f core conftest.err conftest.
$ac_objext \
4726 conftest
$ac_exeext conftest.
$ac_ext
4728 notice_platform
="32-bit "
4731 enable_win16
=${enable_win16:-yes}
4733 if test "x${GCC}" = "xyes"
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4736 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4738 /* end confdefs.h. */
4743 void func(__builtin_ms_va_list *args);
4748 if ac_fn_c_try_compile
"$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 gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4756 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4764 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4766 /* end confdefs.h. */
4767 int ac_test(int i) { return i; }
4771 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4776 if ac_fn_c_try_link
"$LINENO"; then :
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4778 $as_echo "yes" >&6; }
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4781 $as_echo "no" >&6; }
4782 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4784 rm -f core conftest.err conftest.
$ac_objext \
4785 conftest
$ac_exeext conftest.
$ac_ext
4786 CFLAGS
="$CFLAGS -marm"
4788 *-mingw32*|
*-cygwin*)
4789 enable_win16
=${enable_win16:-no}
4790 CFLAGS
="$CFLAGS -D_WIN32"
4793 enable_win16
=${enable_win16:-yes}
4797 enable_win16
=${enable_win16:-no}
4798 enable_win64
=${enable_win64:-no}
4800 enable_winetest
=${enable_winetest:-$enable_tests}
4802 if test -n "$with_wine64"
4804 if test "x$enable_win64" = "xyes"
4806 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4807 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4809 enable_fonts
=${enable_fonts:-no}
4810 enable_server
=${enable_server:-no}
4811 elif test "x$enable_win64" = "xyes"
4813 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4817 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4818 if ${wine_cv_toolsdir+:} false
; then :
4819 $as_echo_n "(cached) " >&6
4821 wine_cv_toolsdir
="$with_wine_tools"
4822 if test -z "$with_wine_tools"; then
4823 if test "$cross_compiling" = "yes"; then
4824 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4825 elif test -n "$with_wine64"; then
4826 wine_cv_toolsdir
="$with_wine64"
4829 if test -z "$wine_cv_toolsdir"; then
4830 wine_cv_toolsdir
="\$(top_builddir)"
4831 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4832 case "$wine_cv_toolsdir" in
4834 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4836 enable_tools
=${enable_tools:-no}
4838 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4842 $as_echo "$wine_cv_toolsdir" >&6; }
4843 TOOLSDIR
=$wine_cv_toolsdir
4845 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4847 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4853 # Extract the first word of "$ac_prog", so it can be a program name with args.
4854 set dummy
$ac_prog; ac_word
=$2
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4856 $as_echo_n "checking for $ac_word... " >&6; }
4857 if ${ac_cv_prog_FLEX+:} false
; then :
4858 $as_echo_n "(cached) " >&6
4860 if test -n "$FLEX"; then
4861 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4867 test -z "$as_dir" && as_dir
=.
4868 for ac_exec_ext
in '' $ac_executable_extensions; do
4869 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4870 ac_cv_prog_FLEX
="$ac_prog"
4871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4880 FLEX
=$ac_cv_prog_FLEX
4881 if test -n "$FLEX"; then
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4883 $as_echo "$FLEX" >&6; }
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4886 $as_echo "no" >&6; }
4890 test -n "$FLEX" && break
4892 test -n "$FLEX" || FLEX
="none"
4894 if test "$FLEX" = "none"
4896 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4899 $as_echo_n "checking whether flex is recent enough... " >&6; }
4900 cat >conftest.l
<<EOF
4902 #include "prediluvian.h"
4906 if $FLEX -t conftest.l
>/dev
/null
2>&5
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4909 $as_echo "yes" >&6; }
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4912 $as_echo "no" >&6; }
4913 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4916 for ac_prog
in bison
4918 # Extract the first word of "$ac_prog", so it can be a program name with args.
4919 set dummy
$ac_prog; ac_word
=$2
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4921 $as_echo_n "checking for $ac_word... " >&6; }
4922 if ${ac_cv_prog_BISON+:} false
; then :
4923 $as_echo_n "(cached) " >&6
4925 if test -n "$BISON"; then
4926 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4932 test -z "$as_dir" && as_dir
=.
4933 for ac_exec_ext
in '' $ac_executable_extensions; do
4934 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4935 ac_cv_prog_BISON
="$ac_prog"
4936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4945 BISON
=$ac_cv_prog_BISON
4946 if test -n "$BISON"; then
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4948 $as_echo "$BISON" >&6; }
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4951 $as_echo "no" >&6; }
4955 test -n "$BISON" && break
4957 test -n "$BISON" || BISON
="none"
4959 if test "$BISON" = "none"
4961 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4964 if test -n "$ac_tool_prefix"; then
4965 for ac_prog
in ar gar
4967 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4968 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4970 $as_echo_n "checking for $ac_word... " >&6; }
4971 if ${ac_cv_prog_AR+:} false
; then :
4972 $as_echo_n "(cached) " >&6
4974 if test -n "$AR"; then
4975 ac_cv_prog_AR
="$AR" # Let the user override the test.
4977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4981 test -z "$as_dir" && as_dir
=.
4982 for ac_exec_ext
in '' $ac_executable_extensions; do
4983 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4984 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 if test -n "$AR"; then
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4997 $as_echo "$AR" >&6; }
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5000 $as_echo "no" >&6; }
5004 test -n "$AR" && break
5007 if test -z "$AR"; then
5009 for ac_prog
in ar gar
5011 # Extract the first word of "$ac_prog", so it can be a program name with args.
5012 set dummy
$ac_prog; ac_word
=$2
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5014 $as_echo_n "checking for $ac_word... " >&6; }
5015 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5016 $as_echo_n "(cached) " >&6
5018 if test -n "$ac_ct_AR"; then
5019 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5025 test -z "$as_dir" && as_dir
=.
5026 for ac_exec_ext
in '' $ac_executable_extensions; do
5027 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5028 ac_cv_prog_ac_ct_AR
="$ac_prog"
5029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5038 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5039 if test -n "$ac_ct_AR"; then
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5041 $as_echo "$ac_ct_AR" >&6; }
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 $as_echo "no" >&6; }
5048 test -n "$ac_ct_AR" && break
5051 if test "x$ac_ct_AR" = x
; then
5054 case $cross_compiling:$ac_tool_warned in
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5058 ac_tool_warned
=yes ;;
5064 if test -n "$ac_tool_prefix"; then
5065 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5066 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5068 $as_echo_n "checking for $ac_word... " >&6; }
5069 if ${ac_cv_prog_STRIP+:} false
; then :
5070 $as_echo_n "(cached) " >&6
5072 if test -n "$STRIP"; then
5073 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5079 test -z "$as_dir" && as_dir
=.
5080 for ac_exec_ext
in '' $ac_executable_extensions; do
5081 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5082 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5092 STRIP
=$ac_cv_prog_STRIP
5093 if test -n "$STRIP"; then
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5095 $as_echo "$STRIP" >&6; }
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5098 $as_echo "no" >&6; }
5103 if test -z "$ac_cv_prog_STRIP"; then
5105 # Extract the first word of "strip", so it can be a program name with args.
5106 set dummy strip
; ac_word
=$2
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5108 $as_echo_n "checking for $ac_word... " >&6; }
5109 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5110 $as_echo_n "(cached) " >&6
5112 if test -n "$ac_ct_STRIP"; then
5113 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5119 test -z "$as_dir" && as_dir
=.
5120 for ac_exec_ext
in '' $ac_executable_extensions; do
5121 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5122 ac_cv_prog_ac_ct_STRIP
="strip"
5123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5132 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5133 if test -n "$ac_ct_STRIP"; then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5135 $as_echo "$ac_ct_STRIP" >&6; }
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 $as_echo "no" >&6; }
5141 if test "x$ac_ct_STRIP" = x
; then
5144 case $cross_compiling:$ac_tool_warned in
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5147 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5148 ac_tool_warned
=yes ;;
5153 STRIP
="$ac_cv_prog_STRIP"
5158 if test -n "$ac_tool_prefix"; then
5159 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5160 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5162 $as_echo_n "checking for $ac_word... " >&6; }
5163 if ${ac_cv_prog_RANLIB+:} false
; then :
5164 $as_echo_n "(cached) " >&6
5166 if test -n "$RANLIB"; then
5167 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5173 test -z "$as_dir" && as_dir
=.
5174 for ac_exec_ext
in '' $ac_executable_extensions; do
5175 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5176 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5186 RANLIB
=$ac_cv_prog_RANLIB
5187 if test -n "$RANLIB"; then
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5189 $as_echo "$RANLIB" >&6; }
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5192 $as_echo "no" >&6; }
5197 if test -z "$ac_cv_prog_RANLIB"; then
5198 ac_ct_RANLIB
=$RANLIB
5199 # Extract the first word of "ranlib", so it can be a program name with args.
5200 set dummy ranlib
; ac_word
=$2
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5202 $as_echo_n "checking for $ac_word... " >&6; }
5203 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5204 $as_echo_n "(cached) " >&6
5206 if test -n "$ac_ct_RANLIB"; then
5207 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5213 test -z "$as_dir" && as_dir
=.
5214 for ac_exec_ext
in '' $ac_executable_extensions; do
5215 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5216 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5226 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5227 if test -n "$ac_ct_RANLIB"; then
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5229 $as_echo "$ac_ct_RANLIB" >&6; }
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5232 $as_echo "no" >&6; }
5235 if test "x$ac_ct_RANLIB" = x
; then
5238 case $cross_compiling:$ac_tool_warned in
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5242 ac_tool_warned
=yes ;;
5244 RANLIB
=$ac_ct_RANLIB
5247 RANLIB
="$ac_cv_prog_RANLIB"
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5251 $as_echo_n "checking whether ln -s works... " >&6; }
5253 if test "$LN_S" = "ln -s"; then
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5255 $as_echo "yes" >&6; }
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5258 $as_echo "no, using $LN_S" >&6; }
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5262 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5263 if ${ac_cv_path_GREP+:} false
; then :
5264 $as_echo_n "(cached) " >&6
5266 if test -z "$GREP"; then
5267 ac_path_GREP_found
=false
5268 # Loop through the user's path and test for each of PROGNAME-LIST
5269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5270 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5273 test -z "$as_dir" && as_dir
=.
5274 for ac_prog
in grep ggrep
; do
5275 for ac_exec_ext
in '' $ac_executable_extensions; do
5276 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5277 as_fn_executable_p
"$ac_path_GREP" ||
continue
5278 # Check for GNU ac_path_GREP and select it if it is found.
5279 # Check for GNU $ac_path_GREP
5280 case `"$ac_path_GREP" --version 2>&1` in
5282 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5285 $as_echo_n 0123456789 >"conftest.in"
5288 cat "conftest.in" "conftest.in" >"conftest.tmp"
5289 mv "conftest.tmp" "conftest.in"
5290 cp "conftest.in" "conftest.nl"
5291 $as_echo 'GREP' >> "conftest.nl"
5292 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5293 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5294 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5295 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5296 # Best one so far, save it but keep looking for a better one
5297 ac_cv_path_GREP
="$ac_path_GREP"
5298 ac_path_GREP_max
=$ac_count
5300 # 10*(2^10) chars as input seems more than enough
5301 test $ac_count -gt 10 && break
5303 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5306 $ac_path_GREP_found && break 3
5311 if test -z "$ac_cv_path_GREP"; then
5312 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5315 ac_cv_path_GREP
=$GREP
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5320 $as_echo "$ac_cv_path_GREP" >&6; }
5321 GREP
="$ac_cv_path_GREP"
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5325 $as_echo_n "checking for egrep... " >&6; }
5326 if ${ac_cv_path_EGREP+:} false
; then :
5327 $as_echo_n "(cached) " >&6
5329 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5330 then ac_cv_path_EGREP
="$GREP -E"
5332 if test -z "$EGREP"; then
5333 ac_path_EGREP_found
=false
5334 # Loop through the user's path and test for each of PROGNAME-LIST
5335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5336 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5339 test -z "$as_dir" && as_dir
=.
5340 for ac_prog
in egrep; do
5341 for ac_exec_ext
in '' $ac_executable_extensions; do
5342 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5343 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5344 # Check for GNU ac_path_EGREP and select it if it is found.
5345 # Check for GNU $ac_path_EGREP
5346 case `"$ac_path_EGREP" --version 2>&1` in
5348 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5351 $as_echo_n 0123456789 >"conftest.in"
5354 cat "conftest.in" "conftest.in" >"conftest.tmp"
5355 mv "conftest.tmp" "conftest.in"
5356 cp "conftest.in" "conftest.nl"
5357 $as_echo 'EGREP' >> "conftest.nl"
5358 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5359 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5360 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5361 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5362 # Best one so far, save it but keep looking for a better one
5363 ac_cv_path_EGREP
="$ac_path_EGREP"
5364 ac_path_EGREP_max
=$ac_count
5366 # 10*(2^10) chars as input seems more than enough
5367 test $ac_count -gt 10 && break
5369 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5372 $ac_path_EGREP_found && break 3
5377 if test -z "$ac_cv_path_EGREP"; then
5378 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5381 ac_cv_path_EGREP
=$EGREP
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5387 $as_echo "$ac_cv_path_EGREP" >&6; }
5388 EGREP
="$ac_cv_path_EGREP"
5391 # Extract the first word of "ldconfig", so it can be a program name with args.
5392 set dummy ldconfig
; ac_word
=$2
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5394 $as_echo_n "checking for $ac_word... " >&6; }
5395 if ${ac_cv_path_LDCONFIG+:} false
; then :
5396 $as_echo_n "(cached) " >&6
5400 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5404 for as_dir
in /sbin
/usr
/sbin
$PATH
5407 test -z "$as_dir" && as_dir
=.
5408 for ac_exec_ext
in '' $ac_executable_extensions; do
5409 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5410 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5418 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5422 LDCONFIG
=$ac_cv_path_LDCONFIG
5423 if test -n "$LDCONFIG"; then
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5425 $as_echo "$LDCONFIG" >&6; }
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5428 $as_echo "no" >&6; }
5432 for ac_prog
in msgfmt
5434 # Extract the first word of "$ac_prog", so it can be a program name with args.
5435 set dummy
$ac_prog; ac_word
=$2
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5437 $as_echo_n "checking for $ac_word... " >&6; }
5438 if ${ac_cv_prog_MSGFMT+:} false
; then :
5439 $as_echo_n "(cached) " >&6
5441 if test -n "$MSGFMT"; then
5442 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5448 test -z "$as_dir" && as_dir
=.
5449 for ac_exec_ext
in '' $ac_executable_extensions; do
5450 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5451 ac_cv_prog_MSGFMT
="$ac_prog"
5452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5461 MSGFMT
=$ac_cv_prog_MSGFMT
5462 if test -n "$MSGFMT"; then
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5464 $as_echo "$MSGFMT" >&6; }
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5467 $as_echo "no" >&6; }
5471 test -n "$MSGFMT" && break
5473 test -n "$MSGFMT" || MSGFMT
="false"
5475 if ${ac_tool_prefix+:} false
; then :
5476 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5477 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5479 $as_echo_n "checking for $ac_word... " >&6; }
5480 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5481 $as_echo_n "(cached) " >&6
5483 if test -n "$PKG_CONFIG"; then
5484 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5490 test -z "$as_dir" && as_dir
=.
5491 for ac_exec_ext
in '' $ac_executable_extensions; do
5492 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5493 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5503 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5504 if test -n "$PKG_CONFIG"; then
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5506 $as_echo "$PKG_CONFIG" >&6; }
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5509 $as_echo "no" >&6; }
5514 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5515 if test "x$cross_compiling" = xyes
; then :
5518 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5519 # Extract the first word of "pkg-config", so it can be a program name with args.
5520 set dummy pkg-config
; ac_word
=$2
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5522 $as_echo_n "checking for $ac_word... " >&6; }
5523 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5524 $as_echo_n "(cached) " >&6
5526 if test -n "$PKG_CONFIG"; then
5527 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5533 test -z "$as_dir" && as_dir
=.
5534 for ac_exec_ext
in '' $ac_executable_extensions; do
5535 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5536 ac_cv_prog_PKG_CONFIG
="pkg-config"
5537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5546 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5547 if test -n "$PKG_CONFIG"; then
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5549 $as_echo "$PKG_CONFIG" >&6; }
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5552 $as_echo "no" >&6; }
5558 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5561 if test "x$enable_maintainer_mode" != "xyes"
5568 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5569 for ac_prog
in fontforge
5571 # Extract the first word of "$ac_prog", so it can be a program name with args.
5572 set dummy
$ac_prog; ac_word
=$2
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5574 $as_echo_n "checking for $ac_word... " >&6; }
5575 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5576 $as_echo_n "(cached) " >&6
5578 if test -n "$FONTFORGE"; then
5579 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5585 test -z "$as_dir" && as_dir
=.
5586 for ac_exec_ext
in '' $ac_executable_extensions; do
5587 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5588 ac_cv_prog_FONTFORGE
="$ac_prog"
5589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5598 FONTFORGE
=$ac_cv_prog_FONTFORGE
5599 if test -n "$FONTFORGE"; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5601 $as_echo "$FONTFORGE" >&6; }
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5604 $as_echo "no" >&6; }
5608 test -n "$FONTFORGE" && break
5610 test -n "$FONTFORGE" || FONTFORGE
="false"
5614 # Extract the first word of "$ac_prog", so it can be a program name with args.
5615 set dummy
$ac_prog; ac_word
=$2
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5617 $as_echo_n "checking for $ac_word... " >&6; }
5618 if ${ac_cv_prog_RSVG+:} false
; then :
5619 $as_echo_n "(cached) " >&6
5621 if test -n "$RSVG"; then
5622 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5628 test -z "$as_dir" && as_dir
=.
5629 for ac_exec_ext
in '' $ac_executable_extensions; do
5630 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5631 ac_cv_prog_RSVG
="$ac_prog"
5632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641 RSVG
=$ac_cv_prog_RSVG
5642 if test -n "$RSVG"; then
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5644 $as_echo "$RSVG" >&6; }
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5647 $as_echo "no" >&6; }
5651 test -n "$RSVG" && break
5653 test -n "$RSVG" || RSVG
="false"
5655 for ac_prog
in convert
5657 # Extract the first word of "$ac_prog", so it can be a program name with args.
5658 set dummy
$ac_prog; ac_word
=$2
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5660 $as_echo_n "checking for $ac_word... " >&6; }
5661 if ${ac_cv_prog_CONVERT+:} false
; then :
5662 $as_echo_n "(cached) " >&6
5664 if test -n "$CONVERT"; then
5665 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5671 test -z "$as_dir" && as_dir
=.
5672 for ac_exec_ext
in '' $ac_executable_extensions; do
5673 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5674 ac_cv_prog_CONVERT
="$ac_prog"
5675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5684 CONVERT
=$ac_cv_prog_CONVERT
5685 if test -n "$CONVERT"; then
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5687 $as_echo "$CONVERT" >&6; }
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5690 $as_echo "no" >&6; }
5694 test -n "$CONVERT" && break
5696 test -n "$CONVERT" || CONVERT
="false"
5698 for ac_prog
in icotool
5700 # Extract the first word of "$ac_prog", so it can be a program name with args.
5701 set dummy
$ac_prog; ac_word
=$2
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5703 $as_echo_n "checking for $ac_word... " >&6; }
5704 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5705 $as_echo_n "(cached) " >&6
5707 if test -n "$ICOTOOL"; then
5708 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5714 test -z "$as_dir" && as_dir
=.
5715 for ac_exec_ext
in '' $ac_executable_extensions; do
5716 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5717 ac_cv_prog_ICOTOOL
="$ac_prog"
5718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5727 ICOTOOL
=$ac_cv_prog_ICOTOOL
5728 if test -n "$ICOTOOL"; then
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5730 $as_echo "$ICOTOOL" >&6; }
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5733 $as_echo "no" >&6; }
5737 test -n "$ICOTOOL" && break
5739 test -n "$ICOTOOL" || ICOTOOL
="false"
5741 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5742 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5744 if test "$CONVERT" = false
5746 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5749 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5750 convert_version
=`convert --version | head -n1`
5751 if test "x$convert_version" != "x"
5753 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5754 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5755 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5760 if test "$CONVERT" = false
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5763 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5764 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5767 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5771 if test "$ICOTOOL" = false
5773 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5776 $as_echo_n "checking for recent enough icotool... " >&6; }
5777 icotool_version
=`icotool --version | head -n1`
5778 if test "x$icotool_version" != "x"
5780 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5781 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5782 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5785 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5788 if test "$ICOTOOL" = false
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5791 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5792 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5795 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5801 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5804 test "x$with_gettext" != xno || MSGFMT
=false
5805 if test "$MSGFMT" != "false"
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5808 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5809 cat >conftest.po
<<EOF
5815 if $MSGFMT -o /dev
/null conftest.po
2>&5
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5818 $as_echo "yes" >&6; }
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5821 $as_echo "no" >&6; }
5825 if test "$MSGFMT" = false
; then :
5826 case "x$with_gettext" in
5827 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5829 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5830 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5836 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5837 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5838 $as_echo_n "(cached) " >&6
5840 ac_check_lib_save_LIBS
=$LIBS
5842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5843 /* end confdefs.h. */
5845 /* Override any GCC internal prototype to avoid an error.
5846 Use char because int might match the return type of a GCC
5847 builtin and then its argument prototype would still apply. */
5851 char i386_set_ldt ();
5855 return i386_set_ldt ();
5860 if ac_fn_c_try_link
"$LINENO"; then :
5861 ac_cv_lib_i386_i386_set_ldt
=yes
5863 ac_cv_lib_i386_i386_set_ldt
=no
5865 rm -f core conftest.err conftest.
$ac_objext \
5866 conftest
$ac_exeext conftest.
$ac_ext
5867 LIBS
=$ac_check_lib_save_LIBS
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5870 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5871 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5872 cat >>confdefs.h
<<_ACEOF
5873 #define HAVE_LIBI386 1
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5881 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5882 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5883 $as_echo_n "(cached) " >&6
5885 ac_check_lib_save_LIBS
=$LIBS
5886 LIBS
="-lossaudio $LIBS"
5887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5888 /* end confdefs.h. */
5890 /* Override any GCC internal prototype to avoid an error.
5891 Use char because int might match the return type of a GCC
5892 builtin and then its argument prototype would still apply. */
5900 return _oss_ioctl ();
5905 if ac_fn_c_try_link
"$LINENO"; then :
5906 ac_cv_lib_ossaudio__oss_ioctl
=yes
5908 ac_cv_lib_ossaudio__oss_ioctl
=no
5910 rm -f core conftest.err conftest.
$ac_objext \
5911 conftest
$ac_exeext conftest.
$ac_ext
5912 LIBS
=$ac_check_lib_save_LIBS
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5915 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5916 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5917 cat >>confdefs.h
<<_ACEOF
5918 #define HAVE_LIBOSSAUDIO 1
5921 LIBS
="-lossaudio $LIBS"
5930 # Check whether --enable-largefile was given.
5931 if test "${enable_largefile+set}" = set; then :
5932 enableval
=$enable_largefile;
5935 if test "$enable_largefile" != no
; then
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5938 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5939 if ${ac_cv_sys_largefile_CC+:} false
; then :
5940 $as_echo_n "(cached) " >&6
5942 ac_cv_sys_largefile_CC
=no
5943 if test "$GCC" != yes; then
5946 # IRIX 6.2 and later do not support large files by default,
5947 # so use the C compiler's -n32 option if that helps.
5948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5949 /* end confdefs.h. */
5950 #include <sys/types.h>
5951 /* Check that off_t can represent 2**63 - 1 correctly.
5952 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5953 since some C++ compilers masquerading as C compilers
5954 incorrectly reject 9223372036854775807. */
5955 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5956 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5957 && LARGE_OFF_T % 2147483647 == 1)
5967 if ac_fn_c_try_compile
"$LINENO"; then :
5970 rm -f core conftest.err conftest.
$ac_objext
5972 if ac_fn_c_try_compile
"$LINENO"; then :
5973 ac_cv_sys_largefile_CC
=' -n32'; break
5975 rm -f core conftest.err conftest.
$ac_objext
5979 rm -f conftest.
$ac_ext
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5983 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5984 if test "$ac_cv_sys_largefile_CC" != no
; then
5985 CC
=$CC$ac_cv_sys_largefile_CC
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5989 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5990 if ${ac_cv_sys_file_offset_bits+:} false
; then :
5991 $as_echo_n "(cached) " >&6
5994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5995 /* end confdefs.h. */
5996 #include <sys/types.h>
5997 /* Check that off_t can represent 2**63 - 1 correctly.
5998 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5999 since some C++ compilers masquerading as C compilers
6000 incorrectly reject 9223372036854775807. */
6001 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6002 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6003 && LARGE_OFF_T % 2147483647 == 1)
6013 if ac_fn_c_try_compile
"$LINENO"; then :
6014 ac_cv_sys_file_offset_bits
=no
; break
6016 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6018 /* end confdefs.h. */
6019 #define _FILE_OFFSET_BITS 64
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
=64; break
6040 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6041 ac_cv_sys_file_offset_bits
=unknown
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6046 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6047 case $ac_cv_sys_file_offset_bits in #(
6050 cat >>confdefs.h
<<_ACEOF
6051 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6056 if test $ac_cv_sys_file_offset_bits = unknown
; then
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6058 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6059 if ${ac_cv_sys_large_files+:} false
; then :
6060 $as_echo_n "(cached) " >&6
6063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6064 /* end confdefs.h. */
6065 #include <sys/types.h>
6066 /* Check that off_t can represent 2**63 - 1 correctly.
6067 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6068 since some C++ compilers masquerading as C compilers
6069 incorrectly reject 9223372036854775807. */
6070 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6071 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6072 && LARGE_OFF_T % 2147483647 == 1)
6082 if ac_fn_c_try_compile
"$LINENO"; then :
6083 ac_cv_sys_large_files
=no
; break
6085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6087 /* end confdefs.h. */
6088 #define _LARGE_FILES 1
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
=1; break
6109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6110 ac_cv_sys_large_files
=unknown
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6115 $as_echo "$ac_cv_sys_large_files" >&6; }
6116 case $ac_cv_sys_large_files in #(
6119 cat >>confdefs.h
<<_ACEOF
6120 #define _LARGE_FILES $ac_cv_sys_large_files
6132 ac_cpp
='$CPP $CPPFLAGS'
6133 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6134 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6135 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6137 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6138 # On Suns, sometimes $CPP names a directory.
6139 if test -n "$CPP" && test -d "$CPP"; then
6142 if test -z "$CPP"; then
6143 if ${ac_cv_prog_CPP+:} false
; then :
6144 $as_echo_n "(cached) " >&6
6146 # Double quotes because CPP needs to be expanded
6147 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6150 for ac_c_preproc_warn_flag
in '' yes
6152 # Use a header file that comes with gcc, so configuring glibc
6153 # with a fresh cross-compiler works.
6154 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6155 # <limits.h> exists even on freestanding compilers.
6156 # On the NeXT, cc -E runs the code through the compiler's parser,
6157 # not just through cpp. "Syntax error" is here to catch this case.
6158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6159 /* end confdefs.h. */
6161 # include <limits.h>
6163 # include <assert.h>
6167 if ac_fn_c_try_cpp
"$LINENO"; then :
6170 # Broken: fails on valid input.
6173 rm -f conftest.err conftest.i conftest.
$ac_ext
6175 # OK, works on sane cases. Now check whether nonexistent headers
6176 # can be detected and how.
6177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6178 /* end confdefs.h. */
6179 #include <ac_nonexistent.h>
6181 if ac_fn_c_try_cpp
"$LINENO"; then :
6182 # Broken: success on invalid input.
6185 # Passes both tests.
6189 rm -f conftest.err conftest.i conftest.
$ac_ext
6192 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6193 rm -f conftest.i conftest.err conftest.
$ac_ext
6194 if $ac_preproc_ok; then :
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6207 $as_echo "$CPP" >&6; }
6209 for ac_c_preproc_warn_flag
in '' yes
6211 # Use a header file that comes with gcc, so configuring glibc
6212 # with a fresh cross-compiler works.
6213 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6214 # <limits.h> exists even on freestanding compilers.
6215 # On the NeXT, cc -E runs the code through the compiler's parser,
6216 # not just through cpp. "Syntax error" is here to catch this case.
6217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6218 /* end confdefs.h. */
6220 # include <limits.h>
6222 # include <assert.h>
6226 if ac_fn_c_try_cpp
"$LINENO"; then :
6229 # Broken: fails on valid input.
6232 rm -f conftest.err conftest.i conftest.
$ac_ext
6234 # OK, works on sane cases. Now check whether nonexistent headers
6235 # can be detected and how.
6236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6237 /* end confdefs.h. */
6238 #include <ac_nonexistent.h>
6240 if ac_fn_c_try_cpp
"$LINENO"; then :
6241 # Broken: success on invalid input.
6244 # Passes both tests.
6248 rm -f conftest.err conftest.i conftest.
$ac_ext
6251 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6252 rm -f conftest.i conftest.err conftest.
$ac_ext
6253 if $ac_preproc_ok; then :
6256 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6258 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6259 See \`config.log' for more details" "$LINENO" 5; }
6263 ac_cpp
='$CPP $CPPFLAGS'
6264 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6265 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6266 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6270 $as_echo_n "checking for ANSI C header files... " >&6; }
6271 if ${ac_cv_header_stdc+:} false
; then :
6272 $as_echo_n "(cached) " >&6
6274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6275 /* end confdefs.h. */
6289 if ac_fn_c_try_compile
"$LINENO"; then :
6290 ac_cv_header_stdc
=yes
6292 ac_cv_header_stdc
=no
6294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6296 if test $ac_cv_header_stdc = yes; then
6297 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6299 /* end confdefs.h. */
6303 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6304 $EGREP "memchr" >/dev
/null
2>&1; then :
6307 ac_cv_header_stdc
=no
6313 if test $ac_cv_header_stdc = yes; then
6314 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6316 /* end confdefs.h. */
6320 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6321 $EGREP "free" >/dev
/null
2>&1; then :
6324 ac_cv_header_stdc
=no
6330 if test $ac_cv_header_stdc = yes; then
6331 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6332 if test "$cross_compiling" = yes; then :
6335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6336 /* end confdefs.h. */
6339 #if ((' ' & 0x0FF) == 0x020)
6340 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6341 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6343 # define ISLOWER(c) \
6344 (('a' <= (c) && (c) <= 'i') \
6345 || ('j' <= (c) && (c) <= 'r') \
6346 || ('s' <= (c) && (c) <= 'z'))
6347 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6350 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6355 for (i = 0; i < 256; i++)
6356 if (XOR (islower (i), ISLOWER (i))
6357 || toupper (i) != TOUPPER (i))
6362 if ac_fn_c_try_run
"$LINENO"; then :
6365 ac_cv_header_stdc
=no
6367 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6368 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6374 $as_echo "$ac_cv_header_stdc" >&6; }
6375 if test $ac_cv_header_stdc = yes; then
6377 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6381 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6382 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6383 inttypes.h stdint.h unistd.h
6385 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6386 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6388 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6389 cat >>confdefs.h
<<_ACEOF
6390 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6400 ApplicationServices
/ApplicationServices.h \
6401 AudioToolbox
/AudioConverter.h \
6402 AudioUnit
/AudioUnit.h \
6403 AudioUnit
/AudioComponent.h \
6406 CoreAudio
/CoreAudio.h \
6407 CoreServices
/CoreServices.h \
6408 DiskArbitration
/DiskArbitration.h \
6410 IOKit
/hid
/IOHIDLib.h \
6413 QuickTime
/ImageCompression.h \
6414 Security
/Security.h \
6465 netinet
/in_systm.h \
6526 valgrind
/memcheck.h \
6527 valgrind
/valgrind.h \
6531 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6532 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6533 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6534 cat >>confdefs.h
<<_ACEOF
6535 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6543 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6544 if ${ac_cv_header_stat_broken+:} false
; then :
6545 $as_echo_n "(cached) " >&6
6547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6548 /* end confdefs.h. */
6549 #include <sys/types.h>
6550 #include <sys/stat.h>
6552 #if defined S_ISBLK && defined S_IFDIR
6553 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6556 #if defined S_ISBLK && defined S_IFCHR
6557 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6560 #if defined S_ISLNK && defined S_IFREG
6561 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6564 #if defined S_ISSOCK && defined S_IFREG
6565 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6569 if ac_fn_c_try_compile
"$LINENO"; then :
6570 ac_cv_header_stat_broken
=no
6572 ac_cv_header_stat_broken
=yes
6574 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6577 $as_echo "$ac_cv_header_stat_broken" >&6; }
6578 if test $ac_cv_header_stat_broken = yes; then
6580 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6586 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6588 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6589 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6590 #ifdef HAVE_SYS_PARAM_H
6591 # include <sys/param.h>
6594 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6595 cat >>confdefs.h
<<_ACEOF
6596 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6611 netinet
/if_ether.h \
6612 netinet
/if_inarp.h \
6621 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6622 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6623 #ifdef HAVE_SYS_SOCKET_H
6624 # include <sys/socket.h>
6626 #ifdef HAVE_SYS_SOCKETVAR_H
6627 # include <sys/socketvar.h>
6629 #ifdef HAVE_NET_ROUTE_H
6630 # include <net/route.h>
6632 #ifdef HAVE_NETINET_IN_H
6633 # include <netinet/in.h>
6635 #ifdef HAVE_NETINET_IN_SYSTM_H
6636 # include <netinet/in_systm.h>
6638 #ifdef HAVE_NET_IF_H
6639 # include <net/if.h>
6641 #ifdef HAVE_NETINET_IP_H
6642 # include <netinet/ip.h>
6645 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6646 cat >>confdefs.h
<<_ACEOF
6647 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6655 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6657 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6658 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6662 #ifdef HAVE_SYS_SOCKET_H
6663 # include <sys/socket.h>
6665 #ifdef HAVE_SYS_SOCKETVAR_H
6666 # include <sys/socketvar.h>
6668 #ifdef HAVE_SYS_TIMEOUT_H
6669 # include <sys/timeout.h>
6671 #ifdef HAVE_NETINET_IN_H
6672 # include <netinet/in.h>
6674 #ifdef HAVE_NETINET_IN_SYSTM_H
6675 # include <netinet/in_systm.h>
6677 #ifdef HAVE_NETINET_IP_H
6678 # include <netinet/ip.h>
6680 #ifdef HAVE_NETINET_IP_VAR_H
6681 # include <netinet/ip_var.h>
6683 #ifdef HAVE_NETINET_IP_ICMP_H
6684 # include <netinet/ip_icmp.h>
6686 #ifdef HAVE_NETINET_UDP_H
6687 # include <netinet/udp.h>
6689 #ifdef HAVE_NETINET_TCP_H
6690 # include <netinet/tcp.h>
6692 #ifdef HAVE_NETINET_TCP_TIMER_H
6693 #include <netinet/tcp_timer.h>
6696 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6697 cat >>confdefs.h
<<_ACEOF
6698 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6706 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6708 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6709 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6710 #ifdef HAVE_ASM_TYPES_H
6711 # include <asm/types.h>
6713 #ifdef HAVE_SYS_SOCKET_H
6714 # include <sys/socket.h>
6716 #ifdef HAVE_LINUX_TYPES_H
6717 # include <linux/types.h>
6720 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6721 cat >>confdefs.h
<<_ACEOF
6722 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6730 for ac_header
in mach-o
/dyld_images.h
6732 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6733 # include <stdbool.h>
6735 #ifdef HAVE_STDINT_H
6736 # include <stdint.h>
6739 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6740 cat >>confdefs.h
<<_ACEOF
6741 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6749 for ac_header
in resolv.h
6751 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6752 #ifdef HAVE_SYS_SOCKET_H
6753 # include <sys/socket.h>
6755 #ifdef HAVE_NETINET_IN_H
6756 # include <netinet/in.h>
6758 #ifdef HAVE_ARPA_NAMESER_H
6759 # include <arpa/nameser.h>
6762 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6763 cat >>confdefs.h
<<_ACEOF
6764 #define HAVE_RESOLV_H 1
6772 for ac_header
in ifaddrs.h
6774 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6776 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6777 cat >>confdefs.h
<<_ACEOF
6778 #define HAVE_IFADDRS_H 1
6786 for ac_header
in ucontext.h
6788 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6790 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6791 cat >>confdefs.h
<<_ACEOF
6792 #define HAVE_UCONTEXT_H 1
6800 for ac_header
in sys
/thr.h
6802 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6803 #ifdef HAVE_UCONTEXT_H
6804 #include <ucontext.h>
6807 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6808 cat >>confdefs.h
<<_ACEOF
6809 #define HAVE_SYS_THR_H 1
6817 for ac_header
in pthread_np.h
6819 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6820 #include <pthread.h>
6823 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6824 cat >>confdefs.h
<<_ACEOF
6825 #define HAVE_PTHREAD_NP_H 1
6833 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6835 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6836 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6837 #include <sys/time.h>
6839 #include <sys/types.h>
6840 #ifdef HAVE_ASM_TYPES_H
6841 #include <asm/types.h>
6844 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6845 cat >>confdefs.h
<<_ACEOF
6846 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6854 for ac_header
in libprocstat.h
6856 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6857 #include <sys/param.h>
6859 #ifdef HAVE_SYS_QUEUE_H
6860 #include <sys/queue.h>
6862 #ifdef HAVE_SYS_SOCKET_H
6863 #include <sys/socket.h>
6866 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6867 cat >>confdefs.h
<<_ACEOF
6868 #define HAVE_LIBPROCSTAT_H 1
6877 dlldir
="\${libdir}/wine"
6881 DLLFLAGS
="-D_REENTRANT"
6890 STATIC_IMPLIBEXT
="def.a"
6891 # Extract the first word of "ldd", so it can be a program name with args.
6892 set dummy ldd
; ac_word
=$2
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6894 $as_echo_n "checking for $ac_word... " >&6; }
6895 if ${ac_cv_path_LDD+:} false
; then :
6896 $as_echo_n "(cached) " >&6
6900 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6904 as_dummy
="/sbin:/usr/sbin:$PATH"
6905 for as_dir
in $as_dummy
6908 test -z "$as_dir" && as_dir
=.
6909 for ac_exec_ext
in '' $ac_executable_extensions; do
6910 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6911 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6919 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6924 if test -n "$LDD"; then
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6926 $as_echo "$LDD" >&6; }
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6929 $as_echo "no" >&6; }
6933 if test -n "$ac_tool_prefix"; then
6934 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6935 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6937 $as_echo_n "checking for $ac_word... " >&6; }
6938 if ${ac_cv_prog_READELF+:} false
; then :
6939 $as_echo_n "(cached) " >&6
6941 if test -n "$READELF"; then
6942 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6948 test -z "$as_dir" && as_dir
=.
6949 for ac_exec_ext
in '' $ac_executable_extensions; do
6950 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6951 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6961 READELF
=$ac_cv_prog_READELF
6962 if test -n "$READELF"; then
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6964 $as_echo "$READELF" >&6; }
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6967 $as_echo "no" >&6; }
6972 if test -z "$ac_cv_prog_READELF"; then
6973 ac_ct_READELF
=$READELF
6974 # Extract the first word of "readelf", so it can be a program name with args.
6975 set dummy readelf
; ac_word
=$2
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6977 $as_echo_n "checking for $ac_word... " >&6; }
6978 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
6979 $as_echo_n "(cached) " >&6
6981 if test -n "$ac_ct_READELF"; then
6982 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
6984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6988 test -z "$as_dir" && as_dir
=.
6989 for ac_exec_ext
in '' $ac_executable_extensions; do
6990 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6991 ac_cv_prog_ac_ct_READELF
="readelf"
6992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7001 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7002 if test -n "$ac_ct_READELF"; then
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7004 $as_echo "$ac_ct_READELF" >&6; }
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7007 $as_echo "no" >&6; }
7010 if test "x$ac_ct_READELF" = x
; then
7013 case $cross_compiling:$ac_tool_warned in
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7017 ac_tool_warned
=yes ;;
7019 READELF
=$ac_ct_READELF
7022 READELF
="$ac_cv_prog_READELF"
7025 wine_rules_file
=conf$
$rules.
make
7026 rm -f $wine_rules_file
7028 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7029 ALL_TEST_RESOURCES
=""
7032 wine_fn_append_file
()
7034 as_fn_append
$1 " \\$as_nl $2"
7037 wine_fn_ignore_file
()
7040 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7041 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7042 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7046 wine_fn_append_rule
()
7048 $as_echo "$1" >>$wine_rules_file
7053 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7056 wine_fn_depend_rules
()
7058 wine_fn_append_rule \
7059 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7060 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7061 depend: $ac_dir/depend
7062 .PHONY: $ac_dir/depend
7063 $ac_dir/depend: \$(MAKEDEP) dummy
7064 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7067 wine_fn_pot_rules
()
7069 test "x$with_gettextpo" = xyes ||
return
7071 if wine_fn_has_flag mc
7073 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7074 wine_fn_append_rule \
7075 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7076 @cd $ac_dir && \$(MAKE) msg.pot
7077 $ac_dir/msg.pot: tools/wmc include"
7079 if wine_fn_has_flag po
7081 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7082 wine_fn_append_rule \
7083 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7084 @cd $ac_dir && \$(MAKE) rsrc.pot
7085 $ac_dir/rsrc.pot: tools/wrc include"
7089 wine_fn_all_rules
()
7091 wine_fn_depend_rules
7092 wine_fn_append_rule \
7095 $ac_dir: $ac_dir/Makefile dummy
7096 @cd $ac_dir && \$(MAKE)"
7099 wine_fn_install_rules
()
7101 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7103 wine_fn_append_rule \
7104 ".PHONY: $ac_dir/install $ac_dir/uninstall
7105 $ac_dir/install:: $ac_dir
7106 @cd $ac_dir && \$(MAKE) install
7107 $ac_dir/uninstall:: $ac_dir/Makefile
7108 @cd $ac_dir && \$(MAKE) uninstall
7109 install:: $ac_dir/install
7110 __uninstall__: $ac_dir/uninstall"
7112 if wine_fn_has_flag install-lib
7114 wine_fn_append_rule \
7115 ".PHONY: $ac_dir/install-lib
7116 $ac_dir/install-lib:: $ac_dir
7117 @cd $ac_dir && \$(MAKE) install-lib
7118 install-lib:: $ac_dir/install-lib"
7121 if wine_fn_has_flag install-dev
7123 wine_fn_append_rule \
7124 ".PHONY: $ac_dir/install-dev
7125 $ac_dir/install-dev:: $ac_dir
7126 @cd $ac_dir && \$(MAKE) install-dev
7127 install-dev:: $ac_dir/install-dev"
7131 wine_fn_clean_rules
()
7134 ac_extraclean
="$ac_dir/Makefile"
7135 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7137 if wine_fn_has_flag clean
7139 wine_fn_append_rule \
7140 "__clean__: $ac_dir/clean
7141 .PHONY: $ac_dir/clean
7142 $ac_dir/clean: $ac_dir/Makefile
7143 @cd $ac_dir && \$(MAKE) clean
7144 \$(RM) $ac_extraclean"
7146 wine_fn_append_rule \
7147 "__clean__: $ac_dir/clean
7148 .PHONY: $ac_dir/clean
7149 $ac_dir/clean: dummy
7150 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7154 wine_fn_disabled_rules
()
7157 ac_extraclean
="$ac_dir/Makefile"
7158 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7160 wine_fn_append_rule \
7161 "__clean__: $ac_dir/clean
7162 .PHONY: $ac_dir/clean
7163 $ac_dir/clean: dummy
7164 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7167 wine_fn_config_makefile
()
7173 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7174 wine_fn_disabled_rules
; return
7177 wine_fn_install_rules
7181 wine_fn_config_lib
()
7185 ac_dir
=dlls
/$ac_name
7188 if test "x$enable_tools" = xno
; then :
7191 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7196 wine_fn_append_rule \
7197 ".PHONY: $ac_dir/install $ac_dir/uninstall
7198 $ac_dir/install:: $ac_dir
7199 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7201 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7202 install install-dev:: $ac_dir/install
7203 __uninstall__: $ac_dir/uninstall
7204 __builddeps__: $ac_dir
7208 wine_fn_config_dll
()
7211 ac_dir
=dlls
/$ac_name
7214 ac_implib
=${4:-$ac_name}
7215 ac_file
=$ac_dir/lib
$ac_implib
7220 if test "x$enable_tools" = xno
; then :
7223 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7226 *16) ac_implibflags
=" -m16" ;;
7228 *) ac_dll
=$ac_dll.dll
;;
7232 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7233 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7234 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7235 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7237 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7238 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7240 wine_fn_depend_rules
7241 wine_fn_clean_rules
$ac_clean
7243 wine_fn_disabled_rules
$ac_clean
7248 wine_fn_clean_rules
$ac_clean
7249 wine_fn_append_rule \
7250 "$ac_dir: __builddeps__
7251 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7252 @cd $ac_dir && \$(MAKE) \$@
7253 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7254 install install-lib:: $ac_dir/install-lib
7255 __uninstall__: $ac_dir/uninstall"
7256 if test -n "$DLLEXT"
7258 wine_fn_append_rule \
7259 "$ac_dir/install-lib:: $ac_dir
7260 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7261 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7263 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7265 wine_fn_append_rule \
7266 "$ac_dir/install-lib:: $ac_dir
7267 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7269 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7275 if wine_fn_has_flag staticimplib
7277 wine_fn_append_rule \
7278 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7279 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7280 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7281 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7282 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7283 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7284 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7285 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7286 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7288 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7289 install install-dev:: $ac_dir/install-dev
7290 __uninstall__: $ac_dir/uninstall"
7292 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7294 wine_fn_append_rule \
7295 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7296 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7298 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7301 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7303 wine_fn_append_rule \
7304 "__builddeps__: $ac_file.cross.a
7305 $ac_file.cross.a: $ac_dir/Makefile dummy
7306 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7309 elif wine_fn_has_flag implib
7311 wine_fn_append_rule \
7312 "__builddeps__: $ac_file.$IMPLIBEXT
7313 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7314 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7315 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7316 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7317 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7318 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7319 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7321 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7322 install install-dev:: $ac_dir/install-dev
7323 __uninstall__: $ac_dir/uninstall"
7324 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7326 wine_fn_append_rule \
7327 "__builddeps__: $ac_file.cross.a
7328 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7329 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7332 if test "$ac_name" != "$ac_implib"
7334 wine_fn_append_rule \
7335 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7336 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7337 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7339 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7340 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7341 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7343 wine_fn_append_rule \
7344 "__builddeps__: dlls/lib$ac_implib.cross.a
7345 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7346 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7348 \$(RM) dlls/lib$ac_implib.cross.a"
7349 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7355 wine_fn_config_program
()
7358 ac_dir
=programs
/$ac_name
7365 *) ac_program
=$ac_program.exe
;;
7369 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7370 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7371 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7372 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7374 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7375 wine_fn_disabled_rules
$ac_clean; return
7379 wine_fn_clean_rules
$ac_clean
7380 wine_fn_append_rule
"$ac_dir: __builddeps__"
7383 wine_fn_has_flag
install ||
return
7384 wine_fn_append_rule \
7385 ".PHONY: $ac_dir/install $ac_dir/uninstall
7386 install install-lib:: $ac_dir/install
7387 __uninstall__: $ac_dir/uninstall"
7389 if test -n "$DLLEXT"
7391 wine_fn_append_rule \
7392 "$ac_dir/install:: $ac_dir
7393 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7394 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7396 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7398 if test -z "$with_wine64" && wine_fn_has_flag installbin
7400 wine_fn_append_rule \
7401 "$ac_dir/install:: __tooldeps__
7402 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7404 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7407 wine_fn_append_rule \
7408 "$ac_dir/install:: $ac_dir
7409 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7411 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7414 if test -z "$with_wine64" && wine_fn_has_flag manpage
7416 wine_fn_append_rule \
7417 "$ac_dir/install:: $ac_dir
7418 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7420 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7424 wine_fn_config_test
()
7431 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7432 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7433 ac_clean
="$ac_clean $ac_dir/testlist.c"
7435 if test "x$enable_tests" = xno
; then :
7436 wine_fn_disabled_rules
$ac_clean; return
7439 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7441 wine_fn_clean_rules
$ac_clean
7443 wine_fn_append_rule \
7444 "$ac_dir: programs/winetest/Makefile __builddeps__
7445 programs/winetest: $ac_dir
7446 check test: $ac_dir/test
7447 .PHONY: $ac_dir/test
7449 @cd $ac_dir && \$(MAKE) test
7451 \$(RM) $ac_dir/*.ok"
7453 if test -n "$CROSSTARGET"
7455 wine_fn_append_rule \
7456 "crosstest: $ac_dir/crosstest
7457 .PHONY: $ac_dir/crosstest
7458 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7459 @cd $ac_dir && \$(MAKE) crosstest"
7463 wine_fn_config_tool
()
7467 if test "x$enable_tools" = xno
; then :
7472 wine_fn_install_rules
7475 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7476 wine_fn_append_rule
"$ac_dir: libs/port"
7478 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7482 wine_fn_config_symlink
()
7485 if test "x$1" = "x-d"
7491 wine_fn_append_rule \
7493 @./config.status \$@
7496 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7497 test -n "$ac_linkdir" ||
return
7498 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7502 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7503 loader_programs
="$wine_binary wine-installed"
7504 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7507 install install-lib:: wine-installed
7508 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7511 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7517 if test -n "$ac_tool_prefix"; then
7518 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7519 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7521 $as_echo_n "checking for $ac_word... " >&6; }
7522 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7523 $as_echo_n "(cached) " >&6
7525 if test -n "$DLLTOOL"; then
7526 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7532 test -z "$as_dir" && as_dir
=.
7533 for ac_exec_ext
in '' $ac_executable_extensions; do
7534 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7535 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7545 DLLTOOL
=$ac_cv_prog_DLLTOOL
7546 if test -n "$DLLTOOL"; then
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7548 $as_echo "$DLLTOOL" >&6; }
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7551 $as_echo "no" >&6; }
7556 if test -z "$ac_cv_prog_DLLTOOL"; then
7557 ac_ct_DLLTOOL
=$DLLTOOL
7558 # Extract the first word of "dlltool", so it can be a program name with args.
7559 set dummy dlltool
; ac_word
=$2
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7561 $as_echo_n "checking for $ac_word... " >&6; }
7562 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7563 $as_echo_n "(cached) " >&6
7565 if test -n "$ac_ct_DLLTOOL"; then
7566 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7572 test -z "$as_dir" && as_dir
=.
7573 for ac_exec_ext
in '' $ac_executable_extensions; do
7574 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7575 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7585 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7586 if test -n "$ac_ct_DLLTOOL"; then
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7588 $as_echo "$ac_ct_DLLTOOL" >&6; }
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7591 $as_echo "no" >&6; }
7594 if test "x$ac_ct_DLLTOOL" = x
; then
7597 case $cross_compiling:$ac_tool_warned in
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7601 ac_tool_warned
=yes ;;
7603 DLLTOOL
=$ac_ct_DLLTOOL
7606 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7612 STATIC_IMPLIBEXT
="a"
7613 enable_iphlpapi
=${enable_iphlpapi:-no}
7614 enable_kernel32
=${enable_kernel32:-no}
7615 enable_msvcrt
=${enable_msvcrt:-no}
7616 enable_ntdll
=${enable_ntdll:-no}
7617 enable_ws2_32
=${enable_ws2_32:-no}
7618 enable_loader
=${enable_loader:-no}
7619 enable_server
=${enable_server:-no}
7620 with_x
=${with_x:-no}
7621 with_pthread
=${with_pthread:-no}
7627 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7631 libwine_targets
="libwine.dll libwine.a"
7633 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7635 all: libwine.dll libwine.a
7637 libwine.a: \$(srcdir)/wine.def
7638 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7640 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7641 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7643 install install-lib:: libwine.dll
7644 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7646 install install-dev:: libwine.a
7647 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7650 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7657 DLLFLAGS
="$DLLFLAGS -fPIC"
7658 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7659 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7660 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7661 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7663 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7665 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7667 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7669 CORESERVICES_LIBS
="-framework CoreServices"
7671 APPKIT_LIBS
="-framework AppKit"
7673 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7675 darwin11
*) LDEXECFLAGS
="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7677 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7679 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7682 if test "$ac_cv_header_Security_Security_h" = "yes"
7684 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7686 ac_save_LIBS
="$LIBS"
7687 LIBS
="$LIBS $SECURITY_LIBS"
7688 for ac_func
in SSLCopyPeerCertificates
7690 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7691 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7692 cat >>confdefs.h
<<_ACEOF
7693 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7699 LIBS
="$ac_save_LIBS"
7700 with_gnutls
=${with_gnutls:-no}
7702 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7704 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7706 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7709 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7712 ac_save_LIBS
="$LIBS"
7713 LIBS
="$LIBS $COREAUDIO_LIBS"
7714 for ac_func
in AUGraphAddNode
7716 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7717 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7718 cat >>confdefs.h
<<_ACEOF
7719 #define HAVE_AUGRAPHADDNODE 1
7725 LIBS
="$ac_save_LIBS"
7727 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7729 OPENAL_LIBS
="-framework OpenAL"
7732 cat >>confdefs.h
<<_ACEOF
7733 #define HAVE_OPENAL 1
7736 ac_cv_lib_openal
=yes
7738 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7740 OPENCL_LIBS
="-framework OpenCL"
7742 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7744 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7746 ac_save_LIBS
="$LIBS"
7747 LIBS
="$LIBS $IOKIT_LIBS"
7748 for ac_func
in IOHIDManagerCreate
7750 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7751 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7752 cat >>confdefs.h
<<_ACEOF
7753 #define HAVE_IOHIDMANAGERCREATE 1
7759 LIBS
="$ac_save_LIBS"
7761 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7763 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7765 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7767 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7769 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7771 CARBON_LIBS
="-framework Carbon"
7775 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7777 ac_save_LIBS
="$LIBS"
7778 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7779 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7780 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7781 enable_winemac_drv
=${enable_winemac_drv:-yes}
7784 LIBS
="$ac_save_LIBS"
7787 if test "x$enable_win16" = "xyes"
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7790 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7791 if test "$cross_compiling" = yes; then :
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7793 $as_echo "cross-compiling, assuming yes" >&6; }
7795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7796 /* end confdefs.h. */
7799 "good:\tnop;nop\n\t"
7800 ".globl _testfunc\n"
7801 "_testfunc:\tcallw good");
7802 extern void testfunc();
7806 unsigned short *p = (unsigned short *)testfunc;
7807 return p[0] != 0xe866 || p[1] != 0xfffa
7812 if ac_fn_c_try_run
"$LINENO"; then :
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7814 $as_echo "yes" >&6; }
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7817 $as_echo "no" >&6; }
7818 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
7820 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7821 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7826 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7828 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7832 libwine.$libwine_version.dylib: \$(OBJS)
7833 \$(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 \$@
7835 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7836 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7838 libwine.dylib: libwine.$libwine_soversion.dylib
7839 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7841 install install-lib:: libwine.$libwine_version.dylib
7842 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7843 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7845 install install-dev::
7846 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7849 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7853 as_fn_append LOADER_RULES
"
7854 $wine_binary: main.o wine_info.plist
7855 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7857 wine-installed: main.o wine_info.plist
7858 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7863 DLLFLAGS
="$DLLFLAGS -fPIC"
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7868 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7869 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7870 $as_echo_n "(cached) " >&6
7872 ac_wine_try_cflags_saved
=$CFLAGS
7873 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h. */
7876 int main(int argc, char **argv) { return 0; }
7878 if ac_fn_c_try_link
"$LINENO"; then :
7879 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7881 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7883 rm -f core conftest.err conftest.
$ac_objext \
7884 conftest
$ac_exeext conftest.
$ac_ext
7885 CFLAGS
=$ac_wine_try_cflags_saved
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7888 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7889 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7890 LDEXECFLAGS
="-Wl,--export-dynamic"
7892 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7894 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7895 if eval \
${$as_ac_var+:} false
; then :
7896 $as_echo_n "(cached) " >&6
7898 ac_wine_try_cflags_saved
=$CFLAGS
7899 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7901 /* end confdefs.h. */
7902 int main(int argc, char **argv) { return 0; }
7904 if ac_fn_c_try_link
"$LINENO"; then :
7905 eval "$as_ac_var=yes"
7907 eval "$as_ac_var=no"
7909 rm -f core conftest.err conftest.
$ac_objext \
7910 conftest
$ac_exeext conftest.
$ac_ext
7911 CFLAGS
=$ac_wine_try_cflags_saved
7913 eval ac_res
=\$
$as_ac_var
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7915 $as_echo "$ac_res" >&6; }
7916 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7917 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7918 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7920 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7922 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7923 if eval \
${$as_ac_var+:} false
; then :
7924 $as_echo_n "(cached) " >&6
7926 ac_wine_try_cflags_saved
=$CFLAGS
7927 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7929 /* end confdefs.h. */
7930 int main(int argc, char **argv) { return 0; }
7932 if ac_fn_c_try_link
"$LINENO"; then :
7933 eval "$as_ac_var=yes"
7935 eval "$as_ac_var=no"
7937 rm -f core conftest.err conftest.
$ac_objext \
7938 conftest
$ac_exeext conftest.
$ac_ext
7939 CFLAGS
=$ac_wine_try_cflags_saved
7941 eval ac_res
=\$
$as_ac_var
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7943 $as_echo "$ac_res" >&6; }
7944 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7945 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7946 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7951 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7952 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7953 $as_echo_n "(cached) " >&6
7955 ac_wine_try_cflags_saved
=$CFLAGS
7956 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7958 /* end confdefs.h. */
7959 int main(int argc, char **argv) { return 0; }
7961 if ac_fn_c_try_link
"$LINENO"; then :
7962 ac_cv_cflags__Wl___enable_new_dtags
=yes
7964 ac_cv_cflags__Wl___enable_new_dtags
=no
7966 rm -f core conftest.err conftest.
$ac_objext \
7967 conftest
$ac_exeext conftest.
$ac_ext
7968 CFLAGS
=$ac_wine_try_cflags_saved
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7971 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7972 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
7973 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7977 *i
[3456789]86* | x86_64
)
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7979 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7980 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7981 $as_echo_n "(cached) " >&6
7983 ac_wine_try_cflags_saved
=$CFLAGS
7984 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7986 /* end confdefs.h. */
7987 int main(int argc, char **argv) { return 0; }
7989 if ac_fn_c_try_link
"$LINENO"; then :
7990 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7992 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7994 rm -f core conftest.err conftest.
$ac_objext \
7995 conftest
$ac_exeext conftest.
$ac_ext
7996 CFLAGS
=$ac_wine_try_cflags_saved
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7999 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8000 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8001 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8006 libwine_targets
="libwine.so"
8008 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8012 libwine.so: \$(OBJS)
8013 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8015 install install-lib:: libwine.so
8016 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8019 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8023 as_fn_append LOADER_RULES
"
8024 $wine_binary: main.o
8025 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8027 wine-installed: main.o
8028 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8033 DLLFLAGS
="$DLLFLAGS -fPIC"
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8036 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8037 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8038 $as_echo_n "(cached) " >&6
8040 ac_wine_try_cflags_saved
=$CFLAGS
8041 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8043 /* end confdefs.h. */
8046 if ac_fn_c_try_link
"$LINENO"; then :
8047 ac_cv_c_dll_gnuelf
="yes"
8049 ac_cv_c_dll_gnuelf
="no"
8051 rm -f core conftest.err conftest.
$ac_objext \
8052 conftest
$ac_exeext conftest.
$ac_ext
8053 CFLAGS
=$ac_wine_try_cflags_saved
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8056 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8057 if test "$ac_cv_c_dll_gnuelf" = "yes"
8059 LDSHARED
="\$(CC) -shared"
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8061 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8062 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8063 $as_echo_n "(cached) " >&6
8065 ac_wine_try_cflags_saved
=$CFLAGS
8066 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8068 /* end confdefs.h. */
8069 int main(int argc, char **argv) { return 0; }
8071 if ac_fn_c_try_link
"$LINENO"; then :
8072 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8074 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8076 rm -f core conftest.err conftest.
$ac_objext \
8077 conftest
$ac_exeext conftest.
$ac_ext
8078 CFLAGS
=$ac_wine_try_cflags_saved
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8081 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8082 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8083 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8086 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8087 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8088 $as_echo_n "(cached) " >&6
8090 ac_wine_try_cflags_saved
=$CFLAGS
8091 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8093 /* end confdefs.h. */
8094 int main(int argc, char **argv) { return 0; }
8096 if ac_fn_c_try_link
"$LINENO"; then :
8097 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8099 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8101 rm -f core conftest.err conftest.
$ac_objext \
8102 conftest
$ac_exeext conftest.
$ac_ext
8103 CFLAGS
=$ac_wine_try_cflags_saved
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8106 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8107 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8108 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8112 echo '{ global: *; };' >conftest.map
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8114 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8115 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8116 $as_echo_n "(cached) " >&6
8118 ac_wine_try_cflags_saved
=$CFLAGS
8119 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8121 /* end confdefs.h. */
8122 int main(int argc, char **argv) { return 0; }
8124 if ac_fn_c_try_link
"$LINENO"; then :
8125 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8127 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8129 rm -f core conftest.err conftest.
$ac_objext \
8130 conftest
$ac_exeext conftest.
$ac_ext
8131 CFLAGS
=$ac_wine_try_cflags_saved
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8134 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8135 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8136 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8141 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8142 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8143 $as_echo_n "(cached) " >&6
8145 ac_wine_try_cflags_saved
=$CFLAGS
8146 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8148 /* end confdefs.h. */
8149 int main(int argc, char **argv) { return 0; }
8151 if ac_fn_c_try_link
"$LINENO"; then :
8152 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8154 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8156 rm -f core conftest.err conftest.
$ac_objext \
8157 conftest
$ac_exeext conftest.
$ac_ext
8158 CFLAGS
=$ac_wine_try_cflags_saved
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8161 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8162 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8163 LDEXECFLAGS
="-Wl,--export-dynamic"
8166 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8168 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8169 if eval \
${$as_ac_var+:} false
; then :
8170 $as_echo_n "(cached) " >&6
8172 ac_wine_try_cflags_saved
=$CFLAGS
8173 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8175 /* end confdefs.h. */
8176 int main(int argc, char **argv) { return 0; }
8178 if ac_fn_c_try_link
"$LINENO"; then :
8179 eval "$as_ac_var=yes"
8181 eval "$as_ac_var=no"
8183 rm -f core conftest.err conftest.
$ac_objext \
8184 conftest
$ac_exeext conftest.
$ac_ext
8185 CFLAGS
=$ac_wine_try_cflags_saved
8187 eval ac_res
=\$
$as_ac_var
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8189 $as_echo "$ac_res" >&6; }
8190 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8191 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8192 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8194 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8196 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8197 if eval \
${$as_ac_var+:} false
; then :
8198 $as_echo_n "(cached) " >&6
8200 ac_wine_try_cflags_saved
=$CFLAGS
8201 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8203 /* end confdefs.h. */
8204 int main(int argc, char **argv) { return 0; }
8206 if ac_fn_c_try_link
"$LINENO"; then :
8207 eval "$as_ac_var=yes"
8209 eval "$as_ac_var=no"
8211 rm -f core conftest.err conftest.
$ac_objext \
8212 conftest
$ac_exeext conftest.
$ac_ext
8213 CFLAGS
=$ac_wine_try_cflags_saved
8215 eval ac_res
=\$
$as_ac_var
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8217 $as_echo "$ac_res" >&6; }
8218 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8219 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8220 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8225 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8226 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8227 $as_echo_n "(cached) " >&6
8229 ac_wine_try_cflags_saved
=$CFLAGS
8230 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8232 /* end confdefs.h. */
8233 int main(int argc, char **argv) { return 0; }
8235 if ac_fn_c_try_link
"$LINENO"; then :
8236 ac_cv_cflags__Wl___enable_new_dtags
=yes
8238 ac_cv_cflags__Wl___enable_new_dtags
=no
8240 rm -f core conftest.err conftest.
$ac_objext \
8241 conftest
$ac_exeext conftest.
$ac_ext
8242 CFLAGS
=$ac_wine_try_cflags_saved
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8245 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8246 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8247 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8251 *i
[3456789]86* | x86_64
)
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8253 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8254 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8255 $as_echo_n "(cached) " >&6
8257 ac_wine_try_cflags_saved
=$CFLAGS
8258 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8260 /* end confdefs.h. */
8261 int main(int argc, char **argv) { return 0; }
8263 if ac_fn_c_try_link
"$LINENO"; then :
8264 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8266 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8268 rm -f core conftest.err conftest.
$ac_objext \
8269 conftest
$ac_exeext conftest.
$ac_ext
8270 CFLAGS
=$ac_wine_try_cflags_saved
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8273 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8274 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8276 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8277 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8281 # Extract the first word of "prelink", so it can be a program name with args.
8282 set dummy prelink
; ac_word
=$2
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8284 $as_echo_n "checking for $ac_word... " >&6; }
8285 if ${ac_cv_path_PRELINK+:} false
; then :
8286 $as_echo_n "(cached) " >&6
8290 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8294 for as_dir
in /sbin
/usr
/sbin
$PATH
8297 test -z "$as_dir" && as_dir
=.
8298 for ac_exec_ext
in '' $ac_executable_extensions; do
8299 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8300 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8308 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8312 PRELINK
=$ac_cv_path_PRELINK
8313 if test -n "$PRELINK"; then
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8315 $as_echo "$PRELINK" >&6; }
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8318 $as_echo "no" >&6; }
8322 if test "x$PRELINK" = xfalse
8324 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8331 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8332 if ${ac_cv_c_dll_unixware+:} false
; then :
8333 $as_echo_n "(cached) " >&6
8335 ac_wine_try_cflags_saved
=$CFLAGS
8336 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8338 /* end confdefs.h. */
8341 if ac_fn_c_try_link
"$LINENO"; then :
8342 ac_cv_c_dll_unixware
="yes"
8344 ac_cv_c_dll_unixware
="no"
8346 rm -f core conftest.err conftest.
$ac_objext \
8347 conftest
$ac_exeext conftest.
$ac_ext
8348 CFLAGS
=$ac_wine_try_cflags_saved
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8351 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8352 if test "$ac_cv_c_dll_unixware" = "yes"
8354 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8357 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8359 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8363 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8364 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8366 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8367 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8369 libwine.so: libwine.so.$libwine_soversion
8370 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8372 install install-lib:: libwine.so.$libwine_version
8373 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8374 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8376 install install-dev::
8377 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8380 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8384 as_fn_append LOADER_RULES
"
8385 $wine_binary: main.o
8386 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8388 wine-installed: main.o
8389 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8394 as_fn_append LIBWINE_RULES
"
8395 EXTRA_TARGETS = $libwine_targets
8398 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8399 enable_winemac_drv
=${enable_winemac_drv:-no}
8403 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8407 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
8410 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 " ;;
8412 ac_prefix_list
="" ;;
8414 for ac_prog
in $ac_prefix_list
8416 # Extract the first word of "$ac_prog", so it can be a program name with args.
8417 set dummy
$ac_prog; ac_word
=$2
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8419 $as_echo_n "checking for $ac_word... " >&6; }
8420 if ${ac_cv_prog_CROSSCC+:} false
; then :
8421 $as_echo_n "(cached) " >&6
8423 if test -n "$CROSSCC"; then
8424 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8430 test -z "$as_dir" && as_dir
=.
8431 for ac_exec_ext
in '' $ac_executable_extensions; do
8432 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8433 ac_cv_prog_CROSSCC
="$ac_prog"
8434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8443 CROSSCC
=$ac_cv_prog_CROSSCC
8444 if test -n "$CROSSCC"; then
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8446 $as_echo "$CROSSCC" >&6; }
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8449 $as_echo "no" >&6; }
8453 test -n "$CROSSCC" && break
8455 test -n "$CROSSCC" || CROSSCC
="false"
8457 if test "$CROSSCC" != "false"
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8462 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8464 /* end confdefs.h. */
8474 if ac_fn_c_try_compile
"$LINENO"; then :
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8476 $as_echo "yes" >&6; }
8482 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8488 $as_echo "no" >&6; }
8490 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8496 if test "$ac_cv_header_pthread_h" = "yes"
8498 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8499 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8503 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8504 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8505 $as_echo_n "(cached) " >&6
8507 ac_check_lib_save_LIBS
=$LIBS
8508 LIBS
="-lpthread $LIBS"
8509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8510 /* end confdefs.h. */
8512 /* Override any GCC internal prototype to avoid an error.
8513 Use char because int might match the return type of a GCC
8514 builtin and then its argument prototype would still apply. */
8518 char pthread_create ();
8522 return pthread_create ();
8527 if ac_fn_c_try_link
"$LINENO"; then :
8528 ac_cv_lib_pthread_pthread_create
=yes
8530 ac_cv_lib_pthread_pthread_create
=no
8532 rm -f core conftest.err conftest.
$ac_objext \
8533 conftest
$ac_exeext conftest.
$ac_ext
8534 LIBS
=$ac_check_lib_save_LIBS
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8537 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8538 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8539 PTHREAD_LIBS
="-lpthread"
8546 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8547 case "x$with_pthread" in
8549 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8550 Wine cannot support threads without libpthread.
8551 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8557 $as_echo_n "checking for X... " >&6; }
8560 # Check whether --with-x was given.
8561 if test "${with_x+set}" = set; then :
8565 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8566 if test "x$with_x" = xno
; then
8567 # The user explicitly disabled X.
8570 case $x_includes,$x_libraries in #(
8571 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8572 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8573 $as_echo_n "(cached) " >&6
8575 # One or both of the vars are not set, and there is no cached value.
8576 ac_x_includes
=no ac_x_libraries
=no
8577 rm -f -r conftest.dir
8578 if mkdir conftest.dir
; then
8580 cat >Imakefile
<<'_ACEOF'
8582 @echo incroot='${INCROOT}'
8584 @echo usrlibdir='${USRLIBDIR}'
8586 @echo libdir='${LIBDIR}'
8588 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8589 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8590 for ac_var
in incroot usrlibdir libdir
; do
8591 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8593 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8594 for ac_extension
in a so sl dylib la dll
; do
8595 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8596 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8597 ac_im_usrlibdir
=$ac_im_libdir; break
8600 # Screen out bogus values from the imake configuration. They are
8601 # bogus both because they are the default anyway, and because
8602 # using them would break gcc on systems where it needs fixed includes.
8603 case $ac_im_incroot in
8604 /usr
/include
) ac_x_includes
= ;;
8605 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8607 case $ac_im_usrlibdir in
8608 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8609 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8613 rm -f -r conftest.dir
8616 # Standard set of common directories for X headers.
8617 # Check X11 before X11Rn because it is often a symlink to the current release.
8631 /usr/local/X11/include
8632 /usr/local/X11R7/include
8633 /usr/local/X11R6/include
8634 /usr/local/X11R5/include
8635 /usr/local/X11R4/include
8637 /usr/local/include/X11
8638 /usr/local/include/X11R7
8639 /usr/local/include/X11R6
8640 /usr/local/include/X11R5
8641 /usr/local/include/X11R4
8645 /usr/XFree86/include/X11
8649 /usr/unsupported/include
8651 /usr/local/x11r5/include
8652 /usr/lpp/Xamples/include
8654 /usr/openwin/include
8655 /usr/openwin/share/include'
8657 if test "$ac_x_includes" = no
; then
8658 # Guess where to find include files, by looking for Xlib.h.
8659 # First, try using that file with no special directory specified.
8660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8661 /* end confdefs.h. */
8662 #include <X11/Xlib.h>
8664 if ac_fn_c_try_cpp
"$LINENO"; then :
8665 # We can compile using X headers with no special include directory.
8668 for ac_dir
in $ac_x_header_dirs; do
8669 if test -r "$ac_dir/X11/Xlib.h"; then
8670 ac_x_includes
=$ac_dir
8675 rm -f conftest.err conftest.i conftest.
$ac_ext
8676 fi # $ac_x_includes = no
8678 if test "$ac_x_libraries" = no
; then
8679 # Check for the libraries.
8680 # See if we find them without any special options.
8681 # Don't add to $LIBS permanently.
8684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8685 /* end confdefs.h. */
8686 #include <X11/Xlib.h>
8695 if ac_fn_c_try_link
"$LINENO"; then :
8697 # We can link X programs with no special library path.
8701 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8703 # Don't even attempt the hair of trying to link an X program!
8704 for ac_extension
in a so sl dylib la dll
; do
8705 if test -r "$ac_dir/libX11.$ac_extension"; then
8706 ac_x_libraries
=$ac_dir
8712 rm -f core conftest.err conftest.
$ac_objext \
8713 conftest
$ac_exeext conftest.
$ac_ext
8714 fi # $ac_x_libraries = no
8716 case $ac_x_includes,$ac_x_libraries in #(
8718 # Didn't find X, or a directory has "'" in its name.
8719 ac_cv_have_x
="have_x=no";; #(
8721 # Record where we found X for the cache.
8722 ac_cv_have_x
="have_x=yes\
8723 ac_x_includes='$ac_x_includes'\
8724 ac_x_libraries='$ac_x_libraries'"
8730 eval "$ac_cv_have_x"
8733 if test "$have_x" != yes; then
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8735 $as_echo "$have_x" >&6; }
8738 # If each of the values was on the command line, it overrides each guess.
8739 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8740 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8741 # Update the cache value to reflect the command line values.
8742 ac_cv_have_x
="have_x=yes\
8743 ac_x_includes='$x_includes'\
8744 ac_x_libraries='$x_libraries'"
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8746 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8749 if test "$no_x" = yes; then
8750 # Not all programs may use this symbol, but it does not hurt to define it.
8752 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8754 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8756 if test -n "$x_includes"; then
8757 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8760 # It would also be nice to do this for all -L options, not just this one.
8761 if test -n "$x_libraries"; then
8762 X_LIBS
="$X_LIBS -L$x_libraries"
8763 # For Solaris; some versions of Sun CC require a space after -R and
8764 # others require no space. Words are not sufficient . . . .
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8766 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8767 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8768 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8769 ac_c_werror_flag
=yes
8770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8771 /* end confdefs.h. */
8781 if ac_fn_c_try_link
"$LINENO"; then :
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8783 $as_echo "no" >&6; }
8784 X_LIBS
="$X_LIBS -R$x_libraries"
8786 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8788 /* end confdefs.h. */
8798 if ac_fn_c_try_link
"$LINENO"; then :
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8800 $as_echo "yes" >&6; }
8801 X_LIBS
="$X_LIBS -R $x_libraries"
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8804 $as_echo "neither works" >&6; }
8806 rm -f core conftest.err conftest.
$ac_objext \
8807 conftest
$ac_exeext conftest.
$ac_ext
8809 rm -f core conftest.err conftest.
$ac_objext \
8810 conftest
$ac_exeext conftest.
$ac_ext
8811 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8815 # Check for system-dependent libraries X programs must link with.
8816 # Do this before checking for the system-independent R6 libraries
8817 # (-lICE), since we may need -lsocket or whatever for X linking.
8819 if test "$ISC" = yes; then
8820 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8822 # Martyn Johnson says this is needed for Ultrix, if the X
8823 # libraries were built with DECnet support. And Karl Berry says
8824 # the Alpha needs dnet_stub (dnet does not exist).
8825 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8827 /* end confdefs.h. */
8829 /* Override any GCC internal prototype to avoid an error.
8830 Use char because int might match the return type of a GCC
8831 builtin and then its argument prototype would still apply. */
8835 char XOpenDisplay ();
8839 return XOpenDisplay ();
8844 if ac_fn_c_try_link
"$LINENO"; then :
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8848 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8849 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8850 $as_echo_n "(cached) " >&6
8852 ac_check_lib_save_LIBS
=$LIBS
8854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8855 /* end confdefs.h. */
8857 /* Override any GCC internal prototype to avoid an error.
8858 Use char because int might match the return type of a GCC
8859 builtin and then its argument prototype would still apply. */
8867 return dnet_ntoa ();
8872 if ac_fn_c_try_link
"$LINENO"; then :
8873 ac_cv_lib_dnet_dnet_ntoa
=yes
8875 ac_cv_lib_dnet_dnet_ntoa
=no
8877 rm -f core conftest.err conftest.
$ac_objext \
8878 conftest
$ac_exeext conftest.
$ac_ext
8879 LIBS
=$ac_check_lib_save_LIBS
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8882 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8883 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8884 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8887 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8889 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8890 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8891 $as_echo_n "(cached) " >&6
8893 ac_check_lib_save_LIBS
=$LIBS
8894 LIBS
="-ldnet_stub $LIBS"
8895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8896 /* end confdefs.h. */
8898 /* Override any GCC internal prototype to avoid an error.
8899 Use char because int might match the return type of a GCC
8900 builtin and then its argument prototype would still apply. */
8908 return dnet_ntoa ();
8913 if ac_fn_c_try_link
"$LINENO"; then :
8914 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8916 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8918 rm -f core conftest.err conftest.
$ac_objext \
8919 conftest
$ac_exeext conftest.
$ac_ext
8920 LIBS
=$ac_check_lib_save_LIBS
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8923 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8924 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8925 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8930 rm -f core conftest.err conftest.
$ac_objext \
8931 conftest
$ac_exeext conftest.
$ac_ext
8932 LIBS
="$ac_xsave_LIBS"
8934 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8935 # to get the SysV transport functions.
8936 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8938 # The nsl library prevents programs from opening the X display
8939 # on Irix 5.2, according to T.E. Dickey.
8940 # The functions gethostbyname, getservbyname, and inet_addr are
8941 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8942 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8943 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8947 if test $ac_cv_func_gethostbyname = no
; then
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8949 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8950 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8951 $as_echo_n "(cached) " >&6
8953 ac_check_lib_save_LIBS
=$LIBS
8955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8956 /* end confdefs.h. */
8958 /* Override any GCC internal prototype to avoid an error.
8959 Use char because int might match the return type of a GCC
8960 builtin and then its argument prototype would still apply. */
8964 char gethostbyname ();
8968 return gethostbyname ();
8973 if ac_fn_c_try_link
"$LINENO"; then :
8974 ac_cv_lib_nsl_gethostbyname
=yes
8976 ac_cv_lib_nsl_gethostbyname
=no
8978 rm -f core conftest.err conftest.
$ac_objext \
8979 conftest
$ac_exeext conftest.
$ac_ext
8980 LIBS
=$ac_check_lib_save_LIBS
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8983 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8984 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
8985 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8988 if test $ac_cv_lib_nsl_gethostbyname = no
; then
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8990 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8991 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
8992 $as_echo_n "(cached) " >&6
8994 ac_check_lib_save_LIBS
=$LIBS
8996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8997 /* end confdefs.h. */
8999 /* Override any GCC internal prototype to avoid an error.
9000 Use char because int might match the return type of a GCC
9001 builtin and then its argument prototype would still apply. */
9005 char gethostbyname ();
9009 return gethostbyname ();
9014 if ac_fn_c_try_link
"$LINENO"; then :
9015 ac_cv_lib_bsd_gethostbyname
=yes
9017 ac_cv_lib_bsd_gethostbyname
=no
9019 rm -f core conftest.err conftest.
$ac_objext \
9020 conftest
$ac_exeext conftest.
$ac_ext
9021 LIBS
=$ac_check_lib_save_LIBS
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9024 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9025 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9026 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9032 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9033 # socket/setsockopt and other routines are undefined under SCO ODT
9034 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9035 # on later versions), says Simon Leinen: it contains gethostby*
9036 # variants that don't use the name server (or something). -lsocket
9037 # must be given before -lnsl if both are needed. We assume that
9038 # if connect needs -lnsl, so does gethostbyname.
9039 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9040 if test "x$ac_cv_func_connect" = xyes
; then :
9044 if test $ac_cv_func_connect = no
; then
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9046 $as_echo_n "checking for connect in -lsocket... " >&6; }
9047 if ${ac_cv_lib_socket_connect+:} false
; then :
9048 $as_echo_n "(cached) " >&6
9050 ac_check_lib_save_LIBS
=$LIBS
9051 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9053 /* end confdefs.h. */
9055 /* Override any GCC internal prototype to avoid an error.
9056 Use char because int might match the return type of a GCC
9057 builtin and then its argument prototype would still apply. */
9070 if ac_fn_c_try_link
"$LINENO"; then :
9071 ac_cv_lib_socket_connect
=yes
9073 ac_cv_lib_socket_connect
=no
9075 rm -f core conftest.err conftest.
$ac_objext \
9076 conftest
$ac_exeext conftest.
$ac_ext
9077 LIBS
=$ac_check_lib_save_LIBS
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9080 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9081 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9082 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9087 # Guillermo Gomez says -lposix is necessary on A/UX.
9088 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9089 if test "x$ac_cv_func_remove" = xyes
; then :
9093 if test $ac_cv_func_remove = no
; then
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9095 $as_echo_n "checking for remove in -lposix... " >&6; }
9096 if ${ac_cv_lib_posix_remove+:} false
; then :
9097 $as_echo_n "(cached) " >&6
9099 ac_check_lib_save_LIBS
=$LIBS
9100 LIBS
="-lposix $LIBS"
9101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9102 /* end confdefs.h. */
9104 /* Override any GCC internal prototype to avoid an error.
9105 Use char because int might match the return type of a GCC
9106 builtin and then its argument prototype would still apply. */
9119 if ac_fn_c_try_link
"$LINENO"; then :
9120 ac_cv_lib_posix_remove
=yes
9122 ac_cv_lib_posix_remove
=no
9124 rm -f core conftest.err conftest.
$ac_objext \
9125 conftest
$ac_exeext conftest.
$ac_ext
9126 LIBS
=$ac_check_lib_save_LIBS
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9129 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9130 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9131 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9136 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9137 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9138 if test "x$ac_cv_func_shmat" = xyes
; then :
9142 if test $ac_cv_func_shmat = no
; then
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9144 $as_echo_n "checking for shmat in -lipc... " >&6; }
9145 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9146 $as_echo_n "(cached) " >&6
9148 ac_check_lib_save_LIBS
=$LIBS
9150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9151 /* end confdefs.h. */
9153 /* Override any GCC internal prototype to avoid an error.
9154 Use char because int might match the return type of a GCC
9155 builtin and then its argument prototype would still apply. */
9168 if ac_fn_c_try_link
"$LINENO"; then :
9169 ac_cv_lib_ipc_shmat
=yes
9171 ac_cv_lib_ipc_shmat
=no
9173 rm -f core conftest.err conftest.
$ac_objext \
9174 conftest
$ac_exeext conftest.
$ac_ext
9175 LIBS
=$ac_check_lib_save_LIBS
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9178 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9179 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9180 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9186 # Check for libraries that X11R6 Xt/Xaw programs need.
9187 ac_save_LDFLAGS
=$LDFLAGS
9188 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9189 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9190 # check for ICE first), but we must link in the order -lSM -lICE or
9191 # we get undefined symbols. So assume we have SM if we have ICE.
9192 # These have to be linked with before -lX11, unlike the other
9193 # libraries we check for below, so use a different variable.
9194 # John Interrante, Karl Berry
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9196 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9197 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9198 $as_echo_n "(cached) " >&6
9200 ac_check_lib_save_LIBS
=$LIBS
9201 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9203 /* end confdefs.h. */
9205 /* Override any GCC internal prototype to avoid an error.
9206 Use char because int might match the return type of a GCC
9207 builtin and then its argument prototype would still apply. */
9211 char IceConnectionNumber ();
9215 return IceConnectionNumber ();
9220 if ac_fn_c_try_link
"$LINENO"; then :
9221 ac_cv_lib_ICE_IceConnectionNumber
=yes
9223 ac_cv_lib_ICE_IceConnectionNumber
=no
9225 rm -f core conftest.err conftest.
$ac_objext \
9226 conftest
$ac_exeext conftest.
$ac_ext
9227 LIBS
=$ac_check_lib_save_LIBS
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9230 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9231 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9232 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9235 LDFLAGS
=$ac_save_LDFLAGS
9240 if test "$have_x" = "yes"
9242 ac_save_CPPFLAGS
="$CPPFLAGS"
9243 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9246 $as_echo_n "checking for -lX11... " >&6; }
9247 if ${ac_cv_lib_soname_X11+:} false
; then :
9248 $as_echo_n "(cached) " >&6
9250 ac_check_soname_save_LIBS
=$LIBS
9251 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9253 /* end confdefs.h. */
9255 /* Override any GCC internal prototype to avoid an error.
9256 Use char because int might match the return type of a GCC
9257 builtin and then its argument prototype would still apply. */
9261 char XCreateWindow ();
9265 return XCreateWindow ();
9270 if ac_fn_c_try_link
"$LINENO"; then :
9272 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9273 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'` ;;
9274 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9275 if ${ac_cv_lib_soname_X11:+false} :; then :
9276 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9280 rm -f core conftest.err conftest.
$ac_objext \
9281 conftest
$ac_exeext conftest.
$ac_ext
9282 LIBS
=$ac_check_soname_save_LIBS
9284 if ${ac_cv_lib_soname_X11:+false} :; then :
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9286 $as_echo "not found" >&6; }
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9290 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9292 cat >>confdefs.h
<<_ACEOF
9293 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9299 $as_echo_n "checking for -lXext... " >&6; }
9300 if ${ac_cv_lib_soname_Xext+:} false
; then :
9301 $as_echo_n "(cached) " >&6
9303 ac_check_soname_save_LIBS
=$LIBS
9304 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9306 /* end confdefs.h. */
9308 /* Override any GCC internal prototype to avoid an error.
9309 Use char because int might match the return type of a GCC
9310 builtin and then its argument prototype would still apply. */
9314 char XextCreateExtension ();
9318 return XextCreateExtension ();
9323 if ac_fn_c_try_link
"$LINENO"; then :
9325 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9326 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'` ;;
9327 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9328 if ${ac_cv_lib_soname_Xext:+false} :; then :
9329 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9333 rm -f core conftest.err conftest.
$ac_objext \
9334 conftest
$ac_exeext conftest.
$ac_ext
9335 LIBS
=$ac_check_soname_save_LIBS
9337 if ${ac_cv_lib_soname_Xext:+false} :; then :
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9339 $as_echo "not found" >&6; }
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9343 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9345 cat >>confdefs.h
<<_ACEOF
9346 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9349 X_LIBS
="$X_LIBS -lXext"
9351 X_LIBS
="$X_LIBS -lX11"
9353 for ac_header
in X11
/Xlib.h \
9356 X11
/Xcursor
/Xcursor.h \
9357 X11
/extensions
/shape.h \
9358 X11
/extensions
/XInput.h \
9359 X11
/extensions
/XInput2.h \
9360 X11
/extensions
/XShm.h \
9361 X11
/extensions
/Xcomposite.h \
9362 X11
/extensions
/Xinerama.h \
9363 X11
/extensions
/Xrandr.h \
9364 X11
/extensions
/Xrender.h \
9365 X11
/extensions
/xf86vmode.h \
9366 X11
/extensions
/xf86vmproto.h
9368 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9369 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9370 # include <X11/Xlib.h>
9372 #ifdef HAVE_X11_XUTIL_H
9373 # include <X11/Xutil.h>
9376 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9377 cat >>confdefs.h
<<_ACEOF
9378 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9386 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9389 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9390 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9391 $as_echo_n "(cached) " >&6
9393 ac_check_lib_save_LIBS
=$LIBS
9394 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9396 /* end confdefs.h. */
9398 /* Override any GCC internal prototype to avoid an error.
9399 Use char because int might match the return type of a GCC
9400 builtin and then its argument prototype would still apply. */
9404 char XkbQueryExtension ();
9408 return XkbQueryExtension ();
9413 if ac_fn_c_try_link
"$LINENO"; then :
9414 ac_cv_lib_X11_XkbQueryExtension
=yes
9416 ac_cv_lib_X11_XkbQueryExtension
=no
9418 rm -f core conftest.err conftest.
$ac_objext \
9419 conftest
$ac_exeext conftest.
$ac_ext
9420 LIBS
=$ac_check_lib_save_LIBS
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9423 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9424 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9426 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9432 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9435 $as_echo_n "checking for -lXcursor... " >&6; }
9436 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9437 $as_echo_n "(cached) " >&6
9439 ac_check_soname_save_LIBS
=$LIBS
9440 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9442 /* end confdefs.h. */
9444 /* Override any GCC internal prototype to avoid an error.
9445 Use char because int might match the return type of a GCC
9446 builtin and then its argument prototype would still apply. */
9450 char XcursorImageLoadCursor ();
9454 return XcursorImageLoadCursor ();
9459 if ac_fn_c_try_link
"$LINENO"; then :
9461 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9462 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'` ;;
9463 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9464 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9465 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9469 rm -f core conftest.err conftest.
$ac_objext \
9470 conftest
$ac_exeext conftest.
$ac_ext
9471 LIBS
=$ac_check_soname_save_LIBS
9473 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9475 $as_echo "not found" >&6; }
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9479 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9481 cat >>confdefs.h
<<_ACEOF
9482 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9488 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9489 case "x$with_xcursor" in
9490 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9492 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9493 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9497 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9500 $as_echo_n "checking for -lXi... " >&6; }
9501 if ${ac_cv_lib_soname_Xi+:} false
; then :
9502 $as_echo_n "(cached) " >&6
9504 ac_check_soname_save_LIBS
=$LIBS
9505 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9507 /* end confdefs.h. */
9509 /* Override any GCC internal prototype to avoid an error.
9510 Use char because int might match the return type of a GCC
9511 builtin and then its argument prototype would still apply. */
9515 char XOpenDevice ();
9519 return XOpenDevice ();
9524 if ac_fn_c_try_link
"$LINENO"; then :
9526 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9527 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'` ;;
9528 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9529 if ${ac_cv_lib_soname_Xi:+false} :; then :
9530 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9534 rm -f core conftest.err conftest.
$ac_objext \
9535 conftest
$ac_exeext conftest.
$ac_ext
9536 LIBS
=$ac_check_soname_save_LIBS
9538 if ${ac_cv_lib_soname_Xi:+false} :; then :
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9540 $as_echo "not found" >&6; }
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9544 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9546 cat >>confdefs.h
<<_ACEOF
9547 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9553 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9554 case "x$with_xinput" in
9555 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9557 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9558 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9562 if test "x$ac_cv_lib_soname_Xi" != x
9564 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9565 case "x$with_xinput2" in
9566 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9568 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9569 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9574 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9577 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9578 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9579 $as_echo_n "(cached) " >&6
9581 ac_check_lib_save_LIBS
=$LIBS
9582 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9584 /* end confdefs.h. */
9586 /* Override any GCC internal prototype to avoid an error.
9587 Use char because int might match the return type of a GCC
9588 builtin and then its argument prototype would still apply. */
9592 char XShmQueryExtension ();
9596 return XShmQueryExtension ();
9601 if ac_fn_c_try_link
"$LINENO"; then :
9602 ac_cv_lib_Xext_XShmQueryExtension
=yes
9604 ac_cv_lib_Xext_XShmQueryExtension
=no
9606 rm -f core conftest.err conftest.
$ac_objext \
9607 conftest
$ac_exeext conftest.
$ac_ext
9608 LIBS
=$ac_check_lib_save_LIBS
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9611 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9612 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9614 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9619 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9620 case "x$with_xshm" in
9621 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9623 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9624 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9628 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9631 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9632 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9633 $as_echo_n "(cached) " >&6
9635 ac_check_lib_save_LIBS
=$LIBS
9636 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9638 /* end confdefs.h. */
9640 /* Override any GCC internal prototype to avoid an error.
9641 Use char because int might match the return type of a GCC
9642 builtin and then its argument prototype would still apply. */
9646 char XShapeQueryExtension ();
9650 return XShapeQueryExtension ();
9655 if ac_fn_c_try_link
"$LINENO"; then :
9656 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9658 ac_cv_lib_Xext_XShapeQueryExtension
=no
9660 rm -f core conftest.err conftest.
$ac_objext \
9661 conftest
$ac_exeext conftest.
$ac_ext
9662 LIBS
=$ac_check_lib_save_LIBS
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9665 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9666 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9668 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9673 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9674 case "x$with_xshape" in
9675 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9677 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9678 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9682 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9685 $as_echo_n "checking for -lXxf86vm... " >&6; }
9686 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9687 $as_echo_n "(cached) " >&6
9689 ac_check_soname_save_LIBS
=$LIBS
9690 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9692 /* end confdefs.h. */
9694 /* Override any GCC internal prototype to avoid an error.
9695 Use char because int might match the return type of a GCC
9696 builtin and then its argument prototype would still apply. */
9700 char XF86VidModeQueryExtension ();
9704 return XF86VidModeQueryExtension ();
9709 if ac_fn_c_try_link
"$LINENO"; then :
9711 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9712 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'` ;;
9713 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9714 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9715 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9719 rm -f core conftest.err conftest.
$ac_objext \
9720 conftest
$ac_exeext conftest.
$ac_ext
9721 LIBS
=$ac_check_soname_save_LIBS
9723 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9725 $as_echo "not found" >&6; }
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9729 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9731 cat >>confdefs.h
<<_ACEOF
9732 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9738 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9739 case "x$with_xxf86vm" in
9740 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9742 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9743 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9747 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"
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9750 $as_echo_n "checking for -lXrender... " >&6; }
9751 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9752 $as_echo_n "(cached) " >&6
9754 ac_check_soname_save_LIBS
=$LIBS
9755 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9757 /* end confdefs.h. */
9759 /* Override any GCC internal prototype to avoid an error.
9760 Use char because int might match the return type of a GCC
9761 builtin and then its argument prototype would still apply. */
9765 char XRenderQueryExtension ();
9769 return XRenderQueryExtension ();
9774 if ac_fn_c_try_link
"$LINENO"; then :
9776 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9777 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'` ;;
9778 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9779 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9780 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9784 rm -f core conftest.err conftest.
$ac_objext \
9785 conftest
$ac_exeext conftest.
$ac_ext
9786 LIBS
=$ac_check_soname_save_LIBS
9788 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9790 $as_echo "not found" >&6; }
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9794 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9796 cat >>confdefs.h
<<_ACEOF
9797 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9801 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9802 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9803 $as_echo_n "(cached) " >&6
9805 ac_check_lib_save_LIBS
=$LIBS
9806 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9808 /* end confdefs.h. */
9810 /* Override any GCC internal prototype to avoid an error.
9811 Use char because int might match the return type of a GCC
9812 builtin and then its argument prototype would still apply. */
9816 char XRenderSetPictureTransform ();
9820 return XRenderSetPictureTransform ();
9825 if ac_fn_c_try_link
"$LINENO"; then :
9826 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9828 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9830 rm -f core conftest.err conftest.
$ac_objext \
9831 conftest
$ac_exeext conftest.
$ac_ext
9832 LIBS
=$ac_check_lib_save_LIBS
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9835 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9836 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9838 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9843 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9844 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9845 $as_echo_n "(cached) " >&6
9847 ac_check_lib_save_LIBS
=$LIBS
9848 LIBS
="-lXrender $X_LIBS $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 XRenderCreateLinearGradient ();
9862 return XRenderCreateLinearGradient ();
9867 if ac_fn_c_try_link
"$LINENO"; then :
9868 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9870 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=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_XRenderCreateLinearGradient" >&5
9877 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9878 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9880 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9887 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9888 case "x$with_xrender" in
9889 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9891 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9892 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9896 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9899 /* end confdefs.h. */
9900 #include <X11/Xlib.h>
9901 #include <X11/extensions/Xrandr.h>
9905 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9910 if ac_fn_c_try_compile
"$LINENO"; then :
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9912 $as_echo_n "checking for -lXrandr... " >&6; }
9913 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9914 $as_echo_n "(cached) " >&6
9916 ac_check_soname_save_LIBS
=$LIBS
9917 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9919 /* end confdefs.h. */
9921 /* Override any GCC internal prototype to avoid an error.
9922 Use char because int might match the return type of a GCC
9923 builtin and then its argument prototype would still apply. */
9927 char XRRQueryExtension ();
9931 return XRRQueryExtension ();
9936 if ac_fn_c_try_link
"$LINENO"; then :
9938 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9939 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'` ;;
9940 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9941 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9942 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9946 rm -f core conftest.err conftest.
$ac_objext \
9947 conftest
$ac_exeext conftest.
$ac_ext
9948 LIBS
=$ac_check_soname_save_LIBS
9950 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9952 $as_echo "not found" >&6; }
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9956 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9958 cat >>confdefs.h
<<_ACEOF
9959 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9963 /* end confdefs.h. */
9964 #include <X11/Xlib.h>
9965 #include <X11/extensions/Xrandr.h>
9969 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9974 if ac_fn_c_try_compile
"$LINENO"; then :
9976 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9979 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9982 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9984 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9985 case "x$with_xrandr" in
9986 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9988 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9989 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9993 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9996 /* end confdefs.h. */
9997 #include <X11/Xlib.h>
9998 #include <X11/extensions/Xinerama.h>
10002 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10007 if ac_fn_c_try_compile
"$LINENO"; then :
10008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10009 $as_echo_n "checking for -lXinerama... " >&6; }
10010 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10011 $as_echo_n "(cached) " >&6
10013 ac_check_soname_save_LIBS
=$LIBS
10014 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10016 /* end confdefs.h. */
10018 /* Override any GCC internal prototype to avoid an error.
10019 Use char because int might match the return type of a GCC
10020 builtin and then its argument prototype would still apply. */
10024 char XineramaQueryScreens ();
10028 return XineramaQueryScreens ();
10033 if ac_fn_c_try_link
"$LINENO"; then :
10035 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10036 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'` ;;
10037 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10038 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10039 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10043 rm -f core conftest.err conftest.
$ac_objext \
10044 conftest
$ac_exeext conftest.
$ac_ext
10045 LIBS
=$ac_check_soname_save_LIBS
10047 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10049 $as_echo "not found" >&6; }
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10053 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10055 cat >>confdefs.h
<<_ACEOF
10056 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10062 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10064 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10065 case "x$with_xinerama" in
10066 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10068 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10069 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10073 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10076 $as_echo_n "checking for -lXcomposite... " >&6; }
10077 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10078 $as_echo_n "(cached) " >&6
10080 ac_check_soname_save_LIBS
=$LIBS
10081 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10083 /* end confdefs.h. */
10085 /* Override any GCC internal prototype to avoid an error.
10086 Use char because int might match the return type of a GCC
10087 builtin and then its argument prototype would still apply. */
10091 char XCompositeRedirectWindow ();
10095 return XCompositeRedirectWindow ();
10100 if ac_fn_c_try_link
"$LINENO"; then :
10102 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10103 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'` ;;
10104 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10105 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10106 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10110 rm -f core conftest.err conftest.
$ac_objext \
10111 conftest
$ac_exeext conftest.
$ac_ext
10112 LIBS
=$ac_check_soname_save_LIBS
10114 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10116 $as_echo "not found" >&6; }
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10120 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10122 cat >>confdefs.h
<<_ACEOF
10123 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10129 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10130 case "x$with_xcomposite" in
10131 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10133 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10134 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10138 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10139 #include <X11/Xlib.h>
10142 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10144 cat >>confdefs.h
<<_ACEOF
10145 #define HAVE_XICCALLBACK_CALLBACK 1
10150 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10151 #include <X11/Xlib.h>
10154 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10156 cat >>confdefs.h
<<_ACEOF
10157 #define HAVE_XEVENT_XCOOKIE 1
10166 if test "x$with_opengl" != "xno"
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10169 $as_echo_n "checking for -lGL... " >&6; }
10170 if ${ac_cv_lib_soname_GL+:} false
; then :
10171 $as_echo_n "(cached) " >&6
10173 ac_check_soname_save_LIBS
=$LIBS
10174 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10176 /* end confdefs.h. */
10178 /* Override any GCC internal prototype to avoid an error.
10179 Use char because int might match the return type of a GCC
10180 builtin and then its argument prototype would still apply. */
10184 char glXCreateContext ();
10188 return glXCreateContext ();
10193 if ac_fn_c_try_link
"$LINENO"; then :
10195 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10196 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'` ;;
10197 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10198 if ${ac_cv_lib_soname_GL:+false} :; then :
10199 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10203 rm -f core conftest.err conftest.
$ac_objext \
10204 conftest
$ac_exeext conftest.
$ac_ext
10205 LIBS
=$ac_check_soname_save_LIBS
10207 if ${ac_cv_lib_soname_GL:+false} :; then :
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10209 $as_echo "not found" >&6; }
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 -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"
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 ${ac_cv_lib_soname_GL:+false} :; 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 ${ac_cv_lib_soname_GL:+false} :; then :
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10251 $as_echo "not found" >&6; }
10252 if test -f /usr
/X11R
6/lib
/libGL.a
10254 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10255 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10257 opengl_msg
="No OpenGL library found on this system."
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10261 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10263 cat >>confdefs.h
<<_ACEOF
10264 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10267 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"
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10271 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10273 cat >>confdefs.h
<<_ACEOF
10274 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10279 if test "x$with_glu" != "xno"
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10282 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10283 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10284 $as_echo_n "(cached) " >&6
10286 ac_check_lib_save_LIBS
=$LIBS
10287 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10289 /* end confdefs.h. */
10291 /* Override any GCC internal prototype to avoid an error.
10292 Use char because int might match the return type of a GCC
10293 builtin and then its argument prototype would still apply. */
10301 return gluLookAt ();
10306 if ac_fn_c_try_link
"$LINENO"; then :
10307 ac_cv_lib_GLU_gluLookAt
=yes
10309 ac_cv_lib_GLU_gluLookAt
=no
10311 rm -f core conftest.err conftest.
$ac_objext \
10312 conftest
$ac_exeext conftest.
$ac_ext
10313 LIBS
=$ac_check_lib_save_LIBS
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10316 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10317 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10321 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10322 case "x$with_glu" in
10323 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10325 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10326 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10331 if test "x$with_osmesa" != "xno"
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10334 $as_echo_n "checking for -lOSMesa... " >&6; }
10335 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10336 $as_echo_n "(cached) " >&6
10338 ac_check_soname_save_LIBS
=$LIBS
10339 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10341 /* end confdefs.h. */
10343 /* Override any GCC internal prototype to avoid an error.
10344 Use char because int might match the return type of a GCC
10345 builtin and then its argument prototype would still apply. */
10358 if ac_fn_c_try_link
"$LINENO"; then :
10360 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10361 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'` ;;
10362 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10363 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10364 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10368 rm -f core conftest.err conftest.
$ac_objext \
10369 conftest
$ac_exeext conftest.
$ac_ext
10370 LIBS
=$ac_check_soname_save_LIBS
10372 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10374 $as_echo "not found" >&6; }
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10378 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10380 cat >>confdefs.h
<<_ACEOF
10381 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10386 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10387 case "x$with_osmesa" in
10388 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10390 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10391 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10396 if test -n "$opengl_msg"; then :
10397 case "x$with_opengl" in
10398 x
) as_fn_append wine_warnings
"|$opengl_msg
10399 OpenGL and Direct3D won't be supported." ;;
10401 *) as_fn_error $?
"$opengl_msg
10402 OpenGL and Direct3D won't be supported.
10403 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10407 CPPFLAGS
="$ac_save_CPPFLAGS"
10411 enable_winex11_drv
=${enable_winex11_drv:-no}
10413 if test "x$X_LIBS" = "x"; then :
10416 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10417 without X support, which probably isn't what you want. You will need
10418 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10419 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10423 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10425 if test "$ac_cv_header_CL_cl_h" = "yes"
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10428 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10429 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10430 $as_echo_n "(cached) " >&6
10432 ac_check_lib_save_LIBS
=$LIBS
10433 LIBS
="-lOpenCL $LIBS"
10434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10435 /* end confdefs.h. */
10437 /* Override any GCC internal prototype to avoid an error.
10438 Use char because int might match the return type of a GCC
10439 builtin and then its argument prototype would still apply. */
10443 char clGetPlatformInfo ();
10447 return clGetPlatformInfo ();
10452 if ac_fn_c_try_link
"$LINENO"; then :
10453 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10455 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10457 rm -f core conftest.err conftest.
$ac_objext \
10458 conftest
$ac_exeext conftest.
$ac_ext
10459 LIBS
=$ac_check_lib_save_LIBS
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10462 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10463 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10464 OPENCL_LIBS
="-lOpenCL"
10469 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10470 case "x$with_opencl" in
10471 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10473 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10474 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10477 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10480 if test "x$with_xml" != "xno"
10482 if ${XML2_CFLAGS:+false} :; then :
10483 if ${PKG_CONFIG+:} false
; then :
10484 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10487 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10488 if ${XML2_LIBS:+false} :; then :
10489 if ${PKG_CONFIG+:} false
; then :
10490 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10493 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10494 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10495 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10496 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10497 ac_save_CPPFLAGS
=$CPPFLAGS
10498 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10499 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10501 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10502 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10503 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10504 cat >>confdefs.h
<<_ACEOF
10505 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10512 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"
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10515 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10516 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10517 $as_echo_n "(cached) " >&6
10519 ac_check_lib_save_LIBS
=$LIBS
10520 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10522 /* end confdefs.h. */
10524 /* Override any GCC internal prototype to avoid an error.
10525 Use char because int might match the return type of a GCC
10526 builtin and then its argument prototype would still apply. */
10530 char xmlParseMemory ();
10534 return xmlParseMemory ();
10539 if ac_fn_c_try_link
"$LINENO"; then :
10540 ac_cv_lib_xml2_xmlParseMemory
=yes
10542 ac_cv_lib_xml2_xmlParseMemory
=no
10544 rm -f core conftest.err conftest.
$ac_objext \
10545 conftest
$ac_exeext conftest.
$ac_ext
10546 LIBS
=$ac_check_lib_save_LIBS
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10549 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10550 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10552 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10559 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10560 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10561 $as_echo_n "(cached) " >&6
10563 ac_check_lib_save_LIBS
=$LIBS
10564 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10566 /* end confdefs.h. */
10568 /* Override any GCC internal prototype to avoid an error.
10569 Use char because int might match the return type of a GCC
10570 builtin and then its argument prototype would still apply. */
10574 char xmlReadMemory ();
10578 return xmlReadMemory ();
10583 if ac_fn_c_try_link
"$LINENO"; then :
10584 ac_cv_lib_xml2_xmlReadMemory
=yes
10586 ac_cv_lib_xml2_xmlReadMemory
=no
10588 rm -f core conftest.err conftest.
$ac_objext \
10589 conftest
$ac_exeext conftest.
$ac_ext
10590 LIBS
=$ac_check_lib_save_LIBS
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10593 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10594 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10596 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10601 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10602 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10603 $as_echo_n "(cached) " >&6
10605 ac_check_lib_save_LIBS
=$LIBS
10606 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10608 /* end confdefs.h. */
10610 /* Override any GCC internal prototype to avoid an error.
10611 Use char because int might match the return type of a GCC
10612 builtin and then its argument prototype would still apply. */
10616 char xmlNewDocPI ();
10620 return xmlNewDocPI ();
10625 if ac_fn_c_try_link
"$LINENO"; then :
10626 ac_cv_lib_xml2_xmlNewDocPI
=yes
10628 ac_cv_lib_xml2_xmlNewDocPI
=no
10630 rm -f core conftest.err conftest.
$ac_objext \
10631 conftest
$ac_exeext conftest.
$ac_ext
10632 LIBS
=$ac_check_lib_save_LIBS
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10635 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10636 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10638 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10643 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10644 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10645 $as_echo_n "(cached) " >&6
10647 ac_check_lib_save_LIBS
=$LIBS
10648 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10650 /* end confdefs.h. */
10652 /* Override any GCC internal prototype to avoid an error.
10653 Use char because int might match the return type of a GCC
10654 builtin and then its argument prototype would still apply. */
10658 char xmlSchemaSetParserStructuredErrors ();
10662 return xmlSchemaSetParserStructuredErrors ();
10667 if ac_fn_c_try_link
"$LINENO"; then :
10668 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10670 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10672 rm -f core conftest.err conftest.
$ac_objext \
10673 conftest
$ac_exeext conftest.
$ac_ext
10674 LIBS
=$ac_check_lib_save_LIBS
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10677 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10678 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10680 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10685 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10686 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10687 $as_echo_n "(cached) " >&6
10689 ac_check_lib_save_LIBS
=$LIBS
10690 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10692 /* end confdefs.h. */
10694 /* Override any GCC internal prototype to avoid an error.
10695 Use char because int might match the return type of a GCC
10696 builtin and then its argument prototype would still apply. */
10700 char xmlSchemaSetValidStructuredErrors ();
10704 return xmlSchemaSetValidStructuredErrors ();
10709 if ac_fn_c_try_link
"$LINENO"; then :
10710 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10712 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10714 rm -f core conftest.err conftest.
$ac_objext \
10715 conftest
$ac_exeext conftest.
$ac_ext
10716 LIBS
=$ac_check_lib_save_LIBS
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10719 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10720 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10722 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10727 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10728 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10729 $as_echo_n "(cached) " >&6
10731 ac_check_lib_save_LIBS
=$LIBS
10732 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10734 /* end confdefs.h. */
10736 /* Override any GCC internal prototype to avoid an error.
10737 Use char because int might match the return type of a GCC
10738 builtin and then its argument prototype would still apply. */
10742 char xmlFirstElementChild ();
10746 return xmlFirstElementChild ();
10751 if ac_fn_c_try_link
"$LINENO"; then :
10752 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10754 ac_cv_lib_xml2_xmlFirstElementChild
=no
10756 rm -f core conftest.err conftest.
$ac_objext \
10757 conftest
$ac_exeext conftest.
$ac_ext
10758 LIBS
=$ac_check_lib_save_LIBS
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10761 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10762 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10764 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10768 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10770 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10772 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10780 CPPFLAGS
=$ac_save_CPPFLAGS
10781 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10782 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10785 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10786 case "x$with_xml" in
10787 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10789 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10790 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10794 if test "x$with_xslt" != "xno"
10796 if ${XSLT_CFLAGS:+false} :; then :
10797 if ${PKG_CONFIG+:} false
; then :
10798 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10801 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10802 if ${XSLT_LIBS:+false} :; then :
10803 if ${PKG_CONFIG+:} false
; then :
10804 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10807 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10808 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10809 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10810 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10811 ac_save_CPPFLAGS
=$CPPFLAGS
10812 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10813 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10815 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10816 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10817 # include <libxslt/pattern.h>
10820 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10821 cat >>confdefs.h
<<_ACEOF
10822 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10829 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10832 $as_echo_n "checking for -lxslt... " >&6; }
10833 if ${ac_cv_lib_soname_xslt+:} false
; then :
10834 $as_echo_n "(cached) " >&6
10836 ac_check_soname_save_LIBS
=$LIBS
10837 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10839 /* end confdefs.h. */
10841 /* Override any GCC internal prototype to avoid an error.
10842 Use char because int might match the return type of a GCC
10843 builtin and then its argument prototype would still apply. */
10847 char xsltCompilePattern ();
10851 return xsltCompilePattern ();
10856 if ac_fn_c_try_link
"$LINENO"; then :
10858 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10859 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'` ;;
10860 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10861 if ${ac_cv_lib_soname_xslt:+false} :; then :
10862 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10866 rm -f core conftest.err conftest.
$ac_objext \
10867 conftest
$ac_exeext conftest.
$ac_ext
10868 LIBS
=$ac_check_soname_save_LIBS
10870 if ${ac_cv_lib_soname_xslt:+false} :; then :
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10872 $as_echo "not found" >&6; }
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10876 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10878 cat >>confdefs.h
<<_ACEOF
10879 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10887 CPPFLAGS
=$ac_save_CPPFLAGS
10888 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10889 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10892 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10893 case "x$with_xslt" in
10894 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10896 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10897 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10901 if test "x$with_dbus" != "xno"
10903 if ${DBUS_CFLAGS:+false} :; then :
10904 if ${PKG_CONFIG+:} false
; then :
10905 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10909 if ${DBUS_LIBS:+false} :; then :
10910 if ${PKG_CONFIG+:} false
; then :
10911 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10916 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
10917 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
10918 ac_save_CPPFLAGS
=$CPPFLAGS
10919 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10920 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10921 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10923 $as_echo_n "checking for -ldbus-1... " >&6; }
10924 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10925 $as_echo_n "(cached) " >&6
10927 ac_check_soname_save_LIBS
=$LIBS
10928 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10930 /* end confdefs.h. */
10932 /* Override any GCC internal prototype to avoid an error.
10933 Use char because int might match the return type of a GCC
10934 builtin and then its argument prototype would still apply. */
10938 char dbus_connection_close ();
10942 return dbus_connection_close ();
10947 if ac_fn_c_try_link
"$LINENO"; then :
10949 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10950 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'` ;;
10951 *) 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'`
10952 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10953 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10957 rm -f core conftest.err conftest.
$ac_objext \
10958 conftest
$ac_exeext conftest.
$ac_ext
10959 LIBS
=$ac_check_soname_save_LIBS
10961 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10963 $as_echo "not found" >&6; }
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10967 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10969 cat >>confdefs.h
<<_ACEOF
10970 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10980 CPPFLAGS
=$ac_save_CPPFLAGS
10981 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10982 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10985 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10986 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10987 case "x$with_dbus" in
10988 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10990 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
10991 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10995 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10997 if ${HAL_CFLAGS:+false} :; then :
10998 if ${PKG_CONFIG+:} false
; then :
10999 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11003 if ${HAL_LIBS:+false} :; then :
11004 if ${PKG_CONFIG+:} false
; then :
11005 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11009 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11010 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11011 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11012 ac_save_CPPFLAGS
=$CPPFLAGS
11013 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11014 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11015 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11017 $as_echo_n "checking for -lhal... " >&6; }
11018 if ${ac_cv_lib_soname_hal+:} false
; then :
11019 $as_echo_n "(cached) " >&6
11021 ac_check_soname_save_LIBS
=$LIBS
11022 LIBS
="-lhal $HAL_LIBS $LIBS"
11023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11024 /* end confdefs.h. */
11026 /* Override any GCC internal prototype to avoid an error.
11027 Use char because int might match the return type of a GCC
11028 builtin and then its argument prototype would still apply. */
11032 char libhal_ctx_new ();
11036 return libhal_ctx_new ();
11041 if ac_fn_c_try_link
"$LINENO"; then :
11043 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11044 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'` ;;
11045 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11046 if ${ac_cv_lib_soname_hal:+false} :; then :
11047 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11051 rm -f core conftest.err conftest.
$ac_objext \
11052 conftest
$ac_exeext conftest.
$ac_ext
11053 LIBS
=$ac_check_soname_save_LIBS
11055 if ${ac_cv_lib_soname_hal:+false} :; then :
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11057 $as_echo "not found" >&6; }
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11061 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11063 cat >>confdefs.h
<<_ACEOF
11064 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11074 CPPFLAGS
=$ac_save_CPPFLAGS
11075 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11076 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11078 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11079 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11080 case "x$with_hal" in
11081 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11083 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11084 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11089 if test "x$with_gnutls" != "xno"
11091 if ${GNUTLS_CFLAGS:+false} :; then :
11092 if ${PKG_CONFIG+:} false
; then :
11093 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11097 if ${GNUTLS_LIBS:+false} :; then :
11098 if ${PKG_CONFIG+:} false
; then :
11099 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11104 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11105 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11106 ac_save_CPPFLAGS
=$CPPFLAGS
11107 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11108 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11109 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11111 /* end confdefs.h. */
11112 #include <gnutls/gnutls.h>
11113 #include <gnutls/crypto.h>
11117 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11122 if ac_fn_c_try_compile
"$LINENO"; then :
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11124 $as_echo_n "checking for -lgnutls... " >&6; }
11125 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11126 $as_echo_n "(cached) " >&6
11128 ac_check_soname_save_LIBS
=$LIBS
11129 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11131 /* end confdefs.h. */
11133 /* Override any GCC internal prototype to avoid an error.
11134 Use char because int might match the return type of a GCC
11135 builtin and then its argument prototype would still apply. */
11139 char gnutls_global_init ();
11143 return gnutls_global_init ();
11148 if ac_fn_c_try_link
"$LINENO"; then :
11150 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11151 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'` ;;
11152 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11153 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11154 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11158 rm -f core conftest.err conftest.
$ac_objext \
11159 conftest
$ac_exeext conftest.
$ac_ext
11160 LIBS
=$ac_check_soname_save_LIBS
11162 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11164 $as_echo "not found" >&6; }
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11168 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11170 cat >>confdefs.h
<<_ACEOF
11171 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11183 CPPFLAGS
=$ac_save_CPPFLAGS
11184 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11185 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11188 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11189 case "x$with_gnutls" in
11190 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11192 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11193 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11198 if test "$ac_cv_header_ncurses_h" = "yes"
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11201 $as_echo_n "checking for -lncurses... " >&6; }
11202 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11203 $as_echo_n "(cached) " >&6
11205 ac_check_soname_save_LIBS
=$LIBS
11206 LIBS
="-lncurses $LIBS"
11207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11208 /* end confdefs.h. */
11210 /* Override any GCC internal prototype to avoid an error.
11211 Use char because int might match the return type of a GCC
11212 builtin and then its argument prototype would still apply. */
11225 if ac_fn_c_try_link
"$LINENO"; then :
11227 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11228 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'` ;;
11229 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11230 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11231 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11235 rm -f core conftest.err conftest.
$ac_objext \
11236 conftest
$ac_exeext conftest.
$ac_ext
11237 LIBS
=$ac_check_soname_save_LIBS
11239 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11241 $as_echo "not found" >&6; }
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11245 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11247 cat >>confdefs.h
<<_ACEOF
11248 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11251 CURSES_LIBS
="-lncurses"
11253 elif test "$ac_cv_header_curses_h" = "yes"
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11256 $as_echo_n "checking for -lcurses... " >&6; }
11257 if ${ac_cv_lib_soname_curses+:} false
; then :
11258 $as_echo_n "(cached) " >&6
11260 ac_check_soname_save_LIBS
=$LIBS
11261 LIBS
="-lcurses $LIBS"
11262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11263 /* end confdefs.h. */
11265 /* Override any GCC internal prototype to avoid an error.
11266 Use char because int might match the return type of a GCC
11267 builtin and then its argument prototype would still apply. */
11280 if ac_fn_c_try_link
"$LINENO"; then :
11282 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11283 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'` ;;
11284 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11285 if ${ac_cv_lib_soname_curses:+false} :; then :
11286 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11290 rm -f core conftest.err conftest.
$ac_objext \
11291 conftest
$ac_exeext conftest.
$ac_ext
11292 LIBS
=$ac_check_soname_save_LIBS
11294 if ${ac_cv_lib_soname_curses:+false} :; then :
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11296 $as_echo "not found" >&6; }
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11300 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11302 cat >>confdefs.h
<<_ACEOF
11303 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11306 CURSES_LIBS
="-lcurses"
11309 ac_save_LIBS
="$LIBS"
11310 LIBS
="$LIBS $CURSES_LIBS"
11311 for ac_func
in mousemask
11313 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11314 if test "x$ac_cv_func_mousemask" = xyes
; then :
11315 cat >>confdefs.h
<<_ACEOF
11316 #define HAVE_MOUSEMASK 1
11322 LIBS
="$ac_save_LIBS"
11323 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11324 case "x$with_curses" in
11325 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11327 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11328 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11332 if test "x$with_sane" != "xno"
11334 if ${SANE_CFLAGS:+false} :; then :
11335 if ${PKG_CONFIG+:} false
; then :
11336 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11339 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11340 if ${SANE_LIBS:+false} :; then :
11341 if ${PKG_CONFIG+:} false
; then :
11342 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11345 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11347 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11348 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11349 ac_save_CPPFLAGS
=$CPPFLAGS
11350 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11351 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11352 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11354 $as_echo_n "checking for -lsane... " >&6; }
11355 if ${ac_cv_lib_soname_sane+:} false
; then :
11356 $as_echo_n "(cached) " >&6
11358 ac_check_soname_save_LIBS
=$LIBS
11359 LIBS
="-lsane $SANE_LIBS $LIBS"
11360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11361 /* end confdefs.h. */
11363 /* Override any GCC internal prototype to avoid an error.
11364 Use char because int might match the return type of a GCC
11365 builtin and then its argument prototype would still apply. */
11373 return sane_init ();
11378 if ac_fn_c_try_link
"$LINENO"; then :
11380 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11381 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'` ;;
11382 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11383 if ${ac_cv_lib_soname_sane:+false} :; then :
11384 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11388 rm -f core conftest.err conftest.
$ac_objext \
11389 conftest
$ac_exeext conftest.
$ac_ext
11390 LIBS
=$ac_check_soname_save_LIBS
11392 if ${ac_cv_lib_soname_sane:+false} :; then :
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11394 $as_echo "not found" >&6; }
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11398 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11400 cat >>confdefs.h
<<_ACEOF
11401 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11411 CPPFLAGS
=$ac_save_CPPFLAGS
11412 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11413 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11416 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11417 case "x$with_sane" in
11418 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11420 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11421 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11425 if test "x$with_v4l" != "xno"
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11428 $as_echo_n "checking for -lv4l1... " >&6; }
11429 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11430 $as_echo_n "(cached) " >&6
11432 ac_check_soname_save_LIBS
=$LIBS
11433 LIBS
="-lv4l1 $LIBS"
11434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11435 /* end confdefs.h. */
11437 /* Override any GCC internal prototype to avoid an error.
11438 Use char because int might match the return type of a GCC
11439 builtin and then its argument prototype would still apply. */
11447 return v4l1_open ();
11452 if ac_fn_c_try_link
"$LINENO"; then :
11454 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11455 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'` ;;
11456 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11457 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11458 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11462 rm -f core conftest.err conftest.
$ac_objext \
11463 conftest
$ac_exeext conftest.
$ac_ext
11464 LIBS
=$ac_check_soname_save_LIBS
11466 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11468 $as_echo "not found" >&6; }
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11472 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11474 cat >>confdefs.h
<<_ACEOF
11475 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11481 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11482 case "x$with_v4l" in
11483 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11485 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11486 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11490 if test "x$with_gphoto" != "xno"
11492 if ${GPHOTO2_CFLAGS:+false} :; then :
11493 if ${PKG_CONFIG+:} false
; then :
11494 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11497 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11498 if ${GPHOTO2_LIBS:+false} :; then :
11499 if ${PKG_CONFIG+:} false
; then :
11500 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11503 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11504 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11505 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11506 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11507 ac_save_CPPFLAGS
=$CPPFLAGS
11508 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11509 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11510 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11512 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11513 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11514 $as_echo_n "(cached) " >&6
11516 ac_check_lib_save_LIBS
=$LIBS
11517 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11519 /* end confdefs.h. */
11521 /* Override any GCC internal prototype to avoid an error.
11522 Use char because int might match the return type of a GCC
11523 builtin and then its argument prototype would still apply. */
11527 char gp_camera_new ();
11531 return gp_camera_new ();
11536 if ac_fn_c_try_link
"$LINENO"; then :
11537 ac_cv_lib_gphoto2_gp_camera_new
=yes
11539 ac_cv_lib_gphoto2_gp_camera_new
=no
11541 rm -f core conftest.err conftest.
$ac_objext \
11542 conftest
$ac_exeext conftest.
$ac_ext
11543 LIBS
=$ac_check_lib_save_LIBS
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11546 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11547 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11549 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11552 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11556 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11560 CPPFLAGS
=$ac_save_CPPFLAGS
11561 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11562 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11564 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11565 if ${PKG_CONFIG+:} false
; then :
11566 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11569 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11570 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11571 if ${PKG_CONFIG+:} false
; then :
11572 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11575 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11576 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11577 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11578 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11579 ac_save_CPPFLAGS
=$CPPFLAGS
11580 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11581 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11582 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11584 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11585 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11586 $as_echo_n "(cached) " >&6
11588 ac_check_lib_save_LIBS
=$LIBS
11589 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11591 /* end confdefs.h. */
11593 /* Override any GCC internal prototype to avoid an error.
11594 Use char because int might match the return type of a GCC
11595 builtin and then its argument prototype would still apply. */
11599 char gp_port_info_list_new ();
11603 return gp_port_info_list_new ();
11608 if ac_fn_c_try_link
"$LINENO"; then :
11609 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11611 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11613 rm -f core conftest.err conftest.
$ac_objext \
11614 conftest
$ac_exeext conftest.
$ac_ext
11615 LIBS
=$ac_check_lib_save_LIBS
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11618 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11619 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11621 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11624 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11628 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11632 CPPFLAGS
=$ac_save_CPPFLAGS
11633 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11634 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11637 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11638 case "x$with_gphoto" in
11639 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11641 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11642 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11645 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11646 case "x$with_gphoto" in
11647 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11649 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11650 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11655 if test "$ac_cv_header_resolv_h" = "yes"
11657 ac_save_LIBS
="$LIBS"
11658 for lib
in '' -lresolv
11660 LIBS
="$lib $ac_save_LIBS"
11661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11662 /* end confdefs.h. */
11663 #ifdef HAVE_NETINET_IN_H
11664 #include <netinet/in.h>
11666 #include <resolv.h>
11670 res_query("foo",ns_c_in,0,0,0);
11675 if ac_fn_c_try_link
"$LINENO"; then :
11677 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11682 rm -f core conftest.err conftest.
$ac_objext \
11683 conftest
$ac_exeext conftest.
$ac_ext
11684 if test "${RESOLV_LIBS+set}" = set; then
11688 LIBS
="$ac_save_LIBS"
11691 if test "x$with_lcms2" != "xno"
11693 if ${LCMS2_CFLAGS:+false} :; then :
11694 if ${PKG_CONFIG+:} false
; then :
11695 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11699 if ${LCMS2_LIBS:+false} :; then :
11700 if ${PKG_CONFIG+:} false
; then :
11701 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11705 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11706 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11707 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11708 ac_save_CPPFLAGS
=$CPPFLAGS
11709 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11710 for ac_header
in lcms2.h
11712 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11713 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11714 cat >>confdefs.h
<<_ACEOF
11715 #define HAVE_LCMS2_H 1
11722 if test "$ac_cv_header_lcms2_h" = "yes"
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11725 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11726 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11727 $as_echo_n "(cached) " >&6
11729 ac_check_lib_save_LIBS
=$LIBS
11730 LIBS
="-llcms2 $LIBS"
11731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11732 /* end confdefs.h. */
11734 /* Override any GCC internal prototype to avoid an error.
11735 Use char because int might match the return type of a GCC
11736 builtin and then its argument prototype would still apply. */
11740 char cmsOpenProfileFromFile ();
11744 return cmsOpenProfileFromFile ();
11749 if ac_fn_c_try_link
"$LINENO"; then :
11750 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11752 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11754 rm -f core conftest.err conftest.
$ac_objext \
11755 conftest
$ac_exeext conftest.
$ac_ext
11756 LIBS
=$ac_check_lib_save_LIBS
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11759 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11760 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11762 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11772 CPPFLAGS
=$ac_save_CPPFLAGS
11773 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11774 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11777 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11778 case "x$with_cms" in
11779 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11781 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11782 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11786 if test "x$with_freetype" != "xno"
11788 if ${FREETYPE_CFLAGS:+false} :; then :
11789 if ${PKG_CONFIG+:} false
; then :
11790 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11793 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11794 if ${FREETYPE_LIBS:+false} :; then :
11795 if ${PKG_CONFIG+:} false
; then :
11796 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11799 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11800 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11801 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11802 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11803 ac_save_CPPFLAGS
=$CPPFLAGS
11804 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11805 for ac_header
in ft2build.h
11807 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11808 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11809 cat >>confdefs.h
<<_ACEOF
11810 #define HAVE_FT2BUILD_H 1
11817 if test "$ac_cv_header_ft2build_h" = "yes"
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11820 $as_echo_n "checking for -lfreetype... " >&6; }
11821 if ${ac_cv_lib_soname_freetype+:} false
; then :
11822 $as_echo_n "(cached) " >&6
11824 ac_check_soname_save_LIBS
=$LIBS
11825 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11827 /* end confdefs.h. */
11829 /* Override any GCC internal prototype to avoid an error.
11830 Use char because int might match the return type of a GCC
11831 builtin and then its argument prototype would still apply. */
11835 char FT_Init_FreeType ();
11839 return FT_Init_FreeType ();
11844 if ac_fn_c_try_link
"$LINENO"; then :
11846 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11847 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'` ;;
11848 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11849 if ${ac_cv_lib_soname_freetype:+false} :; then :
11850 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11854 rm -f core conftest.err conftest.
$ac_objext \
11855 conftest
$ac_exeext conftest.
$ac_ext
11856 LIBS
=$ac_check_soname_save_LIBS
11858 if ${ac_cv_lib_soname_freetype:+false} :; then :
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11860 $as_echo "not found" >&6; }
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11864 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11866 cat >>confdefs.h
<<_ACEOF
11867 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11871 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11873 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11874 #include FT_MODULE_H
11876 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
11878 cat >>confdefs.h
<<_ACEOF
11879 #define HAVE_FT_TRUETYPEENGINETYPE 1
11890 CPPFLAGS
=$ac_save_CPPFLAGS
11891 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11892 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11895 if test "x$ac_cv_lib_soname_freetype" = x
; then :
11896 case "x$with_freetype" in
11898 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
11899 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11902 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11905 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11906 if ${ac_cv_c_ppdev+:} false
; then :
11907 $as_echo_n "(cached) " >&6
11909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11910 /* end confdefs.h. */
11911 #ifdef HAVE_SYS_IOCTL_H
11912 # include <sys/ioctl.h>
11914 #include <linux/ppdev.h>
11918 ioctl (1,PPCLAIM,0)
11923 if ac_fn_c_try_compile
"$LINENO"; then :
11924 ac_cv_c_ppdev
="yes"
11928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11931 $as_echo "$ac_cv_c_ppdev" >&6; }
11932 if test "$ac_cv_c_ppdev" = "yes"
11935 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11939 ac_wine_check_funcs_save_LIBS
="$LIBS"
11940 LIBS
="$LIBS $PTHREAD_LIBS"
11942 pthread_attr_get_np \
11943 pthread_getattr_np \
11944 pthread_getthreadid_np \
11945 pthread_get_stackaddr_np \
11946 pthread_get_stacksize_np
11948 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11949 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11950 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11951 cat >>confdefs.h
<<_ACEOF
11952 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11958 LIBS
="$ac_wine_check_funcs_save_LIBS"
11960 if test "$ac_cv_header_zlib_h" = "yes"
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11963 $as_echo_n "checking for inflate in -lz... " >&6; }
11964 if ${ac_cv_lib_z_inflate+:} false
; then :
11965 $as_echo_n "(cached) " >&6
11967 ac_check_lib_save_LIBS
=$LIBS
11969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11970 /* end confdefs.h. */
11972 /* Override any GCC internal prototype to avoid an error.
11973 Use char because int might match the return type of a GCC
11974 builtin and then its argument prototype would still apply. */
11987 if ac_fn_c_try_link
"$LINENO"; then :
11988 ac_cv_lib_z_inflate
=yes
11990 ac_cv_lib_z_inflate
=no
11992 rm -f core conftest.err conftest.
$ac_objext \
11993 conftest
$ac_exeext conftest.
$ac_ext
11994 LIBS
=$ac_check_lib_save_LIBS
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11997 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11998 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12000 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12007 if test "x$Z_LIBS" = "x"; then :
12008 case "x$with_zlib" in
12009 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12011 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12012 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12016 if test "x$enable_tools" != xno
12018 if test "$ac_cv_header_gettext_po_h" = "yes"
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12021 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12022 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12023 $as_echo_n "(cached) " >&6
12025 ac_check_lib_save_LIBS
=$LIBS
12026 LIBS
="-lgettextpo $LIBS"
12027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12028 /* end confdefs.h. */
12030 /* Override any GCC internal prototype to avoid an error.
12031 Use char because int might match the return type of a GCC
12032 builtin and then its argument prototype would still apply. */
12036 char po_message_msgctxt ();
12040 return po_message_msgctxt ();
12045 if ac_fn_c_try_link
"$LINENO"; then :
12046 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12048 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12050 rm -f core conftest.err conftest.
$ac_objext \
12051 conftest
$ac_exeext conftest.
$ac_ext
12052 LIBS
=$ac_check_lib_save_LIBS
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12055 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12056 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12058 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12060 GETTEXTPO_LIBS
="-lgettextpo"
12065 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12066 case "x$with_gettextpo" in
12067 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12069 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12070 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12075 if test "x$with_gstreamer" != "xno"
12077 if ${GSTREAMER_CFLAGS:+false} :; then :
12078 if ${PKG_CONFIG+:} false
; then :
12079 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12083 if ${GSTREAMER_LIBS:+false} :; then :
12084 if ${PKG_CONFIG+:} false
; then :
12085 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12090 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12091 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12092 ac_save_CPPFLAGS
=$CPPFLAGS
12093 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12095 for i
in $GSTREAMER_CFLAGS
12098 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12101 GSTREAMER_CFLAGS
=$ac_gst_incl
12102 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12103 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12104 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12105 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12106 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12108 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12110 /* end confdefs.h. */
12111 #include <gst/app/gstappsink.h>
12115 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12120 if ac_fn_c_try_compile
"$LINENO"; then :
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12122 $as_echo "yes" >&6; }
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12124 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12125 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12126 $as_echo_n "(cached) " >&6
12128 ac_check_lib_save_LIBS
=$LIBS
12129 LIBS
="-lgstreamer-0.10 $LIBS"
12130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12131 /* end confdefs.h. */
12133 /* Override any GCC internal prototype to avoid an error.
12134 Use char because int might match the return type of a GCC
12135 builtin and then its argument prototype would still apply. */
12139 char gst_pad_get_caps_reffed ();
12143 return gst_pad_get_caps_reffed ();
12148 if ac_fn_c_try_link
"$LINENO"; then :
12149 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12151 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12153 rm -f core conftest.err conftest.
$ac_objext \
12154 conftest
$ac_exeext conftest.
$ac_ext
12155 LIBS
=$ac_check_lib_save_LIBS
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12158 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12159 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12161 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12162 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12163 $as_echo_n "(cached) " >&6
12165 ac_check_lib_save_LIBS
=$LIBS
12166 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12168 /* end confdefs.h. */
12170 /* Override any GCC internal prototype to avoid an error.
12171 Use char because int might match the return type of a GCC
12172 builtin and then its argument prototype would still apply. */
12176 char gst_app_buffer_new ();
12180 return gst_app_buffer_new ();
12185 if ac_fn_c_try_link
"$LINENO"; then :
12186 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12188 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12190 rm -f core conftest.err conftest.
$ac_objext \
12191 conftest
$ac_exeext conftest.
$ac_ext
12192 LIBS
=$ac_check_lib_save_LIBS
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12195 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12196 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12204 $as_echo "no" >&6; }
12206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12211 GSTREAMER_CFLAGS
=""
12215 CPPFLAGS
=$ac_save_CPPFLAGS
12216 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12217 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12220 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12221 case "x$with_gstreamer" in
12222 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12224 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12225 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12228 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12232 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12235 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12236 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12237 $as_echo_n "(cached) " >&6
12239 ac_check_lib_save_LIBS
=$LIBS
12240 LIBS
="-lasound $LIBS"
12241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12242 /* end confdefs.h. */
12244 /* Override any GCC internal prototype to avoid an error.
12245 Use char because int might match the return type of a GCC
12246 builtin and then its argument prototype would still apply. */
12250 char snd_pcm_hw_params_get_access_mask ();
12254 return snd_pcm_hw_params_get_access_mask ();
12259 if ac_fn_c_try_link
"$LINENO"; then :
12260 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12262 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12264 rm -f core conftest.err conftest.
$ac_objext \
12265 conftest
$ac_exeext conftest.
$ac_ext
12266 LIBS
=$ac_check_lib_save_LIBS
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12269 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12270 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12272 /* end confdefs.h. */
12273 #ifdef HAVE_ALSA_ASOUNDLIB_H
12274 #include <alsa/asoundlib.h>
12275 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12276 #include <sys/asoundlib.h>
12281 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12286 if ac_fn_c_try_compile
"$LINENO"; then :
12287 ALSA_LIBS
="-lasound"
12289 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12294 if test "x$with_oss" != xno
12296 ac_save_CPPFLAGS
="$CPPFLAGS"
12297 if test -f /etc
/oss.conf
12301 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12302 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12303 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12304 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12305 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12307 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12309 cat >>confdefs.h
<<_ACEOF
12310 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12313 OSS4_CFLAGS
="$ac_oss_incl"
12320 CPPFLAGS
="$ac_save_CPPFLAGS"
12321 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12323 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12327 if test "x$with_capi" != "xno"
12329 if ${CAPI20_CFLAGS:+false} :; then :
12330 if ${PKG_CONFIG+:} false
; then :
12331 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12335 if ${CAPI20_LIBS:+false} :; then :
12336 if ${PKG_CONFIG+:} false
; then :
12337 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12342 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12343 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12344 ac_save_CPPFLAGS
=$CPPFLAGS
12345 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12346 for ac_header
in capi20.h linux
/capi.h
12348 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12349 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12351 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12352 cat >>confdefs.h
<<_ACEOF
12353 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12360 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12363 $as_echo_n "checking for -lcapi20... " >&6; }
12364 if ${ac_cv_lib_soname_capi20+:} false
; then :
12365 $as_echo_n "(cached) " >&6
12367 ac_check_soname_save_LIBS
=$LIBS
12368 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12370 /* end confdefs.h. */
12372 /* Override any GCC internal prototype to avoid an error.
12373 Use char because int might match the return type of a GCC
12374 builtin and then its argument prototype would still apply. */
12378 char capi20_register ();
12382 return capi20_register ();
12387 if ac_fn_c_try_link
"$LINENO"; then :
12389 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12390 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'` ;;
12391 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12392 if ${ac_cv_lib_soname_capi20:+false} :; then :
12393 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12397 rm -f core conftest.err conftest.
$ac_objext \
12398 conftest
$ac_exeext conftest.
$ac_ext
12399 LIBS
=$ac_check_soname_save_LIBS
12401 if ${ac_cv_lib_soname_capi20:+false} :; then :
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12403 $as_echo "not found" >&6; }
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12407 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12409 cat >>confdefs.h
<<_ACEOF
12410 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12416 CPPFLAGS
=$ac_save_CPPFLAGS
12417 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12418 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12421 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12422 case "x$with_capi" in
12423 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12425 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12426 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12432 if test "x$with_cups" != "xno"
12434 ac_save_CPPFLAGS
="$CPPFLAGS"
12435 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12436 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12437 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12438 for ac_header
in cups
/cups.h
12440 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12441 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12442 cat >>confdefs.h
<<_ACEOF
12443 #define HAVE_CUPS_CUPS_H 1
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12446 $as_echo_n "checking for -lcups... " >&6; }
12447 if ${ac_cv_lib_soname_cups+:} false
; then :
12448 $as_echo_n "(cached) " >&6
12450 ac_check_soname_save_LIBS
=$LIBS
12451 LIBS
="-lcups $ac_cups_libs $LIBS"
12452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12453 /* end confdefs.h. */
12455 /* Override any GCC internal prototype to avoid an error.
12456 Use char because int might match the return type of a GCC
12457 builtin and then its argument prototype would still apply. */
12461 char cupsGetDefault ();
12465 return cupsGetDefault ();
12470 if ac_fn_c_try_link
"$LINENO"; then :
12472 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12473 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'` ;;
12474 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12475 if ${ac_cv_lib_soname_cups:+false} :; then :
12476 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12480 rm -f core conftest.err conftest.
$ac_objext \
12481 conftest
$ac_exeext conftest.
$ac_ext
12482 LIBS
=$ac_check_soname_save_LIBS
12484 if ${ac_cv_lib_soname_cups:+false} :; then :
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12486 $as_echo "not found" >&6; }
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12490 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12492 cat >>confdefs.h
<<_ACEOF
12493 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12496 CUPS_CFLAGS
="$ac_cups_cflags"
12502 CPPFLAGS
="$ac_save_CPPFLAGS"
12504 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12505 case "x$with_cups" in
12506 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12508 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12509 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12513 if test "x$with_fontconfig" != "xno"
12515 if ${FONTCONFIG_CFLAGS:+false} :; then :
12516 if ${PKG_CONFIG+:} false
; then :
12517 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12520 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12521 if ${FONTCONFIG_LIBS:+false} :; then :
12522 if ${PKG_CONFIG+:} false
; then :
12523 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12526 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12528 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12529 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12530 ac_save_CPPFLAGS
=$CPPFLAGS
12531 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12532 for ac_header
in fontconfig
/fontconfig.h
12534 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12535 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12536 cat >>confdefs.h
<<_ACEOF
12537 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12544 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12547 $as_echo_n "checking for -lfontconfig... " >&6; }
12548 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12549 $as_echo_n "(cached) " >&6
12551 ac_check_soname_save_LIBS
=$LIBS
12552 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12554 /* end confdefs.h. */
12556 /* Override any GCC internal prototype to avoid an error.
12557 Use char because int might match the return type of a GCC
12558 builtin and then its argument prototype would still apply. */
12571 if ac_fn_c_try_link
"$LINENO"; then :
12573 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12574 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'` ;;
12575 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12576 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12577 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12581 rm -f core conftest.err conftest.
$ac_objext \
12582 conftest
$ac_exeext conftest.
$ac_ext
12583 LIBS
=$ac_check_soname_save_LIBS
12585 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12587 $as_echo "not found" >&6; }
12588 FONTCONFIG_CFLAGS
=""
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12591 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12593 cat >>confdefs.h
<<_ACEOF
12594 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12600 FONTCONFIG_CFLAGS
=""
12602 CPPFLAGS
=$ac_save_CPPFLAGS
12603 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12604 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12607 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12608 case "x$with_fontconfig" in
12609 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12611 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12612 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12616 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12619 $as_echo_n "checking for -lgsm... " >&6; }
12620 if ${ac_cv_lib_soname_gsm+:} false
; then :
12621 $as_echo_n "(cached) " >&6
12623 ac_check_soname_save_LIBS
=$LIBS
12625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12626 /* end confdefs.h. */
12628 /* Override any GCC internal prototype to avoid an error.
12629 Use char because int might match the return type of a GCC
12630 builtin and then its argument prototype would still apply. */
12634 char gsm_create ();
12638 return gsm_create ();
12643 if ac_fn_c_try_link
"$LINENO"; then :
12645 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12646 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'` ;;
12647 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12648 if ${ac_cv_lib_soname_gsm:+false} :; then :
12649 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12653 rm -f core conftest.err conftest.
$ac_objext \
12654 conftest
$ac_exeext conftest.
$ac_ext
12655 LIBS
=$ac_check_soname_save_LIBS
12657 if ${ac_cv_lib_soname_gsm:+false} :; then :
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12659 $as_echo "not found" >&6; }
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12663 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12665 cat >>confdefs.h
<<_ACEOF
12666 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12672 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12673 case "x$with_gsm" in
12674 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12676 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12677 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12681 if test "x$with_jpeg" != "xno"
12683 if ${JPEG_CFLAGS:+false} :; then :
12684 if ${PKG_CONFIG+:} false
; then :
12685 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12689 if ${JPEG_LIBS:+false} :; then :
12690 if ${PKG_CONFIG+:} false
; then :
12691 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12696 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12697 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12698 ac_save_CPPFLAGS
=$CPPFLAGS
12699 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12700 for ac_header
in jpeglib.h
12702 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12703 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12704 cat >>confdefs.h
<<_ACEOF
12705 #define HAVE_JPEGLIB_H 1
12712 if test "$ac_cv_header_jpeglib_h" = "yes"
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12715 $as_echo_n "checking for -ljpeg... " >&6; }
12716 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12717 $as_echo_n "(cached) " >&6
12719 ac_check_soname_save_LIBS
=$LIBS
12720 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12722 /* end confdefs.h. */
12724 /* Override any GCC internal prototype to avoid an error.
12725 Use char because int might match the return type of a GCC
12726 builtin and then its argument prototype would still apply. */
12730 char jpeg_start_decompress ();
12734 return jpeg_start_decompress ();
12739 if ac_fn_c_try_link
"$LINENO"; then :
12741 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12742 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'` ;;
12743 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12744 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12745 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12749 rm -f core conftest.err conftest.
$ac_objext \
12750 conftest
$ac_exeext conftest.
$ac_ext
12751 LIBS
=$ac_check_soname_save_LIBS
12753 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12755 $as_echo "not found" >&6; }
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12759 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12761 cat >>confdefs.h
<<_ACEOF
12762 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12770 CPPFLAGS
=$ac_save_CPPFLAGS
12771 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12772 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12775 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12776 case "x$with_jpeg" in
12777 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12779 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12780 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12784 if test "x$with_png" != "xno"
12786 if ${PNG_CFLAGS:+false} :; then :
12787 if ${PKG_CONFIG+:} false
; then :
12788 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12791 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12792 if ${PNG_LIBS:+false} :; then :
12793 if ${PKG_CONFIG+:} false
; then :
12794 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12797 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12799 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12800 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12801 ac_save_CPPFLAGS
=$CPPFLAGS
12802 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12803 for ac_header
in png.h
12805 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12806 if test "x$ac_cv_header_png_h" = xyes
; then :
12807 cat >>confdefs.h
<<_ACEOF
12808 #define HAVE_PNG_H 1
12815 if test "$ac_cv_header_png_h" = "yes"
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12818 $as_echo_n "checking for -lpng... " >&6; }
12819 if ${ac_cv_lib_soname_png+:} false
; then :
12820 $as_echo_n "(cached) " >&6
12822 ac_check_soname_save_LIBS
=$LIBS
12823 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12825 /* end confdefs.h. */
12827 /* Override any GCC internal prototype to avoid an error.
12828 Use char because int might match the return type of a GCC
12829 builtin and then its argument prototype would still apply. */
12833 char png_create_read_struct ();
12837 return png_create_read_struct ();
12842 if ac_fn_c_try_link
"$LINENO"; then :
12844 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12845 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'` ;;
12846 *) 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'`
12847 if ${ac_cv_lib_soname_png:+false} :; then :
12848 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12852 rm -f core conftest.err conftest.
$ac_objext \
12853 conftest
$ac_exeext conftest.
$ac_ext
12854 LIBS
=$ac_check_soname_save_LIBS
12856 if ${ac_cv_lib_soname_png:+false} :; then :
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12858 $as_echo "not found" >&6; }
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12862 $as_echo "$ac_cv_lib_soname_png" >&6; }
12864 cat >>confdefs.h
<<_ACEOF
12865 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12869 /* end confdefs.h. */
12874 typeof(png_set_expand_gray_1_2_4_to_8) *p
12879 if ac_fn_c_try_compile
"$LINENO"; then :
12881 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12884 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12889 CPPFLAGS
=$ac_save_CPPFLAGS
12890 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12891 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12894 if test "x$ac_cv_lib_soname_png" = "x"; then :
12895 case "x$with_png" in
12896 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12898 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
12899 This is an error since --with-png was requested." "$LINENO" 5 ;;
12903 if test "x$with_tiff" != "xno"
12905 if ${TIFF_CFLAGS:+false} :; then :
12906 if ${PKG_CONFIG+:} false
; then :
12907 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12911 if ${TIFF_LIBS:+false} :; then :
12912 if ${PKG_CONFIG+:} false
; then :
12913 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12918 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
12919 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
12920 ac_save_CPPFLAGS
=$CPPFLAGS
12921 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
12922 for ac_header
in tiffio.h
12924 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12925 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
12926 cat >>confdefs.h
<<_ACEOF
12927 #define HAVE_TIFFIO_H 1
12934 if test "$ac_cv_header_tiffio_h" = "yes"
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12937 $as_echo_n "checking for -ltiff... " >&6; }
12938 if ${ac_cv_lib_soname_tiff+:} false
; then :
12939 $as_echo_n "(cached) " >&6
12941 ac_check_soname_save_LIBS
=$LIBS
12942 LIBS
="-ltiff $TIFF_LIBS $LIBS"
12943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12944 /* end confdefs.h. */
12946 /* Override any GCC internal prototype to avoid an error.
12947 Use char because int might match the return type of a GCC
12948 builtin and then its argument prototype would still apply. */
12952 char TIFFClientOpen ();
12956 return TIFFClientOpen ();
12961 if ac_fn_c_try_link
"$LINENO"; then :
12963 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12964 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'` ;;
12965 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12966 if ${ac_cv_lib_soname_tiff:+false} :; then :
12967 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12971 rm -f core conftest.err conftest.
$ac_objext \
12972 conftest
$ac_exeext conftest.
$ac_ext
12973 LIBS
=$ac_check_soname_save_LIBS
12975 if ${ac_cv_lib_soname_tiff:+false} :; then :
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12977 $as_echo "not found" >&6; }
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12981 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12983 cat >>confdefs.h
<<_ACEOF
12984 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12990 CPPFLAGS
=$ac_save_CPPFLAGS
12991 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12992 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12995 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12996 case "x$with_tiff" in
12997 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12999 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13000 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13004 if test "x$with_mpg123" != "xno"
13006 if ${MPG123_CFLAGS:+false} :; then :
13007 if ${PKG_CONFIG+:} false
; then :
13008 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13012 if ${MPG123_LIBS:+false} :; then :
13013 if ${PKG_CONFIG+:} false
; then :
13014 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13018 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13019 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13020 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13021 ac_save_CPPFLAGS
=$CPPFLAGS
13022 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13023 for ac_header
in mpg123.h
13025 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13026 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13027 cat >>confdefs.h
<<_ACEOF
13028 #define HAVE_MPG123_H 1
13035 if test "$ac_cv_header_mpg123_h" = "yes"
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13038 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13039 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13040 $as_echo_n "(cached) " >&6
13042 ac_check_lib_save_LIBS
=$LIBS
13043 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13045 /* end confdefs.h. */
13047 /* Override any GCC internal prototype to avoid an error.
13048 Use char because int might match the return type of a GCC
13049 builtin and then its argument prototype would still apply. */
13053 char mpg123_feed ();
13057 return mpg123_feed ();
13062 if ac_fn_c_try_link
"$LINENO"; then :
13063 ac_cv_lib_mpg123_mpg123_feed
=yes
13065 ac_cv_lib_mpg123_mpg123_feed
=no
13067 rm -f core conftest.err conftest.
$ac_objext \
13068 conftest
$ac_exeext conftest.
$ac_ext
13069 LIBS
=$ac_check_lib_save_LIBS
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13072 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13073 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13083 CPPFLAGS
=$ac_save_CPPFLAGS
13084 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13085 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13088 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13089 case "x$with_mpg123" in
13090 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13092 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13093 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13096 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}
13098 if test "$ac_cv_header_AL_al_h" = "yes"
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13101 $as_echo_n "checking for -lopenal... " >&6; }
13102 if ${ac_cv_lib_soname_openal+:} false
; then :
13103 $as_echo_n "(cached) " >&6
13105 ac_check_soname_save_LIBS
=$LIBS
13106 LIBS
="-lopenal $LIBS"
13107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13108 /* end confdefs.h. */
13110 /* Override any GCC internal prototype to avoid an error.
13111 Use char because int might match the return type of a GCC
13112 builtin and then its argument prototype would still apply. */
13116 char alGetSource3i ();
13120 return alGetSource3i ();
13125 if ac_fn_c_try_link
"$LINENO"; then :
13127 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13128 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'` ;;
13129 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13130 if ${ac_cv_lib_soname_openal:+false} :; then :
13131 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13135 rm -f core conftest.err conftest.
$ac_objext \
13136 conftest
$ac_exeext conftest.
$ac_ext
13137 LIBS
=$ac_check_soname_save_LIBS
13139 if ${ac_cv_lib_soname_openal:+false} :; then :
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13141 $as_echo "not found" >&6; }
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13145 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13147 cat >>confdefs.h
<<_ACEOF
13148 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13151 OPENAL_LIBS
="-lopenal"
13153 ac_cv_lib_openal
=yes
13155 cat >>confdefs.h
<<_ACEOF
13156 #define HAVE_OPENAL 1
13161 if test "x$ac_cv_lib_openal" != xyes
; then :
13162 case "x$with_openal" in
13163 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13165 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13166 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13169 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13171 if test "$ac_cv_header_kstat_h" = "yes"
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13174 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13175 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13176 $as_echo_n "(cached) " >&6
13178 ac_check_lib_save_LIBS
=$LIBS
13179 LIBS
="-lkstat $LIBS"
13180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13181 /* end confdefs.h. */
13183 /* Override any GCC internal prototype to avoid an error.
13184 Use char because int might match the return type of a GCC
13185 builtin and then its argument prototype would still apply. */
13189 char kstat_open ();
13193 return kstat_open ();
13198 if ac_fn_c_try_link
"$LINENO"; then :
13199 ac_cv_lib_kstat_kstat_open
=yes
13201 ac_cv_lib_kstat_kstat_open
=no
13203 rm -f core conftest.err conftest.
$ac_objext \
13204 conftest
$ac_exeext conftest.
$ac_ext
13205 LIBS
=$ac_check_lib_save_LIBS
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13208 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13209 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13211 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13213 KSTAT_LIBS
="-lkstat"
13219 if test "$ac_cv_header_libprocstat_h" = "yes"
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13222 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13223 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13224 $as_echo_n "(cached) " >&6
13226 ac_check_lib_save_LIBS
=$LIBS
13227 LIBS
="-lprocstat $LIBS"
13228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13229 /* end confdefs.h. */
13231 /* Override any GCC internal prototype to avoid an error.
13232 Use char because int might match the return type of a GCC
13233 builtin and then its argument prototype would still apply. */
13237 char procstat_open_sysctl ();
13241 return procstat_open_sysctl ();
13246 if ac_fn_c_try_link
"$LINENO"; then :
13247 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13249 ac_cv_lib_procstat_procstat_open_sysctl
=no
13251 rm -f core conftest.err conftest.
$ac_objext \
13252 conftest
$ac_exeext conftest.
$ac_ext
13253 LIBS
=$ac_check_lib_save_LIBS
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13256 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13257 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13259 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13261 PROCSTAT_LIBS
="-lprocstat"
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13268 $as_echo_n "checking for -lodbc... " >&6; }
13269 if ${ac_cv_lib_soname_odbc+:} false
; then :
13270 $as_echo_n "(cached) " >&6
13272 ac_check_soname_save_LIBS
=$LIBS
13273 LIBS
="-lodbc $LIBS"
13274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13275 /* end confdefs.h. */
13277 /* Override any GCC internal prototype to avoid an error.
13278 Use char because int might match the return type of a GCC
13279 builtin and then its argument prototype would still apply. */
13283 char SQLConnect ();
13287 return SQLConnect ();
13292 if ac_fn_c_try_link
"$LINENO"; then :
13294 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13295 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'` ;;
13296 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13297 if ${ac_cv_lib_soname_odbc:+false} :; then :
13298 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13302 rm -f core conftest.err conftest.
$ac_objext \
13303 conftest
$ac_exeext conftest.
$ac_ext
13304 LIBS
=$ac_check_soname_save_LIBS
13306 if ${ac_cv_lib_soname_odbc:+false} :; then :
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13308 $as_echo "not found" >&6; }
13309 cat >>confdefs.h
<<_ACEOF
13310 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13315 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13317 cat >>confdefs.h
<<_ACEOF
13318 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13324 if test "x$with_netapi" != "xno"
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13327 $as_echo_n "checking for -lnetapi... " >&6; }
13328 if ${ac_cv_lib_soname_netapi+:} false
; then :
13329 $as_echo_n "(cached) " >&6
13331 ac_check_soname_save_LIBS
=$LIBS
13332 LIBS
="-lnetapi $LIBS"
13333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13334 /* end confdefs.h. */
13336 /* Override any GCC internal prototype to avoid an error.
13337 Use char because int might match the return type of a GCC
13338 builtin and then its argument prototype would still apply. */
13342 char libnetapi_init ();
13346 return libnetapi_init ();
13351 if ac_fn_c_try_link
"$LINENO"; then :
13353 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13354 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'` ;;
13355 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13356 if ${ac_cv_lib_soname_netapi:+false} :; then :
13357 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13361 rm -f core conftest.err conftest.
$ac_objext \
13362 conftest
$ac_exeext conftest.
$ac_ext
13363 LIBS
=$ac_check_soname_save_LIBS
13365 if ${ac_cv_lib_soname_netapi:+false} :; then :
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13367 $as_echo "not found" >&6; }
13368 cat >>confdefs.h
<<_ACEOF
13369 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13374 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13376 cat >>confdefs.h
<<_ACEOF
13377 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13384 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13385 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13386 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13387 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13389 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13390 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13391 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13393 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13399 if test "x${GCC}" = "xyes"
13401 EXTRACFLAGS
="-Wall -pipe"
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13404 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13405 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13406 $as_echo_n "(cached) " >&6
13408 if test "$cross_compiling" = yes; then :
13409 ac_cv_c_gcc_strength_bug
="yes"
13411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13412 /* end confdefs.h. */
13413 int L[4] = {0,1,2,3};
13417 static int Array[3];
13418 unsigned int B = 3;
13420 for(i=0; i<B; i++) Array[i] = i - 3;
13421 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13423 return (Array[1] != -2 || L[2] != 3)
13428 if ac_fn_c_try_run
"$LINENO"; then :
13429 ac_cv_c_gcc_strength_bug
="no"
13431 ac_cv_c_gcc_strength_bug
="yes"
13433 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13434 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13439 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13440 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13442 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13446 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13447 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13448 $as_echo_n "(cached) " >&6
13450 ac_wine_try_cflags_saved
=$CFLAGS
13451 CFLAGS
="$CFLAGS -fno-builtin"
13452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13453 /* end confdefs.h. */
13454 int main(int argc, char **argv) { return 0; }
13456 if ac_fn_c_try_link
"$LINENO"; then :
13457 ac_cv_cflags__fno_builtin
=yes
13459 ac_cv_cflags__fno_builtin
=no
13461 rm -f core conftest.err conftest.
$ac_objext \
13462 conftest
$ac_exeext conftest.
$ac_ext
13463 CFLAGS
=$ac_wine_try_cflags_saved
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13466 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13467 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13468 BUILTINFLAG
="-fno-builtin"
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13472 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13473 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13474 $as_echo_n "(cached) " >&6
13476 ac_wine_try_cflags_saved
=$CFLAGS
13477 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13479 /* end confdefs.h. */
13480 int main(int argc, char **argv) { return 0; }
13482 if ac_fn_c_try_link
"$LINENO"; then :
13483 ac_cv_cflags__fno_strict_aliasing
=yes
13485 ac_cv_cflags__fno_strict_aliasing
=no
13487 rm -f core conftest.err conftest.
$ac_objext \
13488 conftest
$ac_exeext conftest.
$ac_ext
13489 CFLAGS
=$ac_wine_try_cflags_saved
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13492 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13493 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13494 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13496 saved_CFLAGS
=$CFLAGS
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13498 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13499 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13500 $as_echo_n "(cached) " >&6
13502 ac_wine_try_cflags_saved
=$CFLAGS
13503 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13505 /* end confdefs.h. */
13506 int main(int argc, char **argv) { return 0; }
13508 if ac_fn_c_try_link
"$LINENO"; then :
13509 ac_cv_cflags__Werror_unknown_warning_option
=yes
13511 ac_cv_cflags__Werror_unknown_warning_option
=no
13513 rm -f core conftest.err conftest.
$ac_objext \
13514 conftest
$ac_exeext conftest.
$ac_ext
13515 CFLAGS
=$ac_wine_try_cflags_saved
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13518 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13519 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13520 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13523 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13524 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13525 $as_echo_n "(cached) " >&6
13527 ac_wine_try_cflags_saved
=$CFLAGS
13528 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13530 /* end confdefs.h. */
13531 int main(int argc, char **argv) { return 0; }
13533 if ac_fn_c_try_link
"$LINENO"; then :
13534 ac_cv_cflags__Wdeclaration_after_statement
=yes
13536 ac_cv_cflags__Wdeclaration_after_statement
=no
13538 rm -f core conftest.err conftest.
$ac_objext \
13539 conftest
$ac_exeext conftest.
$ac_ext
13540 CFLAGS
=$ac_wine_try_cflags_saved
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13543 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13544 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13545 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13548 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13549 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13550 $as_echo_n "(cached) " >&6
13552 ac_wine_try_cflags_saved
=$CFLAGS
13553 CFLAGS
="$CFLAGS -Wempty-body"
13554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13555 /* end confdefs.h. */
13556 int main(int argc, char **argv) { return 0; }
13558 if ac_fn_c_try_link
"$LINENO"; then :
13559 ac_cv_cflags__Wempty_body
=yes
13561 ac_cv_cflags__Wempty_body
=no
13563 rm -f core conftest.err conftest.
$ac_objext \
13564 conftest
$ac_exeext conftest.
$ac_ext
13565 CFLAGS
=$ac_wine_try_cflags_saved
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13568 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13569 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13570 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13573 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13574 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13575 $as_echo_n "(cached) " >&6
13577 ac_wine_try_cflags_saved
=$CFLAGS
13578 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13580 /* end confdefs.h. */
13581 int main(int argc, char **argv) { return 0; }
13583 if ac_fn_c_try_link
"$LINENO"; then :
13584 ac_cv_cflags__Wignored_qualifiers
=yes
13586 ac_cv_cflags__Wignored_qualifiers
=no
13588 rm -f core conftest.err conftest.
$ac_objext \
13589 conftest
$ac_exeext conftest.
$ac_ext
13590 CFLAGS
=$ac_wine_try_cflags_saved
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13593 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13594 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13595 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13598 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13599 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13600 $as_echo_n "(cached) " >&6
13602 ac_wine_try_cflags_saved
=$CFLAGS
13603 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13605 /* end confdefs.h. */
13606 int main(int argc, char **argv) { return 0; }
13608 if ac_fn_c_try_link
"$LINENO"; then :
13609 ac_cv_cflags__Wstrict_prototypes
=yes
13611 ac_cv_cflags__Wstrict_prototypes
=no
13613 rm -f core conftest.err conftest.
$ac_objext \
13614 conftest
$ac_exeext conftest.
$ac_ext
13615 CFLAGS
=$ac_wine_try_cflags_saved
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13618 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13619 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13620 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13623 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13624 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13625 $as_echo_n "(cached) " >&6
13627 ac_wine_try_cflags_saved
=$CFLAGS
13628 CFLAGS
="$CFLAGS -Wtype-limits"
13629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13630 /* end confdefs.h. */
13631 int main(int argc, char **argv) { return 0; }
13633 if ac_fn_c_try_link
"$LINENO"; then :
13634 ac_cv_cflags__Wtype_limits
=yes
13636 ac_cv_cflags__Wtype_limits
=no
13638 rm -f core conftest.err conftest.
$ac_objext \
13639 conftest
$ac_exeext conftest.
$ac_ext
13640 CFLAGS
=$ac_wine_try_cflags_saved
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13643 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13644 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13645 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13648 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13649 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13650 $as_echo_n "(cached) " >&6
13652 ac_wine_try_cflags_saved
=$CFLAGS
13653 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13655 /* end confdefs.h. */
13656 int main(int argc, char **argv) { return 0; }
13658 if ac_fn_c_try_link
"$LINENO"; then :
13659 ac_cv_cflags__Wunused_but_set_parameter
=yes
13661 ac_cv_cflags__Wunused_but_set_parameter
=no
13663 rm -f core conftest.err conftest.
$ac_objext \
13664 conftest
$ac_exeext conftest.
$ac_ext
13665 CFLAGS
=$ac_wine_try_cflags_saved
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13668 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13669 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13670 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13673 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13674 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13675 $as_echo_n "(cached) " >&6
13677 ac_wine_try_cflags_saved
=$CFLAGS
13678 CFLAGS
="$CFLAGS -Wwrite-strings"
13679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13680 /* end confdefs.h. */
13681 int main(int argc, char **argv) { return 0; }
13683 if ac_fn_c_try_link
"$LINENO"; then :
13684 ac_cv_cflags__Wwrite_strings
=yes
13686 ac_cv_cflags__Wwrite_strings
=no
13688 rm -f core conftest.err conftest.
$ac_objext \
13689 conftest
$ac_exeext conftest.
$ac_ext
13690 CFLAGS
=$ac_wine_try_cflags_saved
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13693 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13694 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13695 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13699 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13700 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13701 $as_echo_n "(cached) " >&6
13703 ac_wine_try_cflags_saved
=$CFLAGS
13704 CFLAGS
="$CFLAGS -Wpointer-arith"
13705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13706 /* end confdefs.h. */
13707 int main(int argc, char **argv) { return 0; }
13709 if ac_fn_c_try_link
"$LINENO"; then :
13710 ac_cv_cflags__Wpointer_arith
=yes
13712 ac_cv_cflags__Wpointer_arith
=no
13714 rm -f core conftest.err conftest.
$ac_objext \
13715 conftest
$ac_exeext conftest.
$ac_ext
13716 CFLAGS
=$ac_wine_try_cflags_saved
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13719 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13720 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13721 saved_string_h_CFLAGS
=$CFLAGS
13722 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13724 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13725 if ${ac_cv_c_string_h_warnings+:} false
; then :
13726 $as_echo_n "(cached) " >&6
13728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13729 /* end confdefs.h. */
13730 #include <string.h>
13739 if ac_fn_c_try_compile
"$LINENO"; then :
13740 ac_cv_c_string_h_warnings
=no
13742 ac_cv_c_string_h_warnings
=yes
13744 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13747 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13748 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13749 CFLAGS
=$saved_string_h_CFLAGS
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13753 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13754 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13755 $as_echo_n "(cached) " >&6
13757 ac_wine_try_cflags_saved
=$CFLAGS
13758 CFLAGS
="$CFLAGS -Wlogical-op"
13759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13760 /* end confdefs.h. */
13761 int main(int argc, char **argv) { return 0; }
13763 if ac_fn_c_try_link
"$LINENO"; then :
13764 ac_cv_cflags__Wlogical_op
=yes
13766 ac_cv_cflags__Wlogical_op
=no
13768 rm -f core conftest.err conftest.
$ac_objext \
13769 conftest
$ac_exeext conftest.
$ac_ext
13770 CFLAGS
=$ac_wine_try_cflags_saved
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13773 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13774 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13775 saved_string_h_CFLAGS
=$CFLAGS
13776 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13778 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13779 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13780 $as_echo_n "(cached) " >&6
13782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13783 /* end confdefs.h. */
13784 #include <string.h>
13785 char*f(const char *h,char n) {return strchr(h,n);}
13794 if ac_fn_c_try_compile
"$LINENO"; then :
13795 ac_cv_c_logicalop_noisy
=no
13797 ac_cv_c_logicalop_noisy
=yes
13799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13802 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13803 CFLAGS
=$saved_string_h_CFLAGS
13804 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13807 CFLAGS
=$saved_CFLAGS
13809 for ac_flag
in $CFLAGS; do
13811 -g) case $host_os in
13812 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13813 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13814 if ${ac_cv_cflags__gstabsp+:} false
; then :
13815 $as_echo_n "(cached) " >&6
13817 ac_wine_try_cflags_saved
=$CFLAGS
13818 CFLAGS
="$CFLAGS -gstabs+"
13819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13820 /* end confdefs.h. */
13821 int main(int argc, char **argv) { return 0; }
13823 if ac_fn_c_try_link
"$LINENO"; then :
13824 ac_cv_cflags__gstabsp
=yes
13826 ac_cv_cflags__gstabsp
=no
13828 rm -f core conftest.err conftest.
$ac_objext \
13829 conftest
$ac_exeext conftest.
$ac_ext
13830 CFLAGS
=$ac_wine_try_cflags_saved
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13833 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13834 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
13835 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
13837 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13838 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13839 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
13840 $as_echo_n "(cached) " >&6
13842 ac_wine_try_cflags_saved
=$CFLAGS
13843 CFLAGS
="$CFLAGS -gdwarf-2"
13844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13845 /* end confdefs.h. */
13846 int main(int argc, char **argv) { return 0; }
13848 if ac_fn_c_try_link
"$LINENO"; then :
13849 ac_cv_cflags__gdwarf_2
=yes
13851 ac_cv_cflags__gdwarf_2
=no
13853 rm -f core conftest.err conftest.
$ac_objext \
13854 conftest
$ac_exeext conftest.
$ac_ext
13855 CFLAGS
=$ac_wine_try_cflags_saved
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13858 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13859 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
13860 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13863 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13864 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
13865 $as_echo_n "(cached) " >&6
13867 ac_wine_try_cflags_saved
=$CFLAGS
13868 CFLAGS
="$CFLAGS -gstrict-dwarf"
13869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13870 /* end confdefs.h. */
13871 int main(int argc, char **argv) { return 0; }
13873 if ac_fn_c_try_link
"$LINENO"; then :
13874 ac_cv_cflags__gstrict_dwarf
=yes
13876 ac_cv_cflags__gstrict_dwarf
=no
13878 rm -f core conftest.err conftest.
$ac_objext \
13879 conftest
$ac_exeext conftest.
$ac_ext
13880 CFLAGS
=$ac_wine_try_cflags_saved
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13883 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13884 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
13885 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
13892 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13893 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13894 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
13895 $as_echo_n "(cached) " >&6
13897 ac_wine_try_cflags_saved
=$CFLAGS
13898 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
13899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13900 /* end confdefs.h. */
13901 int main(int argc, char **argv) { return 0; }
13903 if ac_fn_c_try_link
"$LINENO"; then :
13904 ac_cv_cflags__fno_omit_frame_pointer
=yes
13906 ac_cv_cflags__fno_omit_frame_pointer
=no
13908 rm -f core conftest.err conftest.
$ac_objext \
13909 conftest
$ac_exeext conftest.
$ac_ext
13910 CFLAGS
=$ac_wine_try_cflags_saved
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13913 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13914 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
13915 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
13920 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13921 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13922 if ${ac_cv_cflags__Wno_format+:} false
; then :
13923 $as_echo_n "(cached) " >&6
13925 ac_wine_try_cflags_saved
=$CFLAGS
13926 CFLAGS
="$CFLAGS -Wno-format"
13927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13928 /* end confdefs.h. */
13929 int main(int argc, char **argv) { return 0; }
13931 if ac_fn_c_try_link
"$LINENO"; then :
13932 ac_cv_cflags__Wno_format
=yes
13934 ac_cv_cflags__Wno_format
=no
13936 rm -f core conftest.err conftest.
$ac_objext \
13937 conftest
$ac_exeext conftest.
$ac_ext
13938 CFLAGS
=$ac_wine_try_cflags_saved
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13941 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13942 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
13943 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
13947 if test "x$enable_maintainer_mode" = "xyes"
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13950 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13951 if ${ac_cv_cflags__Werror+:} false
; then :
13952 $as_echo_n "(cached) " >&6
13954 ac_wine_try_cflags_saved
=$CFLAGS
13955 CFLAGS
="$CFLAGS -Werror"
13956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13957 /* end confdefs.h. */
13958 int main(int argc, char **argv) { return 0; }
13960 if ac_fn_c_try_link
"$LINENO"; then :
13961 ac_cv_cflags__Werror
=yes
13963 ac_cv_cflags__Werror
=no
13965 rm -f core conftest.err conftest.
$ac_objext \
13966 conftest
$ac_exeext conftest.
$ac_ext
13967 CFLAGS
=$ac_wine_try_cflags_saved
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13970 $as_echo "$ac_cv_cflags__Werror" >&6; }
13971 if test "x$ac_cv_cflags__Werror" = xyes
; then :
13972 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
13976 saved_CFLAGS
="$CFLAGS"
13977 CFLAGS
="$CFLAGS -Werror"
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13979 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
13980 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
13981 $as_echo_n "(cached) " >&6
13983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13984 /* end confdefs.h. */
13985 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
13994 if ac_fn_c_try_compile
"$LINENO"; then :
13995 ac_cv_have_ms_hook_prologue
="yes"
13997 ac_cv_have_ms_hook_prologue
="no"
13999 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14002 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14003 CFLAGS
="$saved_CFLAGS"
14004 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14007 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14010 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14017 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14018 if ${ac_cv_c_fortify_enabled+:} false
; then :
14019 $as_echo_n "(cached) " >&6
14021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14022 /* end confdefs.h. */
14023 #include <string.h>
14027 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14028 #error Fortify enabled
14034 if ac_fn_c_try_compile
"$LINENO"; then :
14035 ac_cv_c_fortify_enabled
=no
14037 ac_cv_c_fortify_enabled
=yes
14039 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14042 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14043 if test "$ac_cv_c_fortify_enabled" = yes
14045 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14050 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14051 if ${ac_cv_c_extern_prefix+:} false
; then :
14052 $as_echo_n "(cached) " >&6
14054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14055 /* end confdefs.h. */
14056 extern int ac_test;
14060 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14065 if ac_fn_c_try_link
"$LINENO"; then :
14066 ac_cv_c_extern_prefix
="yes"
14068 ac_cv_c_extern_prefix
="no"
14070 rm -f core conftest.err conftest.
$ac_objext \
14071 conftest
$ac_exeext conftest.
$ac_ext
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14074 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14079 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14080 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14081 $as_echo_n "(cached) " >&6
14083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14084 /* end confdefs.h. */
14086 #define __stdcall __attribute__((__stdcall__))
14088 int __stdcall ac_test(int i) { return i; }
14092 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14097 if ac_fn_c_try_link
"$LINENO"; then :
14098 ac_cv_c_stdcall_suffix
="yes"
14100 ac_cv_c_stdcall_suffix
="no"
14102 rm -f core conftest.err conftest.
$ac_objext \
14103 conftest
$ac_exeext conftest.
$ac_ext
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14106 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14107 *) ac_cv_c_stdcall_suffix
="no" ;;
14111 if test "$ac_cv_c_extern_prefix" = "yes"
14113 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14115 asm_name_prefix
="_"
14117 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14123 if test "$ac_cv_c_stdcall_suffix" = "yes"
14125 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14128 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14134 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14135 if ${ac_cv_asm_func_def+:} false
; then :
14136 $as_echo_n "(cached) " >&6
14138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14139 /* end confdefs.h. */
14144 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14149 if ac_fn_c_try_link
"$LINENO"; then :
14150 ac_cv_asm_func_def
=".def"
14152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14153 /* end confdefs.h. */
14158 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14163 if ac_fn_c_try_link
"$LINENO"; then :
14164 ac_cv_asm_func_def
=".type @function"
14166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14167 /* end confdefs.h. */
14172 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14177 if ac_fn_c_try_link
"$LINENO"; then :
14178 ac_cv_asm_func_def
=".type 2"
14180 ac_cv_asm_func_def
="unknown"
14182 rm -f core conftest.err conftest.
$ac_objext \
14183 conftest
$ac_exeext conftest.
$ac_ext
14185 rm -f core conftest.err conftest.
$ac_objext \
14186 conftest
$ac_exeext conftest.
$ac_ext
14188 rm -f core conftest.err conftest.
$ac_objext \
14189 conftest
$ac_exeext conftest.
$ac_ext
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14192 $as_echo "$ac_cv_asm_func_def" >&6; }
14195 case "$ac_cv_asm_func_def" in
14197 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14199 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14201 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14203 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14205 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14207 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14209 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14211 asm_func_header
="" ;;
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14215 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14216 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14217 $as_echo_n "(cached) " >&6
14219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14220 /* end confdefs.h. */
14221 asm(".text\n\t.long 0");
14230 if ac_fn_c_try_compile
"$LINENO"; then :
14231 ac_cv_c_asm_outside_funcs
="yes"
14233 ac_cv_c_asm_outside_funcs
="no"
14235 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14238 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14241 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14242 if ${ac_cv_c_dot_previous+:} false
; then :
14243 $as_echo_n "(cached) " >&6
14245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14246 /* end confdefs.h. */
14251 asm(".text\nac_test:\t.long 0\n\t.previous");
14256 if ac_fn_c_try_link
"$LINENO"; then :
14257 ac_cv_c_dot_previous
="yes"
14259 ac_cv_c_dot_previous
="no"
14261 rm -f core conftest.err conftest.
$ac_objext \
14262 conftest
$ac_exeext conftest.
$ac_ext
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14265 $as_echo "$ac_cv_c_dot_previous" >&6; }
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14268 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14269 if ${ac_cv_c_cfi_support+:} false
; then :
14270 $as_echo_n "(cached) " >&6
14272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14273 /* end confdefs.h. */
14274 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14283 if ac_fn_c_try_compile
"$LINENO"; then :
14284 ac_cv_c_cfi_support
="yes"
14286 ac_cv_c_cfi_support
="no"
14288 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14291 $as_echo "$ac_cv_c_cfi_support" >&6; }
14293 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14294 asm_func_trailer
=""
14295 if test "$ac_cv_c_dot_previous" = "yes"
14297 asm_func_trailer
="\\n\\t.previous"
14299 if test "$ac_cv_c_cfi_support" = "yes"
14301 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14302 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14304 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14306 UNWINDFLAGS
=-fasynchronous-unwind-tables
14309 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14313 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14316 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14318 cat >>confdefs.h
<<_ACEOF
14319 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14323 cat >>confdefs.h
<<_ACEOF
14324 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14329 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14332 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14337 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14344 *i
[3456789]86*|x86_64
*)
14345 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14346 loader_programs
="$loader_programs $wine_binary-preloader"
14347 as_fn_append LOADER_RULES
"
14348 $wine_binary-preloader: preloader.o
14349 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14351 install install-lib:: $wine_binary-preloader
14352 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14355 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14357 preloader_EXTRADEFS = $BUILTINFLAG
14362 as_fn_append LOADER_RULES
"
14363 PROGRAMS = $loader_programs
14367 ac_save_CFLAGS
="$CFLAGS"
14368 CFLAGS
="$CFLAGS $BUILTINFLAG"
14445 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14446 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14447 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14448 cat >>confdefs.h
<<_ACEOF
14449 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14455 CFLAGS
="$ac_save_CFLAGS"
14457 if test "$ac_cv_func_dlopen" = no
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14460 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14461 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14462 $as_echo_n "(cached) " >&6
14464 ac_check_lib_save_LIBS
=$LIBS
14466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14467 /* end confdefs.h. */
14469 /* Override any GCC internal prototype to avoid an error.
14470 Use char because int might match the return type of a GCC
14471 builtin and then its argument prototype would still apply. */
14484 if ac_fn_c_try_link
"$LINENO"; then :
14485 ac_cv_lib_dl_dlopen
=yes
14487 ac_cv_lib_dl_dlopen
=no
14489 rm -f core conftest.err conftest.
$ac_objext \
14490 conftest
$ac_exeext conftest.
$ac_ext
14491 LIBS
=$ac_check_lib_save_LIBS
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14494 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14495 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14496 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14502 ac_wine_check_funcs_save_LIBS
="$LIBS"
14503 LIBS
="$LIBS $DL_LIBS"
14504 for ac_func
in dladdr
14506 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14507 if test "x$ac_cv_func_dladdr" = xyes
; then :
14508 cat >>confdefs.h
<<_ACEOF
14509 #define HAVE_DLADDR 1
14515 LIBS
="$ac_wine_check_funcs_save_LIBS"
14517 if test "$ac_cv_func_poll" = no
14519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14520 $as_echo_n "checking for poll in -lpoll... " >&6; }
14521 if ${ac_cv_lib_poll_poll+:} false
; then :
14522 $as_echo_n "(cached) " >&6
14524 ac_check_lib_save_LIBS
=$LIBS
14525 LIBS
="-lpoll $LIBS"
14526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14527 /* end confdefs.h. */
14529 /* Override any GCC internal prototype to avoid an error.
14530 Use char because int might match the return type of a GCC
14531 builtin and then its argument prototype would still apply. */
14544 if ac_fn_c_try_link
"$LINENO"; then :
14545 ac_cv_lib_poll_poll
=yes
14547 ac_cv_lib_poll_poll
=no
14549 rm -f core conftest.err conftest.
$ac_objext \
14550 conftest
$ac_exeext conftest.
$ac_ext
14551 LIBS
=$ac_check_lib_save_LIBS
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14554 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14555 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14556 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14564 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14565 if ${ac_cv_search_gethostbyname+:} false
; then :
14566 $as_echo_n "(cached) " >&6
14568 ac_func_search_save_LIBS
=$LIBS
14569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14570 /* end confdefs.h. */
14572 /* Override any GCC internal prototype to avoid an error.
14573 Use char because int might match the return type of a GCC
14574 builtin and then its argument prototype would still apply. */
14578 char gethostbyname ();
14582 return gethostbyname ();
14587 for ac_lib
in '' nsl
; do
14588 if test -z "$ac_lib"; then
14589 ac_res
="none required"
14592 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14594 if ac_fn_c_try_link
"$LINENO"; then :
14595 ac_cv_search_gethostbyname
=$ac_res
14597 rm -f core conftest.err conftest.
$ac_objext \
14599 if ${ac_cv_search_gethostbyname+:} false
; then :
14603 if ${ac_cv_search_gethostbyname+:} false
; then :
14606 ac_cv_search_gethostbyname
=no
14608 rm conftest.
$ac_ext
14609 LIBS
=$ac_func_search_save_LIBS
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14612 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14613 ac_res
=$ac_cv_search_gethostbyname
14614 if test "$ac_res" != no
; then :
14615 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14621 $as_echo_n "checking for library containing connect... " >&6; }
14622 if ${ac_cv_search_connect+:} false
; then :
14623 $as_echo_n "(cached) " >&6
14625 ac_func_search_save_LIBS
=$LIBS
14626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14627 /* end confdefs.h. */
14629 /* Override any GCC internal prototype to avoid an error.
14630 Use char because int might match the return type of a GCC
14631 builtin and then its argument prototype would still apply. */
14644 for ac_lib
in '' socket
; do
14645 if test -z "$ac_lib"; then
14646 ac_res
="none required"
14649 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14651 if ac_fn_c_try_link
"$LINENO"; then :
14652 ac_cv_search_connect
=$ac_res
14654 rm -f core conftest.err conftest.
$ac_objext \
14656 if ${ac_cv_search_connect+:} false
; then :
14660 if ${ac_cv_search_connect+:} false
; then :
14663 ac_cv_search_connect
=no
14665 rm conftest.
$ac_ext
14666 LIBS
=$ac_func_search_save_LIBS
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14669 $as_echo "$ac_cv_search_connect" >&6; }
14670 ac_res
=$ac_cv_search_connect
14671 if test "$ac_res" != no
; then :
14672 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14678 $as_echo_n "checking for library containing inet_aton... " >&6; }
14679 if ${ac_cv_search_inet_aton+:} false
; then :
14680 $as_echo_n "(cached) " >&6
14682 ac_func_search_save_LIBS
=$LIBS
14683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14684 /* end confdefs.h. */
14686 /* Override any GCC internal prototype to avoid an error.
14687 Use char because int might match the return type of a GCC
14688 builtin and then its argument prototype would still apply. */
14696 return inet_aton ();
14701 for ac_lib
in '' resolv
; do
14702 if test -z "$ac_lib"; then
14703 ac_res
="none required"
14706 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14708 if ac_fn_c_try_link
"$LINENO"; then :
14709 ac_cv_search_inet_aton
=$ac_res
14711 rm -f core conftest.err conftest.
$ac_objext \
14713 if ${ac_cv_search_inet_aton+:} false
; then :
14717 if ${ac_cv_search_inet_aton+:} false
; then :
14720 ac_cv_search_inet_aton
=no
14722 rm conftest.
$ac_ext
14723 LIBS
=$ac_func_search_save_LIBS
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14726 $as_echo "$ac_cv_search_inet_aton" >&6; }
14727 ac_res
=$ac_cv_search_inet_aton
14728 if test "$ac_res" != no
; then :
14729 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14749 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14750 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14751 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14752 cat >>confdefs.h
<<_ACEOF
14753 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14762 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14763 if ${ac_cv_search_clock_gettime+:} false
; then :
14764 $as_echo_n "(cached) " >&6
14766 ac_func_search_save_LIBS
=$LIBS
14767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14768 /* end confdefs.h. */
14770 /* Override any GCC internal prototype to avoid an error.
14771 Use char because int might match the return type of a GCC
14772 builtin and then its argument prototype would still apply. */
14776 char clock_gettime ();
14780 return clock_gettime ();
14785 for ac_lib
in '' rt
; do
14786 if test -z "$ac_lib"; then
14787 ac_res
="none required"
14790 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14792 if ac_fn_c_try_link
"$LINENO"; then :
14793 ac_cv_search_clock_gettime
=$ac_res
14795 rm -f core conftest.err conftest.
$ac_objext \
14797 if ${ac_cv_search_clock_gettime+:} false
; then :
14801 if ${ac_cv_search_clock_gettime+:} false
; then :
14804 ac_cv_search_clock_gettime
=no
14806 rm conftest.
$ac_ext
14807 LIBS
=$ac_func_search_save_LIBS
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14810 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14811 ac_res
=$ac_cv_search_clock_gettime
14812 if test "$ac_res" != no
; then :
14813 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14815 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14817 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
14825 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14827 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14829 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14831 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14832 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
14833 $as_echo_n "(cached) " >&6
14835 ac_check_lib_save_LIBS
=$LIBS
14836 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
14837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14838 /* end confdefs.h. */
14840 /* Override any GCC internal prototype to avoid an error.
14841 Use char because int might match the return type of a GCC
14842 builtin and then its argument prototype would still apply. */
14846 char ldap_initialize ();
14850 return ldap_initialize ();
14855 if ac_fn_c_try_link
"$LINENO"; then :
14856 ac_cv_lib_ldap_r_ldap_initialize
=yes
14858 ac_cv_lib_ldap_r_ldap_initialize
=no
14860 rm -f core conftest.err conftest.
$ac_objext \
14861 conftest
$ac_exeext conftest.
$ac_ext
14862 LIBS
=$ac_check_lib_save_LIBS
14864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14865 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14866 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14868 $as_echo_n "checking for ber_init in -llber... " >&6; }
14869 if ${ac_cv_lib_lber_ber_init+:} false
; then :
14870 $as_echo_n "(cached) " >&6
14872 ac_check_lib_save_LIBS
=$LIBS
14873 LIBS
="-llber $PTHREAD_LIBS $LIBS"
14874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14875 /* end confdefs.h. */
14877 /* Override any GCC internal prototype to avoid an error.
14878 Use char because int might match the return type of a GCC
14879 builtin and then its argument prototype would still apply. */
14887 return ber_init ();
14892 if ac_fn_c_try_link
"$LINENO"; then :
14893 ac_cv_lib_lber_ber_init
=yes
14895 ac_cv_lib_lber_ber_init
=no
14897 rm -f core conftest.err conftest.
$ac_objext \
14898 conftest
$ac_exeext conftest.
$ac_ext
14899 LIBS
=$ac_check_lib_save_LIBS
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14902 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14903 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
14905 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14907 LDAP_LIBS
="-lldap_r -llber"
14914 ac_wine_check_funcs_save_LIBS
="$LIBS"
14915 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
14917 ldap_count_references \
14918 ldap_first_reference \
14919 ldap_next_reference \
14920 ldap_parse_reference \
14921 ldap_parse_sort_control \
14922 ldap_parse_sortresponse_control \
14923 ldap_parse_vlv_control \
14924 ldap_parse_vlvresponse_control
14926 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14927 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14928 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14929 cat >>confdefs.h
<<_ACEOF
14930 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14936 LIBS
="$ac_wine_check_funcs_save_LIBS"
14938 if test "x$LDAP_LIBS" = "x"; then :
14939 case "x$with_ldap" in
14940 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14942 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14943 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14948 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14949 if ${wine_cv_one_arg_mkdir+:} false
; then :
14950 $as_echo_n "(cached) " >&6
14952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14953 /* end confdefs.h. */
14954 #include <sys/stat.h>
14963 if ac_fn_c_try_compile
"$LINENO"; then :
14964 wine_cv_one_arg_mkdir
=yes
14966 wine_cv_one_arg_mkdir
=no
14968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14971 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14972 if test "$wine_cv_one_arg_mkdir" = "yes"
14975 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
14980 $as_echo_n "checking for sched_setaffinity... " >&6; }
14981 if ${wine_cv_have_sched_setaffinity+:} false
; then :
14982 $as_echo_n "(cached) " >&6
14984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14985 /* end confdefs.h. */
14986 #define _GNU_SOURCE
14991 sched_setaffinity(0, 0, 0);
14996 if ac_fn_c_try_link
"$LINENO"; then :
14997 wine_cv_have_sched_setaffinity
=yes
14999 wine_cv_have_sched_setaffinity
=no
15001 rm -f core conftest.err conftest.
$ac_objext \
15002 conftest
$ac_exeext conftest.
$ac_ext
15004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15005 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15006 if test "$wine_cv_have_sched_setaffinity" = "yes"
15009 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15014 $as_echo_n "checking for fallocate... " >&6; }
15015 if ${wine_cv_have_fallocate+:} false
; then :
15016 $as_echo_n "(cached) " >&6
15018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15019 /* end confdefs.h. */
15020 #define _GNU_SOURCE
15025 fallocate(-1, 0, 0, 0);
15030 if ac_fn_c_try_link
"$LINENO"; then :
15031 wine_cv_have_fallocate
=yes
15033 wine_cv_have_fallocate
=no
15035 rm -f core conftest.err conftest.
$ac_objext \
15036 conftest
$ac_exeext conftest.
$ac_ext
15038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15039 $as_echo "$wine_cv_have_fallocate" >&6; }
15040 if test "$wine_cv_have_fallocate" = "yes"
15043 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15049 $as_echo_n "checking for inline... " >&6; }
15050 if ${ac_cv_c_inline+:} false
; then :
15051 $as_echo_n "(cached) " >&6
15054 for ac_kw
in inline __inline__ __inline
; do
15055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15056 /* end confdefs.h. */
15057 #ifndef __cplusplus
15059 static $ac_kw foo_t static_foo () {return 0; }
15060 $ac_kw foo_t foo () {return 0; }
15064 if ac_fn_c_try_compile
"$LINENO"; then :
15065 ac_cv_c_inline
=$ac_kw
15067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15068 test "$ac_cv_c_inline" != no
&& break
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15073 $as_echo "$ac_cv_c_inline" >&6; }
15075 case $ac_cv_c_inline in
15078 case $ac_cv_c_inline in
15080 *) ac_val
=$ac_cv_c_inline;;
15082 cat >>confdefs.h
<<_ACEOF
15083 #ifndef __cplusplus
15084 #define inline $ac_val
15090 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15091 if test "x$ac_cv_type_mode_t" = xyes
; then :
15093 cat >>confdefs.h
<<_ACEOF
15094 #define HAVE_MODE_T 1
15099 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15100 if test "x$ac_cv_type_off_t" = xyes
; then :
15102 cat >>confdefs.h
<<_ACEOF
15103 #define HAVE_OFF_T 1
15108 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15109 if test "x$ac_cv_type_pid_t" = xyes
; then :
15111 cat >>confdefs.h
<<_ACEOF
15112 #define HAVE_PID_T 1
15117 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15118 if test "x$ac_cv_type_size_t" = xyes
; then :
15120 cat >>confdefs.h
<<_ACEOF
15121 #define HAVE_SIZE_T 1
15126 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15127 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15129 cat >>confdefs.h
<<_ACEOF
15130 #define HAVE_SSIZE_T 1
15135 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15136 if test "x$ac_cv_type_long_long" = xyes
; then :
15138 cat >>confdefs.h
<<_ACEOF
15139 #define HAVE_LONG_LONG 1
15144 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15145 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15147 cat >>confdefs.h
<<_ACEOF
15148 #define HAVE_FSBLKCNT_T 1
15153 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15154 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15156 cat >>confdefs.h
<<_ACEOF
15157 #define HAVE_FSFILCNT_T 1
15163 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15164 #include <signal.h>
15166 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15168 cat >>confdefs.h
<<_ACEOF
15169 #define HAVE_SIGSET_T 1
15175 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15177 if test "x$ac_cv_type_request_sense" = xyes
; then :
15179 cat >>confdefs.h
<<_ACEOF
15180 #define HAVE_REQUEST_SENSE 1
15187 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15188 #ifdef HAVE_SYS_SOCKET_H
15189 #include <sys/socket.h>
15191 #ifdef HAVE_SYS_SOCKETVAR_H
15192 #include <sys/socketvar.h>
15194 #ifdef HAVE_NET_ROUTE_H
15195 #include <net/route.h>
15197 #ifdef HAVE_NETINET_IN_H
15198 #include <netinet/in.h>
15200 #ifdef HAVE_NETINET_IN_SYSTM_H
15201 #include <netinet/in_systm.h>
15203 #ifdef HAVE_NETINET_IP_H
15204 #include <netinet/ip.h>
15206 #ifdef HAVE_NETINET_IN_PCB_H
15207 #include <netinet/in_pcb.h>
15210 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15212 cat >>confdefs.h
<<_ACEOF
15213 #define HAVE_STRUCT_XINPGEN 1
15220 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15223 #ifdef HAVE_SYS_LINK_H
15224 #include <sys/link.h>
15227 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15229 cat >>confdefs.h
<<_ACEOF
15230 #define HAVE_STRUCT_R_DEBUG 1
15235 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15238 #ifdef HAVE_SYS_LINK_H
15239 #include <sys/link.h>
15242 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15244 cat >>confdefs.h
<<_ACEOF
15245 #define HAVE_STRUCT_LINK_MAP 1
15252 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15253 #include <linux/input.h>
15256 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15258 cat >>confdefs.h
<<_ACEOF
15259 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15267 $as_echo_n "checking for sigaddset... " >&6; }
15268 if ${wine_cv_have_sigaddset+:} false
; then :
15269 $as_echo_n "(cached) " >&6
15271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15272 /* end confdefs.h. */
15273 #include <signal.h>
15277 sigset_t set; sigaddset(&set,SIGTERM);
15282 if ac_fn_c_try_link
"$LINENO"; then :
15283 wine_cv_have_sigaddset
=yes
15285 wine_cv_have_sigaddset
=no
15287 rm -f core conftest.err conftest.
$ac_objext \
15288 conftest
$ac_exeext conftest.
$ac_ext
15290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15291 $as_echo "$wine_cv_have_sigaddset" >&6; }
15292 if test "$wine_cv_have_sigaddset" = "yes"
15295 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15301 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15302 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15303 $as_echo_n "(cached) " >&6
15305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15306 /* end confdefs.h. */
15314 struct hostent *result;
15321 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15322 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15328 if ac_fn_c_try_link
"$LINENO"; then :
15329 wine_cv_linux_gethostbyname_r_6
=yes
15331 wine_cv_linux_gethostbyname_r_6
=no
15334 rm -f core conftest.err conftest.
$ac_objext \
15335 conftest
$ac_exeext conftest.
$ac_ext
15338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15339 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15340 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15343 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15347 if test "$ac_cv_header_linux_joystick_h" = "yes"
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15350 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15351 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15352 $as_echo_n "(cached) " >&6
15354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15355 /* end confdefs.h. */
15357 #include <sys/ioctl.h>
15358 #include <sys/types.h>
15359 #include <linux/joystick.h>
15361 struct js_event blub;
15362 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15363 #error "no 2.2 header"
15374 if ac_fn_c_try_compile
"$LINENO"; then :
15375 wine_cv_linux_joystick_22_api
=yes
15377 wine_cv_linux_joystick_22_api
=no
15379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15383 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15384 if test "$wine_cv_linux_joystick_22_api" = "yes"
15387 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15393 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15394 #ifdef HAVE_SYS_PARAM_H
15395 # include <sys/param.h>
15397 #ifdef HAVE_SYS_MOUNT_H
15398 # include <sys/mount.h>
15400 #ifdef HAVE_SYS_VFS_H
15401 # include <sys/vfs.h>
15403 #ifdef HAVE_SYS_STATFS_H
15404 # include <sys/statfs.h>
15407 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15409 cat >>confdefs.h
<<_ACEOF
15410 #define HAVE_STRUCT_STATFS_F_BFREE 1
15415 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15416 #ifdef HAVE_SYS_PARAM_H
15417 # include <sys/param.h>
15419 #ifdef HAVE_SYS_MOUNT_H
15420 # include <sys/mount.h>
15422 #ifdef HAVE_SYS_VFS_H
15423 # include <sys/vfs.h>
15425 #ifdef HAVE_SYS_STATFS_H
15426 # include <sys/statfs.h>
15429 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15431 cat >>confdefs.h
<<_ACEOF
15432 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15437 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15438 #ifdef HAVE_SYS_PARAM_H
15439 # include <sys/param.h>
15441 #ifdef HAVE_SYS_MOUNT_H
15442 # include <sys/mount.h>
15444 #ifdef HAVE_SYS_VFS_H
15445 # include <sys/vfs.h>
15447 #ifdef HAVE_SYS_STATFS_H
15448 # include <sys/statfs.h>
15451 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15453 cat >>confdefs.h
<<_ACEOF
15454 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15459 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15460 #ifdef HAVE_SYS_PARAM_H
15461 # include <sys/param.h>
15463 #ifdef HAVE_SYS_MOUNT_H
15464 # include <sys/mount.h>
15466 #ifdef HAVE_SYS_VFS_H
15467 # include <sys/vfs.h>
15469 #ifdef HAVE_SYS_STATFS_H
15470 # include <sys/statfs.h>
15473 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15475 cat >>confdefs.h
<<_ACEOF
15476 #define HAVE_STRUCT_STATFS_F_FFREE 1
15481 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15482 #ifdef HAVE_SYS_PARAM_H
15483 # include <sys/param.h>
15485 #ifdef HAVE_SYS_MOUNT_H
15486 # include <sys/mount.h>
15488 #ifdef HAVE_SYS_VFS_H
15489 # include <sys/vfs.h>
15491 #ifdef HAVE_SYS_STATFS_H
15492 # include <sys/statfs.h>
15495 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15497 cat >>confdefs.h
<<_ACEOF
15498 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15503 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15504 #ifdef HAVE_SYS_PARAM_H
15505 # include <sys/param.h>
15507 #ifdef HAVE_SYS_MOUNT_H
15508 # include <sys/mount.h>
15510 #ifdef HAVE_SYS_VFS_H
15511 # include <sys/vfs.h>
15513 #ifdef HAVE_SYS_STATFS_H
15514 # include <sys/statfs.h>
15517 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15519 cat >>confdefs.h
<<_ACEOF
15520 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15527 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15528 #include <sys/statvfs.h>
15531 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15533 cat >>confdefs.h
<<_ACEOF
15534 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15541 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15542 #include <dirent.h>
15545 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15547 cat >>confdefs.h
<<_ACEOF
15548 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15555 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15556 #ifdef HAVE_SYS_SOCKET_H
15557 # include <sys/socket.h>
15559 #ifdef HAVE_SYS_UN_H
15560 # include <sys/un.h>
15563 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15565 cat >>confdefs.h
<<_ACEOF
15566 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15571 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15572 #ifdef HAVE_SYS_SOCKET_H
15573 # include <sys/socket.h>
15575 #ifdef HAVE_SYS_UN_H
15576 # include <sys/un.h>
15579 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15581 cat >>confdefs.h
<<_ACEOF
15582 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15587 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15588 #ifdef HAVE_SYS_SOCKET_H
15589 # include <sys/socket.h>
15591 #ifdef HAVE_SYS_UN_H
15592 # include <sys/un.h>
15595 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15597 cat >>confdefs.h
<<_ACEOF
15598 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15605 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15606 #ifdef HAVE_SCSI_SG_H
15607 #include <scsi/sg.h>
15610 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15612 cat >>confdefs.h
<<_ACEOF
15613 #define HAVE_SCSIREQ_T_CMD 1
15618 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>
15619 #ifdef HAVE_SCSI_SG_H
15620 #include <scsi/sg.h>
15623 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15625 cat >>confdefs.h
<<_ACEOF
15626 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15633 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15635 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15637 cat >>confdefs.h
<<_ACEOF
15638 #define HAVE_SIGINFO_T_SI_FD 1
15645 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15646 #ifdef HAVE_SYS_MTIO_H
15647 #include <sys/mtio.h>
15650 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15652 cat >>confdefs.h
<<_ACEOF
15653 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15658 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15659 #ifdef HAVE_SYS_MTIO_H
15660 #include <sys/mtio.h>
15663 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15665 cat >>confdefs.h
<<_ACEOF
15666 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15671 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15672 #ifdef HAVE_SYS_MTIO_H
15673 #include <sys/mtio.h>
15676 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15678 cat >>confdefs.h
<<_ACEOF
15679 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15686 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15687 #include <getopt.h>
15690 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15692 cat >>confdefs.h
<<_ACEOF
15693 #define HAVE_STRUCT_OPTION_NAME 1
15700 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15701 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15703 cat >>confdefs.h
<<_ACEOF
15704 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15709 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15710 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15712 cat >>confdefs.h
<<_ACEOF
15713 #define HAVE_STRUCT_STAT_ST_MTIM 1
15718 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15719 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15721 cat >>confdefs.h
<<_ACEOF
15722 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15727 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15728 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15730 cat >>confdefs.h
<<_ACEOF
15731 #define HAVE_STRUCT_STAT_ST_CTIM 1
15736 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15737 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15739 cat >>confdefs.h
<<_ACEOF
15740 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15745 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15746 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15748 cat >>confdefs.h
<<_ACEOF
15749 #define HAVE_STRUCT_STAT_ST_ATIM 1
15754 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15755 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15757 cat >>confdefs.h
<<_ACEOF
15758 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15763 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15764 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15766 cat >>confdefs.h
<<_ACEOF
15767 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15772 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15773 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15775 cat >>confdefs.h
<<_ACEOF
15776 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15781 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15782 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15784 cat >>confdefs.h
<<_ACEOF
15785 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15790 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15791 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15793 cat >>confdefs.h
<<_ACEOF
15794 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15799 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15800 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15802 cat >>confdefs.h
<<_ACEOF
15803 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15810 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
15811 #include <sys/types.h>
15813 #ifdef HAVE_NETINET_IN_H
15814 #include <netinet/in.h>
15817 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15819 cat >>confdefs.h
<<_ACEOF
15820 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15827 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15828 #include <resolv.h>
15831 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
15833 cat >>confdefs.h
<<_ACEOF
15834 #define HAVE_STRUCT___RES_STATE 1
15841 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
15842 #include <resolv.h>
15845 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
15847 cat >>confdefs.h
<<_ACEOF
15848 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15855 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15856 #include <sys/types.h>
15858 #ifdef HAVE_NETINET_IN_H
15859 # include <netinet/in.h>
15861 #ifdef HAVE_ARPA_NAMESER_H
15862 # include <arpa/nameser.h>
15865 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
15867 cat >>confdefs.h
<<_ACEOF
15868 #define HAVE_NS_MSG__MSG_PTR 1
15875 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15876 #include <sys/types.h>
15878 #ifdef HAVE_NETINET_IP_H
15879 #include <netinet/ip.h>
15881 #ifdef HAVE_NETINET_IP_ICMP_H
15882 #include <netinet/ip_icmp.h>
15884 #ifdef HAVE_NETINET_ICMP_VAR_H
15885 #include <netinet/icmp_var.h>
15888 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
15890 cat >>confdefs.h
<<_ACEOF
15891 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15898 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15899 #include <sys/types.h>
15901 #ifdef HAVE_ALIAS_H
15904 #ifdef HAVE_SYS_SOCKET_H
15905 #include <sys/socket.h>
15907 #ifdef HAVE_SYS_SOCKETVAR_H
15908 #include <sys/socketvar.h>
15910 #ifdef HAVE_SYS_TIMEOUT_H
15911 #include <sys/timeout.h>
15913 #ifdef HAVE_NETINET_IN_H
15914 #include <netinet/in.h>
15916 #ifdef HAVE_NETINET_IN_SYSTM_H
15917 #include <netinet/in_systm.h>
15919 #ifdef HAVE_NETINET_IP_H
15920 #include <netinet/ip.h>
15922 #ifdef HAVE_NETINET_IP_VAR_H
15923 #include <netinet/ip_var.h>
15925 #ifdef HAVE_NETINET_IP_ICMP_H
15926 #include <netinet/ip_icmp.h>
15928 #ifdef HAVE_NETINET_ICMP_VAR_H
15929 #include <netinet/icmp_var.h>
15932 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
15934 cat >>confdefs.h
<<_ACEOF
15935 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15942 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15943 #include <sys/types.h>
15945 #ifdef HAVE_SYS_SOCKETVAR_H
15946 #include <sys/socketvar.h>
15948 #ifdef HAVE_NETINET_IN_H
15949 #include <netinet/in.h>
15951 #ifdef HAVE_NETINET_IP_VAR_H
15952 #include <netinet/ip_var.h>
15955 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
15957 cat >>confdefs.h
<<_ACEOF
15958 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15965 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
15966 #include <netinet/ip_var.h>
15969 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
15971 cat >>confdefs.h
<<_ACEOF
15972 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15979 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
15980 #include <sys/types.h>
15982 #ifdef HAVE_SYS_SOCKETVAR_H
15983 #include <sys/socketvar.h>
15985 #ifdef HAVE_NETINET_IN_H
15986 #include <netinet/in.h>
15988 #ifdef HAVE_NETINET_TCP_H
15989 #include <netinet/tcp.h>
15991 #ifdef HAVE_NETINET_TCP_VAR_H
15992 #include <netinet/tcp_var.h>
15995 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
15997 cat >>confdefs.h
<<_ACEOF
15998 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16005 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
16006 #include <netinet/tcp_var.h>
16009 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16011 cat >>confdefs.h
<<_ACEOF
16012 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16019 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16020 #include <sys/types.h>
16022 #ifdef HAVE_NETINET_IN_H
16023 #include <netinet/in.h>
16025 #ifdef HAVE_NETINET_IP_VAR_H
16026 #include <netinet/ip_var.h>
16028 #ifdef HAVE_NETINET_UDP_H
16029 #include <netinet/udp.h>
16031 #ifdef HAVE_NETINET_UDP_VAR_H
16032 #include <netinet/udp_var.h>
16035 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16037 cat >>confdefs.h
<<_ACEOF
16038 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16045 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16046 #include <sys/types.h>
16048 #ifdef HAVE_NET_IF_H
16049 # include <net/if.h>
16052 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16054 cat >>confdefs.h
<<_ACEOF
16055 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16063 $as_echo_n "checking for timezone variable... " >&6; }
16064 if ${ac_cv_have_timezone+:} false
; then :
16065 $as_echo_n "(cached) " >&6
16067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16068 /* end confdefs.h. */
16078 if ac_fn_c_try_link
"$LINENO"; then :
16079 ac_cv_have_timezone
="yes"
16081 ac_cv_have_timezone
="no"
16083 rm -f core conftest.err conftest.
$ac_objext \
16084 conftest
$ac_exeext conftest.
$ac_ext
16086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16087 $as_echo "$ac_cv_have_timezone" >&6; }
16088 if test "$ac_cv_have_timezone" = "yes"
16091 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16095 $as_echo_n "checking for daylight variable... " >&6; }
16096 if ${ac_cv_have_daylight+:} false
; then :
16097 $as_echo_n "(cached) " >&6
16099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16100 /* end confdefs.h. */
16110 if ac_fn_c_try_link
"$LINENO"; then :
16111 ac_cv_have_daylight
="yes"
16113 ac_cv_have_daylight
="no"
16115 rm -f core conftest.err conftest.
$ac_objext \
16116 conftest
$ac_exeext conftest.
$ac_ext
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16119 $as_echo "$ac_cv_have_daylight" >&6; }
16120 if test "$ac_cv_have_daylight" = "yes"
16123 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16127 ac_save_LIBS
="$LIBS"
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16130 $as_echo_n "checking for isfinite... " >&6; }
16131 if ${ac_cv_have_isfinite+:} false
; then :
16132 $as_echo_n "(cached) " >&6
16134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16135 /* end confdefs.h. */
16136 #define _GNU_SOURCE
16141 float f = 0.0; return isfinite(f)
16146 if ac_fn_c_try_link
"$LINENO"; then :
16147 ac_cv_have_isfinite
="yes"
16149 ac_cv_have_isfinite
="no"
16151 rm -f core conftest.err conftest.
$ac_objext \
16152 conftest
$ac_exeext conftest.
$ac_ext
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16155 $as_echo "$ac_cv_have_isfinite" >&6; }
16156 if test "$ac_cv_have_isfinite" = "yes"
16159 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16163 ac_save_LIBS
="$LIBS"
16165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16166 $as_echo_n "checking for isinf... " >&6; }
16167 if ${ac_cv_have_isinf+:} false
; then :
16168 $as_echo_n "(cached) " >&6
16170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16171 /* end confdefs.h. */
16176 float f = 0.0; return isinf(f)
16181 if ac_fn_c_try_link
"$LINENO"; then :
16182 ac_cv_have_isinf
="yes"
16184 ac_cv_have_isinf
="no"
16186 rm -f core conftest.err conftest.
$ac_objext \
16187 conftest
$ac_exeext conftest.
$ac_ext
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16190 $as_echo "$ac_cv_have_isinf" >&6; }
16191 if test "$ac_cv_have_isinf" = "yes"
16194 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16199 $as_echo_n "checking for isnan... " >&6; }
16200 if ${ac_cv_have_isnan+:} false
; then :
16201 $as_echo_n "(cached) " >&6
16203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16204 /* end confdefs.h. */
16209 float f = 0.0; return isnan(f)
16214 if ac_fn_c_try_link
"$LINENO"; then :
16215 ac_cv_have_isnan
="yes"
16217 ac_cv_have_isnan
="no"
16219 rm -f core conftest.err conftest.
$ac_objext \
16220 conftest
$ac_exeext conftest.
$ac_ext
16222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16223 $as_echo "$ac_cv_have_isnan" >&6; }
16224 if test "$ac_cv_have_isnan" = "yes"
16227 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16230 LIBS
="$ac_save_LIBS"
16234 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16235 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16236 if ${ac_cv_cpp_def___i386__+:} false
; then :
16237 $as_echo_n "(cached) " >&6
16239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16240 /* end confdefs.h. */
16245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16246 $EGREP "yes" >/dev
/null
2>&1; then :
16247 ac_cv_cpp_def___i386__
=yes
16249 ac_cv_cpp_def___i386__
=no
16254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16255 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16256 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16257 CFLAGS
="$CFLAGS -D__i386__"
16258 LINTFLAGS
="$LINTFLAGS -D__i386__"
16260 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16261 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16262 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16263 $as_echo_n "(cached) " >&6
16265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16266 /* end confdefs.h. */
16271 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16272 $EGREP "yes" >/dev
/null
2>&1; then :
16273 ac_cv_cpp_def___x86_64__
=yes
16275 ac_cv_cpp_def___x86_64__
=no
16280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16281 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16282 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16283 CFLAGS
="$CFLAGS -D__x86_64__"
16284 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16286 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16287 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16288 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16289 $as_echo_n "(cached) " >&6
16291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16292 /* end confdefs.h. */
16293 #ifndef __sparc64__
16297 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16298 $EGREP "yes" >/dev
/null
2>&1; then :
16299 ac_cv_cpp_def___sparc64__
=yes
16301 ac_cv_cpp_def___sparc64__
=no
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16307 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16308 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16309 CFLAGS
="$CFLAGS -D__sparc64__"
16310 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16312 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16313 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16314 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16315 $as_echo_n "(cached) " >&6
16317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16318 /* end confdefs.h. */
16323 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16324 $EGREP "yes" >/dev
/null
2>&1; then :
16325 ac_cv_cpp_def___sparc__
=yes
16327 ac_cv_cpp_def___sparc__
=no
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16333 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16334 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16335 CFLAGS
="$CFLAGS -D__sparc__"
16336 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16338 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16339 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16340 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16341 $as_echo_n "(cached) " >&6
16343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16344 /* end confdefs.h. */
16345 #ifndef __powerpc64__
16349 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16350 $EGREP "yes" >/dev
/null
2>&1; then :
16351 ac_cv_cpp_def___powerpc64__
=yes
16353 ac_cv_cpp_def___powerpc64__
=no
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16359 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16360 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16361 CFLAGS
="$CFLAGS -D__powerpc64__"
16362 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16364 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16365 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16366 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16367 $as_echo_n "(cached) " >&6
16369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16370 /* end confdefs.h. */
16371 #ifndef __powerpc__
16375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16376 $EGREP "yes" >/dev
/null
2>&1; then :
16377 ac_cv_cpp_def___powerpc__
=yes
16379 ac_cv_cpp_def___powerpc__
=no
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16385 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16386 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16387 CFLAGS
="$CFLAGS -D__powerpc__"
16388 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16390 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16391 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16392 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16393 $as_echo_n "(cached) " >&6
16395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16396 /* end confdefs.h. */
16397 #ifndef __aarch64__
16401 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16402 $EGREP "yes" >/dev
/null
2>&1; then :
16403 ac_cv_cpp_def___aarch64__
=yes
16405 ac_cv_cpp_def___aarch64__
=no
16410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16411 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16412 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16413 CFLAGS
="$CFLAGS -D__aarch64__"
16414 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16416 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16417 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16418 if ${ac_cv_cpp_def___arm__+:} false
; then :
16419 $as_echo_n "(cached) " >&6
16421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16422 /* end confdefs.h. */
16427 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16428 $EGREP "yes" >/dev
/null
2>&1; then :
16429 ac_cv_cpp_def___arm__
=yes
16431 ac_cv_cpp_def___arm__
=no
16436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16437 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16438 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16439 CFLAGS
="$CFLAGS -D__arm__"
16440 LINTFLAGS
="$LINTFLAGS -D__arm__"
16444 case $host_vendor in
16445 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16446 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16447 if ${ac_cv_cpp_def___sun__+:} false
; then :
16448 $as_echo_n "(cached) " >&6
16450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16451 /* end confdefs.h. */
16456 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16457 $EGREP "yes" >/dev
/null
2>&1; then :
16458 ac_cv_cpp_def___sun__
=yes
16460 ac_cv_cpp_def___sun__
=no
16465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16466 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16467 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16468 CFLAGS
="$CFLAGS -D__sun__"
16469 LINTFLAGS
="$LINTFLAGS -D__sun__"
16477 ac_config_commands
="$ac_config_commands include/stamp-h"
16479 $as_echo_n "creating Makefile rules..." >&6
16481 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16482 SOCKET_LIBS = $SOCKET_LIBS
16483 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16484 IOKIT_LIBS = $IOKIT_LIBS
16485 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16486 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16487 CORESERVICES_LIBS = $CORESERVICES_LIBS
16488 APPKIT_LIBS = $APPKIT_LIBS
16489 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16490 SECURITY_LIBS = $SECURITY_LIBS
16491 COREAUDIO_LIBS = $COREAUDIO_LIBS
16492 OPENAL_LIBS = $OPENAL_LIBS
16493 OPENCL_LIBS = $OPENCL_LIBS
16494 QUICKTIME_LIBS = $QUICKTIME_LIBS
16495 CARBON_LIBS = $CARBON_LIBS
16496 PTHREAD_LIBS = $PTHREAD_LIBS
16497 X_CFLAGS = $X_CFLAGS
16498 X_PRE_LIBS = $X_PRE_LIBS
16500 X_EXTRA_LIBS = $X_EXTRA_LIBS
16501 XML2_CFLAGS = $XML2_CFLAGS
16502 XML2_LIBS = $XML2_LIBS
16503 XSLT_CFLAGS = $XSLT_CFLAGS
16504 XSLT_LIBS = $XSLT_LIBS
16505 DBUS_CFLAGS = $DBUS_CFLAGS
16506 DBUS_LIBS = $DBUS_LIBS
16507 HAL_CFLAGS = $HAL_CFLAGS
16508 HAL_LIBS = $HAL_LIBS
16509 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16510 GNUTLS_LIBS = $GNUTLS_LIBS
16511 SANE_CFLAGS = $SANE_CFLAGS
16512 SANE_LIBS = $SANE_LIBS
16513 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16514 GPHOTO2_LIBS = $GPHOTO2_LIBS
16515 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16516 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16517 RESOLV_LIBS = $RESOLV_LIBS
16518 LCMS2_CFLAGS = $LCMS2_CFLAGS
16519 LCMS2_LIBS = $LCMS2_LIBS
16520 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16521 FREETYPE_LIBS = $FREETYPE_LIBS
16523 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16524 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16525 GSTREAMER_LIBS = $GSTREAMER_LIBS
16526 ALSA_LIBS = $ALSA_LIBS
16527 OSS4_CFLAGS = $OSS4_CFLAGS
16528 CAPI20_CFLAGS = $CAPI20_CFLAGS
16529 CAPI20_LIBS = $CAPI20_LIBS
16530 CUPS_CFLAGS = $CUPS_CFLAGS
16531 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16532 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16533 JPEG_CFLAGS = $JPEG_CFLAGS
16534 JPEG_LIBS = $JPEG_LIBS
16535 PNG_CFLAGS = $PNG_CFLAGS
16536 PNG_LIBS = $PNG_LIBS
16537 TIFF_CFLAGS = $TIFF_CFLAGS
16538 TIFF_LIBS = $TIFF_LIBS
16539 MPG123_CFLAGS = $MPG123_CFLAGS
16540 MPG123_LIBS = $MPG123_LIBS
16541 KSTAT_LIBS = $KSTAT_LIBS
16542 PROCSTAT_LIBS = $PROCSTAT_LIBS
16544 POLL_LIBS = $POLL_LIBS
16546 LDAP_LIBS = $LDAP_LIBS
16551 wine_fn_append_rule
"
16552 # Rules automatically generated by configure
16554 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16559 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16560 @./config.status Make.tmp Makefile && \$(MAKEDEP) ."
16562 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16563 .gitignore: config.status
16564 @./config.status .gitignore"
16566 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16567 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16569 if test "x$enable_fonts" != xno
; then
16570 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16571 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16572 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16573 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16574 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16576 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16577 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16578 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16579 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16580 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16581 wine_fn_config_symlink wine
16582 if test "x$enable_win64" != xno
; then
16583 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16584 wine_fn_config_symlink wine64
16587 wine_fn_config_dll acledit enable_acledit
16588 wine_fn_config_dll aclui enable_aclui implib
16589 wine_fn_config_dll activeds enable_activeds implib
16590 wine_fn_config_dll actxprxy enable_actxprxy clean
16591 wine_fn_config_lib adsiid
16592 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16593 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16594 wine_fn_config_dll advpack enable_advpack implib
16595 wine_fn_config_test dlls
/advpack
/tests advpack_test
16596 wine_fn_config_dll amstream enable_amstream clean
16597 wine_fn_config_test dlls
/amstream
/tests amstream_test
16598 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16599 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16600 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16601 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16602 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16603 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16604 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16605 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16606 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16607 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16608 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16609 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16610 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16611 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16612 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16613 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16614 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16615 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16616 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16617 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16618 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16619 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16620 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16621 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16622 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16623 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16624 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16625 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16626 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16627 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16628 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16629 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16630 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16631 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16632 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16633 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16634 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16635 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16636 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16637 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16638 wine_fn_config_dll apphelp enable_apphelp
16639 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16640 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16641 wine_fn_config_dll atl enable_atl clean
,implib
16642 wine_fn_config_test dlls
/atl
/tests atl_test
16643 wine_fn_config_dll atl100 enable_atl100 implib
16644 wine_fn_config_test dlls
/atl100
/tests atl100_test
16645 wine_fn_config_dll atl110 enable_atl110
16646 wine_fn_config_dll atl80 enable_atl80 implib
16647 wine_fn_config_test dlls
/atl80
/tests atl80_test
16648 wine_fn_config_dll atl90 enable_atl90
16649 wine_fn_config_dll authz enable_authz
16650 wine_fn_config_dll avicap32 enable_avicap32 implib
16651 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16652 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16653 wine_fn_config_dll avifile.dll16 enable_win16
16654 wine_fn_config_dll avrt enable_avrt implib
16655 wine_fn_config_dll bcrypt enable_bcrypt
16656 wine_fn_config_dll browseui enable_browseui clean
,po
16657 wine_fn_config_test dlls
/browseui
/tests browseui_test
16658 wine_fn_config_dll cabinet enable_cabinet implib
16659 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16660 wine_fn_config_dll capi2032 enable_capi2032 implib
16661 wine_fn_config_dll cards enable_cards implib
16662 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16663 wine_fn_config_dll clusapi enable_clusapi implib
16664 wine_fn_config_dll comcat enable_comcat
16665 wine_fn_config_test dlls
/comcat
/tests comcat_test
16666 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16667 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16668 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16669 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16670 wine_fn_config_dll
comm.drv16 enable_win16
16671 wine_fn_config_dll commdlg.dll16 enable_win16
16672 wine_fn_config_dll compobj.dll16 enable_win16
16673 wine_fn_config_dll compstui enable_compstui implib
16674 wine_fn_config_dll comsvcs enable_comsvcs implib
16675 wine_fn_config_dll credui enable_credui implib
,po
16676 wine_fn_config_test dlls
/credui
/tests credui_test
16677 wine_fn_config_dll crtdll enable_crtdll implib
16678 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16679 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16680 wine_fn_config_dll cryptdlg enable_cryptdlg po
16681 wine_fn_config_dll cryptdll enable_cryptdll implib
16682 wine_fn_config_dll cryptnet enable_cryptnet implib
16683 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16684 wine_fn_config_dll cryptui enable_cryptui implib
,po
16685 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16686 wine_fn_config_dll ctapi32 enable_ctapi32
16687 wine_fn_config_dll ctl3d.dll16 enable_win16
16688 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16689 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16690 wine_fn_config_dll d3d10 enable_d3d10 implib
16691 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16692 wine_fn_config_dll d3d10core enable_d3d10core implib
16693 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16694 wine_fn_config_dll d3d11 enable_d3d11
16695 wine_fn_config_dll d3d8 enable_d3d8 implib
16696 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16697 wine_fn_config_dll d3d9 enable_d3d9 implib
16698 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16699 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16700 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16701 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16702 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16703 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16704 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16705 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16706 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16707 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16708 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16709 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16710 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16711 wine_fn_config_dll d3dim enable_d3dim implib
16712 wine_fn_config_dll d3drm enable_d3drm implib
16713 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16714 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16715 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16716 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16717 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16718 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16719 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16720 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16721 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16722 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16723 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16724 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16725 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16726 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16727 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16728 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16729 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16730 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16731 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16732 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16733 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16734 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16735 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16736 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16737 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16738 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16739 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16740 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16741 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16742 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16743 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16744 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16745 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16746 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16747 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16748 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16749 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16750 wine_fn_config_dll dbgeng enable_dbgeng implib
16751 wine_fn_config_dll dbghelp enable_dbghelp implib
16752 wine_fn_config_dll dciman32 enable_dciman32 implib
16753 wine_fn_config_dll ddeml.dll16 enable_win16
16754 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16755 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16756 wine_fn_config_dll ddrawex enable_ddrawex clean
16757 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16758 wine_fn_config_dll devenum enable_devenum clean
,po
16759 wine_fn_config_test dlls
/devenum
/tests devenum_test
16760 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16761 wine_fn_config_dll difxapi enable_difxapi
16762 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16763 wine_fn_config_test dlls
/dinput
/tests dinput_test
16764 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16765 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16766 wine_fn_config_dll dispdib.dll16 enable_win16
16767 wine_fn_config_dll dispex enable_dispex clean
16768 wine_fn_config_test dlls
/dispex
/tests dispex_test
16769 wine_fn_config_dll display.drv16 enable_win16
16770 wine_fn_config_dll dmband enable_dmband clean
16771 wine_fn_config_test dlls
/dmband
/tests dmband_test
16772 wine_fn_config_dll dmcompos enable_dmcompos clean
16773 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
16774 wine_fn_config_dll dmime enable_dmime clean
16775 wine_fn_config_test dlls
/dmime
/tests dmime_test
16776 wine_fn_config_dll dmloader enable_dmloader clean
16777 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16778 wine_fn_config_dll dmscript enable_dmscript clean
16779 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
16780 wine_fn_config_dll dmstyle enable_dmstyle clean
16781 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
16782 wine_fn_config_dll dmsynth enable_dmsynth clean
16783 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16784 wine_fn_config_dll dmusic enable_dmusic clean
16785 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16786 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16787 wine_fn_config_dll dnsapi enable_dnsapi implib
16788 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16789 wine_fn_config_dll dplay enable_dplay implib
16790 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16791 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16792 wine_fn_config_dll dpnaddr enable_dpnaddr
16793 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16794 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16795 wine_fn_config_dll dpnhpast enable_dpnhpast
16796 wine_fn_config_dll dpnlobby enable_dpnlobby
16797 wine_fn_config_dll dpwsockx enable_dpwsockx
16798 wine_fn_config_dll drmclien enable_drmclien
16799 wine_fn_config_dll dsound enable_dsound clean
,implib
16800 wine_fn_config_test dlls
/dsound
/tests dsound_test
16801 wine_fn_config_dll dssenh enable_dssenh
16802 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16803 wine_fn_config_dll dswave enable_dswave clean
16804 wine_fn_config_dll dwmapi enable_dwmapi implib
16805 wine_fn_config_dll dwrite enable_dwrite implib
16806 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16807 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16808 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16809 wine_fn_config_lib dxerr8
16810 wine_fn_config_lib dxerr9
16811 wine_fn_config_dll dxgi enable_dxgi implib
16812 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16813 wine_fn_config_lib dxguid
16814 wine_fn_config_dll explorerframe enable_explorerframe clean
16815 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16816 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16817 wine_fn_config_dll faultrep enable_faultrep implib
16818 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16819 wine_fn_config_dll fltlib enable_fltlib
16820 wine_fn_config_dll fusion enable_fusion
16821 wine_fn_config_test dlls
/fusion
/tests fusion_test
16822 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16823 wine_fn_config_dll gameux enable_gameux clean
16824 wine_fn_config_test dlls
/gameux
/tests gameux_test
16825 wine_fn_config_dll gdi.exe16 enable_win16
16826 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
16827 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16828 wine_fn_config_dll gdiplus enable_gdiplus implib
16829 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16830 wine_fn_config_dll glu32 enable_glu32 implib
16831 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16832 wine_fn_config_dll gpkcsp enable_gpkcsp
16833 wine_fn_config_dll hal enable_hal
16834 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
16835 wine_fn_config_dll hid enable_hid implib
16836 wine_fn_config_dll hlink enable_hlink clean
,implib
16837 wine_fn_config_test dlls
/hlink
/tests hlink_test
16838 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16839 wine_fn_config_dll httpapi enable_httpapi
16840 wine_fn_config_dll iccvid enable_iccvid po
16841 wine_fn_config_dll icmp enable_icmp
16842 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
16843 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
16844 wine_fn_config_dll ifsmgr.vxd enable_win16
16845 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16846 wine_fn_config_dll imagehlp enable_imagehlp implib
16847 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
16848 wine_fn_config_dll imm.dll16 enable_win16
16849 wine_fn_config_dll imm32 enable_imm32 implib
16850 wine_fn_config_test dlls
/imm32
/tests imm32_test
16851 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
16852 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
16853 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16854 wine_fn_config_dll inetmib1 enable_inetmib1
16855 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
16856 wine_fn_config_dll infosoft enable_infosoft clean
16857 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
16858 wine_fn_config_dll initpki enable_initpki
16859 wine_fn_config_dll inkobj enable_inkobj
16860 wine_fn_config_dll inseng enable_inseng clean
16861 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16862 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
16863 wine_fn_config_dll itircl enable_itircl
16864 wine_fn_config_dll itss enable_itss clean
16865 wine_fn_config_test dlls
/itss
/tests itss_test
16866 wine_fn_config_dll joy.cpl enable_joy_cpl po
16867 wine_fn_config_dll jscript enable_jscript clean
,po
16868 wine_fn_config_test dlls
/jscript
/tests jscript_test
16869 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
16870 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
16871 wine_fn_config_dll keyboard.drv16 enable_win16
16872 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16873 wine_fn_config_dll ktmw32 enable_ktmw32
16874 wine_fn_config_dll loadperf enable_loadperf implib
16875 wine_fn_config_dll localspl enable_localspl po
16876 wine_fn_config_test dlls
/localspl
/tests localspl_test
16877 wine_fn_config_dll localui enable_localui po
16878 wine_fn_config_test dlls
/localui
/tests localui_test
16879 wine_fn_config_dll lz32 enable_lz32 implib
16880 wine_fn_config_test dlls
/lz32
/tests lz32_test
16881 wine_fn_config_dll lzexpand.dll16 enable_win16
16882 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16883 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16884 wine_fn_config_dll mapistub enable_mapistub
16885 wine_fn_config_dll mciavi32 enable_mciavi32
16886 wine_fn_config_dll mcicda enable_mcicda
16887 wine_fn_config_dll mciqtz32 enable_mciqtz32
16888 wine_fn_config_dll mciseq enable_mciseq
16889 wine_fn_config_dll mciwave enable_mciwave
16890 wine_fn_config_dll mgmtapi enable_mgmtapi
16891 wine_fn_config_dll midimap enable_midimap
16892 wine_fn_config_dll mlang enable_mlang clean
,implib
16893 wine_fn_config_test dlls
/mlang
/tests mlang_test
16894 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16895 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16896 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16897 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16898 wine_fn_config_dll mmdevldr.vxd enable_win16
16899 wine_fn_config_dll mmsystem.dll16 enable_win16
16900 wine_fn_config_dll monodebg.vxd enable_win16
16901 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16902 wine_fn_config_dll mouse.drv16 enable_win16
16903 wine_fn_config_dll mpr enable_mpr implib
,po
16904 wine_fn_config_test dlls
/mpr
/tests mpr_test
16905 wine_fn_config_dll mprapi enable_mprapi implib
16906 wine_fn_config_dll msacm.dll16 enable_win16
16907 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16908 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
16909 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
16910 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16911 wine_fn_config_dll mscat32 enable_mscat32
16912 wine_fn_config_dll mscms enable_mscms implib
16913 wine_fn_config_test dlls
/mscms
/tests mscms_test
16914 wine_fn_config_dll mscoree enable_mscoree clean
16915 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
16916 wine_fn_config_dll msctf enable_msctf clean
16917 wine_fn_config_test dlls
/msctf
/tests msctf_test
16918 wine_fn_config_dll msdaps enable_msdaps clean
16919 wine_fn_config_dll msdmo enable_msdmo implib
16920 wine_fn_config_dll msftedit enable_msftedit
16921 wine_fn_config_dll msg711.acm enable_msg711_acm
16922 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16923 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16924 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
16925 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
16926 wine_fn_config_dll msi enable_msi clean
,implib
,po
16927 wine_fn_config_test dlls
/msi
/tests msi_test
16928 wine_fn_config_dll msident enable_msident clean
16929 wine_fn_config_dll msimg32 enable_msimg32 implib
16930 wine_fn_config_dll msimsg enable_msimsg
16931 wine_fn_config_dll msimtf enable_msimtf clean
16932 wine_fn_config_dll msisip enable_msisip
16933 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16934 wine_fn_config_dll msls31 enable_msls31
16935 wine_fn_config_dll msnet32 enable_msnet32
16936 wine_fn_config_dll mspatcha enable_mspatcha
16937 wine_fn_config_dll msrle32 enable_msrle32 po
16938 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
16939 wine_fn_config_dll mssign32 enable_mssign32
16940 wine_fn_config_dll mssip32 enable_mssip32
16941 wine_fn_config_dll mstask enable_mstask clean
16942 wine_fn_config_test dlls
/mstask
/tests mstask_test
16943 wine_fn_config_dll msvcirt enable_msvcirt
16944 wine_fn_config_dll msvcm80 enable_msvcm80
16945 wine_fn_config_dll msvcm90 enable_msvcm90
16946 wine_fn_config_dll msvcp100 enable_msvcp100
16947 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
16948 wine_fn_config_dll msvcp110 enable_msvcp110
16949 wine_fn_config_dll msvcp60 enable_msvcp60
16950 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
16951 wine_fn_config_dll msvcp70 enable_msvcp70
16952 wine_fn_config_dll msvcp71 enable_msvcp71
16953 wine_fn_config_dll msvcp80 enable_msvcp80
16954 wine_fn_config_dll msvcp90 enable_msvcp90
16955 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
16956 wine_fn_config_dll msvcr100 enable_msvcr100 implib
16957 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
16958 wine_fn_config_dll msvcr110 enable_msvcr110 implib
16959 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16960 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16961 wine_fn_config_dll msvcr80 enable_msvcr80 implib
16962 wine_fn_config_dll msvcr90 enable_msvcr90 implib
16963 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
16964 wine_fn_config_dll msvcrt enable_msvcrt implib
16965 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
16966 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16967 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16968 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16969 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
16970 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
16971 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
16972 wine_fn_config_dll msvidc32 enable_msvidc32 po
16973 wine_fn_config_dll msvideo.dll16 enable_win16
16974 wine_fn_config_dll mswsock enable_mswsock implib
16975 wine_fn_config_dll msxml enable_msxml clean
16976 wine_fn_config_dll msxml2 enable_msxml2 clean
16977 wine_fn_config_dll msxml3 enable_msxml3 clean
16978 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
16979 wine_fn_config_dll msxml4 enable_msxml4 clean
16980 wine_fn_config_dll msxml6 enable_msxml6 clean
16981 wine_fn_config_dll nddeapi enable_nddeapi implib
16982 wine_fn_config_dll netapi32 enable_netapi32 implib
16983 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
16984 wine_fn_config_dll netcfgx enable_netcfgx
16985 wine_fn_config_dll newdev enable_newdev implib
16986 wine_fn_config_dll normaliz enable_normaliz implib
16987 wine_fn_config_dll npmshtml enable_npmshtml
16988 wine_fn_config_dll ntdll enable_ntdll implib
16989 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
16990 wine_fn_config_dll ntdsapi enable_ntdsapi implib
16991 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
16992 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
16993 wine_fn_config_dll ntprint enable_ntprint
16994 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
16995 wine_fn_config_dll objsel enable_objsel clean
16996 wine_fn_config_dll odbc32 enable_odbc32 implib
16997 wine_fn_config_dll odbccp32 enable_odbccp32 implib
16998 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
16999 wine_fn_config_dll odbccu32 enable_odbccu32
17000 wine_fn_config_dll ole2.dll16 enable_win16
17001 wine_fn_config_dll ole2conv.dll16 enable_win16
17002 wine_fn_config_dll ole2disp.dll16 enable_win16
17003 wine_fn_config_dll ole2nls.dll16 enable_win16
17004 wine_fn_config_dll ole2prox.dll16 enable_win16
17005 wine_fn_config_dll ole2thk.dll16 enable_win16
17006 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17007 wine_fn_config_test dlls
/ole32
/tests ole32_test
17008 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17009 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17010 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17011 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17012 wine_fn_config_dll olecli.dll16 enable_win16
17013 wine_fn_config_dll olecli32 enable_olecli32 implib
17014 wine_fn_config_dll oledb32 enable_oledb32 clean
17015 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17016 wine_fn_config_dll oledlg enable_oledlg implib
,po
17017 wine_fn_config_dll olepro32 enable_olepro32 implib
17018 wine_fn_config_dll olesvr.dll16 enable_win16
17019 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17020 wine_fn_config_dll olethk32 enable_olethk32
17021 wine_fn_config_dll openal32 enable_openal32
17022 wine_fn_config_dll opencl enable_opencl
17023 wine_fn_config_dll opengl32 enable_opengl32 implib
17024 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17025 wine_fn_config_dll pdh enable_pdh implib
17026 wine_fn_config_test dlls
/pdh
/tests pdh_test
17027 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17028 wine_fn_config_dll pidgen enable_pidgen
17029 wine_fn_config_dll powrprof enable_powrprof implib
17030 wine_fn_config_dll printui enable_printui
17031 wine_fn_config_dll propsys enable_propsys clean
,implib
17032 wine_fn_config_test dlls
/propsys
/tests propsys_test
17033 wine_fn_config_dll psapi enable_psapi implib
17034 wine_fn_config_test dlls
/psapi
/tests psapi_test
17035 wine_fn_config_dll pstorec enable_pstorec clean
17036 wine_fn_config_dll qcap enable_qcap
17037 wine_fn_config_test dlls
/qcap
/tests qcap_test
17038 wine_fn_config_dll qedit enable_qedit clean
17039 wine_fn_config_test dlls
/qedit
/tests qedit_test
17040 wine_fn_config_dll qmgr enable_qmgr clean
17041 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17042 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17043 wine_fn_config_dll quartz enable_quartz clean
,implib
17044 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17045 wine_fn_config_dll query enable_query
17046 wine_fn_config_dll rasapi16.dll16 enable_win16
17047 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17048 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17049 wine_fn_config_dll rasdlg enable_rasdlg implib
17050 wine_fn_config_dll regapi enable_regapi
17051 wine_fn_config_dll resutils enable_resutils implib
17052 wine_fn_config_dll riched20 enable_riched20 implib
17053 wine_fn_config_test dlls
/riched20
/tests riched20_test
17054 wine_fn_config_dll riched32 enable_riched32
17055 wine_fn_config_test dlls
/riched32
/tests riched32_test
17056 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17057 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17058 wine_fn_config_dll rsabase enable_rsabase
17059 wine_fn_config_dll rsaenh enable_rsaenh implib
17060 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17061 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17062 wine_fn_config_dll rtutils enable_rtutils implib
17063 wine_fn_config_dll samlib enable_samlib
17064 wine_fn_config_dll sane.ds enable_sane_ds po
17065 wine_fn_config_dll scarddlg enable_scarddlg
17066 wine_fn_config_dll sccbase enable_sccbase
17067 wine_fn_config_dll schannel enable_schannel
17068 wine_fn_config_test dlls
/schannel
/tests schannel_test
17069 wine_fn_config_dll scrrun enable_scrrun clean
17070 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17071 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17072 wine_fn_config_dll secur32 enable_secur32 implib
17073 wine_fn_config_test dlls
/secur32
/tests secur32_test
17074 wine_fn_config_dll security enable_security
17075 wine_fn_config_dll sensapi enable_sensapi implib
17076 wine_fn_config_dll serialui enable_serialui implib
,po
17077 wine_fn_config_test dlls
/serialui
/tests serialui_test
17078 wine_fn_config_dll setupapi enable_setupapi implib
,po
17079 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17080 wine_fn_config_dll setupx.dll16 enable_win16
17081 wine_fn_config_dll sfc enable_sfc implib
17082 wine_fn_config_dll sfc_os enable_sfc_os implib
17083 wine_fn_config_dll shdoclc enable_shdoclc po
17084 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17085 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17086 wine_fn_config_dll shell.dll16 enable_win16
17087 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17088 wine_fn_config_test dlls
/shell32
/tests shell32_test
17089 wine_fn_config_dll shfolder enable_shfolder implib
17090 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17091 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17092 wine_fn_config_dll slbcsp enable_slbcsp
17093 wine_fn_config_dll slc enable_slc implib
17094 wine_fn_config_dll snmpapi enable_snmpapi implib
17095 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17096 wine_fn_config_dll softpub enable_softpub
17097 wine_fn_config_dll sound.drv16 enable_win16
17098 wine_fn_config_dll spoolss enable_spoolss implib
17099 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17100 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17101 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17102 wine_fn_config_dll sti enable_sti clean
,implib
17103 wine_fn_config_test dlls
/sti
/tests sti_test
17104 wine_fn_config_dll storage.dll16 enable_win16
17105 wine_fn_config_dll stress.dll16 enable_win16
17106 wine_fn_config_lib strmbase
17107 wine_fn_config_lib strmiids
17108 wine_fn_config_dll svrapi enable_svrapi
17109 wine_fn_config_dll sxs enable_sxs implib
17110 wine_fn_config_test dlls
/sxs
/tests sxs_test
17111 wine_fn_config_dll system.drv16 enable_win16
17112 wine_fn_config_dll t2embed enable_t2embed
17113 wine_fn_config_dll tapi32 enable_tapi32 implib
17114 wine_fn_config_dll taskschd enable_taskschd clean
17115 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17116 wine_fn_config_dll toolhelp.dll16 enable_win16
17117 wine_fn_config_dll traffic enable_traffic
17118 wine_fn_config_dll twain.dll16 enable_win16
17119 wine_fn_config_dll twain_32 enable_twain_32
17120 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17121 wine_fn_config_dll typelib.dll16 enable_win16
17122 wine_fn_config_dll unicows enable_unicows implib
17123 wine_fn_config_dll updspapi enable_updspapi
17124 wine_fn_config_dll url enable_url implib
17125 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17126 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17127 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17128 wine_fn_config_dll user.exe16 enable_win16
17129 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17130 wine_fn_config_test dlls
/user32
/tests user32_test
17131 wine_fn_config_dll userenv enable_userenv implib
17132 wine_fn_config_test dlls
/userenv
/tests userenv_test
17133 wine_fn_config_dll usp10 enable_usp10 implib
17134 wine_fn_config_test dlls
/usp10
/tests usp10_test
17135 wine_fn_config_lib uuid
17136 wine_fn_config_dll uxtheme enable_uxtheme implib
17137 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17138 wine_fn_config_dll vbscript enable_vbscript clean
17139 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17140 wine_fn_config_dll vcomp enable_vcomp
17141 wine_fn_config_dll vcomp100 enable_vcomp100
17142 wine_fn_config_dll vcomp90 enable_vcomp90
17143 wine_fn_config_dll vdhcp.vxd enable_win16
17144 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17145 wine_fn_config_dll ver.dll16 enable_win16
17146 wine_fn_config_dll version enable_version implib
17147 wine_fn_config_test dlls
/version
/tests version_test
17148 wine_fn_config_dll vmm.vxd enable_win16
17149 wine_fn_config_dll vnbt.vxd enable_win16
17150 wine_fn_config_dll vnetbios.vxd enable_win16
17151 wine_fn_config_dll vtdapi.vxd enable_win16
17152 wine_fn_config_dll vwin32.vxd enable_win16
17153 wine_fn_config_dll w32skrnl enable_win16
17154 wine_fn_config_dll w32sys.dll16 enable_win16
17155 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17156 wine_fn_config_dll wbemprox enable_wbemprox clean
17157 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17158 wine_fn_config_dll webservices enable_webservices implib
17159 wine_fn_config_dll wer enable_wer implib
17160 wine_fn_config_test dlls
/wer
/tests wer_test
17161 wine_fn_config_dll wevtapi enable_wevtapi
17162 wine_fn_config_dll wiaservc enable_wiaservc clean
17163 wine_fn_config_dll win32s16.dll16 enable_win16
17164 wine_fn_config_dll win87em.dll16 enable_win16
17165 wine_fn_config_dll winaspi.dll16 enable_win16
17166 wine_fn_config_dll windebug.dll16 enable_win16
17167 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17168 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17169 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17170 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17171 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17172 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17173 wine_fn_config_lib winecrt0
17174 wine_fn_config_dll wined3d enable_wined3d implib
17175 wine_fn_config_dll winegstreamer enable_winegstreamer
17176 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17177 wine_fn_config_dll winemac.drv enable_winemac_drv
17178 wine_fn_config_dll winemapi enable_winemapi
17179 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17180 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17181 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17182 wine_fn_config_dll wineps16.drv16 enable_win16
17183 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17184 wine_fn_config_dll winex11.drv enable_winex11_drv
17185 wine_fn_config_dll wing.dll16 enable_win16
17186 wine_fn_config_dll wing32 enable_wing32
17187 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17188 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17189 wine_fn_config_dll wininet enable_wininet implib
,po
17190 wine_fn_config_test dlls
/wininet
/tests wininet_test
17191 wine_fn_config_dll winmm enable_winmm implib
,po
17192 wine_fn_config_test dlls
/winmm
/tests winmm_test
17193 wine_fn_config_dll winnls.dll16 enable_win16
17194 wine_fn_config_dll winnls32 enable_winnls32 implib
17195 wine_fn_config_dll winscard enable_winscard implib
17196 wine_fn_config_dll winsock.dll16 enable_win16
17197 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17198 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17199 wine_fn_config_dll winsta enable_winsta
17200 wine_fn_config_dll wintab.dll16 enable_win16
17201 wine_fn_config_dll wintab32 enable_wintab32 implib
17202 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17203 wine_fn_config_dll wintrust enable_wintrust implib
17204 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17205 wine_fn_config_dll wlanapi enable_wlanapi
17206 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17207 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17208 wine_fn_config_dll wmi enable_wmi
17209 wine_fn_config_dll wmiutils enable_wmiutils clean
17210 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17211 wine_fn_config_dll wmp enable_wmp clean
17212 wine_fn_config_test dlls
/wmp
/tests wmp_test
17213 wine_fn_config_dll wmvcore enable_wmvcore
17214 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17215 wine_fn_config_dll wow32 enable_win16 implib
17216 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17217 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17218 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17219 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17220 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17221 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17222 wine_fn_config_dll wsock32 enable_wsock32 implib
17223 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17224 wine_fn_config_dll wuapi enable_wuapi clean
17225 wine_fn_config_dll wuaueng enable_wuaueng
17226 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17227 wine_fn_config_dll xinput1_1 enable_xinput1_1
17228 wine_fn_config_dll xinput1_2 enable_xinput1_2
17229 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17230 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17231 wine_fn_config_dll xinput1_4 enable_xinput1_4
17232 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17233 wine_fn_config_dll xmllite enable_xmllite
17234 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17235 wine_fn_config_dll xolehlp enable_xolehlp
17236 wine_fn_config_dll xpsprint enable_xpsprint
17237 wine_fn_config_dll xpssvcs enable_xpssvcs
17238 wine_fn_config_makefile documentation enable_documentation clean
17239 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17240 wine_fn_config_makefile include enable_include clean
,install-dev
17241 wine_fn_config_makefile libs
/port enable_libs_port
17242 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17243 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17244 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17245 wine_fn_config_program arp enable_arp
install
17246 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17247 wine_fn_config_program attrib enable_attrib
install,po
17248 wine_fn_config_program cabarc enable_cabarc
install
17249 wine_fn_config_program cacls enable_cacls
install
17250 wine_fn_config_program
clock enable_clock
install,po
17251 wine_fn_config_program cmd enable_cmd
install,po
17252 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17253 wine_fn_config_program conhost enable_conhost
install
17254 wine_fn_config_program control enable_control
install
17255 wine_fn_config_program cscript enable_cscript
install
17256 wine_fn_config_program dxdiag enable_dxdiag
install,po
17257 wine_fn_config_program eject enable_eject
install
17258 wine_fn_config_program
expand enable_expand
install
17259 wine_fn_config_program explorer enable_explorer
install,po
17260 wine_fn_config_program extrac32 enable_extrac32
install
17261 wine_fn_config_program findstr enable_findstr
install
17262 wine_fn_config_program hh enable_hh
install
17263 wine_fn_config_program hostname enable_hostname
install,po
17264 wine_fn_config_program icinfo enable_icinfo
install
17265 wine_fn_config_program iexplore enable_iexplore
install
17266 wine_fn_config_program ipconfig enable_ipconfig
install,po
17267 wine_fn_config_program lodctr enable_lodctr
install
17268 wine_fn_config_program mofcomp enable_mofcomp
install
17269 wine_fn_config_program mshta enable_mshta
install
17270 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17271 wine_fn_config_program net enable_net
install,po
17272 wine_fn_config_program netsh enable_netsh
install
17273 wine_fn_config_program netstat enable_netstat
install,po
17274 wine_fn_config_program ngen enable_ngen
install
17275 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17276 wine_fn_config_program oleview enable_oleview
install,po
17277 wine_fn_config_program
ping enable_ping
install
17278 wine_fn_config_program plugplay enable_plugplay
install
17279 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17280 wine_fn_config_program progman enable_progman
install,po
17281 wine_fn_config_program reg enable_reg
install,po
17282 wine_fn_config_program regasm enable_regasm
install
17283 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17284 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17285 wine_fn_config_program regsvcs enable_regsvcs
install
17286 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
17287 wine_fn_config_program rpcss enable_rpcss clean
,install
17288 wine_fn_config_program rundll.exe16 enable_win16
install
17289 wine_fn_config_program rundll32 enable_rundll32
install
17290 wine_fn_config_program sc enable_sc
install
17291 wine_fn_config_program schtasks enable_schtasks
install
17292 wine_fn_config_program secedit enable_secedit
install
17293 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17294 wine_fn_config_program services enable_services clean
,install
17295 wine_fn_config_test programs
/services
/tests services.exe_test
17296 wine_fn_config_program spoolsv enable_spoolsv
install
17297 wine_fn_config_program start enable_start
install,po
17298 wine_fn_config_program svchost enable_svchost
install
17299 wine_fn_config_program taskkill enable_taskkill
install,po
17300 wine_fn_config_program tasklist enable_tasklist
install
17301 wine_fn_config_program taskmgr enable_taskmgr
install,po
17302 wine_fn_config_program termsv enable_termsv
install
17303 wine_fn_config_program uninstaller enable_uninstaller
install,po
17304 wine_fn_config_program unlodctr enable_unlodctr
install
17305 wine_fn_config_program view enable_view
install,po
17306 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17307 wine_fn_config_program winebrowser enable_winebrowser
install
17308 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17309 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17310 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17311 wine_fn_config_program winedevice enable_winedevice
install
17312 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17313 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17314 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17315 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17316 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17317 wine_fn_config_program winetest enable_winetest clean
17318 wine_fn_config_program winevdm enable_win16
install
17319 wine_fn_config_program winhelp.exe16 enable_win16
install
17320 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17321 wine_fn_config_program winoldap.mod16 enable_win16
install
17322 wine_fn_config_program winver enable_winver
install
17323 wine_fn_config_program wmic enable_wmic
install,po
17324 wine_fn_config_program wordpad enable_wordpad
install,po
17325 wine_fn_config_program
write enable_write
install,po
17326 wine_fn_config_program wscript enable_wscript clean
,install
17327 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17328 wine_fn_config_program wusa enable_wusa
install
17329 wine_fn_config_program xcopy enable_xcopy
install,po
17330 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17331 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17332 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17333 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17334 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17335 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17336 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17337 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17338 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17390 wine_fn_ignore_file
".gitignore"
17391 wine_fn_ignore_file
"Makefile"
17392 wine_fn_ignore_file
"TAGS"
17393 wine_fn_ignore_file
"tags"
17394 wine_fn_ignore_file
"autom4te.cache"
17395 wine_fn_ignore_file
"config.cache"
17396 wine_fn_ignore_file
"config.log"
17397 wine_fn_ignore_file
"config.status"
17398 wine_fn_ignore_file
"configure.lineno"
17399 wine_fn_ignore_file
"include/config.h"
17400 wine_fn_ignore_file
"include/stamp-h"
17401 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17403 if test "x$enable_tools" != xno
17405 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17406 ac_config_commands
="$ac_config_commands tools/makedep"
17410 ac_config_commands
="$ac_config_commands Makefile"
17413 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17417 if test "x$enable_maintainer_mode" = xyes
17419 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17420 autoconf --warnings=all
17421 include/config.h.in: include/stamp-h.in
17422 include/stamp-h.in: configure.ac aclocal.m4
17423 autoheader --warnings=all
17424 @echo timestamp > \$@"
17427 if test "x$with_gettextpo" = xyes
17429 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17430 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17431 \$(LINGUAS:%=po/%.po): po/wine.pot
17432 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17433 po/wine.pot: \$(ALL_POT_FILES)
17434 msgcat -o \$@ \$(ALL_POT_FILES)"
17437 if test "$MSGFMT" != false
17439 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17441 \$(RM) \$(LINGUAS:%=po/%.mo)"
17444 test "$srcdir" = . || posrc
="$srcdir/po"
17447 wine_fn_ignore_file
"po/$i.mo"
17448 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17449 \$(MSGFMT) -o \$@ $posrc/$i.po"
17455 if test "x$enable_tools" != xno
17457 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17458 @./config.status tools/makedep
17459 Makefile: tools/makedep$ac_exeext
17461 \$(RM) tools/makedep$ac_exeext"
17463 wine_fn_append_rule
"\$(MAKEDEP):
17464 @echo \"You need to run make in $TOOLSDIR first\" && false"
17467 if test -n "$with_wine64"
17469 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17470 fonts server tools:
17471 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17472 $with_wine64/loader/wine:
17473 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17474 $with_wine64/loader/wine-preloader:
17475 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17477 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17479 as_fn_append LOADER_RULES
"
17482 install install-lib:: wine.inf install-man-pages
17483 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17484 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17487 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17491 if test "$srcdir" = .
17493 ac_config_commands
="$ac_config_commands .gitignore"
17497 $as_echo " done" >&6
17498 cat >confcache
<<\_ACEOF
17499 # This file is a shell script that caches the results of configure
17500 # tests run on this system so they can be shared between configure
17501 # scripts and configure runs, see configure's option --config-cache.
17502 # It is not useful on other systems. If it contains results you don't
17503 # want to keep, you may remove or edit it.
17505 # config.status only pays attention to the cache file if you give it
17506 # the --recheck option to rerun configure.
17508 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17509 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17510 # following values.
17514 # The following way of writing the cache mishandles newlines in values,
17515 # but we know of no workaround that is simple, portable, and efficient.
17516 # So, we kill variables containing newlines.
17517 # Ultrix sh set writes to stderr and can't be redirected directly,
17518 # and sets the high bit in the cache file unless we assign to the vars.
17520 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17521 eval ac_val
=\$
$ac_var
17525 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17526 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17529 _ | IFS | as_nl
) ;; #(
17530 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17531 *) { eval $ac_var=; unset $ac_var;} ;;
17537 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17538 *${as_nl}ac_space
=\
*)
17539 # `set' does not quote correctly, so add quotes: double-quote
17540 # substitution turns \\\\ into \\, and sed turns \\ into \.
17543 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17546 # `set' quotes correctly as required by POSIX, so do not add quotes.
17547 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17556 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17558 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17560 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17561 if test -w "$cache_file"; then
17562 if test "x$cache_file" != "x/dev/null"; then
17563 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17564 $as_echo "$as_me: updating cache $cache_file" >&6;}
17565 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17566 cat confcache
>"$cache_file"
17568 case $cache_file in #(
17570 mv -f confcache
"$cache_file"$$
&&
17571 mv -f "$cache_file"$$
"$cache_file" ;; #(
17573 mv -f confcache
"$cache_file" ;;
17578 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17579 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17584 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17585 # Let make expand exec_prefix.
17586 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17588 DEFS
=-DHAVE_CONFIG_H
17593 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17594 # 1. Remove the extension, and $U if already installed.
17595 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17596 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17597 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17598 # will be set to the directory where LIBOBJS objects are built.
17599 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17600 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17602 LIBOBJS
=$ac_libobjs
17604 LTLIBOBJS
=$ac_ltlibobjs
17608 : "${CONFIG_STATUS=./config.status}"
17610 ac_clean_files_save
=$ac_clean_files
17611 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17612 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17613 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17615 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17617 # Generated by $as_me.
17618 # Run this file to recreate the current configuration.
17619 # Compiler output produced by configure, useful for debugging
17620 # configure, is in config.log if it exists.
17623 ac_cs_recheck=false
17626 SHELL=\${CONFIG_SHELL-$SHELL}
17629 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17630 ## -------------------- ##
17631 ## M4sh Initialization. ##
17632 ## -------------------- ##
17634 # Be more Bourne compatible
17635 DUALCASE
=1; export DUALCASE
# for MKS sh
17636 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17639 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17640 # is contrary to our usage. Disable this feature.
17641 alias -g '${1+"$@"}'='"$@"'
17642 setopt NO_GLOB_SUBST
17644 case `(set -o) 2>/dev/null` in #(
17656 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17657 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17658 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17659 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17660 # Prefer a ksh shell builtin over an external printf program on Solaris,
17661 # but without wasting forks for bash or zsh.
17662 if test -z "$BASH_VERSION$ZSH_VERSION" \
17663 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17664 as_echo='print
-r --'
17665 as_echo_n='print
-rn --'
17666 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17667 as_echo='printf %s
\n'
17668 as_echo_n='printf %s
'
17670 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17671 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17672 as_echo_n='/usr
/ucb
/echo -n'
17674 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17675 as_echo_n_body='eval
17679 expr "X$arg" : "X\\(.*\\)$as_nl";
17680 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17682 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17684 export as_echo_n_body
17685 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17687 export as_echo_body
17688 as_echo='sh
-c $as_echo_body as_echo
'
17691 # The user is always right.
17692 if test "${PATH_SEPARATOR+set}" != set; then
17694 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17695 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17702 # We need space, tab and new line, in precisely that order. Quoting is
17703 # there to prevent editors from complaining about space-tab.
17704 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17705 # splitting by setting IFS to empty value.)
17708 # Find who we are. Look in the path if we contain no directory separator.
17711 *[\\/]* ) as_myself=$0 ;;
17712 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17713 for as_dir in $PATH
17716 test -z "$as_dir" && as_dir=.
17717 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17723 # We did not find ourselves, most probably we were run as `sh COMMAND'
17724 # in which case we are not to be found in the path.
17725 if test "x$as_myself" = x
; then
17728 if test ! -f "$as_myself"; then
17729 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17733 # Unset variables that we do not need and which cause bugs (e.g. in
17734 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17735 # suppresses any "Segmentation fault" message there. '((' could
17736 # trigger a bug in pdksh 5.2.14.
17737 for as_var
in BASH_ENV ENV MAIL MAILPATH
17738 do eval test x\
${$as_var+set} = xset \
17739 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17752 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17755 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17756 # ----------------------------------------
17757 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17758 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17759 # script with STATUS, using 1 if that was 0.
17762 as_status
=$1; test $as_status -eq 0 && as_status
=1
17764 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17765 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17767 $as_echo "$as_me: error: $2" >&2
17768 as_fn_exit
$as_status
17772 # as_fn_set_status STATUS
17773 # -----------------------
17774 # Set $? to STATUS, without forking.
17775 as_fn_set_status
()
17778 } # as_fn_set_status
17780 # as_fn_exit STATUS
17781 # -----------------
17782 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17786 as_fn_set_status
$1
17792 # Portably unset VAR.
17795 { eval $1=; unset $1;}
17797 as_unset
=as_fn_unset
17798 # as_fn_append VAR VALUE
17799 # ----------------------
17800 # Append the text in VALUE to the end of the definition contained in VAR. Take
17801 # advantage of any shell optimizations that allow amortized linear growth over
17802 # repeated appends, instead of the typical quadratic growth present in naive
17804 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17805 eval 'as_fn_append ()
17816 # as_fn_arith ARG...
17817 # ------------------
17818 # Perform arithmetic evaluation on the ARGs, and store the result in the
17819 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17820 # must be portable across $(()) and expr.
17821 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17822 eval 'as_fn_arith ()
17829 as_val
=`expr "$@" || test $? -eq 1`
17834 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17835 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17841 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17842 as_basename
=basename
17847 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17853 as_me
=`$as_basename -- "$0" ||
17854 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17855 X"$0" : 'X\(//\)$' \| \
17856 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17858 sed '/^.*\/\([^/][^/]*\)\/*$/{
17872 # Avoid depending upon Character Ranges.
17873 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17874 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17875 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17876 as_cr_digits
='0123456789'
17877 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17879 ECHO_C
= ECHO_N
= ECHO_T
=
17880 case `echo -n x` in #(((((
17882 case `echo 'xy\c'` in
17883 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17885 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17892 rm -f conf$$ conf$$.exe conf$$.
file
17893 if test -d conf$$.dir
; then
17894 rm -f conf$$.dir
/conf$$.
file
17897 mkdir conf$$.dir
2>/dev
/null
17899 if (echo >conf$$.
file) 2>/dev
/null
; then
17900 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17902 # ... but there are two gotchas:
17903 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17904 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17905 # In both cases, we have to default to `cp -pR'.
17906 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17908 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17916 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17917 rmdir conf$$.dir
2>/dev
/null
17922 # Create "$as_dir" as a directory, including parents if necessary.
17927 -*) as_dir
=.
/$as_dir;;
17929 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17933 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17934 *) as_qdir
=$as_dir;;
17936 as_dirs
="'$as_qdir' $as_dirs"
17937 as_dir
=`$as_dirname -- "$as_dir" ||
17938 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17939 X"$as_dir" : 'X\(//\)[^/]' \| \
17940 X"$as_dir" : 'X\(//\)$' \| \
17941 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17942 $as_echo X"$as_dir" |
17943 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17947 /^X\(\/\/\)[^/].*/{
17960 test -d "$as_dir" && break
17962 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17963 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17967 if mkdir
-p .
2>/dev
/null
; then
17968 as_mkdir_p
='mkdir -p "$as_dir"'
17970 test -d .
/-p && rmdir .
/-p
17975 # as_fn_executable_p FILE
17976 # -----------------------
17977 # Test if FILE is an executable regular file.
17978 as_fn_executable_p
()
17980 test -f "$1" && test -x "$1"
17981 } # as_fn_executable_p
17982 as_test_x
='test -x'
17983 as_executable_p
=as_fn_executable_p
17985 # Sed expression to map a string onto a valid CPP name.
17986 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17988 # Sed expression to map a string onto a valid variable name.
17989 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17993 ## ----------------------------------- ##
17994 ## Main body of $CONFIG_STATUS script. ##
17995 ## ----------------------------------- ##
17997 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18000 # Save the log message, to keep $0 and so on meaningful, and to
18001 # report actual input values of CONFIG_FILES etc. instead of their
18002 # values after options handling.
18004 This file was extended by Wine $as_me 1.7.11, which was
18005 generated by GNU Autoconf 2.69. Invocation command line was
18007 CONFIG_FILES = $CONFIG_FILES
18008 CONFIG_HEADERS = $CONFIG_HEADERS
18009 CONFIG_LINKS = $CONFIG_LINKS
18010 CONFIG_COMMANDS = $CONFIG_COMMANDS
18013 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18018 case $ac_config_files in *"
18019 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18022 case $ac_config_headers in *"
18023 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18027 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18028 # Files that config.status was made for.
18029 config_files="$ac_config_files"
18030 config_headers="$ac_config_headers"
18031 config_links="$ac_config_links"
18032 config_commands="$ac_config_commands"
18036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18038 \`$as_me' instantiates files and other configuration actions
18039 from templates according to the current configuration. Unless the files
18040 and actions are specified as TAGs, all are instantiated by default.
18042 Usage: $0 [OPTION]... [TAG]...
18044 -h, --help print this help, then exit
18045 -V, --version print version number and configuration settings, then exit
18046 --config print configuration, then exit
18047 -q, --quiet, --silent
18048 do not print progress messages
18049 -d, --debug don't remove temporary files
18050 --recheck update $as_me by reconfiguring in the same conditions
18051 --file=FILE[:TEMPLATE]
18052 instantiate the configuration file FILE
18053 --header=FILE[:TEMPLATE]
18054 instantiate the configuration header FILE
18056 Configuration files:
18059 Configuration headers:
18062 Configuration links:
18065 Configuration commands:
18068 Report bugs to <wine-devel@winehq.org>.
18069 Wine home page: <http://www.winehq.org>."
18072 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18073 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18075 Wine config.status 1.7.11
18076 configured by $0, generated by GNU Autoconf 2.69,
18077 with options \\"\$ac_cs_config\\"
18079 Copyright (C) 2012 Free Software Foundation, Inc.
18080 This config.status script is free software; the Free Software Foundation
18081 gives unlimited permission to copy, distribute and modify it."
18085 test -n "\$AWK" || AWK=awk
18088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18089 # The default lists apply if the user does not specify any file.
18095 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18096 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18100 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18112 # Handling of the options.
18113 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18115 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18116 $as_echo "$ac_cs_version"; exit ;;
18117 --config |
--confi |
--conf |
--con |
--co |
--c )
18118 $as_echo "$ac_cs_config"; exit ;;
18119 --debug |
--debu |
--deb |
--de |
--d |
-d )
18121 --file |
--fil |
--fi |
--f )
18124 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18125 '') as_fn_error $?
"missing file argument" ;;
18127 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18128 ac_need_defaults
=false
;;
18129 --header |
--heade |
--head |
--hea )
18132 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18134 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18135 ac_need_defaults
=false
;;
18137 # Conflict between --help and --header
18138 as_fn_error $?
"ambiguous option: \`$1'
18139 Try \`$0 --help' for more information.";;
18140 --help |
--hel |
-h )
18141 $as_echo "$ac_cs_usage"; exit ;;
18142 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18143 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18146 # This is an error.
18147 -*) as_fn_error $?
"unrecognized option: \`$1'
18148 Try \`$0 --help' for more information." ;;
18150 *) as_fn_append ac_config_targets
" $1"
18151 ac_need_defaults
=false
;;
18157 ac_configure_extra_args
=
18159 if $ac_cs_silent; then
18161 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18165 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18166 if \$ac_cs_recheck; then
18167 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18169 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18170 CONFIG_SHELL='$SHELL'
18171 export CONFIG_SHELL
18176 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18180 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18181 ## Running $as_me. ##
18187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18191 wine_fn_output_makedep ()
18193 as_dir=tools; as_fn_mkdir_p
18194 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18196 wine_fn_output_makefile ()
18198 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18199 `cat $wine_rules_file`
18201 as_fn_error $? "could not create Makefile" "$LINENO" 5
18203 wine_fn_output_gitignore ()
18205 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18208 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18215 # Handling of arguments.
18216 for ac_config_target
in $ac_config_targets
18218 case $ac_config_target in
18219 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18220 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18221 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18222 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18223 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18224 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18225 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18226 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18227 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18228 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18229 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18230 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18231 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18232 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18234 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18239 # If the user did not use the arguments to specify the items to instantiate,
18240 # then the envvar interface is used. Set only those that are not.
18241 # We use the long form for the default assignment because of an extremely
18242 # bizarre bug on SunOS 4.1.3.
18243 if $ac_need_defaults; then
18244 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18245 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18246 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18247 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18250 # Have a temporary directory for convenience. Make it in the build tree
18251 # simply because there is no reason against having it here, and in addition,
18252 # creating and moving files from /tmp can sometimes cause problems.
18253 # Hook for its removal unless debugging.
18254 # Note that there is a small window in which the directory will not be cleaned:
18255 # after its creation but before its name has been assigned to `$tmp'.
18259 trap 'exit_status=$?
18260 : "${ac_tmp:=$tmp}"
18261 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18263 trap 'as_fn_exit 1' 1 2 13 15
18265 # Create a (secure) tmp directory for tmp files.
18268 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18272 tmp
=.
/conf$$
-$RANDOM
18273 (umask 077 && mkdir
"$tmp")
18274 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18277 # Set up the scripts for CONFIG_FILES section.
18278 # No need to generate them if there are no CONFIG_FILES.
18279 # This happens for instance with `./config.status config.h'.
18280 if test -n "$CONFIG_FILES"; then
18283 ac_cr
=`echo X | tr X '\015'`
18284 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18285 # But we know of no other shell where ac_cr would be empty at this
18286 # point, so we can use a bashism as a fallback.
18287 if test "x$ac_cr" = x
; then
18288 eval ac_cr
=\$
\'\\r
\'
18290 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18291 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18294 ac_cs_awk_cr
=$ac_cr
18297 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18302 echo "cat >conf$$subs.awk <<_ACEOF" &&
18303 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18305 } >conf$$subs.sh ||
18306 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18307 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18309 for ac_last_try in false false false false false :; do
18310 . ./conf$$subs.sh ||
18311 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18313 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18314 if test $ac_delim_n = $ac_delim_num; then
18316 elif $ac_last_try; then
18317 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18319 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18322 rm -f conf$$subs.sh
18324 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18325 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18329 s/^/S["/; s
/!.
*/"]=/
18339 s/\(.\{148\}\)..*/\1/
18341 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18346 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18353 s/\(.\{148\}\)..*/\1/
18355 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18359 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18364 ' <conf$$subs.awk | sed '
18369 ' >>$CONFIG_STATUS || ac_write_fail=1
18370 rm -f conf$$subs.awk
18371 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18373 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18374 for (key in S) S_is_set[key] = 1
18380 nfields = split(line, field, "@
")
18382 len = length(field[1])
18383 for (i = 2; i < nfields; i++) {
18385 keylen = length(key)
18386 if (S_is_set[key]) {
18388 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18389 len += length(value) + length(field[++i])
18400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18401 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18402 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18405 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18406 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18409 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18410 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18411 # trailing colons and then remove the whole line if VPATH becomes empty
18412 # (actually we leave an empty line to preserve line numbers).
18413 if test "x
$srcdir" = x.; then
18414 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18432 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18433 fi # test -n "$CONFIG_FILES"
18435 # Set up the scripts for CONFIG_HEADERS section.
18436 # No need to generate them if there are no CONFIG_HEADERS.
18437 # This happens for instance with `./config.status Makefile'.
18438 if test -n "$CONFIG_HEADERS"; then
18439 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18443 # Transform confdefs.h into an awk script `defines.awk', embedded as
18444 # here-document in config.status, that substitutes the proper values into
18445 # config.h.in to produce config.h.
18447 # Create a delimiter string that does not exist in confdefs.h, to ease
18448 # handling of long lines.
18450 for ac_last_try in false false :; do
18451 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18452 if test -z "$ac_tt"; then
18454 elif $ac_last_try; then
18455 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18457 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18461 # For the awk script, D is an array of macro values keyed by name,
18462 # likewise P contains macro parameters if any. Preserve backslash
18463 # newline sequences.
18465 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18467 s/.\{148\}/&'"$ac_delim"'/g
18470 s/^[ ]*#[ ]*define[ ][ ]*/ /
18477 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18479 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18483 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18484 D["\
1"]=" \
3\\\\\\n
"\\/p
18486 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18491 s/.\{148\}/&'"$ac_delim"'/g
18496 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18499 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18501 ' <confdefs.h | sed '
18502 s/'"$ac_delim"'/"\\\
18503 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18506 for (key in D) D_is_set[key] = 1
18509 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18511 split(line, arg, " ")
18512 if (arg[1] == "#") {
18516 defundef
= substr
(arg
[1], 2)
18519 split(mac1
, mac2
, "(") #)
18521 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18522 if (D_is_set
[macro
]) {
18523 # Preserve the white space surrounding the "#".
18524 print prefix
"define", macro P
[macro
] D
[macro
]
18527 # Replace #undef with comments. This is necessary, for example,
18528 # in the case of _POSIX_SOURCE, which is predefined and required
18529 # on some systems where configure will not decide to define it.
18530 if (defundef
== "undef") {
18531 print
"/*", prefix defundef
, macro
, "*/"
18539 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18540 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18541 fi # test -n "$CONFIG_HEADERS"
18544 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18549 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18551 case $ac_mode$ac_tag in
18553 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18554 :[FH
]-) ac_tag
=-:-;;
18555 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18572 -) ac_f
="$ac_tmp/stdin";;
18573 *) # Look for the file first in the build tree, then in the source tree
18574 # (if the path is not absolute). The absolute path cannot be DOS-style,
18575 # because $ac_f cannot contain `:'.
18579 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18581 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18583 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18584 as_fn_append ac_file_inputs
" '$ac_f'"
18587 # Let's still pretend it is `configure' which instantiates (i.e., don't
18588 # use $as_me), people would be surprised to read:
18589 # /* config.h. Generated by config.status. */
18590 configure_input
='Generated from '`
18591 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18593 if test x
"$ac_file" != x-
; then
18594 configure_input
="$ac_file. $configure_input"
18595 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18596 $as_echo "$as_me: creating $ac_file" >&6;}
18598 # Neutralize special characters interpreted by sed in replacement strings.
18599 case $configure_input in #(
18600 *\
&* |
*\|
* |
*\\* )
18601 ac_sed_conf_input
=`$as_echo "$configure_input" |
18602 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18603 *) ac_sed_conf_input
=$configure_input;;
18607 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18608 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18613 ac_dir
=`$as_dirname -- "$ac_file" ||
18614 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18615 X"$ac_file" : 'X\(//\)[^/]' \| \
18616 X"$ac_file" : 'X\(//\)$' \| \
18617 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18618 $as_echo X"$ac_file" |
18619 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18623 /^X\(\/\/\)[^/].*/{
18636 as_dir
="$ac_dir"; as_fn_mkdir_p
18640 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18642 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18643 # A ".." for each directory in $ac_dir_suffix.
18644 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18645 case $ac_top_builddir_sub in
18646 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18647 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18650 ac_abs_top_builddir
=$ac_pwd
18651 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18652 # for backward compatibility:
18653 ac_top_builddir
=$ac_top_build_prefix
18656 .
) # We are building in place.
18658 ac_top_srcdir
=$ac_top_builddir_sub
18659 ac_abs_top_srcdir
=$ac_pwd ;;
18660 [\\/]* | ?
:[\\/]* ) # Absolute name.
18661 ac_srcdir
=$srcdir$ac_dir_suffix;
18662 ac_top_srcdir
=$srcdir
18663 ac_abs_top_srcdir
=$srcdir ;;
18664 *) # Relative name.
18665 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18666 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18667 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18669 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18681 # If the template does not know about datarootdir, expand it.
18682 # FIXME: This hack should be removed a few years after 2.60.
18683 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18694 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18695 *datarootdir
*) ac_datarootdir_seen
=yes;;
18696 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18698 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18701 ac_datarootdir_hack='
18702 s&@datadir@&$datadir&g
18703 s&@docdir@&$docdir&g
18704 s&@infodir@&$infodir&g
18705 s&@localedir@&$localedir&g
18706 s&@mandir@&$mandir&g
18707 s&\\\${datarootdir}&$datarootdir&g' ;;
18711 # Neutralize VPATH when `$srcdir' = `.'.
18712 # Shell code in configure.ac might set extrasub.
18713 # FIXME: do we really want to maintain this feature?
18714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18715 ac_sed_extra="$ac_vpsub
18718 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18720 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18721 s|@configure_input@|
$ac_sed_conf_input|
;t t
18722 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18723 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18724 s
&@srcdir@
&$ac_srcdir&;t t
18725 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18726 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18727 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18728 s
&@builddir@
&$ac_builddir&;t t
18729 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18730 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18731 $ac_datarootdir_hack
18733 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18734 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18736 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18737 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18738 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18739 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18741 which seems to be undefined. Please make sure it is defined" >&5
18742 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18743 which seems to be undefined. Please make sure it is defined" >&2;}
18745 rm -f "$ac_tmp/stdin"
18747 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18748 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18750 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18756 if test x"$ac_file" != x-; then
18758 $as_echo "/* $configure_input */" \
18759 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18760 } >"$ac_tmp/config.h" \
18761 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18762 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18763 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18764 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18767 mv "$ac_tmp/config.h" "$ac_file" \
18768 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18771 $as_echo "/* $configure_input */" \
18772 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18773 || as_fn_error $? "could not create -" "$LINENO" 5
18781 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18784 # Prefer the file from the source tree if names are identical.
18785 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18786 ac_source=$srcdir/$ac_source
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18790 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18792 if test ! -r "$ac_source"; then
18793 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18797 # Try a relative symlink, then a hard link, then a copy.
18799 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18800 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18802 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18803 ln "$ac_source" "$ac_file" 2>/dev/null ||
18804 cp -p "$ac_source" "$ac_file" ||
18805 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18808 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18809 $as_echo "$as_me: executing $ac_file commands" >&6;}
18814 case $ac_file$ac_mode in
18815 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18816 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18817 "Makefile":C) wine_fn_output_makefile Makefile ;;
18818 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
18826 ac_clean_files=$ac_clean_files_save
18828 test $ac_write_fail = 0 ||
18829 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18832 # configure is writing to config.log, and then calls config.status.
18833 # config.status does its own redirection, appending to config.log.
18834 # Unfortunately, on DOS this fails, as config.log is still kept open
18835 # by configure, so config.status won't be able to
write to it
; its
18836 # output is simply discarded. So we exec the FD to /dev/null,
18837 # effectively closing config.log, so it can be properly (re)opened and
18838 # appended to by config.status. When coming back to configure, we
18839 # need to make the FD available again.
18840 if test "$no_create" != yes; then
18842 ac_config_status_args
=
18843 test "$silent" = yes &&
18844 ac_config_status_args
="$ac_config_status_args --quiet"
18846 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18848 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18849 # would make configure fail if this is the last instruction.
18850 $ac_cs_success || as_fn_exit
1
18852 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18854 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18858 if test "$no_create" = "yes"
18864 if test "x$wine_notices != "x
; then
18867 for msg
in $wine_notices; do
18869 if ${msg+:} false
; then :
18870 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18871 $as_echo "$as_me: $msg" >&6;}
18876 for msg
in $wine_warnings; do
18878 if ${msg+:} false
; then :
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18881 $as_echo "$as_me: WARNING: $msg" >&2;}
18887 $as_me: Finished. Do '${ac_make}' to compile Wine.