2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.3.
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.3'
584 PACKAGE_STRING
='Wine 1.7.3'
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
700 APPLICATIONSERVICESLIB
791 program_transform_name
802 ac_subst_files
='MAKE_RULES
807 enable_option_checking
811 enable_maintainer_mode
866 enable_api_ms_win_core_localregistry_l1_1_0
867 enable_api_ms_win_core_processthreads_l1_1_0
868 enable_api_ms_win_core_winrt_error_l1_1_0
869 enable_api_ms_win_core_winrt_string_l1_1_0
870 enable_api_ms_win_downlevel_advapi32_l1_1_0
871 enable_api_ms_win_downlevel_advapi32_l2_1_0
872 enable_api_ms_win_downlevel_normaliz_l1_1_0
873 enable_api_ms_win_downlevel_ole32_l1_1_0
874 enable_api_ms_win_downlevel_shell32_l1_1_0
875 enable_api_ms_win_downlevel_shlwapi_l1_1_0
876 enable_api_ms_win_downlevel_shlwapi_l2_1_0
877 enable_api_ms_win_downlevel_user32_l1_1_0
878 enable_api_ms_win_downlevel_version_l1_1_0
879 enable_api_ms_win_security_base_l1_1_0
916 enable_d3dcompiler_33
917 enable_d3dcompiler_34
918 enable_d3dcompiler_35
919 enable_d3dcompiler_36
920 enable_d3dcompiler_37
921 enable_d3dcompiler_38
922 enable_d3dcompiler_39
923 enable_d3dcompiler_40
924 enable_d3dcompiler_41
925 enable_d3dcompiler_42
926 enable_d3dcompiler_43
1138 enable_photometadatahandler
1216 enable_windowscodecs
1217 enable_windowscodecsext
1219 enable_winecoreaudio_drv
1221 enable_winegstreamer
1222 enable_winejoystick_drv
1228 enable_wineqtdecoder
1263 enable_documentation
1270 enable_aspnet_regiis
1302 enable_presentationfontcache
1314 enable_servicemodelreg
1333 enable_winemenubuilder
1335 enable_winemsibuilder
1349 ac_precious_vars
='build_alias
1396 # Initialize some variables set by options.
1398 ac_init_version
=false
1399 ac_unrecognized_opts
=
1400 ac_unrecognized_sep
=
1401 # The variables have the same names as the options, with
1402 # dashes changed to underlines.
1403 cache_file
=/dev
/null
1410 program_transform_name
=s
,x
,x
,
1418 # Installation directory options.
1419 # These are left unexpanded so users can "make install exec_prefix=/foo"
1420 # and all the variables that are supposed to be based on exec_prefix
1421 # by default will actually change.
1422 # Use braces instead of parens because sh, perl, etc. also accept them.
1423 # (The list follows the same order as the GNU Coding Standards.)
1424 bindir
='${exec_prefix}/bin'
1425 sbindir
='${exec_prefix}/sbin'
1426 libexecdir
='${exec_prefix}/libexec'
1427 datarootdir
='${prefix}/share'
1428 datadir
='${datarootdir}'
1429 sysconfdir
='${prefix}/etc'
1430 sharedstatedir
='${prefix}/com'
1431 localstatedir
='${prefix}/var'
1432 includedir
='${prefix}/include'
1433 oldincludedir
='/usr/include'
1434 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1435 infodir
='${datarootdir}/info'
1440 libdir
='${exec_prefix}/lib'
1441 localedir
='${datarootdir}/locale'
1442 mandir
='${datarootdir}/man'
1448 # If the previous option needs an argument, assign it.
1449 if test -n "$ac_prev"; then
1450 eval $ac_prev=\
$ac_option
1456 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1461 # Accept the important Cygnus configure options, so we can diagnose typos.
1463 case $ac_dashdash$ac_option in
1467 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1469 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1470 bindir
=$ac_optarg ;;
1472 -build |
--build |
--buil |
--bui |
--bu)
1473 ac_prev
=build_alias
;;
1474 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1475 build_alias
=$ac_optarg ;;
1477 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1478 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1479 ac_prev
=cache_file
;;
1480 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1481 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1482 cache_file
=$ac_optarg ;;
1484 --config-cache |
-C)
1485 cache_file
=config.cache
;;
1487 -datadir |
--datadir |
--datadi |
--datad)
1489 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1490 datadir
=$ac_optarg ;;
1492 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1493 |
--dataroo |
--dataro |
--datar)
1494 ac_prev
=datarootdir
;;
1495 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1496 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1497 datarootdir
=$ac_optarg ;;
1499 -disable-* |
--disable-*)
1500 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1501 # Reject names that are not valid shell variable names.
1502 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1503 as_fn_error $?
"invalid feature name: $ac_useropt"
1504 ac_useropt_orig
=$ac_useropt
1505 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1506 case $ac_user_opts in
1508 "enable_
$ac_useropt"
1510 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1511 ac_unrecognized_sep
=', ';;
1513 eval enable_
$ac_useropt=no
;;
1515 -docdir |
--docdir |
--docdi |
--doc |
--do)
1517 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1518 docdir
=$ac_optarg ;;
1520 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1522 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1523 dvidir
=$ac_optarg ;;
1525 -enable-* |
--enable-*)
1526 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1527 # Reject names that are not valid shell variable names.
1528 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1529 as_fn_error $?
"invalid feature name: $ac_useropt"
1530 ac_useropt_orig
=$ac_useropt
1531 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1532 case $ac_user_opts in
1534 "enable_
$ac_useropt"
1536 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1537 ac_unrecognized_sep
=', ';;
1539 eval enable_
$ac_useropt=\
$ac_optarg ;;
1541 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1542 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1543 |
--exec |
--exe |
--ex)
1544 ac_prev
=exec_prefix
;;
1545 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1546 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1547 |
--exec=* |
--exe=* |
--ex=*)
1548 exec_prefix
=$ac_optarg ;;
1550 -gas |
--gas |
--ga |
--g)
1551 # Obsolete; use --with-gas.
1554 -help |
--help |
--hel |
--he |
-h)
1555 ac_init_help
=long
;;
1556 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1557 ac_init_help
=recursive
;;
1558 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1559 ac_init_help
=short
;;
1561 -host |
--host |
--hos |
--ho)
1562 ac_prev
=host_alias
;;
1563 -host=* |
--host=* |
--hos=* |
--ho=*)
1564 host_alias
=$ac_optarg ;;
1566 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1568 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1570 htmldir
=$ac_optarg ;;
1572 -includedir |
--includedir |
--includedi |
--included |
--include \
1573 |
--includ |
--inclu |
--incl |
--inc)
1574 ac_prev
=includedir
;;
1575 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1576 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1577 includedir
=$ac_optarg ;;
1579 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1581 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1582 infodir
=$ac_optarg ;;
1584 -libdir |
--libdir |
--libdi |
--libd)
1586 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1587 libdir
=$ac_optarg ;;
1589 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1590 |
--libexe |
--libex |
--libe)
1591 ac_prev
=libexecdir
;;
1592 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1593 |
--libexe=* |
--libex=* |
--libe=*)
1594 libexecdir
=$ac_optarg ;;
1596 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1597 ac_prev
=localedir
;;
1598 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1599 localedir
=$ac_optarg ;;
1601 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1602 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1603 ac_prev
=localstatedir
;;
1604 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1605 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1606 localstatedir
=$ac_optarg ;;
1608 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1610 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1611 mandir
=$ac_optarg ;;
1613 -nfp |
--nfp |
--nf)
1614 # Obsolete; use --without-fp.
1617 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1618 |
--no-cr |
--no-c |
-n)
1621 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1622 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1625 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1626 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1627 |
--oldin |
--oldi |
--old |
--ol |
--o)
1628 ac_prev
=oldincludedir
;;
1629 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1630 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1631 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1632 oldincludedir
=$ac_optarg ;;
1634 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1636 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1637 prefix
=$ac_optarg ;;
1639 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1640 |
--program-pre |
--program-pr |
--program-p)
1641 ac_prev
=program_prefix
;;
1642 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1643 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1644 program_prefix
=$ac_optarg ;;
1646 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1647 |
--program-suf |
--program-su |
--program-s)
1648 ac_prev
=program_suffix
;;
1649 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1650 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1651 program_suffix
=$ac_optarg ;;
1653 -program-transform-name |
--program-transform-name \
1654 |
--program-transform-nam |
--program-transform-na \
1655 |
--program-transform-n |
--program-transform- \
1656 |
--program-transform |
--program-transfor \
1657 |
--program-transfo |
--program-transf \
1658 |
--program-trans |
--program-tran \
1659 |
--progr-tra |
--program-tr |
--program-t)
1660 ac_prev
=program_transform_name
;;
1661 -program-transform-name=* |
--program-transform-name=* \
1662 |
--program-transform-nam=* |
--program-transform-na=* \
1663 |
--program-transform-n=* |
--program-transform-=* \
1664 |
--program-transform=* |
--program-transfor=* \
1665 |
--program-transfo=* |
--program-transf=* \
1666 |
--program-trans=* |
--program-tran=* \
1667 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1668 program_transform_name
=$ac_optarg ;;
1670 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1672 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1673 pdfdir
=$ac_optarg ;;
1675 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1677 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1680 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1681 |
-silent |
--silent |
--silen |
--sile |
--sil)
1684 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1686 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1688 sbindir
=$ac_optarg ;;
1690 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1691 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1692 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1694 ac_prev
=sharedstatedir
;;
1695 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1696 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1697 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1699 sharedstatedir
=$ac_optarg ;;
1701 -site |
--site |
--sit)
1703 -site=* |
--site=* |
--sit=*)
1706 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1708 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1709 srcdir
=$ac_optarg ;;
1711 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1712 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1713 ac_prev
=sysconfdir
;;
1714 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1715 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1716 sysconfdir
=$ac_optarg ;;
1718 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1719 ac_prev
=target_alias
;;
1720 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1721 target_alias
=$ac_optarg ;;
1723 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1726 -version |
--version |
--versio |
--versi |
--vers |
-V)
1727 ac_init_version
=: ;;
1730 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1731 # Reject names that are not valid shell variable names.
1732 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1733 as_fn_error $?
"invalid package name: $ac_useropt"
1734 ac_useropt_orig
=$ac_useropt
1735 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1736 case $ac_user_opts in
1740 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1741 ac_unrecognized_sep
=', ';;
1743 eval with_
$ac_useropt=\
$ac_optarg ;;
1745 -without-* |
--without-*)
1746 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1747 # Reject names that are not valid shell variable names.
1748 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1749 as_fn_error $?
"invalid package name: $ac_useropt"
1750 ac_useropt_orig
=$ac_useropt
1751 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1752 case $ac_user_opts in
1756 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1757 ac_unrecognized_sep
=', ';;
1759 eval with_
$ac_useropt=no
;;
1762 # Obsolete; use --with-x.
1765 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1766 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1767 ac_prev
=x_includes
;;
1768 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1769 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1770 x_includes
=$ac_optarg ;;
1772 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1773 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1774 ac_prev
=x_libraries
;;
1775 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1776 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1777 x_libraries
=$ac_optarg ;;
1779 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1780 Try \`$0 --help' for more information"
1784 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1785 # Reject names that are not valid shell variable names.
1786 case $ac_envvar in #(
1787 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1788 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1790 eval $ac_envvar=\
$ac_optarg
1791 export $ac_envvar ;;
1794 # FIXME: should be removed in autoconf 3.0.
1795 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1796 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1797 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1798 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1804 if test -n "$ac_prev"; then
1805 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1806 as_fn_error $?
"missing argument to $ac_option"
1809 if test -n "$ac_unrecognized_opts"; then
1810 case $enable_option_checking in
1812 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1813 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1817 # Check all directory arguments for consistency.
1818 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1819 datadir sysconfdir sharedstatedir localstatedir includedir \
1820 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1821 libdir localedir mandir
1823 eval ac_val
=\$
$ac_var
1824 # Remove trailing slashes.
1827 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1828 eval $ac_var=\
$ac_val;;
1830 # Be sure to have absolute directory names.
1832 [\\/$
]* | ?
:[\\/]* ) continue;;
1833 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1835 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1838 # There might be people who depend on the old broken behavior: `$host'
1839 # used to hold the argument of --host etc.
1840 # FIXME: To remove some day.
1843 target
=$target_alias
1845 # FIXME: To remove some day.
1846 if test "x$host_alias" != x
; then
1847 if test "x$build_alias" = x
; then
1848 cross_compiling
=maybe
1849 elif test "x$build_alias" != "x$host_alias"; then
1855 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1857 test "$silent" = yes && exec 6>/dev
/null
1860 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1861 ac_ls_di
=`ls -di .` &&
1862 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1863 as_fn_error $?
"working directory cannot be determined"
1864 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1865 as_fn_error $?
"pwd does not report name of working directory"
1868 # Find the source files, if location was not specified.
1869 if test -z "$srcdir"; then
1870 ac_srcdir_defaulted
=yes
1871 # Try the directory containing this script, then the parent directory.
1872 ac_confdir
=`$as_dirname -- "$as_myself" ||
1873 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1874 X"$as_myself" : 'X\(//\)[^/]' \| \
1875 X"$as_myself" : 'X\(//\)$' \| \
1876 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1877 $as_echo X"$as_myself" |
1878 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1896 if test ! -r "$srcdir/$ac_unique_file"; then
1900 ac_srcdir_defaulted
=no
1902 if test ! -r "$srcdir/$ac_unique_file"; then
1903 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1904 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1906 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1908 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1910 # When building in place, set srcdir=.
1911 if test "$ac_abs_confdir" = "$ac_pwd"; then
1914 # Remove unnecessary trailing slashes from srcdir.
1915 # Double slashes in file names in object file debugging info
1916 # mess up M-x gdb in Emacs.
1918 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1920 for ac_var
in $ac_precious_vars; do
1921 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1922 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1923 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1924 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1928 # Report the --help message.
1930 if test "$ac_init_help" = "long"; then
1931 # Omit some internal or obsolete options to make the list less imposing.
1932 # This message is too long to be a string in the A/UX 3.1 sh.
1934 \`configure' configures Wine 1.7.3 to adapt to many kinds of systems.
1936 Usage: $0 [OPTION]... [VAR=VALUE]...
1938 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1939 VAR=VALUE. See below for descriptions of some of the useful variables.
1941 Defaults for the options are specified in brackets.
1944 -h, --help display this help and exit
1945 --help=short display options specific to this package
1946 --help=recursive display the short help of all the included packages
1947 -V, --version display version information and exit
1948 -q, --quiet, --silent do not print \`checking ...' messages
1949 --cache-file=FILE cache test results in FILE [disabled]
1950 -C, --config-cache alias for \`--cache-file=config.cache'
1951 -n, --no-create do not create output files
1952 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1954 Installation directories:
1955 --prefix=PREFIX install architecture-independent files in PREFIX
1956 [$ac_default_prefix]
1957 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1960 By default, \`make install' will install all the files in
1961 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1962 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1963 for instance \`--prefix=\$HOME'.
1965 For better control, use the options below.
1967 Fine tuning of the installation directories:
1968 --bindir=DIR user executables [EPREFIX/bin]
1969 --sbindir=DIR system admin executables [EPREFIX/sbin]
1970 --libexecdir=DIR program executables [EPREFIX/libexec]
1971 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1972 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1973 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1974 --libdir=DIR object code libraries [EPREFIX/lib]
1975 --includedir=DIR C header files [PREFIX/include]
1976 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1977 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1978 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1979 --infodir=DIR info documentation [DATAROOTDIR/info]
1980 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1981 --mandir=DIR man documentation [DATAROOTDIR/man]
1982 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1983 --htmldir=DIR html documentation [DOCDIR]
1984 --dvidir=DIR dvi documentation [DOCDIR]
1985 --pdfdir=DIR pdf documentation [DOCDIR]
1986 --psdir=DIR ps documentation [DOCDIR]
1992 --x-includes=DIR X include files are
in DIR
1993 --x-libraries=DIR X library files are
in DIR
1996 --build=BUILD configure
for building on BUILD
[guessed
]
1997 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2001 if test -n "$ac_init_help"; then
2002 case $ac_init_help in
2003 short | recursive
) echo "Configuration of Wine 1.7.3:";;
2008 --disable-option-checking ignore unrecognized
--enable/--with options
2009 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2010 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2011 --disable-win16 do not include Win16 support
2012 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2014 --disable-tests do not build the regression tests
2015 --enable-maintainer-mode
2016 enable maintainer-specific build rules
2017 --disable-largefile omit support for large files
2020 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2021 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2022 --without-alsa do not use the Alsa sound support
2023 --without-capi do not use CAPI (ISDN support)
2024 --without-cms do not use CMS (color management support)
2025 --without-coreaudio do not use the CoreAudio sound support
2026 --without-cups do not use CUPS
2027 --without-curses do not use (n)curses
2028 --without-dbus do not use DBus (dynamic device support)
2029 --without-fontconfig do not use fontconfig
2030 --without-freetype do not use the FreeType library
2031 --without-gettext do not use gettext
2032 --with-gettextpo use the GetTextPO library to rebuild po files
2033 --without-gphoto do not use gphoto (Digital Camera support)
2034 --without-glu do not use the GLU library
2035 --without-gnutls do not use GnuTLS (schannel support)
2036 --without-gsm do not use libgsm (GSM 06.10 codec support)
2037 --without-gstreamer do not use GStreamer (codecs support)
2038 --without-hal do not use HAL (dynamic device support)
2039 --without-jpeg do not use JPEG
2040 --without-ldap do not use LDAP
2041 --without-mpg123 do not use the mpg123 library
2042 --without-openal do not use OpenAL
2043 --without-opencl do not use OpenCL
2044 --without-opengl do not use OpenGL
2045 --without-osmesa do not use the OSMesa library
2046 --without-oss do not use the OSS sound support
2047 --without-png do not use PNG
2048 --without-pthread do not use the pthread library
2049 --without-sane do not use SANE (scanner support)
2050 --without-tiff do not use TIFF
2051 --without-v4l do not use v4l1 (v4l support)
2052 --without-xcomposite do not use the Xcomposite extension
2053 --without-xcursor do not use the Xcursor extension
2054 --without-xinerama do not use Xinerama (multi-monitor support)
2055 --without-xinput do not use the Xinput extension
2056 --without-xinput2 do not use the Xinput 2 extension
2057 --without-xml do not use XML
2058 --without-xrandr do not use Xrandr (resolution changes)
2059 --without-xrender do not use the Xrender extension
2060 --without-xshape do not use the Xshape extension
2061 --without-xshm do not use XShm (shared memory extension)
2062 --without-xslt do not use XSLT
2063 --without-xxf86vm do not use XFree video mode extension
2064 --without-zlib do not use Zlib (data compression)
2065 --with-wine-tools=DIR use Wine tools from directory DIR
2066 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2067 --with-x use the X Window System
2069 Some influential environment variables:
2070 CC C compiler command
2071 CFLAGS C compiler flags
2072 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2073 nonstandard directory <lib dir>
2074 LIBS libraries to pass to the linker, e.g. -l<library>
2075 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2076 you have headers in a nonstandard directory <include dir>
2077 CXX C++ compiler command
2078 CXXFLAGS C++ compiler flags
2080 XMKMF Path to xmkmf, Makefile generator for X Window System
2081 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2082 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2083 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2084 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2085 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2086 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2087 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2088 HAL_LIBS Linker flags for hal, overriding pkg-config
2090 C compiler flags for gnutls, overriding pkg-config
2091 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2092 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2093 SANE_LIBS Linker flags for libsane, overriding pkg-config
2095 C compiler flags for libgphoto2, overriding pkg-config
2097 Linker flags for libgphoto2, overriding pkg-config
2099 C compiler flags for libgphoto2_port, overriding pkg-config
2101 Linker flags for libgphoto2_port, overriding pkg-config
2103 C compiler flags for lcms2, overriding pkg-config
2104 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2106 C compiler flags for freetype2, overriding pkg-config
2108 Linker flags for freetype2, overriding pkg-config
2110 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2112 Linker flags for gstreamer-app-0.10, overriding pkg-config
2114 C compiler flags for capi20, overriding pkg-config
2115 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2116 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2117 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2118 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2119 PNG_LIBS Linker flags for libpng, overriding pkg-config
2120 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2121 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2123 C compiler flags for libmpg123, overriding pkg-config
2124 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2126 Use these variables to override the choices made by `configure' or to
help
2127 it to
find libraries and programs with nonstandard names
/locations.
2129 Report bugs to
<wine-devel@winehq.org
>.
2130 Wine home page
: <http
://www.winehq.org
>.
2135 if test "$ac_init_help" = "recursive"; then
2136 # If there are subdirs, report their specific --help.
2137 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2138 test -d "$ac_dir" ||
2139 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2144 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2146 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2147 # A ".." for each directory in $ac_dir_suffix.
2148 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2149 case $ac_top_builddir_sub in
2150 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2151 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2154 ac_abs_top_builddir
=$ac_pwd
2155 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2156 # for backward compatibility:
2157 ac_top_builddir
=$ac_top_build_prefix
2160 .
) # We are building in place.
2162 ac_top_srcdir
=$ac_top_builddir_sub
2163 ac_abs_top_srcdir
=$ac_pwd ;;
2164 [\\/]* | ?
:[\\/]* ) # Absolute name.
2165 ac_srcdir
=$srcdir$ac_dir_suffix;
2166 ac_top_srcdir
=$srcdir
2167 ac_abs_top_srcdir
=$srcdir ;;
2169 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2170 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2171 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2173 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2175 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2176 # Check for guested configure.
2177 if test -f "$ac_srcdir/configure.gnu"; then
2179 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2180 elif test -f "$ac_srcdir/configure"; then
2182 $SHELL "$ac_srcdir/configure" --help=recursive
2184 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2186 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2190 test -n "$ac_init_help" && exit $ac_status
2191 if $ac_init_version; then
2193 Wine configure
1.7.3
2194 generated by GNU Autoconf
2.69
2196 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2197 This configure
script is free software
; the Free Software Foundation
2198 gives unlimited permission to copy
, distribute and modify it.
2203 ## ------------------------ ##
2204 ## Autoconf initialization. ##
2205 ## ------------------------ ##
2207 # ac_fn_c_try_compile LINENO
2208 # --------------------------
2209 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2210 ac_fn_c_try_compile
()
2212 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2213 rm -f conftest.
$ac_objext
2214 if { { ac_try
="$ac_compile"
2216 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2217 *) ac_try_echo=$ac_try;;
2219 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2220 $as_echo "$ac_try_echo"; } >&5
2221 (eval "$ac_compile") 2>conftest.err
2223 if test -s conftest.err; then
2224 grep -v '^ *+' conftest.err >conftest.er1
2225 cat conftest.er1 >&5
2226 mv -f conftest.er1 conftest.err
2228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2229 test $ac_status = 0; } && {
2230 test -z "$ac_c_werror_flag" ||
2231 test ! -s conftest.err
2232 } && test -s conftest.$ac_objext; then :
2235 $as_echo "$as_me: failed program was:" >&5
2236 sed 's/^/| /' conftest.$ac_ext >&5
2240 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2241 as_fn_set_status $ac_retval
2243 } # ac_fn_c_try_compile
2245 # ac_fn_cxx_try_compile LINENO
2246 # ----------------------------
2247 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2248 ac_fn_cxx_try_compile ()
2250 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2251 rm -f conftest.$ac_objext
2252 if { { ac_try="$ac_compile"
2254 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2255 *) ac_try_echo
=$ac_try;;
2257 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2258 $as_echo "$ac_try_echo"; } >&5
2259 (eval "$ac_compile") 2>conftest.err
2261 if test -s conftest.err
; then
2262 grep -v '^ *+' conftest.err
>conftest.er1
2263 cat conftest.er1
>&5
2264 mv -f conftest.er1 conftest.err
2266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2267 test $ac_status = 0; } && {
2268 test -z "$ac_cxx_werror_flag" ||
2269 test ! -s conftest.err
2270 } && test -s conftest.
$ac_objext; then :
2273 $as_echo "$as_me: failed program was:" >&5
2274 sed 's/^/| /' conftest.
$ac_ext >&5
2278 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2279 as_fn_set_status
$ac_retval
2281 } # ac_fn_cxx_try_compile
2283 # ac_fn_c_try_link LINENO
2284 # -----------------------
2285 # Try to link conftest.$ac_ext, and return whether this succeeded.
2288 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2289 rm -f conftest.
$ac_objext conftest
$ac_exeext
2290 if { { ac_try
="$ac_link"
2292 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2293 *) ac_try_echo=$ac_try;;
2295 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2296 $as_echo "$ac_try_echo"; } >&5
2297 (eval "$ac_link") 2>conftest.err
2299 if test -s conftest.err; then
2300 grep -v '^ *+' conftest.err >conftest.er1
2301 cat conftest.er1 >&5
2302 mv -f conftest.er1 conftest.err
2304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2305 test $ac_status = 0; } && {
2306 test -z "$ac_c_werror_flag" ||
2307 test ! -s conftest.err
2308 } && test -s conftest$ac_exeext && {
2309 test "$cross_compiling" = yes ||
2310 test -x conftest$ac_exeext
2314 $as_echo "$as_me: failed program was:" >&5
2315 sed 's/^/| /' conftest.$ac_ext >&5
2319 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2320 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2321 # interfere with the next link command; also delete a directory that is
2322 # left behind by Apple's compiler. We do this before executing the actions.
2323 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2324 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2325 as_fn_set_status $ac_retval
2327 } # ac_fn_c_try_link
2329 # ac_fn_c_try_cpp LINENO
2330 # ----------------------
2331 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2334 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2335 if { { ac_try="$ac_cpp conftest.$ac_ext"
2337 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2338 *) ac_try_echo
=$ac_try;;
2340 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2341 $as_echo "$ac_try_echo"; } >&5
2342 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2344 if test -s conftest.err
; then
2345 grep -v '^ *+' conftest.err
>conftest.er1
2346 cat conftest.er1
>&5
2347 mv -f conftest.er1 conftest.err
2349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2350 test $ac_status = 0; } > conftest.i
&& {
2351 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2352 test ! -s conftest.err
2356 $as_echo "$as_me: failed program was:" >&5
2357 sed 's/^/| /' conftest.
$ac_ext >&5
2361 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2362 as_fn_set_status
$ac_retval
2366 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2367 # -------------------------------------------------------
2368 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2369 # the include files in INCLUDES and setting the cache variable VAR
2371 ac_fn_c_check_header_mongrel
()
2373 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2374 if eval \
${$3+:} false
; then :
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2376 $as_echo_n "checking for $2... " >&6; }
2377 if eval \
${$3+:} false
; then :
2378 $as_echo_n "(cached) " >&6
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2382 $as_echo "$ac_res" >&6; }
2384 # Is the header compilable?
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2386 $as_echo_n "checking $2 usability... " >&6; }
2387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2388 /* end confdefs.h. */
2392 if ac_fn_c_try_compile
"$LINENO"; then :
2393 ac_header_compiler
=yes
2395 ac_header_compiler
=no
2397 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2399 $as_echo "$ac_header_compiler" >&6; }
2401 # Is the header present?
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2403 $as_echo_n "checking $2 presence... " >&6; }
2404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2405 /* end confdefs.h. */
2408 if ac_fn_c_try_cpp
"$LINENO"; then :
2409 ac_header_preproc
=yes
2411 ac_header_preproc
=no
2413 rm -f conftest.err conftest.i conftest.
$ac_ext
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2415 $as_echo "$ac_header_preproc" >&6; }
2417 # So? What about this header?
2418 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2421 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2423 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2427 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2429 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2431 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2433 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2435 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2436 ( $as_echo "## ------------------------------------ ##
2437 ## Report this to wine-devel@winehq.org ##
2438 ## ------------------------------------ ##"
2439 ) |
sed "s/^/$as_me: WARNING: /" >&2
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2443 $as_echo_n "checking for $2... " >&6; }
2444 if eval \
${$3+:} false
; then :
2445 $as_echo_n "(cached) " >&6
2447 eval "$3=\$ac_header_compiler"
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2451 $as_echo "$ac_res" >&6; }
2453 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2455 } # ac_fn_c_check_header_mongrel
2457 # ac_fn_c_try_run LINENO
2458 # ----------------------
2459 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2460 # that executables *can* be run.
2463 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2464 if { { ac_try
="$ac_link"
2466 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2467 *) ac_try_echo=$ac_try;;
2469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2470 $as_echo "$ac_try_echo"; } >&5
2471 (eval "$ac_link") 2>&5
2473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2474 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2475 { { case "(($ac_try" in
2476 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2477 *) ac_try_echo
=$ac_try;;
2479 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2480 $as_echo "$ac_try_echo"; } >&5
2481 (eval "$ac_try") 2>&5
2483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2484 test $ac_status = 0; }; }; then :
2487 $as_echo "$as_me: program exited with status $ac_status" >&5
2488 $as_echo "$as_me: failed program was:" >&5
2489 sed 's/^/| /' conftest.
$ac_ext >&5
2491 ac_retval
=$ac_status
2493 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2494 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2495 as_fn_set_status
$ac_retval
2499 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2500 # -------------------------------------------------------
2501 # Tests whether HEADER exists and can be compiled using the include files in
2502 # INCLUDES, setting the cache variable VAR accordingly.
2503 ac_fn_c_check_header_compile
()
2505 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2507 $as_echo_n "checking for $2... " >&6; }
2508 if eval \
${$3+:} false
; then :
2509 $as_echo_n "(cached) " >&6
2511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2512 /* end confdefs.h. */
2516 if ac_fn_c_try_compile
"$LINENO"; then :
2521 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2525 $as_echo "$ac_res" >&6; }
2526 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2528 } # ac_fn_c_check_header_compile
2530 # ac_fn_c_check_func LINENO FUNC VAR
2531 # ----------------------------------
2532 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2533 ac_fn_c_check_func
()
2535 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2537 $as_echo_n "checking for $2... " >&6; }
2538 if eval \
${$3+:} false
; then :
2539 $as_echo_n "(cached) " >&6
2541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2542 /* end confdefs.h. */
2543 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2545 #define $2 innocuous_$2
2547 /* System header to define __stub macros and hopefully few prototypes,
2548 which can conflict with char $2 (); below.
2549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2550 <limits.h> exists even on freestanding compilers. */
2553 # include <limits.h>
2555 # include <assert.h>
2560 /* Override any GCC internal prototype to avoid an error.
2561 Use char because int might match the return type of a GCC
2562 builtin and then its argument prototype would still apply. */
2567 /* The GNU C library defines this for functions which it implements
2568 to always fail with ENOSYS. Some functions are actually named
2569 something starting with __ and the normal name is an alias. */
2570 #if defined __stub_$2 || defined __stub___$2
2582 if ac_fn_c_try_link
"$LINENO"; then :
2587 rm -f core conftest.err conftest.
$ac_objext \
2588 conftest
$ac_exeext conftest.
$ac_ext
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2592 $as_echo "$ac_res" >&6; }
2593 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2595 } # ac_fn_c_check_func
2597 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2598 # ----------------------------------------------------
2599 # Tries to find if the field MEMBER exists in type AGGR, after including
2600 # INCLUDES, setting cache variable VAR accordingly.
2601 ac_fn_c_check_member
()
2603 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2605 $as_echo_n "checking for $2.$3... " >&6; }
2606 if eval \
${$4+:} false
; then :
2607 $as_echo_n "(cached) " >&6
2609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2610 /* end confdefs.h. */
2622 if ac_fn_c_try_compile
"$LINENO"; then :
2625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2626 /* end confdefs.h. */
2632 if (sizeof ac_aggr.$3)
2638 if ac_fn_c_try_compile
"$LINENO"; then :
2643 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2645 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2649 $as_echo "$ac_res" >&6; }
2650 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2652 } # ac_fn_c_check_member
2654 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2655 # -------------------------------------------
2656 # Tests whether TYPE exists after having included INCLUDES, setting cache
2657 # variable VAR accordingly.
2658 ac_fn_c_check_type
()
2660 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2662 $as_echo_n "checking for $2... " >&6; }
2663 if eval \
${$3+:} false
; then :
2664 $as_echo_n "(cached) " >&6
2667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2668 /* end confdefs.h. */
2679 if ac_fn_c_try_compile
"$LINENO"; then :
2680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2681 /* end confdefs.h. */
2692 if ac_fn_c_try_compile
"$LINENO"; then :
2697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2703 $as_echo "$ac_res" >&6; }
2704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2706 } # ac_fn_c_check_type
2707 cat >config.log
<<_ACEOF
2708 This file contains any messages produced by compilers while
2709 running configure, to aid debugging if configure makes a mistake.
2711 It was created by Wine $as_me 1.7.3, which was
2712 generated by GNU Autoconf 2.69. Invocation command line was
2724 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2725 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2726 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2727 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2728 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2730 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2731 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2733 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2734 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2735 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2736 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2737 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2738 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2739 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2747 test -z "$as_dir" && as_dir
=.
2748 $as_echo "PATH: $as_dir"
2764 # Keep a trace of the command line.
2765 # Strip out --no-create and --no-recursion so they do not pile up.
2766 # Strip out --silent because we don't want to record it for future runs.
2767 # Also quote any args containing shell meta-characters.
2768 # Make two passes to allow for proper duplicate-argument suppression.
2772 ac_must_keep_next
=false
2778 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2779 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2780 |
-silent |
--silent |
--silen |
--sile |
--sil)
2783 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2786 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2788 as_fn_append ac_configure_args1
" '$ac_arg'"
2789 if test $ac_must_keep_next = true
; then
2790 ac_must_keep_next
=false
# Got value, back to normal.
2793 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2794 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2795 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2796 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2797 case "$ac_configure_args0 " in
2798 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2801 -* ) ac_must_keep_next
=true
;;
2804 as_fn_append ac_configure_args
" '$ac_arg'"
2809 { ac_configure_args0
=; unset ac_configure_args0
;}
2810 { ac_configure_args1
=; unset ac_configure_args1
;}
2812 # When interrupted or exit'd, cleanup temporary files, and complete
2813 # config.log. We remove comments because anyway the quotes in there
2814 # would cause problems or look ugly.
2815 # WARNING: Use '\'' to represent an apostrophe within the trap.
2816 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2817 trap 'exit_status=$?
2818 # Save into config.log some information that might help in debugging.
2822 $as_echo "## ---------------- ##
2823 ## Cache variables. ##
2824 ## ---------------- ##"
2826 # The following way of writing the cache mishandles newlines in values,
2828 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2829 eval ac_val=\$$ac_var
2833 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2834 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2837 _ | IFS | as_nl) ;; #(
2838 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2839 *) { eval $ac_var=; unset $ac_var;} ;;
2844 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2845 *${as_nl}ac_space=\ *)
2847 "s/'\''/'\''\\\\'\'''\''/g;
2848 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2851 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2858 $as_echo "## ----------------- ##
2859 ## Output variables. ##
2860 ## ----------------- ##"
2862 for ac_var in $ac_subst_vars
2864 eval ac_val=\$$ac_var
2866 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2868 $as_echo "$ac_var='\''$ac_val'\''"
2872 if test -n "$ac_subst_files"; then
2873 $as_echo "## ------------------- ##
2874 ## File substitutions. ##
2875 ## ------------------- ##"
2877 for ac_var
in $ac_subst_files
2879 eval ac_val
=\$
$ac_var
2881 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2883 $as_echo "$ac_var='\''$ac_val'\''"
2888 if test -s confdefs.h; then
2889 $as_echo "## ----------- ##
2896 test "$ac_signal" != 0 &&
2897 $as_echo "$as_me: caught signal $ac_signal"
2898 $as_echo "$as_me: exit $exit_status"
2900 rm -f core *.core core.conftest.* &&
2901 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2904 for ac_signal
in 1 2 13 15; do
2905 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2909 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2910 rm -f -r conftest
* confdefs.h
2912 $as_echo "/* confdefs.h */" > confdefs.h
2914 # Predefined preprocessor variables.
2916 cat >>confdefs.h
<<_ACEOF
2917 #define PACKAGE_NAME "$PACKAGE_NAME"
2920 cat >>confdefs.h
<<_ACEOF
2921 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2924 cat >>confdefs.h
<<_ACEOF
2925 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2928 cat >>confdefs.h
<<_ACEOF
2929 #define PACKAGE_STRING "$PACKAGE_STRING"
2932 cat >>confdefs.h
<<_ACEOF
2933 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2936 cat >>confdefs.h
<<_ACEOF
2937 #define PACKAGE_URL "$PACKAGE_URL"
2941 # Let the site file select an alternate cache file if it wants to.
2942 # Prefer an explicitly selected file to automatically selected ones.
2945 if test -n "$CONFIG_SITE"; then
2946 # We do not want a PATH search for config.site.
2947 case $CONFIG_SITE in #((
2948 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2949 */*) ac_site_file1
=$CONFIG_SITE;;
2950 *) ac_site_file1
=.
/$CONFIG_SITE;;
2952 elif test "x$prefix" != xNONE
; then
2953 ac_site_file1
=$prefix/share
/config.site
2954 ac_site_file2
=$prefix/etc
/config.site
2956 ac_site_file1
=$ac_default_prefix/share
/config.site
2957 ac_site_file2
=$ac_default_prefix/etc
/config.site
2959 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2961 test "x$ac_site_file" = xNONE
&& continue
2962 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2964 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2965 sed 's/^/| /' "$ac_site_file" >&5
2967 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2969 as_fn_error $?
"failed to load site script $ac_site_file
2970 See \`config.log' for more details" "$LINENO" 5; }
2974 if test -r "$cache_file"; then
2975 # Some versions of bash will fail to source /dev/null (special files
2976 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2977 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2979 $as_echo "$as_me: loading cache $cache_file" >&6;}
2981 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2982 *) .
"./$cache_file";;
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2987 $as_echo "$as_me: creating cache $cache_file" >&6;}
2991 # Check that the precious variables saved in the cache have kept the same
2993 ac_cache_corrupted
=false
2994 for ac_var
in $ac_precious_vars; do
2995 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2996 eval ac_new_set
=\
$ac_env_${ac_var}_set
2997 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2998 eval ac_new_val
=\
$ac_env_${ac_var}_value
2999 case $ac_old_set,$ac_new_set in
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3002 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3003 ac_cache_corrupted
=: ;;
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3006 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3007 ac_cache_corrupted
=: ;;
3010 if test "x$ac_old_val" != "x$ac_new_val"; then
3011 # differences in whitespace do not lead to failure.
3012 ac_old_val_w
=`echo x $ac_old_val`
3013 ac_new_val_w
=`echo x $ac_new_val`
3014 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3016 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3017 ac_cache_corrupted
=:
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3020 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3021 eval $ac_var=\
$ac_old_val
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3024 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3026 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3029 # Pass precious variables to config.status.
3030 if test "$ac_new_set" = set; then
3032 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3033 *) ac_arg
=$ac_var=$ac_new_val ;;
3035 case " $ac_configure_args " in
3036 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3037 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3041 if $ac_cache_corrupted; then
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3045 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3046 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3048 ## -------------------- ##
3049 ## Main body of script. ##
3050 ## -------------------- ##
3053 ac_cpp
='$CPP $CPPFLAGS'
3054 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3055 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3056 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3060 ac_config_headers
="$ac_config_headers include/config.h"
3063 for ac_dir
in tools
"$srcdir"/tools
; do
3064 if test -f "$ac_dir/install-sh"; then
3066 ac_install_sh
="$ac_aux_dir/install-sh -c"
3068 elif test -f "$ac_dir/install.sh"; then
3070 ac_install_sh
="$ac_aux_dir/install.sh -c"
3072 elif test -f "$ac_dir/shtool"; then
3074 ac_install_sh
="$ac_aux_dir/shtool install -c"
3078 if test -z "$ac_aux_dir"; then
3079 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3082 # These three variables are undocumented and unsupported,
3083 # and are intended to be withdrawn in a future Autoconf release.
3084 # They can cause serious problems if a builder's source tree is in a directory
3085 # whose full name contains unusual characters.
3086 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3087 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3088 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3094 # Check whether --enable-win16 was given.
3095 if test "${enable_win16+set}" = set; then :
3096 enableval
=$enable_win16;
3099 # Check whether --enable-win64 was given.
3100 if test "${enable_win64+set}" = set; then :
3101 enableval
=$enable_win64;
3104 # Check whether --enable-tests was given.
3105 if test "${enable_tests+set}" = set; then :
3106 enableval
=$enable_tests;
3109 # Check whether --enable-maintainer-mode was given.
3110 if test "${enable_maintainer_mode+set}" = set; then :
3111 enableval
=$enable_maintainer_mode;
3116 # Check whether --with-alsa was given.
3117 if test "${with_alsa+set}" = set; then :
3118 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3122 # Check whether --with-capi was given.
3123 if test "${with_capi+set}" = set; then :
3128 # Check whether --with-cms was given.
3129 if test "${with_cms+set}" = set; then :
3134 # Check whether --with-coreaudio was given.
3135 if test "${with_coreaudio+set}" = set; then :
3136 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3140 # Check whether --with-cups was given.
3141 if test "${with_cups+set}" = set; then :
3146 # Check whether --with-curses was given.
3147 if test "${with_curses+set}" = set; then :
3148 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3152 # Check whether --with-dbus was given.
3153 if test "${with_dbus+set}" = set; then :
3158 # Check whether --with-fontconfig was given.
3159 if test "${with_fontconfig+set}" = set; then :
3160 withval
=$with_fontconfig;
3164 # Check whether --with-freetype was given.
3165 if test "${with_freetype+set}" = set; then :
3166 withval
=$with_freetype;
3170 # Check whether --with-gettext was given.
3171 if test "${with_gettext+set}" = set; then :
3172 withval
=$with_gettext;
3176 # Check whether --with-gettextpo was given.
3177 if test "${with_gettextpo+set}" = set; then :
3178 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3182 # Check whether --with-gphoto was given.
3183 if test "${with_gphoto+set}" = set; then :
3184 withval
=$with_gphoto;
3188 # Check whether --with-glu was given.
3189 if test "${with_glu+set}" = set; then :
3194 # Check whether --with-gnutls was given.
3195 if test "${with_gnutls+set}" = set; then :
3196 withval
=$with_gnutls;
3200 # Check whether --with-gsm was given.
3201 if test "${with_gsm+set}" = set; then :
3202 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3206 # Check whether --with-gstreamer was given.
3207 if test "${with_gstreamer+set}" = set; then :
3208 withval
=$with_gstreamer;
3212 # Check whether --with-hal was given.
3213 if test "${with_hal+set}" = set; then :
3218 # Check whether --with-jpeg was given.
3219 if test "${with_jpeg+set}" = set; then :
3224 # Check whether --with-ldap was given.
3225 if test "${with_ldap+set}" = set; then :
3226 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3230 # Check whether --with-mpg123 was given.
3231 if test "${with_mpg123+set}" = set; then :
3232 withval
=$with_mpg123;
3236 # Check whether --with-openal was given.
3237 if test "${with_openal+set}" = set; then :
3238 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3242 # Check whether --with-opencl was given.
3243 if test "${with_opencl+set}" = set; then :
3244 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3248 # Check whether --with-opengl was given.
3249 if test "${with_opengl+set}" = set; then :
3250 withval
=$with_opengl;
3254 # Check whether --with-osmesa was given.
3255 if test "${with_osmesa+set}" = set; then :
3256 withval
=$with_osmesa;
3260 # Check whether --with-oss was given.
3261 if test "${with_oss+set}" = set; then :
3266 # Check whether --with-png was given.
3267 if test "${with_png+set}" = set; then :
3272 # Check whether --with-pthread was given.
3273 if test "${with_pthread+set}" = set; then :
3274 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3278 # Check whether --with-sane was given.
3279 if test "${with_sane+set}" = set; then :
3284 # Check whether --with-tiff was given.
3285 if test "${with_tiff+set}" = set; then :
3290 # Check whether --with-v4l was given.
3291 if test "${with_v4l+set}" = set; then :
3296 # Check whether --with-xcomposite was given.
3297 if test "${with_xcomposite+set}" = set; then :
3298 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3302 # Check whether --with-xcursor was given.
3303 if test "${with_xcursor+set}" = set; then :
3304 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3308 # Check whether --with-xinerama was given.
3309 if test "${with_xinerama+set}" = set; then :
3310 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3314 # Check whether --with-xinput was given.
3315 if test "${with_xinput+set}" = set; then :
3316 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3320 # Check whether --with-xinput2 was given.
3321 if test "${with_xinput2+set}" = set; then :
3322 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3326 # Check whether --with-xml was given.
3327 if test "${with_xml+set}" = set; then :
3332 # Check whether --with-xrandr was given.
3333 if test "${with_xrandr+set}" = set; then :
3334 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3338 # Check whether --with-xrender was given.
3339 if test "${with_xrender+set}" = set; then :
3340 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3344 # Check whether --with-xshape was given.
3345 if test "${with_xshape+set}" = set; then :
3346 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3350 # Check whether --with-xshm was given.
3351 if test "${with_xshm+set}" = set; then :
3352 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3356 # Check whether --with-xslt was given.
3357 if test "${with_xslt+set}" = set; then :
3362 # Check whether --with-xxf86vm was given.
3363 if test "${with_xxf86vm+set}" = set; then :
3364 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
3368 # Check whether --with-zlib was given.
3369 if test "${with_zlib+set}" = set; then :
3370 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3375 # Check whether --with-wine-tools was given.
3376 if test "${with_wine_tools+set}" = set; then :
3377 withval
=$with_wine_tools;
3381 # Check whether --with-wine64 was given.
3382 if test "${with_wine64+set}" = set; then :
3383 withval
=$with_wine64;
3387 # Make sure we can run config.sub.
3388 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3389 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3392 $as_echo_n "checking build system type... " >&6; }
3393 if ${ac_cv_build+:} false
; then :
3394 $as_echo_n "(cached) " >&6
3396 ac_build_alias
=$build_alias
3397 test "x$ac_build_alias" = x
&&
3398 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3399 test "x$ac_build_alias" = x
&&
3400 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3401 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3402 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3406 $as_echo "$ac_cv_build" >&6; }
3407 case $ac_cv_build in
3409 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3412 ac_save_IFS
=$IFS; IFS
='-'
3418 # Remember, the first character of IFS is used to create $*,
3419 # except with old shells:
3422 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3426 $as_echo_n "checking host system type... " >&6; }
3427 if ${ac_cv_host+:} false
; then :
3428 $as_echo_n "(cached) " >&6
3430 if test "x$host_alias" = x
; then
3431 ac_cv_host
=$ac_cv_build
3433 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3434 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3439 $as_echo "$ac_cv_host" >&6; }
3442 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3445 ac_save_IFS
=$IFS; IFS
='-'
3451 # Remember, the first character of IFS is used to create $*,
3452 # except with old shells:
3455 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3461 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3462 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3463 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3469 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3471 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3472 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3473 $as_echo_n "(cached) " >&6
3475 cat >conftest.
make <<\_ACEOF
3478 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3480 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3481 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3483 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3485 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3489 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3491 $as_echo "yes" >&6; }
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3495 $as_echo "no" >&6; }
3496 SET_MAKE
="MAKE=${MAKE-make}"
3500 ac_cpp
='$CPP $CPPFLAGS'
3501 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3502 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3503 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3504 if test -n "$ac_tool_prefix"; then
3505 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3506 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3508 $as_echo_n "checking for $ac_word... " >&6; }
3509 if ${ac_cv_prog_CC+:} false
; then :
3510 $as_echo_n "(cached) " >&6
3512 if test -n "$CC"; then
3513 ac_cv_prog_CC
="$CC" # Let the user override the test.
3515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3519 test -z "$as_dir" && as_dir
=.
3520 for ac_exec_ext
in '' $ac_executable_extensions; do
3521 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3522 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3533 if test -n "$CC"; then
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3535 $as_echo "$CC" >&6; }
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3538 $as_echo "no" >&6; }
3543 if test -z "$ac_cv_prog_CC"; then
3545 # Extract the first word of "gcc", so it can be a program name with args.
3546 set dummy gcc
; ac_word
=$2
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3548 $as_echo_n "checking for $ac_word... " >&6; }
3549 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3550 $as_echo_n "(cached) " >&6
3552 if test -n "$ac_ct_CC"; then
3553 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3559 test -z "$as_dir" && as_dir
=.
3560 for ac_exec_ext
in '' $ac_executable_extensions; do
3561 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3562 ac_cv_prog_ac_ct_CC
="gcc"
3563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3572 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3573 if test -n "$ac_ct_CC"; then
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3575 $as_echo "$ac_ct_CC" >&6; }
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3578 $as_echo "no" >&6; }
3581 if test "x$ac_ct_CC" = x
; then
3584 case $cross_compiling:$ac_tool_warned in
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3587 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3588 ac_tool_warned
=yes ;;
3596 if test -z "$CC"; then
3597 if test -n "$ac_tool_prefix"; then
3598 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3599 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3601 $as_echo_n "checking for $ac_word... " >&6; }
3602 if ${ac_cv_prog_CC+:} false
; then :
3603 $as_echo_n "(cached) " >&6
3605 if test -n "$CC"; then
3606 ac_cv_prog_CC
="$CC" # Let the user override the test.
3608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3612 test -z "$as_dir" && as_dir
=.
3613 for ac_exec_ext
in '' $ac_executable_extensions; do
3614 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3615 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3626 if test -n "$CC"; then
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3628 $as_echo "$CC" >&6; }
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3631 $as_echo "no" >&6; }
3637 if test -z "$CC"; then
3638 # Extract the first word of "cc", so it can be a program name with args.
3639 set dummy cc
; ac_word
=$2
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3641 $as_echo_n "checking for $ac_word... " >&6; }
3642 if ${ac_cv_prog_CC+:} false
; then :
3643 $as_echo_n "(cached) " >&6
3645 if test -n "$CC"; then
3646 ac_cv_prog_CC
="$CC" # Let the user override the test.
3649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3653 test -z "$as_dir" && as_dir
=.
3654 for ac_exec_ext
in '' $ac_executable_extensions; do
3655 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3656 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3657 ac_prog_rejected
=yes
3661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3668 if test $ac_prog_rejected = yes; then
3669 # We found a bogon in the path, so make sure we never use it.
3670 set dummy
$ac_cv_prog_CC
3672 if test $# != 0; then
3673 # We chose a different compiler from the bogus one.
3674 # However, it has the same basename, so the bogon will be chosen
3675 # first if we set CC to just the basename; use the full file name.
3677 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3683 if test -n "$CC"; then
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3685 $as_echo "$CC" >&6; }
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3688 $as_echo "no" >&6; }
3693 if test -z "$CC"; then
3694 if test -n "$ac_tool_prefix"; then
3695 for ac_prog
in cl.exe
3697 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3698 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3700 $as_echo_n "checking for $ac_word... " >&6; }
3701 if ${ac_cv_prog_CC+:} false
; then :
3702 $as_echo_n "(cached) " >&6
3704 if test -n "$CC"; then
3705 ac_cv_prog_CC
="$CC" # Let the user override the test.
3707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3711 test -z "$as_dir" && as_dir
=.
3712 for ac_exec_ext
in '' $ac_executable_extensions; do
3713 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3714 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3725 if test -n "$CC"; then
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3727 $as_echo "$CC" >&6; }
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3730 $as_echo "no" >&6; }
3734 test -n "$CC" && break
3737 if test -z "$CC"; then
3739 for ac_prog
in cl.exe
3741 # Extract the first word of "$ac_prog", so it can be a program name with args.
3742 set dummy
$ac_prog; ac_word
=$2
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3744 $as_echo_n "checking for $ac_word... " >&6; }
3745 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3746 $as_echo_n "(cached) " >&6
3748 if test -n "$ac_ct_CC"; then
3749 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3755 test -z "$as_dir" && as_dir
=.
3756 for ac_exec_ext
in '' $ac_executable_extensions; do
3757 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3758 ac_cv_prog_ac_ct_CC
="$ac_prog"
3759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3768 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3769 if test -n "$ac_ct_CC"; then
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3771 $as_echo "$ac_ct_CC" >&6; }
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3774 $as_echo "no" >&6; }
3778 test -n "$ac_ct_CC" && break
3781 if test "x$ac_ct_CC" = x
; then
3784 case $cross_compiling:$ac_tool_warned in
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3787 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3788 ac_tool_warned
=yes ;;
3797 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3798 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3799 as_fn_error $?
"no acceptable C compiler found in \$PATH
3800 See \`config.log' for more details" "$LINENO" 5; }
3802 # Provide some information about the compiler.
3803 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3806 for ac_option
in --version -v -V -qversion; do
3807 { { ac_try
="$ac_compiler $ac_option >&5"
3809 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3810 *) ac_try_echo=$ac_try;;
3812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3813 $as_echo "$ac_try_echo"; } >&5
3814 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3816 if test -s conftest.err; then
3818 ... rest of stderr output deleted ...
3819 10q' conftest.err >conftest.er1
3820 cat conftest.er1 >&5
3822 rm -f conftest.er1 conftest.err
3823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3824 test $ac_status = 0; }
3827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3828 /* end confdefs.h. */
3838 ac_clean_files_save=$ac_clean_files
3839 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3840 # Try to create an executable without -o first, disregard a.out.
3841 # It will help us diagnose broken compilers, and finding out an intuition
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3844 $as_echo_n "checking whether the C compiler works... " >&6; }
3845 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3847 # The possible output files:
3848 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3851 for ac_file in $ac_files
3854 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3855 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3860 if { { ac_try="$ac_link_default"
3862 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3863 *) ac_try_echo
=$ac_try;;
3865 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3866 $as_echo "$ac_try_echo"; } >&5
3867 (eval "$ac_link_default") 2>&5
3869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3870 test $ac_status = 0; }; then :
3871 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3872 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3873 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3874 # so that the user can short-circuit this test for compilers unknown to
3876 for ac_file
in $ac_files ''
3878 test -f "$ac_file" ||
continue
3880 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3883 # We found the default executable, but exeext='' is most
3887 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3889 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3891 # We set ac_cv_exeext here because the later test for it is not
3892 # safe: cross compilers may not add the suffix if given an `-o'
3893 # argument, so we may need to know it at that point already.
3894 # Even if this section looks crufty: it has the advantage of
3901 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3906 if test -z "$ac_file"; then :
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3908 $as_echo "no" >&6; }
3909 $as_echo "$as_me: failed program was:" >&5
3910 sed 's/^/| /' conftest.
$ac_ext >&5
3912 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3913 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3914 as_fn_error
77 "C compiler cannot create executables
3915 See \`config.log' for more details" "$LINENO" 5; }
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3918 $as_echo "yes" >&6; }
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3921 $as_echo_n "checking for C compiler default output file name... " >&6; }
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3923 $as_echo "$ac_file" >&6; }
3924 ac_exeext
=$ac_cv_exeext
3926 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3927 ac_clean_files
=$ac_clean_files_save
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3929 $as_echo_n "checking for suffix of executables... " >&6; }
3930 if { { ac_try
="$ac_link"
3932 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3933 *) ac_try_echo=$ac_try;;
3935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3936 $as_echo "$ac_try_echo"; } >&5
3937 (eval "$ac_link") 2>&5
3939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3940 test $ac_status = 0; }; then :
3941 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3942 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3943 # work properly (i.e., refer to `conftest.exe'), while it won't with
3945 for ac_file
in conftest.exe conftest conftest.
*; do
3946 test -f "$ac_file" ||
continue
3948 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3949 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3955 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3956 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3957 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3958 See \`config.log' for more details" "$LINENO" 5; }
3960 rm -f conftest conftest
$ac_cv_exeext
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3962 $as_echo "$ac_cv_exeext" >&6; }
3964 rm -f conftest.
$ac_ext
3965 EXEEXT
=$ac_cv_exeext
3967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3968 /* end confdefs.h. */
3973 FILE *f = fopen ("conftest.out", "w");
3974 return ferror (f) || fclose (f) != 0;
3980 ac_clean_files
="$ac_clean_files conftest.out"
3981 # Check that the compiler produces executables we can run. If not, either
3982 # the compiler is broken, or we cross compile.
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3984 $as_echo_n "checking whether we are cross compiling... " >&6; }
3985 if test "$cross_compiling" != yes; then
3986 { { ac_try
="$ac_link"
3988 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3989 *) ac_try_echo=$ac_try;;
3991 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3992 $as_echo "$ac_try_echo"; } >&5
3993 (eval "$ac_link") 2>&5
3995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3996 test $ac_status = 0; }
3997 if { ac_try='./conftest$ac_cv_exeext'
3998 { { case "(($ac_try" in
3999 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4000 *) ac_try_echo
=$ac_try;;
4002 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4003 $as_echo "$ac_try_echo"; } >&5
4004 (eval "$ac_try") 2>&5
4006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4007 test $ac_status = 0; }; }; then
4010 if test "$cross_compiling" = maybe
; then
4013 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4015 as_fn_error $?
"cannot run C compiled programs.
4016 If you meant to cross compile, use \`--host'.
4017 See \`config.log' for more details" "$LINENO" 5; }
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4022 $as_echo "$cross_compiling" >&6; }
4024 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4025 ac_clean_files
=$ac_clean_files_save
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4027 $as_echo_n "checking for suffix of object files... " >&6; }
4028 if ${ac_cv_objext+:} false
; then :
4029 $as_echo_n "(cached) " >&6
4031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4032 /* end confdefs.h. */
4042 rm -f conftest.o conftest.obj
4043 if { { ac_try
="$ac_compile"
4045 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4046 *) ac_try_echo=$ac_try;;
4048 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4049 $as_echo "$ac_try_echo"; } >&5
4050 (eval "$ac_compile") 2>&5
4052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4053 test $ac_status = 0; }; then :
4054 for ac_file in conftest.o conftest.obj conftest.*; do
4055 test -f "$ac_file" || continue;
4057 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4058 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4063 $as_echo "$as_me: failed program was:" >&5
4064 sed 's/^/| /' conftest.$ac_ext >&5
4066 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4068 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4069 See \
`config.log' for more details" "$LINENO" 5; }
4071 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4074 $as_echo "$ac_cv_objext" >&6; }
4075 OBJEXT=$ac_cv_objext
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4078 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4079 if ${ac_cv_c_compiler_gnu+:} false; then :
4080 $as_echo_n "(cached) " >&6
4082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4083 /* end confdefs.h. */
4096 if ac_fn_c_try_compile "$LINENO"; then :
4101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4102 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4106 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4107 if test $ac_compiler_gnu = yes; then
4112 ac_test_CFLAGS=${CFLAGS+set}
4113 ac_save_CFLAGS=$CFLAGS
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4115 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4116 if ${ac_cv_prog_cc_g+:} false; then :
4117 $as_echo_n "(cached) " >&6
4119 ac_save_c_werror_flag=$ac_c_werror_flag
4120 ac_c_werror_flag=yes
4123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4124 /* end confdefs.h. */
4134 if ac_fn_c_try_compile "$LINENO"; then :
4138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h. */
4149 if ac_fn_c_try_compile "$LINENO"; then :
4152 ac_c_werror_flag=$ac_save_c_werror_flag
4154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4155 /* end confdefs.h. */
4165 if ac_fn_c_try_compile "$LINENO"; then :
4168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4173 ac_c_werror_flag=$ac_save_c_werror_flag
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4176 $as_echo "$ac_cv_prog_cc_g" >&6; }
4177 if test "$ac_test_CFLAGS" = set; then
4178 CFLAGS=$ac_save_CFLAGS
4179 elif test $ac_cv_prog_cc_g = yes; then
4180 if test "$GCC" = yes; then
4186 if test "$GCC" = yes; then
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4193 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4194 if ${ac_cv_prog_cc_c89+:} false; then :
4195 $as_echo_n "(cached) " >&6
4197 ac_cv_prog_cc_c89=no
4199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4200 /* end confdefs.h. */
4204 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4205 struct buf { int x; };
4206 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4207 static char *e (p, i)
4213 static char *f (char * (*g) (char **, int), char **p, ...)
4218 s = g (p, va_arg (v,int));
4223 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4224 function prototypes and stuff, but not '\xHH' hex character constants.
4225 These don't provoke an error unfortunately, instead are silently treated
4226 as 'x'. The following induces an error, until -std is added to get
4227 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4228 array size at least. It's necessary to write '\x00'==0 to get something
4229 that's true only with -std. */
4230 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4232 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4233 inside strings and character constants. */
4235 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4237 int test (int i, double x);
4238 struct s1 {int (*f) (int a);};
4239 struct s2 {int (*f) (double a);};
4240 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4246 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4251 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4252 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4254 CC="$ac_save_CC $ac_arg"
4255 if ac_fn_c_try_compile "$LINENO"; then :
4256 ac_cv_prog_cc_c89=$ac_arg
4258 rm -f core conftest.err conftest.$ac_objext
4259 test "x$ac_cv_prog_cc_c89" != "xno" && break
4261 rm -f conftest.$ac_ext
4266 case "x$ac_cv_prog_cc_c89" in
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4269 $as_echo "none needed" >&6; } ;;
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4272 $as_echo "unsupported" >&6; } ;;
4274 CC="$CC $ac_cv_prog_cc_c89"
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4276 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4278 if test "x$ac_cv_prog_cc_c89" != xno; then :
4283 ac_cpp='$CPP $CPPFLAGS'
4284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4289 ac_cpp='$CXXCPP $CPPFLAGS'
4290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4293 if test -z "$CXX"; then
4294 if test -n "$CCC"; then
4297 if test -n "$ac_tool_prefix"; then
4298 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4300 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4301 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4303 $as_echo_n "checking for $ac_word... " >&6; }
4304 if ${ac_cv_prog_CXX+:} false; then :
4305 $as_echo_n "(cached) " >&6
4307 if test -n "$CXX"; then
4308 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4314 test -z "$as_dir" && as_dir=.
4315 for ac_exec_ext in '' $ac_executable_extensions; do
4316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4317 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4328 if test -n "$CXX"; then
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4330 $as_echo "$CXX" >&6; }
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4333 $as_echo "no" >&6; }
4337 test -n "$CXX" && break
4340 if test -z "$CXX"; then
4342 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4344 # Extract the first word of "$ac_prog", so it can be a program name with args.
4345 set dummy $ac_prog; ac_word=$2
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4347 $as_echo_n "checking for $ac_word... " >&6; }
4348 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4349 $as_echo_n "(cached) " >&6
4351 if test -n "$ac_ct_CXX"; then
4352 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4358 test -z "$as_dir" && as_dir=.
4359 for ac_exec_ext in '' $ac_executable_extensions; do
4360 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4361 ac_cv_prog_ac_ct_CXX="$ac_prog"
4362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4371 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4372 if test -n "$ac_ct_CXX"; then
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4374 $as_echo "$ac_ct_CXX" >&6; }
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4377 $as_echo "no" >&6; }
4381 test -n "$ac_ct_CXX" && break
4384 if test "x$ac_ct_CXX" = x; then
4387 case $cross_compiling:$ac_tool_warned in
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4390 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4391 ac_tool_warned=yes ;;
4399 # Provide some information about the compiler.
4400 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4403 for ac_option in --version -v -V -qversion; do
4404 { { ac_try="$ac_compiler $ac_option >&5"
4406 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4407 *) ac_try_echo
=$ac_try;;
4409 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4410 $as_echo "$ac_try_echo"; } >&5
4411 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4413 if test -s conftest.err
; then
4415 ... rest of stderr output deleted ...
4416 10q' conftest.err
>conftest.er1
4417 cat conftest.er1
>&5
4419 rm -f conftest.er1 conftest.err
4420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4421 test $ac_status = 0; }
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4425 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4426 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4427 $as_echo_n "(cached) " >&6
4429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4430 /* end confdefs.h. */
4443 if ac_fn_cxx_try_compile
"$LINENO"; then :
4448 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4449 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4453 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4454 if test $ac_compiler_gnu = yes; then
4459 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4460 ac_save_CXXFLAGS
=$CXXFLAGS
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4462 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4463 if ${ac_cv_prog_cxx_g+:} false
; then :
4464 $as_echo_n "(cached) " >&6
4466 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4467 ac_cxx_werror_flag
=yes
4470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4471 /* end confdefs.h. */
4481 if ac_fn_cxx_try_compile
"$LINENO"; then :
4482 ac_cv_prog_cxx_g
=yes
4485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4486 /* end confdefs.h. */
4496 if ac_fn_cxx_try_compile
"$LINENO"; then :
4499 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4502 /* end confdefs.h. */
4512 if ac_fn_cxx_try_compile
"$LINENO"; then :
4513 ac_cv_prog_cxx_g
=yes
4515 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4517 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4520 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4523 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4524 if test "$ac_test_CXXFLAGS" = set; then
4525 CXXFLAGS
=$ac_save_CXXFLAGS
4526 elif test $ac_cv_prog_cxx_g = yes; then
4527 if test "$GXX" = yes; then
4533 if test "$GXX" = yes; then
4540 ac_cpp
='$CPP $CPPFLAGS'
4541 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4542 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4543 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4545 if test -n "$ac_tool_prefix"; then
4546 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4547 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4549 $as_echo_n "checking for $ac_word... " >&6; }
4550 if ${ac_cv_prog_CPPBIN+:} false
; then :
4551 $as_echo_n "(cached) " >&6
4553 if test -n "$CPPBIN"; then
4554 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4560 test -z "$as_dir" && as_dir
=.
4561 for ac_exec_ext
in '' $ac_executable_extensions; do
4562 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4563 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4573 CPPBIN
=$ac_cv_prog_CPPBIN
4574 if test -n "$CPPBIN"; then
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4576 $as_echo "$CPPBIN" >&6; }
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4579 $as_echo "no" >&6; }
4584 if test -z "$ac_cv_prog_CPPBIN"; then
4585 ac_ct_CPPBIN
=$CPPBIN
4586 # Extract the first word of "cpp", so it can be a program name with args.
4587 set dummy cpp
; ac_word
=$2
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4589 $as_echo_n "checking for $ac_word... " >&6; }
4590 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4591 $as_echo_n "(cached) " >&6
4593 if test -n "$ac_ct_CPPBIN"; then
4594 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4600 test -z "$as_dir" && as_dir
=.
4601 for ac_exec_ext
in '' $ac_executable_extensions; do
4602 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4603 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4613 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4614 if test -n "$ac_ct_CPPBIN"; then
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4616 $as_echo "$ac_ct_CPPBIN" >&6; }
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4619 $as_echo "no" >&6; }
4622 if test "x$ac_ct_CPPBIN" = x
; then
4625 case $cross_compiling:$ac_tool_warned in
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4629 ac_tool_warned
=yes ;;
4631 CPPBIN
=$ac_ct_CPPBIN
4634 CPPBIN
="$ac_cv_prog_CPPBIN"
4638 cat >>confdefs.h
<<_ACEOF
4639 #define EXEEXT "$ac_exeext"
4645 if test "x$enable_win64" = "xyes"
4650 notice_platform
="64-bit "
4657 notice_platform
="32-bit "
4660 enable_win16
=${enable_win16:-yes}
4662 with_fontconfig
=${with_fontconfig:-no}
4665 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4670 $as_echo_n "checking whether $CC works... " >&6; }
4672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4673 /* end confdefs.h. */
4683 if ac_fn_c_try_link
"$LINENO"; then :
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4685 $as_echo "yes" >&6; }
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4688 $as_echo "no" >&6; }
4689 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4691 rm -f core conftest.err conftest.
$ac_objext \
4692 conftest
$ac_exeext conftest.
$ac_ext
4694 notice_platform
="32-bit "
4697 enable_win16
=${enable_win16:-yes}
4699 if test "x${GCC}" = "xyes"
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4702 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4704 /* end confdefs.h. */
4709 void func(__builtin_ms_va_list *args);
4714 if ac_fn_c_try_compile
"$LINENO"; then :
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4716 $as_echo "yes" >&6; }
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4719 $as_echo "no" >&6; }
4720 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4722 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4730 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4732 /* end confdefs.h. */
4733 int ac_test(int i) { return i; }
4737 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4742 if ac_fn_c_try_link
"$LINENO"; then :
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4744 $as_echo "yes" >&6; }
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4747 $as_echo "no" >&6; }
4748 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4750 rm -f core conftest.err conftest.
$ac_objext \
4751 conftest
$ac_exeext conftest.
$ac_ext
4752 CFLAGS
="$CFLAGS -marm"
4754 *-mingw32*|
*-cygwin*)
4755 enable_win16
=${enable_win16:-no}
4756 CFLAGS
="$CFLAGS -D_WIN32"
4759 enable_win16
=${enable_win16:-yes}
4763 enable_win16
=${enable_win16:-no}
4764 enable_win64
=${enable_win64:-no}
4766 enable_winetest
=${enable_winetest:-$enable_tests}
4768 if test -n "$with_wine64"
4770 if test "x$enable_win64" = "xyes"
4772 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4773 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4775 enable_fonts
=${enable_fonts:-no}
4776 enable_server
=${enable_server:-no}
4777 elif test "x$enable_win64" = "xyes"
4779 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4783 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4784 if ${wine_cv_toolsdir+:} false
; then :
4785 $as_echo_n "(cached) " >&6
4787 wine_cv_toolsdir
="$with_wine_tools"
4788 if test -z "$with_wine_tools"; then
4789 if test "$cross_compiling" = "yes"; then
4790 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4791 elif test -n "$with_wine64"; then
4792 wine_cv_toolsdir
="$with_wine64"
4795 if test -z "$wine_cv_toolsdir"; then
4796 wine_cv_toolsdir
="\$(top_builddir)"
4797 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4798 case "$wine_cv_toolsdir" in
4800 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4802 enable_tools
=${enable_tools:-no}
4804 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4808 $as_echo "$wine_cv_toolsdir" >&6; }
4809 TOOLSDIR
=$wine_cv_toolsdir
4811 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4813 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4819 # Extract the first word of "$ac_prog", so it can be a program name with args.
4820 set dummy
$ac_prog; ac_word
=$2
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4822 $as_echo_n "checking for $ac_word... " >&6; }
4823 if ${ac_cv_prog_FLEX+:} false
; then :
4824 $as_echo_n "(cached) " >&6
4826 if test -n "$FLEX"; then
4827 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4833 test -z "$as_dir" && as_dir
=.
4834 for ac_exec_ext
in '' $ac_executable_extensions; do
4835 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4836 ac_cv_prog_FLEX
="$ac_prog"
4837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4846 FLEX
=$ac_cv_prog_FLEX
4847 if test -n "$FLEX"; then
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4849 $as_echo "$FLEX" >&6; }
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4852 $as_echo "no" >&6; }
4856 test -n "$FLEX" && break
4858 test -n "$FLEX" || FLEX
="none"
4860 if test "$FLEX" = "none"
4862 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4865 $as_echo_n "checking whether flex is recent enough... " >&6; }
4866 cat >conftest.l
<<EOF
4868 #include "prediluvian.h"
4872 if $FLEX -t conftest.l
>/dev
/null
2>&5
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4875 $as_echo "yes" >&6; }
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4878 $as_echo "no" >&6; }
4879 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4882 for ac_prog
in bison
4884 # Extract the first word of "$ac_prog", so it can be a program name with args.
4885 set dummy
$ac_prog; ac_word
=$2
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4887 $as_echo_n "checking for $ac_word... " >&6; }
4888 if ${ac_cv_prog_BISON+:} false
; then :
4889 $as_echo_n "(cached) " >&6
4891 if test -n "$BISON"; then
4892 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4898 test -z "$as_dir" && as_dir
=.
4899 for ac_exec_ext
in '' $ac_executable_extensions; do
4900 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4901 ac_cv_prog_BISON
="$ac_prog"
4902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4911 BISON
=$ac_cv_prog_BISON
4912 if test -n "$BISON"; then
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4914 $as_echo "$BISON" >&6; }
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4917 $as_echo "no" >&6; }
4921 test -n "$BISON" && break
4923 test -n "$BISON" || BISON
="none"
4925 if test "$BISON" = "none"
4927 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4930 if test -n "$ac_tool_prefix"; then
4931 for ac_prog
in ar gar
4933 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4934 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4936 $as_echo_n "checking for $ac_word... " >&6; }
4937 if ${ac_cv_prog_AR+:} false
; then :
4938 $as_echo_n "(cached) " >&6
4940 if test -n "$AR"; then
4941 ac_cv_prog_AR
="$AR" # Let the user override the test.
4943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4947 test -z "$as_dir" && as_dir
=.
4948 for ac_exec_ext
in '' $ac_executable_extensions; do
4949 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4950 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4961 if test -n "$AR"; then
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4963 $as_echo "$AR" >&6; }
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4966 $as_echo "no" >&6; }
4970 test -n "$AR" && break
4973 if test -z "$AR"; then
4975 for ac_prog
in ar gar
4977 # Extract the first word of "$ac_prog", so it can be a program name with args.
4978 set dummy
$ac_prog; ac_word
=$2
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4980 $as_echo_n "checking for $ac_word... " >&6; }
4981 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4982 $as_echo_n "(cached) " >&6
4984 if test -n "$ac_ct_AR"; then
4985 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4991 test -z "$as_dir" && as_dir
=.
4992 for ac_exec_ext
in '' $ac_executable_extensions; do
4993 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4994 ac_cv_prog_ac_ct_AR
="$ac_prog"
4995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5004 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5005 if test -n "$ac_ct_AR"; then
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5007 $as_echo "$ac_ct_AR" >&6; }
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5010 $as_echo "no" >&6; }
5014 test -n "$ac_ct_AR" && break
5017 if test "x$ac_ct_AR" = x
; then
5020 case $cross_compiling:$ac_tool_warned in
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5023 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5024 ac_tool_warned
=yes ;;
5030 if test -n "$ac_tool_prefix"; then
5031 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5032 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5034 $as_echo_n "checking for $ac_word... " >&6; }
5035 if ${ac_cv_prog_STRIP+:} false
; then :
5036 $as_echo_n "(cached) " >&6
5038 if test -n "$STRIP"; then
5039 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5045 test -z "$as_dir" && as_dir
=.
5046 for ac_exec_ext
in '' $ac_executable_extensions; do
5047 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5048 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5058 STRIP
=$ac_cv_prog_STRIP
5059 if test -n "$STRIP"; then
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5061 $as_echo "$STRIP" >&6; }
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5064 $as_echo "no" >&6; }
5069 if test -z "$ac_cv_prog_STRIP"; then
5071 # Extract the first word of "strip", so it can be a program name with args.
5072 set dummy strip
; ac_word
=$2
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5074 $as_echo_n "checking for $ac_word... " >&6; }
5075 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5076 $as_echo_n "(cached) " >&6
5078 if test -n "$ac_ct_STRIP"; then
5079 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5085 test -z "$as_dir" && as_dir
=.
5086 for ac_exec_ext
in '' $ac_executable_extensions; do
5087 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5088 ac_cv_prog_ac_ct_STRIP
="strip"
5089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5098 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5099 if test -n "$ac_ct_STRIP"; then
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5101 $as_echo "$ac_ct_STRIP" >&6; }
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5104 $as_echo "no" >&6; }
5107 if test "x$ac_ct_STRIP" = x
; then
5110 case $cross_compiling:$ac_tool_warned in
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5113 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5114 ac_tool_warned
=yes ;;
5119 STRIP
="$ac_cv_prog_STRIP"
5124 if test -n "$ac_tool_prefix"; then
5125 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5126 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5128 $as_echo_n "checking for $ac_word... " >&6; }
5129 if ${ac_cv_prog_RANLIB+:} false
; then :
5130 $as_echo_n "(cached) " >&6
5132 if test -n "$RANLIB"; then
5133 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5139 test -z "$as_dir" && as_dir
=.
5140 for ac_exec_ext
in '' $ac_executable_extensions; do
5141 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5142 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5152 RANLIB
=$ac_cv_prog_RANLIB
5153 if test -n "$RANLIB"; then
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5155 $as_echo "$RANLIB" >&6; }
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5158 $as_echo "no" >&6; }
5163 if test -z "$ac_cv_prog_RANLIB"; then
5164 ac_ct_RANLIB
=$RANLIB
5165 # Extract the first word of "ranlib", so it can be a program name with args.
5166 set dummy ranlib
; ac_word
=$2
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5168 $as_echo_n "checking for $ac_word... " >&6; }
5169 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5170 $as_echo_n "(cached) " >&6
5172 if test -n "$ac_ct_RANLIB"; then
5173 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5179 test -z "$as_dir" && as_dir
=.
5180 for ac_exec_ext
in '' $ac_executable_extensions; do
5181 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5182 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5192 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5193 if test -n "$ac_ct_RANLIB"; then
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5195 $as_echo "$ac_ct_RANLIB" >&6; }
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5198 $as_echo "no" >&6; }
5201 if test "x$ac_ct_RANLIB" = x
; then
5204 case $cross_compiling:$ac_tool_warned in
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5208 ac_tool_warned
=yes ;;
5210 RANLIB
=$ac_ct_RANLIB
5213 RANLIB
="$ac_cv_prog_RANLIB"
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5217 $as_echo_n "checking whether ln -s works... " >&6; }
5219 if test "$LN_S" = "ln -s"; then
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5221 $as_echo "yes" >&6; }
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5224 $as_echo "no, using $LN_S" >&6; }
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5228 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5229 if ${ac_cv_path_GREP+:} false
; then :
5230 $as_echo_n "(cached) " >&6
5232 if test -z "$GREP"; then
5233 ac_path_GREP_found
=false
5234 # Loop through the user's path and test for each of PROGNAME-LIST
5235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5236 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5239 test -z "$as_dir" && as_dir
=.
5240 for ac_prog
in grep ggrep
; do
5241 for ac_exec_ext
in '' $ac_executable_extensions; do
5242 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5243 as_fn_executable_p
"$ac_path_GREP" ||
continue
5244 # Check for GNU ac_path_GREP and select it if it is found.
5245 # Check for GNU $ac_path_GREP
5246 case `"$ac_path_GREP" --version 2>&1` in
5248 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5251 $as_echo_n 0123456789 >"conftest.in"
5254 cat "conftest.in" "conftest.in" >"conftest.tmp"
5255 mv "conftest.tmp" "conftest.in"
5256 cp "conftest.in" "conftest.nl"
5257 $as_echo 'GREP' >> "conftest.nl"
5258 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5259 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5260 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5261 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5262 # Best one so far, save it but keep looking for a better one
5263 ac_cv_path_GREP
="$ac_path_GREP"
5264 ac_path_GREP_max
=$ac_count
5266 # 10*(2^10) chars as input seems more than enough
5267 test $ac_count -gt 10 && break
5269 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5272 $ac_path_GREP_found && break 3
5277 if test -z "$ac_cv_path_GREP"; then
5278 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5281 ac_cv_path_GREP
=$GREP
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5286 $as_echo "$ac_cv_path_GREP" >&6; }
5287 GREP
="$ac_cv_path_GREP"
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5291 $as_echo_n "checking for egrep... " >&6; }
5292 if ${ac_cv_path_EGREP+:} false
; then :
5293 $as_echo_n "(cached) " >&6
5295 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5296 then ac_cv_path_EGREP
="$GREP -E"
5298 if test -z "$EGREP"; then
5299 ac_path_EGREP_found
=false
5300 # Loop through the user's path and test for each of PROGNAME-LIST
5301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5302 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5305 test -z "$as_dir" && as_dir
=.
5306 for ac_prog
in egrep; do
5307 for ac_exec_ext
in '' $ac_executable_extensions; do
5308 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5309 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5310 # Check for GNU ac_path_EGREP and select it if it is found.
5311 # Check for GNU $ac_path_EGREP
5312 case `"$ac_path_EGREP" --version 2>&1` in
5314 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5317 $as_echo_n 0123456789 >"conftest.in"
5320 cat "conftest.in" "conftest.in" >"conftest.tmp"
5321 mv "conftest.tmp" "conftest.in"
5322 cp "conftest.in" "conftest.nl"
5323 $as_echo 'EGREP' >> "conftest.nl"
5324 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5325 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5326 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5327 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5328 # Best one so far, save it but keep looking for a better one
5329 ac_cv_path_EGREP
="$ac_path_EGREP"
5330 ac_path_EGREP_max
=$ac_count
5332 # 10*(2^10) chars as input seems more than enough
5333 test $ac_count -gt 10 && break
5335 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5338 $ac_path_EGREP_found && break 3
5343 if test -z "$ac_cv_path_EGREP"; then
5344 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5347 ac_cv_path_EGREP
=$EGREP
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5353 $as_echo "$ac_cv_path_EGREP" >&6; }
5354 EGREP
="$ac_cv_path_EGREP"
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5358 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5359 if test -z "$MKDIR_P"; then
5360 if ${ac_cv_path_mkdir+:} false
; then :
5361 $as_echo_n "(cached) " >&6
5363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5364 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
5367 test -z "$as_dir" && as_dir
=.
5368 for ac_prog
in mkdir gmkdir
; do
5369 for ac_exec_ext
in '' $ac_executable_extensions; do
5370 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
5371 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5372 'mkdir (GNU coreutils) '* | \
5373 'mkdir (coreutils) '* | \
5374 'mkdir (fileutils) '4.1*)
5375 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
5385 test -d .
/--version && rmdir .
/--version
5386 if test "${ac_cv_path_mkdir+set}" = set; then
5387 MKDIR_P
="$ac_cv_path_mkdir -p"
5389 # As a last resort, use the slow shell script. Don't cache a
5390 # value for MKDIR_P within a source directory, because that will
5391 # break other packages using the cache if that directory is
5392 # removed, or if the value is a relative name.
5393 MKDIR_P
="$ac_install_sh -d"
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5397 $as_echo "$MKDIR_P" >&6; }
5399 # Extract the first word of "ldconfig", so it can be a program name with args.
5400 set dummy ldconfig
; ac_word
=$2
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5402 $as_echo_n "checking for $ac_word... " >&6; }
5403 if ${ac_cv_path_LDCONFIG+:} false
; then :
5404 $as_echo_n "(cached) " >&6
5408 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5412 for as_dir
in /sbin
/usr
/sbin
$PATH
5415 test -z "$as_dir" && as_dir
=.
5416 for ac_exec_ext
in '' $ac_executable_extensions; do
5417 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5418 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5426 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5430 LDCONFIG
=$ac_cv_path_LDCONFIG
5431 if test -n "$LDCONFIG"; then
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5433 $as_echo "$LDCONFIG" >&6; }
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5436 $as_echo "no" >&6; }
5441 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
="STRIPPROG=\"\$(STRIP)\" \$(top_srcdir)/tools/install-sh"
5442 # Find a good install program. We prefer a C program (faster),
5443 # so one script is as good as another. But avoid the broken or
5444 # incompatible versions:
5445 # SysV /etc/install, /usr/sbin/install
5446 # SunOS /usr/etc/install
5447 # IRIX /sbin/install
5449 # AmigaOS /C/install, which installs bootblocks on floppy discs
5450 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5451 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5452 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5453 # OS/2's system install, which has a completely different semantic
5454 # ./install, which can be erroneously created by make from ./install.sh.
5455 # Reject install programs that cannot install multiple files.
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5457 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5458 if test -z "$INSTALL"; then
5459 if ${ac_cv_path_install+:} false
; then :
5460 $as_echo_n "(cached) " >&6
5462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5466 test -z "$as_dir" && as_dir
=.
5467 # Account for people who put trailing slashes in PATH elements.
5468 case $as_dir/ in #((
5469 .
/ | .
// |
/[cC
]/* | \
5470 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5471 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
5474 # OSF1 and SCO ODT 3.0 have their own names for install.
5475 # Don't use installbsd from OSF since it installs stuff as root
5477 for ac_prog
in ginstall scoinst
install; do
5478 for ac_exec_ext
in '' $ac_executable_extensions; do
5479 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
5480 if test $ac_prog = install &&
5481 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5482 # AIX install. It has an incompatible calling convention.
5484 elif test $ac_prog = install &&
5485 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5486 # program-specific install script used by HP pwplus--don't use.
5489 rm -rf conftest.one conftest.two conftest.dir
5490 echo one
> conftest.one
5491 echo two
> conftest.two
5493 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
5494 test -s conftest.one
&& test -s conftest.two
&&
5495 test -s conftest.dir
/conftest.one
&&
5496 test -s conftest.dir
/conftest.two
5498 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5511 rm -rf conftest.one conftest.two conftest.dir
5514 if test "${ac_cv_path_install+set}" = set; then
5515 INSTALL
=$ac_cv_path_install
5517 # As a last resort, use the slow shell script. Don't cache a
5518 # value for INSTALL within a source directory, because that will
5519 # break other packages using the cache if that directory is
5520 # removed, or if the value is a relative name.
5521 INSTALL
=$ac_install_sh
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
5525 $as_echo "$INSTALL" >&6; }
5527 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5528 # It thinks the first close brace ends the variable substitution.
5529 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5531 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5533 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5536 for ac_prog
in fontforge
5538 # Extract the first word of "$ac_prog", so it can be a program name with args.
5539 set dummy
$ac_prog; ac_word
=$2
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5541 $as_echo_n "checking for $ac_word... " >&6; }
5542 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5543 $as_echo_n "(cached) " >&6
5545 if test -n "$FONTFORGE"; then
5546 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5552 test -z "$as_dir" && as_dir
=.
5553 for ac_exec_ext
in '' $ac_executable_extensions; do
5554 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5555 ac_cv_prog_FONTFORGE
="$ac_prog"
5556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5565 FONTFORGE
=$ac_cv_prog_FONTFORGE
5566 if test -n "$FONTFORGE"; then
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5568 $as_echo "$FONTFORGE" >&6; }
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5571 $as_echo "no" >&6; }
5575 test -n "$FONTFORGE" && break
5577 test -n "$FONTFORGE" || FONTFORGE
="false"
5581 # Extract the first word of "$ac_prog", so it can be a program name with args.
5582 set dummy
$ac_prog; ac_word
=$2
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5584 $as_echo_n "checking for $ac_word... " >&6; }
5585 if ${ac_cv_prog_RSVG+:} false
; then :
5586 $as_echo_n "(cached) " >&6
5588 if test -n "$RSVG"; then
5589 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5595 test -z "$as_dir" && as_dir
=.
5596 for ac_exec_ext
in '' $ac_executable_extensions; do
5597 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5598 ac_cv_prog_RSVG
="$ac_prog"
5599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5608 RSVG
=$ac_cv_prog_RSVG
5609 if test -n "$RSVG"; then
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5611 $as_echo "$RSVG" >&6; }
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5614 $as_echo "no" >&6; }
5618 test -n "$RSVG" && break
5620 test -n "$RSVG" || RSVG
="false"
5622 for ac_prog
in convert
5624 # Extract the first word of "$ac_prog", so it can be a program name with args.
5625 set dummy
$ac_prog; ac_word
=$2
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5627 $as_echo_n "checking for $ac_word... " >&6; }
5628 if ${ac_cv_prog_CONVERT+:} false
; then :
5629 $as_echo_n "(cached) " >&6
5631 if test -n "$CONVERT"; then
5632 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5638 test -z "$as_dir" && as_dir
=.
5639 for ac_exec_ext
in '' $ac_executable_extensions; do
5640 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5641 ac_cv_prog_CONVERT
="$ac_prog"
5642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5651 CONVERT
=$ac_cv_prog_CONVERT
5652 if test -n "$CONVERT"; then
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5654 $as_echo "$CONVERT" >&6; }
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5657 $as_echo "no" >&6; }
5661 test -n "$CONVERT" && break
5663 test -n "$CONVERT" || CONVERT
="false"
5665 for ac_prog
in icotool
5667 # Extract the first word of "$ac_prog", so it can be a program name with args.
5668 set dummy
$ac_prog; ac_word
=$2
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5670 $as_echo_n "checking for $ac_word... " >&6; }
5671 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5672 $as_echo_n "(cached) " >&6
5674 if test -n "$ICOTOOL"; then
5675 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5681 test -z "$as_dir" && as_dir
=.
5682 for ac_exec_ext
in '' $ac_executable_extensions; do
5683 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5684 ac_cv_prog_ICOTOOL
="$ac_prog"
5685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5694 ICOTOOL
=$ac_cv_prog_ICOTOOL
5695 if test -n "$ICOTOOL"; then
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5697 $as_echo "$ICOTOOL" >&6; }
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5700 $as_echo "no" >&6; }
5704 test -n "$ICOTOOL" && break
5706 test -n "$ICOTOOL" || ICOTOOL
="false"
5708 for ac_prog
in msgfmt
5710 # Extract the first word of "$ac_prog", so it can be a program name with args.
5711 set dummy
$ac_prog; ac_word
=$2
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5713 $as_echo_n "checking for $ac_word... " >&6; }
5714 if ${ac_cv_prog_MSGFMT+:} false
; then :
5715 $as_echo_n "(cached) " >&6
5717 if test -n "$MSGFMT"; then
5718 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5724 test -z "$as_dir" && as_dir
=.
5725 for ac_exec_ext
in '' $ac_executable_extensions; do
5726 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5727 ac_cv_prog_MSGFMT
="$ac_prog"
5728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5737 MSGFMT
=$ac_cv_prog_MSGFMT
5738 if test -n "$MSGFMT"; then
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5740 $as_echo "$MSGFMT" >&6; }
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5743 $as_echo "no" >&6; }
5747 test -n "$MSGFMT" && break
5749 test -n "$MSGFMT" || MSGFMT
="false"
5751 if test -n "$ac_tool_prefix"; then
5752 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5753 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5755 $as_echo_n "checking for $ac_word... " >&6; }
5756 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5757 $as_echo_n "(cached) " >&6
5759 if test -n "$PKG_CONFIG"; then
5760 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5766 test -z "$as_dir" && as_dir
=.
5767 for ac_exec_ext
in '' $ac_executable_extensions; do
5768 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5769 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5779 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5780 if test -n "$PKG_CONFIG"; then
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5782 $as_echo "$PKG_CONFIG" >&6; }
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5785 $as_echo "no" >&6; }
5790 if test -n "$ac_cv_prog_PKG_CONFIG"; then
5791 PKG_CONFIG
="$ac_cv_prog_PKG_CONFIG"
5792 elif test "$cross_compiling" != yes; then
5793 unset ac_cv_prog_PKG_CONFIG
5794 # Extract the first word of "pkg-config", so it can be a program name with args.
5795 set dummy pkg-config
; ac_word
=$2
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5797 $as_echo_n "checking for $ac_word... " >&6; }
5798 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5799 $as_echo_n "(cached) " >&6
5801 if test -n "$PKG_CONFIG"; then
5802 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5808 test -z "$as_dir" && as_dir
=.
5809 for ac_exec_ext
in '' $ac_executable_extensions; do
5810 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5811 ac_cv_prog_PKG_CONFIG
="pkg-config"
5812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5821 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5822 if test -n "$PKG_CONFIG"; then
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5824 $as_echo "$PKG_CONFIG" >&6; }
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5827 $as_echo "no" >&6; }
5833 if test "x$enable_maintainer_mode" != "xyes"
5838 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5839 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5841 if test "$CONVERT" = false
5843 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5846 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5847 convert_version
=`convert --version | head -n1`
5848 if test "x$convert_version" != "x"
5850 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5851 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5852 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5857 if test "$CONVERT" = false
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5860 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5861 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5864 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5868 if test "$ICOTOOL" = false
5870 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5873 $as_echo_n "checking for recent enough icotool... " >&6; }
5874 icotool_version
=`icotool --version | head -n1`
5875 if test "x$icotool_version" != "x"
5877 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5878 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5879 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5882 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5885 if test "$ICOTOOL" = false
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5888 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5889 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5892 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5898 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5901 test "x$with_gettext" != xno || MSGFMT
=false
5902 if test "$MSGFMT" != "false"
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5905 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5906 cat >conftest.po
<<EOF
5912 if $MSGFMT -o /dev
/null conftest.po
2>&5
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5915 $as_echo "yes" >&6; }
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5918 $as_echo "no" >&6; }
5922 if test "$MSGFMT" = false
; then :
5923 case "x$with_gettext" in
5924 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5926 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5927 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5933 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5934 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5935 $as_echo_n "(cached) " >&6
5937 ac_check_lib_save_LIBS
=$LIBS
5939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5940 /* end confdefs.h. */
5942 /* Override any GCC internal prototype to avoid an error.
5943 Use char because int might match the return type of a GCC
5944 builtin and then its argument prototype would still apply. */
5948 char i386_set_ldt ();
5952 return i386_set_ldt ();
5957 if ac_fn_c_try_link
"$LINENO"; then :
5958 ac_cv_lib_i386_i386_set_ldt
=yes
5960 ac_cv_lib_i386_i386_set_ldt
=no
5962 rm -f core conftest.err conftest.
$ac_objext \
5963 conftest
$ac_exeext conftest.
$ac_ext
5964 LIBS
=$ac_check_lib_save_LIBS
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5967 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5968 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5969 cat >>confdefs.h
<<_ACEOF
5970 #define HAVE_LIBI386 1
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5978 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5979 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5980 $as_echo_n "(cached) " >&6
5982 ac_check_lib_save_LIBS
=$LIBS
5983 LIBS
="-lossaudio $LIBS"
5984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5985 /* end confdefs.h. */
5987 /* Override any GCC internal prototype to avoid an error.
5988 Use char because int might match the return type of a GCC
5989 builtin and then its argument prototype would still apply. */
5997 return _oss_ioctl ();
6002 if ac_fn_c_try_link
"$LINENO"; then :
6003 ac_cv_lib_ossaudio__oss_ioctl
=yes
6005 ac_cv_lib_ossaudio__oss_ioctl
=no
6007 rm -f core conftest.err conftest.
$ac_objext \
6008 conftest
$ac_exeext conftest.
$ac_ext
6009 LIBS
=$ac_check_lib_save_LIBS
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6012 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6013 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6014 cat >>confdefs.h
<<_ACEOF
6015 #define HAVE_LIBOSSAUDIO 1
6018 LIBS
="-lossaudio $LIBS"
6029 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h
=no
6031 # Check whether --enable-largefile was given.
6032 if test "${enable_largefile+set}" = set; then :
6033 enableval
=$enable_largefile;
6036 if test "$enable_largefile" != no
; then
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6039 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6040 if ${ac_cv_sys_largefile_CC+:} false
; then :
6041 $as_echo_n "(cached) " >&6
6043 ac_cv_sys_largefile_CC
=no
6044 if test "$GCC" != yes; then
6047 # IRIX 6.2 and later do not support large files by default,
6048 # so use the C compiler's -n32 option if that helps.
6049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6050 /* end confdefs.h. */
6051 #include <sys/types.h>
6052 /* Check that off_t can represent 2**63 - 1 correctly.
6053 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6054 since some C++ compilers masquerading as C compilers
6055 incorrectly reject 9223372036854775807. */
6056 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6057 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6058 && LARGE_OFF_T % 2147483647 == 1)
6068 if ac_fn_c_try_compile
"$LINENO"; then :
6071 rm -f core conftest.err conftest.
$ac_objext
6073 if ac_fn_c_try_compile
"$LINENO"; then :
6074 ac_cv_sys_largefile_CC
=' -n32'; break
6076 rm -f core conftest.err conftest.
$ac_objext
6080 rm -f conftest.
$ac_ext
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6084 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6085 if test "$ac_cv_sys_largefile_CC" != no
; then
6086 CC
=$CC$ac_cv_sys_largefile_CC
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6090 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6091 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6092 $as_echo_n "(cached) " >&6
6095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6096 /* end confdefs.h. */
6097 #include <sys/types.h>
6098 /* Check that off_t can represent 2**63 - 1 correctly.
6099 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6100 since some C++ compilers masquerading as C compilers
6101 incorrectly reject 9223372036854775807. */
6102 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6103 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6104 && LARGE_OFF_T % 2147483647 == 1)
6114 if ac_fn_c_try_compile
"$LINENO"; then :
6115 ac_cv_sys_file_offset_bits
=no
; break
6117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6119 /* end confdefs.h. */
6120 #define _FILE_OFFSET_BITS 64
6121 #include <sys/types.h>
6122 /* Check that off_t can represent 2**63 - 1 correctly.
6123 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6124 since some C++ compilers masquerading as C compilers
6125 incorrectly reject 9223372036854775807. */
6126 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6127 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6128 && LARGE_OFF_T % 2147483647 == 1)
6138 if ac_fn_c_try_compile
"$LINENO"; then :
6139 ac_cv_sys_file_offset_bits
=64; break
6141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6142 ac_cv_sys_file_offset_bits
=unknown
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6147 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6148 case $ac_cv_sys_file_offset_bits in #(
6151 cat >>confdefs.h
<<_ACEOF
6152 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6157 if test $ac_cv_sys_file_offset_bits = unknown
; then
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6159 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6160 if ${ac_cv_sys_large_files+:} false
; then :
6161 $as_echo_n "(cached) " >&6
6164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6165 /* end confdefs.h. */
6166 #include <sys/types.h>
6167 /* Check that off_t can represent 2**63 - 1 correctly.
6168 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6169 since some C++ compilers masquerading as C compilers
6170 incorrectly reject 9223372036854775807. */
6171 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6172 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6173 && LARGE_OFF_T % 2147483647 == 1)
6183 if ac_fn_c_try_compile
"$LINENO"; then :
6184 ac_cv_sys_large_files
=no
; break
6186 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6188 /* end confdefs.h. */
6189 #define _LARGE_FILES 1
6190 #include <sys/types.h>
6191 /* Check that off_t can represent 2**63 - 1 correctly.
6192 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6193 since some C++ compilers masquerading as C compilers
6194 incorrectly reject 9223372036854775807. */
6195 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6196 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6197 && LARGE_OFF_T % 2147483647 == 1)
6207 if ac_fn_c_try_compile
"$LINENO"; then :
6208 ac_cv_sys_large_files
=1; break
6210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6211 ac_cv_sys_large_files
=unknown
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6216 $as_echo "$ac_cv_sys_large_files" >&6; }
6217 case $ac_cv_sys_large_files in #(
6220 cat >>confdefs.h
<<_ACEOF
6221 #define _LARGE_FILES $ac_cv_sys_large_files
6233 ac_cpp
='$CPP $CPPFLAGS'
6234 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6235 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6236 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6238 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6239 # On Suns, sometimes $CPP names a directory.
6240 if test -n "$CPP" && test -d "$CPP"; then
6243 if test -z "$CPP"; then
6244 if ${ac_cv_prog_CPP+:} false
; then :
6245 $as_echo_n "(cached) " >&6
6247 # Double quotes because CPP needs to be expanded
6248 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6251 for ac_c_preproc_warn_flag
in '' yes
6253 # Use a header file that comes with gcc, so configuring glibc
6254 # with a fresh cross-compiler works.
6255 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6256 # <limits.h> exists even on freestanding compilers.
6257 # On the NeXT, cc -E runs the code through the compiler's parser,
6258 # not just through cpp. "Syntax error" is here to catch this case.
6259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6260 /* end confdefs.h. */
6262 # include <limits.h>
6264 # include <assert.h>
6268 if ac_fn_c_try_cpp
"$LINENO"; then :
6271 # Broken: fails on valid input.
6274 rm -f conftest.err conftest.i conftest.
$ac_ext
6276 # OK, works on sane cases. Now check whether nonexistent headers
6277 # can be detected and how.
6278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6279 /* end confdefs.h. */
6280 #include <ac_nonexistent.h>
6282 if ac_fn_c_try_cpp
"$LINENO"; then :
6283 # Broken: success on invalid input.
6286 # Passes both tests.
6290 rm -f conftest.err conftest.i conftest.
$ac_ext
6293 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6294 rm -f conftest.i conftest.err conftest.
$ac_ext
6295 if $ac_preproc_ok; then :
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6308 $as_echo "$CPP" >&6; }
6310 for ac_c_preproc_warn_flag
in '' yes
6312 # Use a header file that comes with gcc, so configuring glibc
6313 # with a fresh cross-compiler works.
6314 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6315 # <limits.h> exists even on freestanding compilers.
6316 # On the NeXT, cc -E runs the code through the compiler's parser,
6317 # not just through cpp. "Syntax error" is here to catch this case.
6318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6319 /* end confdefs.h. */
6321 # include <limits.h>
6323 # include <assert.h>
6327 if ac_fn_c_try_cpp
"$LINENO"; then :
6330 # Broken: fails on valid input.
6333 rm -f conftest.err conftest.i conftest.
$ac_ext
6335 # OK, works on sane cases. Now check whether nonexistent headers
6336 # can be detected and how.
6337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6338 /* end confdefs.h. */
6339 #include <ac_nonexistent.h>
6341 if ac_fn_c_try_cpp
"$LINENO"; then :
6342 # Broken: success on invalid input.
6345 # Passes both tests.
6349 rm -f conftest.err conftest.i conftest.
$ac_ext
6352 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6353 rm -f conftest.i conftest.err conftest.
$ac_ext
6354 if $ac_preproc_ok; then :
6357 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6359 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6360 See \`config.log' for more details" "$LINENO" 5; }
6364 ac_cpp
='$CPP $CPPFLAGS'
6365 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6366 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6367 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6371 $as_echo_n "checking for ANSI C header files... " >&6; }
6372 if ${ac_cv_header_stdc+:} false
; then :
6373 $as_echo_n "(cached) " >&6
6375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6376 /* end confdefs.h. */
6390 if ac_fn_c_try_compile
"$LINENO"; then :
6391 ac_cv_header_stdc
=yes
6393 ac_cv_header_stdc
=no
6395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6397 if test $ac_cv_header_stdc = yes; then
6398 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6400 /* end confdefs.h. */
6404 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6405 $EGREP "memchr" >/dev
/null
2>&1; then :
6408 ac_cv_header_stdc
=no
6414 if test $ac_cv_header_stdc = yes; then
6415 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6417 /* end confdefs.h. */
6421 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6422 $EGREP "free" >/dev
/null
2>&1; then :
6425 ac_cv_header_stdc
=no
6431 if test $ac_cv_header_stdc = yes; then
6432 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6433 if test "$cross_compiling" = yes; then :
6436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6437 /* end confdefs.h. */
6440 #if ((' ' & 0x0FF) == 0x020)
6441 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6442 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6444 # define ISLOWER(c) \
6445 (('a' <= (c) && (c) <= 'i') \
6446 || ('j' <= (c) && (c) <= 'r') \
6447 || ('s' <= (c) && (c) <= 'z'))
6448 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6451 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6456 for (i = 0; i < 256; i++)
6457 if (XOR (islower (i), ISLOWER (i))
6458 || toupper (i) != TOUPPER (i))
6463 if ac_fn_c_try_run
"$LINENO"; then :
6466 ac_cv_header_stdc
=no
6468 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6469 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6475 $as_echo "$ac_cv_header_stdc" >&6; }
6476 if test $ac_cv_header_stdc = yes; then
6478 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6482 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6483 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6484 inttypes.h stdint.h unistd.h
6486 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6487 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6489 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6490 cat >>confdefs.h
<<_ACEOF
6491 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6501 ApplicationServices
/ApplicationServices.h \
6502 AudioToolbox
/AudioConverter.h \
6503 AudioUnit
/AudioUnit.h \
6504 AudioUnit
/AudioComponent.h \
6507 CoreAudio
/CoreAudio.h \
6508 CoreServices
/CoreServices.h \
6509 DiskArbitration
/DiskArbitration.h \
6511 IOKit
/hid
/IOHIDLib.h \
6514 QuickTime
/ImageCompression.h \
6515 Security
/Security.h \
6529 fontconfig
/fontconfig.h \
6567 netinet
/in_systm.h \
6628 valgrind
/memcheck.h \
6629 valgrind
/valgrind.h \
6633 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6634 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6635 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6636 cat >>confdefs.h
<<_ACEOF
6637 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6645 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6646 if ${ac_cv_header_stat_broken+:} false
; then :
6647 $as_echo_n "(cached) " >&6
6649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6650 /* end confdefs.h. */
6651 #include <sys/types.h>
6652 #include <sys/stat.h>
6654 #if defined S_ISBLK && defined S_IFDIR
6655 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6658 #if defined S_ISBLK && defined S_IFCHR
6659 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6662 #if defined S_ISLNK && defined S_IFREG
6663 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6666 #if defined S_ISSOCK && defined S_IFREG
6667 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6671 if ac_fn_c_try_compile
"$LINENO"; then :
6672 ac_cv_header_stat_broken
=no
6674 ac_cv_header_stat_broken
=yes
6676 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6679 $as_echo "$ac_cv_header_stat_broken" >&6; }
6680 if test $ac_cv_header_stat_broken = yes; then
6682 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6688 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6690 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6691 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6692 #ifdef HAVE_SYS_PARAM_H
6693 # include <sys/param.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
6713 netinet
/if_ether.h \
6714 netinet
/if_inarp.h \
6723 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6724 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6725 #ifdef HAVE_SYS_SOCKET_H
6726 # include <sys/socket.h>
6728 #ifdef HAVE_SYS_SOCKETVAR_H
6729 # include <sys/socketvar.h>
6731 #ifdef HAVE_NET_ROUTE_H
6732 # include <net/route.h>
6734 #ifdef HAVE_NETINET_IN_H
6735 # include <netinet/in.h>
6737 #ifdef HAVE_NETINET_IN_SYSTM_H
6738 # include <netinet/in_systm.h>
6740 #ifdef HAVE_NET_IF_H
6741 # include <net/if.h>
6743 #ifdef HAVE_NETINET_IP_H
6744 # include <netinet/ip.h>
6747 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6748 cat >>confdefs.h
<<_ACEOF
6749 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6757 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6759 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6760 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6764 #ifdef HAVE_SYS_SOCKET_H
6765 # include <sys/socket.h>
6767 #ifdef HAVE_SYS_SOCKETVAR_H
6768 # include <sys/socketvar.h>
6770 #ifdef HAVE_SYS_TIMEOUT_H
6771 # include <sys/timeout.h>
6773 #ifdef HAVE_NETINET_IN_H
6774 # include <netinet/in.h>
6776 #ifdef HAVE_NETINET_IN_SYSTM_H
6777 # include <netinet/in_systm.h>
6779 #ifdef HAVE_NETINET_IP_H
6780 # include <netinet/ip.h>
6782 #ifdef HAVE_NETINET_IP_VAR_H
6783 # include <netinet/ip_var.h>
6785 #ifdef HAVE_NETINET_IP_ICMP_H
6786 # include <netinet/ip_icmp.h>
6788 #ifdef HAVE_NETINET_UDP_H
6789 # include <netinet/udp.h>
6791 #ifdef HAVE_NETINET_TCP_H
6792 # include <netinet/tcp.h>
6794 #ifdef HAVE_NETINET_TCP_TIMER_H
6795 #include <netinet/tcp_timer.h>
6798 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6799 cat >>confdefs.h
<<_ACEOF
6800 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6808 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6810 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6811 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6812 #ifdef HAVE_ASM_TYPES_H
6813 # include <asm/types.h>
6815 #ifdef HAVE_SYS_SOCKET_H
6816 # include <sys/socket.h>
6818 #ifdef HAVE_LINUX_TYPES_H
6819 # include <linux/types.h>
6822 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6823 cat >>confdefs.h
<<_ACEOF
6824 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6832 for ac_header
in mach-o
/dyld_images.h
6834 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6835 # include <stdbool.h>
6837 #ifdef HAVE_STDINT_H
6838 # include <stdint.h>
6841 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6842 cat >>confdefs.h
<<_ACEOF
6843 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6851 for ac_header
in resolv.h
6853 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6854 #ifdef HAVE_SYS_SOCKET_H
6855 # include <sys/socket.h>
6857 #ifdef HAVE_NETINET_IN_H
6858 # include <netinet/in.h>
6860 #ifdef HAVE_ARPA_NAMESER_H
6861 # include <arpa/nameser.h>
6864 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6865 cat >>confdefs.h
<<_ACEOF
6866 #define HAVE_RESOLV_H 1
6874 for ac_header
in ifaddrs.h
6876 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6878 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6879 cat >>confdefs.h
<<_ACEOF
6880 #define HAVE_IFADDRS_H 1
6888 for ac_header
in ucontext.h
6890 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6892 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6893 cat >>confdefs.h
<<_ACEOF
6894 #define HAVE_UCONTEXT_H 1
6902 for ac_header
in sys
/thr.h
6904 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6905 #ifdef HAVE_UCONTEXT_H
6906 #include <ucontext.h>
6909 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6910 cat >>confdefs.h
<<_ACEOF
6911 #define HAVE_SYS_THR_H 1
6919 for ac_header
in pthread_np.h
6921 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6922 #include <pthread.h>
6925 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6926 cat >>confdefs.h
<<_ACEOF
6927 #define HAVE_PTHREAD_NP_H 1
6935 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6937 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6938 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6939 #include <sys/time.h>
6941 #include <sys/types.h>
6942 #ifdef HAVE_ASM_TYPES_H
6943 #include <asm/types.h>
6946 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6947 cat >>confdefs.h
<<_ACEOF
6948 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6956 for ac_header
in libprocstat.h
6958 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6959 #include <sys/param.h>
6961 #ifdef HAVE_SYS_QUEUE_H
6962 #include <sys/queue.h>
6964 #ifdef HAVE_SYS_SOCKET_H
6965 #include <sys/socket.h>
6968 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6969 cat >>confdefs.h
<<_ACEOF
6970 #define HAVE_LIBPROCSTAT_H 1
6979 dlldir
="\${libdir}/wine"
6985 DLLFLAGS
="-D_REENTRANT"
6994 STATIC_IMPLIBEXT
="def.a"
6995 # Extract the first word of "ldd", so it can be a program name with args.
6996 set dummy ldd
; ac_word
=$2
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6998 $as_echo_n "checking for $ac_word... " >&6; }
6999 if ${ac_cv_path_LDD+:} false
; then :
7000 $as_echo_n "(cached) " >&6
7004 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7008 as_dummy
="/sbin:/usr/sbin:$PATH"
7009 for as_dir
in $as_dummy
7012 test -z "$as_dir" && as_dir
=.
7013 for ac_exec_ext
in '' $ac_executable_extensions; do
7014 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7015 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7023 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7028 if test -n "$LDD"; then
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7030 $as_echo "$LDD" >&6; }
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7033 $as_echo "no" >&6; }
7037 if test -n "$ac_tool_prefix"; then
7038 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7039 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7041 $as_echo_n "checking for $ac_word... " >&6; }
7042 if ${ac_cv_prog_READELF+:} false
; then :
7043 $as_echo_n "(cached) " >&6
7045 if test -n "$READELF"; then
7046 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7052 test -z "$as_dir" && as_dir
=.
7053 for ac_exec_ext
in '' $ac_executable_extensions; do
7054 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7055 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7065 READELF
=$ac_cv_prog_READELF
7066 if test -n "$READELF"; then
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7068 $as_echo "$READELF" >&6; }
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7071 $as_echo "no" >&6; }
7076 if test -z "$ac_cv_prog_READELF"; then
7077 ac_ct_READELF
=$READELF
7078 # Extract the first word of "readelf", so it can be a program name with args.
7079 set dummy readelf
; ac_word
=$2
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7081 $as_echo_n "checking for $ac_word... " >&6; }
7082 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7083 $as_echo_n "(cached) " >&6
7085 if test -n "$ac_ct_READELF"; then
7086 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7092 test -z "$as_dir" && as_dir
=.
7093 for ac_exec_ext
in '' $ac_executable_extensions; do
7094 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7095 ac_cv_prog_ac_ct_READELF
="readelf"
7096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7105 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7106 if test -n "$ac_ct_READELF"; then
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7108 $as_echo "$ac_ct_READELF" >&6; }
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7111 $as_echo "no" >&6; }
7114 if test "x$ac_ct_READELF" = x
; then
7117 case $cross_compiling:$ac_tool_warned in
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7121 ac_tool_warned
=yes ;;
7123 READELF
=$ac_ct_READELF
7126 READELF
="$ac_cv_prog_READELF"
7131 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7134 all: $wine_binary wine-installed
7136 install install-lib:: wine-installed \$(DESTDIR)\$(bindir)
7137 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7140 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7146 if test -n "$ac_tool_prefix"; then
7147 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7148 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7150 $as_echo_n "checking for $ac_word... " >&6; }
7151 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7152 $as_echo_n "(cached) " >&6
7154 if test -n "$DLLTOOL"; then
7155 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7161 test -z "$as_dir" && as_dir
=.
7162 for ac_exec_ext
in '' $ac_executable_extensions; do
7163 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7164 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7174 DLLTOOL
=$ac_cv_prog_DLLTOOL
7175 if test -n "$DLLTOOL"; then
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7177 $as_echo "$DLLTOOL" >&6; }
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7180 $as_echo "no" >&6; }
7185 if test -z "$ac_cv_prog_DLLTOOL"; then
7186 ac_ct_DLLTOOL
=$DLLTOOL
7187 # Extract the first word of "dlltool", so it can be a program name with args.
7188 set dummy dlltool
; ac_word
=$2
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7190 $as_echo_n "checking for $ac_word... " >&6; }
7191 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7192 $as_echo_n "(cached) " >&6
7194 if test -n "$ac_ct_DLLTOOL"; then
7195 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7201 test -z "$as_dir" && as_dir
=.
7202 for ac_exec_ext
in '' $ac_executable_extensions; do
7203 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7204 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7214 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7215 if test -n "$ac_ct_DLLTOOL"; then
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7217 $as_echo "$ac_ct_DLLTOOL" >&6; }
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7220 $as_echo "no" >&6; }
7223 if test "x$ac_ct_DLLTOOL" = x
; then
7226 case $cross_compiling:$ac_tool_warned in
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7229 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7230 ac_tool_warned
=yes ;;
7232 DLLTOOL
=$ac_ct_DLLTOOL
7235 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7240 STATIC_IMPLIBEXT
="a"
7241 enable_iphlpapi
=${enable_iphlpapi:-no}
7242 enable_kernel32
=${enable_kernel32:-no}
7243 enable_msvcrt
=${enable_msvcrt:-no}
7244 enable_ntdll
=${enable_ntdll:-no}
7245 enable_ws2_32
=${enable_ws2_32:-no}
7246 enable_loader
=${enable_loader:-no}
7247 enable_server
=${enable_server:-no}
7248 with_x
=${with_x:-no}
7249 with_pthread
=${with_pthread:-no}
7255 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7260 all: libwine.dll libwine.a
7263 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7265 libwine.dll: \$(OBJS) wine.def Makefile.in
7266 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7268 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
7269 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7271 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
7272 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7275 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7278 \$(RM) libwine.dll version.c
7286 DLLFLAGS
="$DLLFLAGS -fPIC"
7287 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7288 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7289 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7290 COREFOUNDATIONLIB
="-framework CoreFoundation"
7292 IOKITLIB
="-framework IOKit -framework CoreFoundation"
7294 FORCEFEEDBACKLIB
="-framework ForceFeedback -framework CoreFoundation"
7296 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
7298 CORESERVICESLIB
="-framework CoreServices"
7300 APPKITLIB
="-framework AppKit"
7302 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7304 darwin11
*) LDEXECFLAGS
="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7306 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7308 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
7311 if test "$ac_cv_header_Security_Security_h" = "yes"
7313 SECURITYLIB
="-framework Security -framework CoreFoundation"
7315 ac_save_LIBS
="$LIBS"
7316 LIBS
="$LIBS $SECURITYLIB"
7317 for ac_func
in SSLCopyPeerCertificates
7319 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7320 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7321 cat >>confdefs.h
<<_ACEOF
7322 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7328 LIBS
="$ac_save_LIBS"
7329 with_gnutls
=${with_gnutls:-no}
7331 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7333 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7335 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7338 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7341 ac_save_LIBS
="$LIBS"
7342 LIBS
="$LIBS $COREAUDIO"
7343 for ac_func
in AUGraphAddNode
7345 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7346 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7347 cat >>confdefs.h
<<_ACEOF
7348 #define HAVE_AUGRAPHADDNODE 1
7354 LIBS
="$ac_save_LIBS"
7356 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7358 FRAMEWORK_OPENAL
="-framework OpenAL"
7361 cat >>confdefs.h
<<_ACEOF
7362 #define HAVE_OPENAL 1
7365 ac_cv_lib_openal
=yes
7367 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7369 LIBOPENCL
="-framework OpenCL"
7371 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7373 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7375 ac_save_LIBS
="$LIBS"
7376 LIBS
="$LIBS $IOKITLIB"
7377 for ac_func
in IOHIDManagerCreate
7379 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7380 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7381 cat >>confdefs.h
<<_ACEOF
7382 #define HAVE_IOHIDMANAGERCREATE 1
7388 LIBS
="$ac_save_LIBS"
7390 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7392 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7394 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7396 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7398 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7400 CARBONLIB
="-framework Carbon"
7404 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7406 ac_save_LIBS
="$LIBS"
7407 LIBS
="$LIBS $APPLICATIONSERVICESLIB"
7408 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7409 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7410 enable_winemac_drv
=${enable_winemac_drv:-yes}
7413 LIBS
="$ac_save_LIBS"
7416 if test "x$enable_win16" = "xyes"
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7419 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7420 if test "$cross_compiling" = yes; then :
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7422 $as_echo "cross-compiling, assuming yes" >&6; }
7424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7425 /* end confdefs.h. */
7428 "good:\tnop;nop\n\t"
7429 ".globl _testfunc\n"
7430 "_testfunc:\tcallw good");
7431 extern void testfunc();
7435 unsigned short *p = (unsigned short *)testfunc;
7436 return p[0] != 0xe866 || p[1] != 0xfffa
7441 if ac_fn_c_try_run
"$LINENO"; then :
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7443 $as_echo "yes" >&6; }
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7446 $as_echo "no" >&6; }
7447 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
7449 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7450 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7458 libwine.\$(VERSION).dylib: \$(OBJS) \$(RELPATH) Makefile.in
7459 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7461 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
7462 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
7464 libwine.dylib: libwine.\$(SOVERSION).dylib
7465 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
7467 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
7468 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
7469 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7471 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7472 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
7475 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
7478 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
7482 as_fn_append LOADER_RULES
"
7483 $wine_binary: main.o Makefile.in wine_info.plist
7484 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7486 wine-installed: main.o Makefile.in wine_info.plist
7487 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7489 wine_info.plist: wine_info.plist.in \$(top_builddir)/include/config.h
7490 LC_ALL=C sed -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g' \$(srcdir)/wine_info.plist.in >\$@ || (\$(RM) \$@ && false)
7495 DLLFLAGS
="$DLLFLAGS -fPIC"
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7501 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7502 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7503 $as_echo_n "(cached) " >&6
7505 ac_wine_try_cflags_saved
=$CFLAGS
7506 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7508 /* end confdefs.h. */
7509 int main(int argc, char **argv) { return 0; }
7511 if ac_fn_c_try_link
"$LINENO"; then :
7512 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7514 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7516 rm -f core conftest.err conftest.
$ac_objext \
7517 conftest
$ac_exeext conftest.
$ac_ext
7518 CFLAGS
=$ac_wine_try_cflags_saved
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7521 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7522 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7523 LDEXECFLAGS
="-Wl,--export-dynamic"
7525 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7527 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7528 if eval \
${$as_ac_var+:} false
; then :
7529 $as_echo_n "(cached) " >&6
7531 ac_wine_try_cflags_saved
=$CFLAGS
7532 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7534 /* end confdefs.h. */
7535 int main(int argc, char **argv) { return 0; }
7537 if ac_fn_c_try_link
"$LINENO"; then :
7538 eval "$as_ac_var=yes"
7540 eval "$as_ac_var=no"
7542 rm -f core conftest.err conftest.
$ac_objext \
7543 conftest
$ac_exeext conftest.
$ac_ext
7544 CFLAGS
=$ac_wine_try_cflags_saved
7546 eval ac_res
=\$
$as_ac_var
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7548 $as_echo "$ac_res" >&6; }
7549 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7550 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7551 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7553 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7555 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7556 if eval \
${$as_ac_var+:} false
; then :
7557 $as_echo_n "(cached) " >&6
7559 ac_wine_try_cflags_saved
=$CFLAGS
7560 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7562 /* end confdefs.h. */
7563 int main(int argc, char **argv) { return 0; }
7565 if ac_fn_c_try_link
"$LINENO"; then :
7566 eval "$as_ac_var=yes"
7568 eval "$as_ac_var=no"
7570 rm -f core conftest.err conftest.
$ac_objext \
7571 conftest
$ac_exeext conftest.
$ac_ext
7572 CFLAGS
=$ac_wine_try_cflags_saved
7574 eval ac_res
=\$
$as_ac_var
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7576 $as_echo "$ac_res" >&6; }
7577 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7578 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7579 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7584 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7585 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7586 $as_echo_n "(cached) " >&6
7588 ac_wine_try_cflags_saved
=$CFLAGS
7589 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7591 /* end confdefs.h. */
7592 int main(int argc, char **argv) { return 0; }
7594 if ac_fn_c_try_link
"$LINENO"; then :
7595 ac_cv_cflags__Wl___enable_new_dtags
=yes
7597 ac_cv_cflags__Wl___enable_new_dtags
=no
7599 rm -f core conftest.err conftest.
$ac_objext \
7600 conftest
$ac_exeext conftest.
$ac_ext
7601 CFLAGS
=$ac_wine_try_cflags_saved
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7604 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7605 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7606 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7610 *i
[3456789]86* | x86_64
)
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7612 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7613 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7614 $as_echo_n "(cached) " >&6
7616 ac_wine_try_cflags_saved
=$CFLAGS
7617 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7619 /* end confdefs.h. */
7620 int main(int argc, char **argv) { return 0; }
7622 if ac_fn_c_try_link
"$LINENO"; then :
7623 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7625 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7627 rm -f core conftest.err conftest.
$ac_objext \
7628 conftest
$ac_exeext conftest.
$ac_ext
7629 CFLAGS
=$ac_wine_try_cflags_saved
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7632 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7633 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7634 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7642 libwine.so: \$(OBJS) Makefile.in
7643 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7645 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
7646 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
7649 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
7652 \$(RM) libwine.so version.c
7656 as_fn_append LOADER_RULES
"
7657 $wine_binary: main.o Makefile.in
7658 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7660 wine-installed: main.o Makefile.in
7661 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7666 DLLFLAGS
="$DLLFLAGS -fPIC"
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7670 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7671 if ${ac_cv_c_dll_gnuelf+:} false
; then :
7672 $as_echo_n "(cached) " >&6
7674 ac_wine_try_cflags_saved
=$CFLAGS
7675 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7677 /* end confdefs.h. */
7680 if ac_fn_c_try_link
"$LINENO"; then :
7681 ac_cv_c_dll_gnuelf
="yes"
7683 ac_cv_c_dll_gnuelf
="no"
7685 rm -f core conftest.err conftest.
$ac_objext \
7686 conftest
$ac_exeext conftest.
$ac_ext
7687 CFLAGS
=$ac_wine_try_cflags_saved
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7690 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7691 if test "$ac_cv_c_dll_gnuelf" = "yes"
7693 LDSHARED
="\$(CC) -shared"
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7695 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7696 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
7697 $as_echo_n "(cached) " >&6
7699 ac_wine_try_cflags_saved
=$CFLAGS
7700 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7702 /* end confdefs.h. */
7703 int main(int argc, char **argv) { return 0; }
7705 if ac_fn_c_try_link
"$LINENO"; then :
7706 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
7708 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
7710 rm -f core conftest.err conftest.
$ac_objext \
7711 conftest
$ac_exeext conftest.
$ac_ext
7712 CFLAGS
=$ac_wine_try_cflags_saved
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7715 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7716 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7717 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7720 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7721 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
7722 $as_echo_n "(cached) " >&6
7724 ac_wine_try_cflags_saved
=$CFLAGS
7725 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7727 /* end confdefs.h. */
7728 int main(int argc, char **argv) { return 0; }
7730 if ac_fn_c_try_link
"$LINENO"; then :
7731 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
7733 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
7735 rm -f core conftest.err conftest.
$ac_objext \
7736 conftest
$ac_exeext conftest.
$ac_ext
7737 CFLAGS
=$ac_wine_try_cflags_saved
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7740 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7741 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7742 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7746 echo '{ global: *; };' >conftest.map
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7748 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7749 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
7750 $as_echo_n "(cached) " >&6
7752 ac_wine_try_cflags_saved
=$CFLAGS
7753 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7755 /* end confdefs.h. */
7756 int main(int argc, char **argv) { return 0; }
7758 if ac_fn_c_try_link
"$LINENO"; then :
7759 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
7761 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
7763 rm -f core conftest.err conftest.
$ac_objext \
7764 conftest
$ac_exeext conftest.
$ac_ext
7765 CFLAGS
=$ac_wine_try_cflags_saved
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7768 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7769 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7770 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7775 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7776 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7777 $as_echo_n "(cached) " >&6
7779 ac_wine_try_cflags_saved
=$CFLAGS
7780 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7782 /* end confdefs.h. */
7783 int main(int argc, char **argv) { return 0; }
7785 if ac_fn_c_try_link
"$LINENO"; then :
7786 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7788 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7790 rm -f core conftest.err conftest.
$ac_objext \
7791 conftest
$ac_exeext conftest.
$ac_ext
7792 CFLAGS
=$ac_wine_try_cflags_saved
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7795 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7796 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7797 LDEXECFLAGS
="-Wl,--export-dynamic"
7800 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7802 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7803 if eval \
${$as_ac_var+:} false
; then :
7804 $as_echo_n "(cached) " >&6
7806 ac_wine_try_cflags_saved
=$CFLAGS
7807 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7809 /* end confdefs.h. */
7810 int main(int argc, char **argv) { return 0; }
7812 if ac_fn_c_try_link
"$LINENO"; then :
7813 eval "$as_ac_var=yes"
7815 eval "$as_ac_var=no"
7817 rm -f core conftest.err conftest.
$ac_objext \
7818 conftest
$ac_exeext conftest.
$ac_ext
7819 CFLAGS
=$ac_wine_try_cflags_saved
7821 eval ac_res
=\$
$as_ac_var
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7823 $as_echo "$ac_res" >&6; }
7824 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7825 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7826 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7828 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7830 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7831 if eval \
${$as_ac_var+:} false
; then :
7832 $as_echo_n "(cached) " >&6
7834 ac_wine_try_cflags_saved
=$CFLAGS
7835 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7837 /* end confdefs.h. */
7838 int main(int argc, char **argv) { return 0; }
7840 if ac_fn_c_try_link
"$LINENO"; then :
7841 eval "$as_ac_var=yes"
7843 eval "$as_ac_var=no"
7845 rm -f core conftest.err conftest.
$ac_objext \
7846 conftest
$ac_exeext conftest.
$ac_ext
7847 CFLAGS
=$ac_wine_try_cflags_saved
7849 eval ac_res
=\$
$as_ac_var
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7851 $as_echo "$ac_res" >&6; }
7852 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7853 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7854 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7859 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7860 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7861 $as_echo_n "(cached) " >&6
7863 ac_wine_try_cflags_saved
=$CFLAGS
7864 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7866 /* end confdefs.h. */
7867 int main(int argc, char **argv) { return 0; }
7869 if ac_fn_c_try_link
"$LINENO"; then :
7870 ac_cv_cflags__Wl___enable_new_dtags
=yes
7872 ac_cv_cflags__Wl___enable_new_dtags
=no
7874 rm -f core conftest.err conftest.
$ac_objext \
7875 conftest
$ac_exeext conftest.
$ac_ext
7876 CFLAGS
=$ac_wine_try_cflags_saved
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7879 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7880 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7881 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7885 *i
[3456789]86* | x86_64
)
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7887 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7888 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7889 $as_echo_n "(cached) " >&6
7891 ac_wine_try_cflags_saved
=$CFLAGS
7892 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7894 /* end confdefs.h. */
7895 int main(int argc, char **argv) { return 0; }
7897 if ac_fn_c_try_link
"$LINENO"; then :
7898 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7900 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7902 rm -f core conftest.err conftest.
$ac_objext \
7903 conftest
$ac_exeext conftest.
$ac_ext
7904 CFLAGS
=$ac_wine_try_cflags_saved
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7907 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7908 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7910 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7911 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7915 # Extract the first word of "prelink", so it can be a program name with args.
7916 set dummy prelink
; ac_word
=$2
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7918 $as_echo_n "checking for $ac_word... " >&6; }
7919 if ${ac_cv_path_PRELINK+:} false
; then :
7920 $as_echo_n "(cached) " >&6
7924 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
7927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7928 for as_dir
in /sbin
/usr
/sbin
$PATH
7931 test -z "$as_dir" && as_dir
=.
7932 for ac_exec_ext
in '' $ac_executable_extensions; do
7933 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7934 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
7935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7942 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
7946 PRELINK
=$ac_cv_path_PRELINK
7947 if test -n "$PRELINK"; then
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7949 $as_echo "$PRELINK" >&6; }
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7952 $as_echo "no" >&6; }
7956 if test "x$PRELINK" = xfalse
7958 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7965 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7966 if ${ac_cv_c_dll_unixware+:} false
; then :
7967 $as_echo_n "(cached) " >&6
7969 ac_wine_try_cflags_saved
=$CFLAGS
7970 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7972 /* end confdefs.h. */
7975 if ac_fn_c_try_link
"$LINENO"; then :
7976 ac_cv_c_dll_unixware
="yes"
7978 ac_cv_c_dll_unixware
="no"
7980 rm -f core conftest.err conftest.
$ac_objext \
7981 conftest
$ac_exeext conftest.
$ac_ext
7982 CFLAGS
=$ac_wine_try_cflags_saved
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7985 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7986 if test "$ac_cv_c_dll_unixware" = "yes"
7988 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
7994 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
7995 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7997 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
7998 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
8000 libwine.so: libwine.so.\$(SOVERSION)
8001 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
8003 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
8004 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
8005 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8007 install install-dev:: \$(DESTDIR)\$(libdir) dummy
8008 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
8011 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
8014 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
8018 as_fn_append LOADER_RULES
"
8019 $wine_binary: main.o Makefile.in
8020 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8022 wine-installed: main.o Makefile.in
8023 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8028 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8029 enable_winemac_drv
=${enable_winemac_drv:-no}
8031 CROSSTEST_DISABLE
=\
#
8033 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8037 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
8040 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 " ;;
8042 ac_prefix_list
="" ;;
8044 for ac_prog
in $ac_prefix_list
8046 # Extract the first word of "$ac_prog", so it can be a program name with args.
8047 set dummy
$ac_prog; ac_word
=$2
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8049 $as_echo_n "checking for $ac_word... " >&6; }
8050 if ${ac_cv_prog_CROSSCC+:} false
; then :
8051 $as_echo_n "(cached) " >&6
8053 if test -n "$CROSSCC"; then
8054 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8060 test -z "$as_dir" && as_dir
=.
8061 for ac_exec_ext
in '' $ac_executable_extensions; do
8062 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8063 ac_cv_prog_CROSSCC
="$ac_prog"
8064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8073 CROSSCC
=$ac_cv_prog_CROSSCC
8074 if test -n "$CROSSCC"; then
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8076 $as_echo "$CROSSCC" >&6; }
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8079 $as_echo "no" >&6; }
8083 test -n "$CROSSCC" && break
8085 test -n "$CROSSCC" || CROSSCC
="false"
8087 if test "$CROSSCC" != "false"
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8092 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8094 /* end confdefs.h. */
8104 if ac_fn_c_try_compile
"$LINENO"; then :
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8106 $as_echo "yes" >&6; }
8113 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
8117 if test -n "$target"
8119 CROSSTEST_DISABLE
=""
8120 CROSSTARGET
="$target"
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8125 $as_echo "no" >&6; }
8127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8133 if test "$ac_cv_header_pthread_h" = "yes"
8135 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8136 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8140 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8141 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8142 $as_echo_n "(cached) " >&6
8144 ac_check_lib_save_LIBS
=$LIBS
8145 LIBS
="-lpthread $LIBS"
8146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8147 /* end confdefs.h. */
8149 /* Override any GCC internal prototype to avoid an error.
8150 Use char because int might match the return type of a GCC
8151 builtin and then its argument prototype would still apply. */
8155 char pthread_create ();
8159 return pthread_create ();
8164 if ac_fn_c_try_link
"$LINENO"; then :
8165 ac_cv_lib_pthread_pthread_create
=yes
8167 ac_cv_lib_pthread_pthread_create
=no
8169 rm -f core conftest.err conftest.
$ac_objext \
8170 conftest
$ac_exeext conftest.
$ac_ext
8171 LIBS
=$ac_check_lib_save_LIBS
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8174 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8175 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8176 LIBPTHREAD
="-lpthread"
8183 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$LIBPTHREAD" = x
; then :
8184 case "x$with_pthread" in
8186 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8187 Wine cannot support threads without libpthread.
8188 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8194 $as_echo_n "checking for X... " >&6; }
8197 # Check whether --with-x was given.
8198 if test "${with_x+set}" = set; then :
8202 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8203 if test "x$with_x" = xno
; then
8204 # The user explicitly disabled X.
8207 case $x_includes,$x_libraries in #(
8208 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8209 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8210 $as_echo_n "(cached) " >&6
8212 # One or both of the vars are not set, and there is no cached value.
8213 ac_x_includes
=no ac_x_libraries
=no
8214 rm -f -r conftest.dir
8215 if mkdir conftest.dir
; then
8217 cat >Imakefile
<<'_ACEOF'
8219 @echo incroot='${INCROOT}'
8221 @echo usrlibdir='${USRLIBDIR}'
8223 @echo libdir='${LIBDIR}'
8225 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8226 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8227 for ac_var
in incroot usrlibdir libdir
; do
8228 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8230 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8231 for ac_extension
in a so sl dylib la dll
; do
8232 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8233 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8234 ac_im_usrlibdir
=$ac_im_libdir; break
8237 # Screen out bogus values from the imake configuration. They are
8238 # bogus both because they are the default anyway, and because
8239 # using them would break gcc on systems where it needs fixed includes.
8240 case $ac_im_incroot in
8241 /usr
/include
) ac_x_includes
= ;;
8242 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8244 case $ac_im_usrlibdir in
8245 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8246 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8250 rm -f -r conftest.dir
8253 # Standard set of common directories for X headers.
8254 # Check X11 before X11Rn because it is often a symlink to the current release.
8268 /usr/local/X11/include
8269 /usr/local/X11R7/include
8270 /usr/local/X11R6/include
8271 /usr/local/X11R5/include
8272 /usr/local/X11R4/include
8274 /usr/local/include/X11
8275 /usr/local/include/X11R7
8276 /usr/local/include/X11R6
8277 /usr/local/include/X11R5
8278 /usr/local/include/X11R4
8282 /usr/XFree86/include/X11
8286 /usr/unsupported/include
8288 /usr/local/x11r5/include
8289 /usr/lpp/Xamples/include
8291 /usr/openwin/include
8292 /usr/openwin/share/include'
8294 if test "$ac_x_includes" = no
; then
8295 # Guess where to find include files, by looking for Xlib.h.
8296 # First, try using that file with no special directory specified.
8297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8298 /* end confdefs.h. */
8299 #include <X11/Xlib.h>
8301 if ac_fn_c_try_cpp
"$LINENO"; then :
8302 # We can compile using X headers with no special include directory.
8305 for ac_dir
in $ac_x_header_dirs; do
8306 if test -r "$ac_dir/X11/Xlib.h"; then
8307 ac_x_includes
=$ac_dir
8312 rm -f conftest.err conftest.i conftest.
$ac_ext
8313 fi # $ac_x_includes = no
8315 if test "$ac_x_libraries" = no
; then
8316 # Check for the libraries.
8317 # See if we find them without any special options.
8318 # Don't add to $LIBS permanently.
8321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8322 /* end confdefs.h. */
8323 #include <X11/Xlib.h>
8332 if ac_fn_c_try_link
"$LINENO"; then :
8334 # We can link X programs with no special library path.
8338 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8340 # Don't even attempt the hair of trying to link an X program!
8341 for ac_extension
in a so sl dylib la dll
; do
8342 if test -r "$ac_dir/libX11.$ac_extension"; then
8343 ac_x_libraries
=$ac_dir
8349 rm -f core conftest.err conftest.
$ac_objext \
8350 conftest
$ac_exeext conftest.
$ac_ext
8351 fi # $ac_x_libraries = no
8353 case $ac_x_includes,$ac_x_libraries in #(
8355 # Didn't find X, or a directory has "'" in its name.
8356 ac_cv_have_x
="have_x=no";; #(
8358 # Record where we found X for the cache.
8359 ac_cv_have_x
="have_x=yes\
8360 ac_x_includes='$ac_x_includes'\
8361 ac_x_libraries='$ac_x_libraries'"
8367 eval "$ac_cv_have_x"
8370 if test "$have_x" != yes; then
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8372 $as_echo "$have_x" >&6; }
8375 # If each of the values was on the command line, it overrides each guess.
8376 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8377 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8378 # Update the cache value to reflect the command line values.
8379 ac_cv_have_x
="have_x=yes\
8380 ac_x_includes='$x_includes'\
8381 ac_x_libraries='$x_libraries'"
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8383 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8386 if test "$no_x" = yes; then
8387 # Not all programs may use this symbol, but it does not hurt to define it.
8389 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8391 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8393 if test -n "$x_includes"; then
8394 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8397 # It would also be nice to do this for all -L options, not just this one.
8398 if test -n "$x_libraries"; then
8399 X_LIBS
="$X_LIBS -L$x_libraries"
8400 # For Solaris; some versions of Sun CC require a space after -R and
8401 # others require no space. Words are not sufficient . . . .
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8403 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8404 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8405 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8406 ac_c_werror_flag
=yes
8407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8408 /* end confdefs.h. */
8418 if ac_fn_c_try_link
"$LINENO"; then :
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8420 $as_echo "no" >&6; }
8421 X_LIBS
="$X_LIBS -R$x_libraries"
8423 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8425 /* end confdefs.h. */
8435 if ac_fn_c_try_link
"$LINENO"; then :
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8437 $as_echo "yes" >&6; }
8438 X_LIBS
="$X_LIBS -R $x_libraries"
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8441 $as_echo "neither works" >&6; }
8443 rm -f core conftest.err conftest.
$ac_objext \
8444 conftest
$ac_exeext conftest.
$ac_ext
8446 rm -f core conftest.err conftest.
$ac_objext \
8447 conftest
$ac_exeext conftest.
$ac_ext
8448 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8452 # Check for system-dependent libraries X programs must link with.
8453 # Do this before checking for the system-independent R6 libraries
8454 # (-lICE), since we may need -lsocket or whatever for X linking.
8456 if test "$ISC" = yes; then
8457 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8459 # Martyn Johnson says this is needed for Ultrix, if the X
8460 # libraries were built with DECnet support. And Karl Berry says
8461 # the Alpha needs dnet_stub (dnet does not exist).
8462 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8464 /* end confdefs.h. */
8466 /* Override any GCC internal prototype to avoid an error.
8467 Use char because int might match the return type of a GCC
8468 builtin and then its argument prototype would still apply. */
8472 char XOpenDisplay ();
8476 return XOpenDisplay ();
8481 if ac_fn_c_try_link
"$LINENO"; then :
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8485 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8486 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8487 $as_echo_n "(cached) " >&6
8489 ac_check_lib_save_LIBS
=$LIBS
8491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8492 /* end confdefs.h. */
8494 /* Override any GCC internal prototype to avoid an error.
8495 Use char because int might match the return type of a GCC
8496 builtin and then its argument prototype would still apply. */
8504 return dnet_ntoa ();
8509 if ac_fn_c_try_link
"$LINENO"; then :
8510 ac_cv_lib_dnet_dnet_ntoa
=yes
8512 ac_cv_lib_dnet_dnet_ntoa
=no
8514 rm -f core conftest.err conftest.
$ac_objext \
8515 conftest
$ac_exeext conftest.
$ac_ext
8516 LIBS
=$ac_check_lib_save_LIBS
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8519 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8520 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8521 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8524 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8526 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8527 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8528 $as_echo_n "(cached) " >&6
8530 ac_check_lib_save_LIBS
=$LIBS
8531 LIBS
="-ldnet_stub $LIBS"
8532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8533 /* end confdefs.h. */
8535 /* Override any GCC internal prototype to avoid an error.
8536 Use char because int might match the return type of a GCC
8537 builtin and then its argument prototype would still apply. */
8545 return dnet_ntoa ();
8550 if ac_fn_c_try_link
"$LINENO"; then :
8551 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8553 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8555 rm -f core conftest.err conftest.
$ac_objext \
8556 conftest
$ac_exeext conftest.
$ac_ext
8557 LIBS
=$ac_check_lib_save_LIBS
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8560 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8561 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8562 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8567 rm -f core conftest.err conftest.
$ac_objext \
8568 conftest
$ac_exeext conftest.
$ac_ext
8569 LIBS
="$ac_xsave_LIBS"
8571 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8572 # to get the SysV transport functions.
8573 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8575 # The nsl library prevents programs from opening the X display
8576 # on Irix 5.2, according to T.E. Dickey.
8577 # The functions gethostbyname, getservbyname, and inet_addr are
8578 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8579 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8580 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8584 if test $ac_cv_func_gethostbyname = no
; then
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8586 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8587 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8588 $as_echo_n "(cached) " >&6
8590 ac_check_lib_save_LIBS
=$LIBS
8592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8593 /* end confdefs.h. */
8595 /* Override any GCC internal prototype to avoid an error.
8596 Use char because int might match the return type of a GCC
8597 builtin and then its argument prototype would still apply. */
8601 char gethostbyname ();
8605 return gethostbyname ();
8610 if ac_fn_c_try_link
"$LINENO"; then :
8611 ac_cv_lib_nsl_gethostbyname
=yes
8613 ac_cv_lib_nsl_gethostbyname
=no
8615 rm -f core conftest.err conftest.
$ac_objext \
8616 conftest
$ac_exeext conftest.
$ac_ext
8617 LIBS
=$ac_check_lib_save_LIBS
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8620 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8621 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
8622 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8625 if test $ac_cv_lib_nsl_gethostbyname = no
; then
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8627 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8628 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
8629 $as_echo_n "(cached) " >&6
8631 ac_check_lib_save_LIBS
=$LIBS
8633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8634 /* end confdefs.h. */
8636 /* Override any GCC internal prototype to avoid an error.
8637 Use char because int might match the return type of a GCC
8638 builtin and then its argument prototype would still apply. */
8642 char gethostbyname ();
8646 return gethostbyname ();
8651 if ac_fn_c_try_link
"$LINENO"; then :
8652 ac_cv_lib_bsd_gethostbyname
=yes
8654 ac_cv_lib_bsd_gethostbyname
=no
8656 rm -f core conftest.err conftest.
$ac_objext \
8657 conftest
$ac_exeext conftest.
$ac_ext
8658 LIBS
=$ac_check_lib_save_LIBS
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8661 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8662 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
8663 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
8669 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8670 # socket/setsockopt and other routines are undefined under SCO ODT
8671 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8672 # on later versions), says Simon Leinen: it contains gethostby*
8673 # variants that don't use the name server (or something). -lsocket
8674 # must be given before -lnsl if both are needed. We assume that
8675 # if connect needs -lnsl, so does gethostbyname.
8676 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
8677 if test "x$ac_cv_func_connect" = xyes
; then :
8681 if test $ac_cv_func_connect = no
; then
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8683 $as_echo_n "checking for connect in -lsocket... " >&6; }
8684 if ${ac_cv_lib_socket_connect+:} false
; then :
8685 $as_echo_n "(cached) " >&6
8687 ac_check_lib_save_LIBS
=$LIBS
8688 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8690 /* end confdefs.h. */
8692 /* Override any GCC internal prototype to avoid an error.
8693 Use char because int might match the return type of a GCC
8694 builtin and then its argument prototype would still apply. */
8707 if ac_fn_c_try_link
"$LINENO"; then :
8708 ac_cv_lib_socket_connect
=yes
8710 ac_cv_lib_socket_connect
=no
8712 rm -f core conftest.err conftest.
$ac_objext \
8713 conftest
$ac_exeext conftest.
$ac_ext
8714 LIBS
=$ac_check_lib_save_LIBS
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8717 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8718 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
8719 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8724 # Guillermo Gomez says -lposix is necessary on A/UX.
8725 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
8726 if test "x$ac_cv_func_remove" = xyes
; then :
8730 if test $ac_cv_func_remove = no
; then
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8732 $as_echo_n "checking for remove in -lposix... " >&6; }
8733 if ${ac_cv_lib_posix_remove+:} false
; then :
8734 $as_echo_n "(cached) " >&6
8736 ac_check_lib_save_LIBS
=$LIBS
8737 LIBS
="-lposix $LIBS"
8738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8739 /* end confdefs.h. */
8741 /* Override any GCC internal prototype to avoid an error.
8742 Use char because int might match the return type of a GCC
8743 builtin and then its argument prototype would still apply. */
8756 if ac_fn_c_try_link
"$LINENO"; then :
8757 ac_cv_lib_posix_remove
=yes
8759 ac_cv_lib_posix_remove
=no
8761 rm -f core conftest.err conftest.
$ac_objext \
8762 conftest
$ac_exeext conftest.
$ac_ext
8763 LIBS
=$ac_check_lib_save_LIBS
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8766 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8767 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
8768 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8773 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8774 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
8775 if test "x$ac_cv_func_shmat" = xyes
; then :
8779 if test $ac_cv_func_shmat = no
; then
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8781 $as_echo_n "checking for shmat in -lipc... " >&6; }
8782 if ${ac_cv_lib_ipc_shmat+:} false
; then :
8783 $as_echo_n "(cached) " >&6
8785 ac_check_lib_save_LIBS
=$LIBS
8787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8788 /* end confdefs.h. */
8790 /* Override any GCC internal prototype to avoid an error.
8791 Use char because int might match the return type of a GCC
8792 builtin and then its argument prototype would still apply. */
8805 if ac_fn_c_try_link
"$LINENO"; then :
8806 ac_cv_lib_ipc_shmat
=yes
8808 ac_cv_lib_ipc_shmat
=no
8810 rm -f core conftest.err conftest.
$ac_objext \
8811 conftest
$ac_exeext conftest.
$ac_ext
8812 LIBS
=$ac_check_lib_save_LIBS
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8815 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8816 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
8817 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8823 # Check for libraries that X11R6 Xt/Xaw programs need.
8824 ac_save_LDFLAGS
=$LDFLAGS
8825 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8826 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8827 # check for ICE first), but we must link in the order -lSM -lICE or
8828 # we get undefined symbols. So assume we have SM if we have ICE.
8829 # These have to be linked with before -lX11, unlike the other
8830 # libraries we check for below, so use a different variable.
8831 # John Interrante, Karl Berry
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8833 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8834 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
8835 $as_echo_n "(cached) " >&6
8837 ac_check_lib_save_LIBS
=$LIBS
8838 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8840 /* end confdefs.h. */
8842 /* Override any GCC internal prototype to avoid an error.
8843 Use char because int might match the return type of a GCC
8844 builtin and then its argument prototype would still apply. */
8848 char IceConnectionNumber ();
8852 return IceConnectionNumber ();
8857 if ac_fn_c_try_link
"$LINENO"; then :
8858 ac_cv_lib_ICE_IceConnectionNumber
=yes
8860 ac_cv_lib_ICE_IceConnectionNumber
=no
8862 rm -f core conftest.err conftest.
$ac_objext \
8863 conftest
$ac_exeext conftest.
$ac_ext
8864 LIBS
=$ac_check_lib_save_LIBS
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8867 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8868 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
8869 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8872 LDFLAGS
=$ac_save_LDFLAGS
8877 if test "$have_x" = "yes"
8880 ac_save_CPPFLAGS
="$CPPFLAGS"
8881 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8884 $as_echo_n "checking for -lX11... " >&6; }
8885 if ${ac_cv_lib_soname_X11+:} false
; then :
8886 $as_echo_n "(cached) " >&6
8888 ac_check_soname_save_LIBS
=$LIBS
8889 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8891 /* end confdefs.h. */
8893 /* Override any GCC internal prototype to avoid an error.
8894 Use char because int might match the return type of a GCC
8895 builtin and then its argument prototype would still apply. */
8899 char XCreateWindow ();
8903 return XCreateWindow ();
8908 if ac_fn_c_try_link
"$LINENO"; then :
8910 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8911 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'` ;;
8912 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8913 if test "x$ac_cv_lib_soname_X11" = x
; then :
8914 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8918 rm -f core conftest.err conftest.
$ac_objext \
8919 conftest
$ac_exeext conftest.
$ac_ext
8920 LIBS
=$ac_check_soname_save_LIBS
8922 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8924 $as_echo "not found" >&6; }
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8928 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8930 cat >>confdefs.h
<<_ACEOF
8931 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8937 $as_echo_n "checking for -lXext... " >&6; }
8938 if ${ac_cv_lib_soname_Xext+:} false
; then :
8939 $as_echo_n "(cached) " >&6
8941 ac_check_soname_save_LIBS
=$LIBS
8942 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8944 /* end confdefs.h. */
8946 /* Override any GCC internal prototype to avoid an error.
8947 Use char because int might match the return type of a GCC
8948 builtin and then its argument prototype would still apply. */
8952 char XextCreateExtension ();
8956 return XextCreateExtension ();
8961 if ac_fn_c_try_link
"$LINENO"; then :
8963 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8964 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'` ;;
8965 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8966 if test "x$ac_cv_lib_soname_Xext" = x
; then :
8967 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8971 rm -f core conftest.err conftest.
$ac_objext \
8972 conftest
$ac_exeext conftest.
$ac_ext
8973 LIBS
=$ac_check_soname_save_LIBS
8975 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8977 $as_echo "not found" >&6; }
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8981 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8983 cat >>confdefs.h
<<_ACEOF
8984 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8990 for ac_header
in X11
/Xlib.h \
8993 X11
/Xcursor
/Xcursor.h \
8994 X11
/extensions
/shape.h \
8995 X11
/extensions
/XInput.h \
8996 X11
/extensions
/XInput2.h \
8997 X11
/extensions
/XShm.h \
8998 X11
/extensions
/Xcomposite.h \
8999 X11
/extensions
/Xinerama.h \
9000 X11
/extensions
/Xrandr.h \
9001 X11
/extensions
/Xrender.h \
9002 X11
/extensions
/xf86vmode.h \
9003 X11
/extensions
/xf86vmproto.h
9005 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9006 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9007 # include <X11/Xlib.h>
9009 #ifdef HAVE_X11_XUTIL_H
9010 # include <X11/Xutil.h>
9013 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9014 cat >>confdefs.h
<<_ACEOF
9015 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9023 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9026 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9027 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9028 $as_echo_n "(cached) " >&6
9030 ac_check_lib_save_LIBS
=$LIBS
9031 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9033 /* end confdefs.h. */
9035 /* Override any GCC internal prototype to avoid an error.
9036 Use char because int might match the return type of a GCC
9037 builtin and then its argument prototype would still apply. */
9041 char XkbQueryExtension ();
9045 return XkbQueryExtension ();
9050 if ac_fn_c_try_link
"$LINENO"; then :
9051 ac_cv_lib_X11_XkbQueryExtension
=yes
9053 ac_cv_lib_X11_XkbQueryExtension
=no
9055 rm -f core conftest.err conftest.
$ac_objext \
9056 conftest
$ac_exeext conftest.
$ac_ext
9057 LIBS
=$ac_check_lib_save_LIBS
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9060 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9061 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9063 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9069 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9072 $as_echo_n "checking for -lXcursor... " >&6; }
9073 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9074 $as_echo_n "(cached) " >&6
9076 ac_check_soname_save_LIBS
=$LIBS
9077 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9079 /* end confdefs.h. */
9081 /* Override any GCC internal prototype to avoid an error.
9082 Use char because int might match the return type of a GCC
9083 builtin and then its argument prototype would still apply. */
9087 char XcursorImageLoadCursor ();
9091 return XcursorImageLoadCursor ();
9096 if ac_fn_c_try_link
"$LINENO"; then :
9098 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9099 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'` ;;
9100 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9101 if test "x$ac_cv_lib_soname_Xcursor" = x
; then :
9102 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9106 rm -f core conftest.err conftest.
$ac_objext \
9107 conftest
$ac_exeext conftest.
$ac_ext
9108 LIBS
=$ac_check_soname_save_LIBS
9110 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9112 $as_echo "not found" >&6; }
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9116 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9118 cat >>confdefs.h
<<_ACEOF
9119 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9125 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9126 case "x$with_xcursor" in
9127 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9129 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9130 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9134 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9137 $as_echo_n "checking for -lXi... " >&6; }
9138 if ${ac_cv_lib_soname_Xi+:} false
; then :
9139 $as_echo_n "(cached) " >&6
9141 ac_check_soname_save_LIBS
=$LIBS
9142 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9144 /* end confdefs.h. */
9146 /* Override any GCC internal prototype to avoid an error.
9147 Use char because int might match the return type of a GCC
9148 builtin and then its argument prototype would still apply. */
9152 char XOpenDevice ();
9156 return XOpenDevice ();
9161 if ac_fn_c_try_link
"$LINENO"; then :
9163 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9164 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'` ;;
9165 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9166 if test "x$ac_cv_lib_soname_Xi" = x
; then :
9167 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9171 rm -f core conftest.err conftest.
$ac_objext \
9172 conftest
$ac_exeext conftest.
$ac_ext
9173 LIBS
=$ac_check_soname_save_LIBS
9175 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9177 $as_echo "not found" >&6; }
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9181 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9183 cat >>confdefs.h
<<_ACEOF
9184 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9190 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9191 case "x$with_xinput" in
9192 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9194 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9195 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9199 if test "x$ac_cv_lib_soname_Xi" != x
9201 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9202 case "x$with_xinput2" in
9203 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9205 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9206 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9211 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9214 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9215 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9216 $as_echo_n "(cached) " >&6
9218 ac_check_lib_save_LIBS
=$LIBS
9219 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9221 /* end confdefs.h. */
9223 /* Override any GCC internal prototype to avoid an error.
9224 Use char because int might match the return type of a GCC
9225 builtin and then its argument prototype would still apply. */
9229 char XShmQueryExtension ();
9233 return XShmQueryExtension ();
9238 if ac_fn_c_try_link
"$LINENO"; then :
9239 ac_cv_lib_Xext_XShmQueryExtension
=yes
9241 ac_cv_lib_Xext_XShmQueryExtension
=no
9243 rm -f core conftest.err conftest.
$ac_objext \
9244 conftest
$ac_exeext conftest.
$ac_ext
9245 LIBS
=$ac_check_lib_save_LIBS
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9248 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9249 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9251 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9256 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9257 case "x$with_xshm" in
9258 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9260 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9261 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9265 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9268 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9269 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9270 $as_echo_n "(cached) " >&6
9272 ac_check_lib_save_LIBS
=$LIBS
9273 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9275 /* end confdefs.h. */
9277 /* Override any GCC internal prototype to avoid an error.
9278 Use char because int might match the return type of a GCC
9279 builtin and then its argument prototype would still apply. */
9283 char XShapeQueryExtension ();
9287 return XShapeQueryExtension ();
9292 if ac_fn_c_try_link
"$LINENO"; then :
9293 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9295 ac_cv_lib_Xext_XShapeQueryExtension
=no
9297 rm -f core conftest.err conftest.
$ac_objext \
9298 conftest
$ac_exeext conftest.
$ac_ext
9299 LIBS
=$ac_check_lib_save_LIBS
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9302 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9303 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9305 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9310 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9311 case "x$with_xshape" in
9312 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9314 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9315 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9319 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9322 $as_echo_n "checking for -lXxf86vm... " >&6; }
9323 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9324 $as_echo_n "(cached) " >&6
9326 ac_check_soname_save_LIBS
=$LIBS
9327 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9329 /* end confdefs.h. */
9331 /* Override any GCC internal prototype to avoid an error.
9332 Use char because int might match the return type of a GCC
9333 builtin and then its argument prototype would still apply. */
9337 char XF86VidModeQueryExtension ();
9341 return XF86VidModeQueryExtension ();
9346 if ac_fn_c_try_link
"$LINENO"; then :
9348 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9349 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'` ;;
9350 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9351 if test "x$ac_cv_lib_soname_Xxf86vm" = x
; then :
9352 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9356 rm -f core conftest.err conftest.
$ac_objext \
9357 conftest
$ac_exeext conftest.
$ac_ext
9358 LIBS
=$ac_check_soname_save_LIBS
9360 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9362 $as_echo "not found" >&6; }
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9366 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9368 cat >>confdefs.h
<<_ACEOF
9369 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9375 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9376 case "x$with_xxf86vm" in
9377 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9379 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9380 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9384 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"
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9387 $as_echo_n "checking for -lXrender... " >&6; }
9388 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9389 $as_echo_n "(cached) " >&6
9391 ac_check_soname_save_LIBS
=$LIBS
9392 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9394 /* end confdefs.h. */
9396 /* Override any GCC internal prototype to avoid an error.
9397 Use char because int might match the return type of a GCC
9398 builtin and then its argument prototype would still apply. */
9402 char XRenderQueryExtension ();
9406 return XRenderQueryExtension ();
9411 if ac_fn_c_try_link
"$LINENO"; then :
9413 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9414 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'` ;;
9415 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9416 if test "x$ac_cv_lib_soname_Xrender" = x
; then :
9417 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9421 rm -f core conftest.err conftest.
$ac_objext \
9422 conftest
$ac_exeext conftest.
$ac_ext
9423 LIBS
=$ac_check_soname_save_LIBS
9425 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9427 $as_echo "not found" >&6; }
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9431 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9433 cat >>confdefs.h
<<_ACEOF
9434 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9438 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9439 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9440 $as_echo_n "(cached) " >&6
9442 ac_check_lib_save_LIBS
=$LIBS
9443 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9445 /* end confdefs.h. */
9447 /* Override any GCC internal prototype to avoid an error.
9448 Use char because int might match the return type of a GCC
9449 builtin and then its argument prototype would still apply. */
9453 char XRenderSetPictureTransform ();
9457 return XRenderSetPictureTransform ();
9462 if ac_fn_c_try_link
"$LINENO"; then :
9463 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9465 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9467 rm -f core conftest.err conftest.
$ac_objext \
9468 conftest
$ac_exeext conftest.
$ac_ext
9469 LIBS
=$ac_check_lib_save_LIBS
9471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9472 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9473 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9475 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9480 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9481 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9482 $as_echo_n "(cached) " >&6
9484 ac_check_lib_save_LIBS
=$LIBS
9485 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9487 /* end confdefs.h. */
9489 /* Override any GCC internal prototype to avoid an error.
9490 Use char because int might match the return type of a GCC
9491 builtin and then its argument prototype would still apply. */
9495 char XRenderCreateLinearGradient ();
9499 return XRenderCreateLinearGradient ();
9504 if ac_fn_c_try_link
"$LINENO"; then :
9505 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9507 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9509 rm -f core conftest.err conftest.
$ac_objext \
9510 conftest
$ac_exeext conftest.
$ac_ext
9511 LIBS
=$ac_check_lib_save_LIBS
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9514 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9515 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9517 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9524 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9525 case "x$with_xrender" in
9526 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9528 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9529 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9533 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9536 /* end confdefs.h. */
9537 #include <X11/Xlib.h>
9538 #include <X11/extensions/Xrandr.h>
9542 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9547 if ac_fn_c_try_compile
"$LINENO"; then :
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9549 $as_echo_n "checking for -lXrandr... " >&6; }
9550 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9551 $as_echo_n "(cached) " >&6
9553 ac_check_soname_save_LIBS
=$LIBS
9554 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9556 /* end confdefs.h. */
9558 /* Override any GCC internal prototype to avoid an error.
9559 Use char because int might match the return type of a GCC
9560 builtin and then its argument prototype would still apply. */
9564 char XRRQueryExtension ();
9568 return XRRQueryExtension ();
9573 if ac_fn_c_try_link
"$LINENO"; then :
9575 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9576 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'` ;;
9577 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9578 if test "x$ac_cv_lib_soname_Xrandr" = x
; then :
9579 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9583 rm -f core conftest.err conftest.
$ac_objext \
9584 conftest
$ac_exeext conftest.
$ac_ext
9585 LIBS
=$ac_check_soname_save_LIBS
9587 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9589 $as_echo "not found" >&6; }
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9593 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9595 cat >>confdefs.h
<<_ACEOF
9596 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9600 /* end confdefs.h. */
9601 #include <X11/Xlib.h>
9602 #include <X11/extensions/Xrandr.h>
9606 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9611 if ac_fn_c_try_compile
"$LINENO"; then :
9613 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9621 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9622 case "x$with_xrandr" in
9623 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9625 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9626 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9630 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9633 /* end confdefs.h. */
9634 #include <X11/Xlib.h>
9635 #include <X11/extensions/Xinerama.h>
9639 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9644 if ac_fn_c_try_compile
"$LINENO"; then :
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9646 $as_echo_n "checking for -lXinerama... " >&6; }
9647 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
9648 $as_echo_n "(cached) " >&6
9650 ac_check_soname_save_LIBS
=$LIBS
9651 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9653 /* end confdefs.h. */
9655 /* Override any GCC internal prototype to avoid an error.
9656 Use char because int might match the return type of a GCC
9657 builtin and then its argument prototype would still apply. */
9661 char XineramaQueryScreens ();
9665 return XineramaQueryScreens ();
9670 if ac_fn_c_try_link
"$LINENO"; then :
9672 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9673 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'` ;;
9674 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9675 if test "x$ac_cv_lib_soname_Xinerama" = x
; then :
9676 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9680 rm -f core conftest.err conftest.
$ac_objext \
9681 conftest
$ac_exeext conftest.
$ac_ext
9682 LIBS
=$ac_check_soname_save_LIBS
9684 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9686 $as_echo "not found" >&6; }
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9690 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9692 cat >>confdefs.h
<<_ACEOF
9693 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9699 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9701 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9702 case "x$with_xinerama" in
9703 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9705 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9706 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9710 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9713 $as_echo_n "checking for -lXcomposite... " >&6; }
9714 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
9715 $as_echo_n "(cached) " >&6
9717 ac_check_soname_save_LIBS
=$LIBS
9718 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9720 /* end confdefs.h. */
9722 /* Override any GCC internal prototype to avoid an error.
9723 Use char because int might match the return type of a GCC
9724 builtin and then its argument prototype would still apply. */
9728 char XCompositeRedirectWindow ();
9732 return XCompositeRedirectWindow ();
9737 if ac_fn_c_try_link
"$LINENO"; then :
9739 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9740 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'` ;;
9741 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9742 if test "x$ac_cv_lib_soname_Xcomposite" = x
; then :
9743 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9747 rm -f core conftest.err conftest.
$ac_objext \
9748 conftest
$ac_exeext conftest.
$ac_ext
9749 LIBS
=$ac_check_soname_save_LIBS
9751 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9753 $as_echo "not found" >&6; }
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9757 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9759 cat >>confdefs.h
<<_ACEOF
9760 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9766 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9767 case "x$with_xcomposite" in
9768 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9770 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9771 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9775 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9776 #include <X11/Xlib.h>
9779 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
9781 cat >>confdefs.h
<<_ACEOF
9782 #define HAVE_XICCALLBACK_CALLBACK 1
9787 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9788 #include <X11/Xlib.h>
9791 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
9793 cat >>confdefs.h
<<_ACEOF
9794 #define HAVE_XEVENT_XCOOKIE 1
9803 if test "x$with_opengl" != "xno"
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9806 $as_echo_n "checking for -lGL... " >&6; }
9807 if ${ac_cv_lib_soname_GL+:} false
; then :
9808 $as_echo_n "(cached) " >&6
9810 ac_check_soname_save_LIBS
=$LIBS
9811 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9813 /* end confdefs.h. */
9815 /* Override any GCC internal prototype to avoid an error.
9816 Use char because int might match the return type of a GCC
9817 builtin and then its argument prototype would still apply. */
9821 char glXCreateContext ();
9825 return glXCreateContext ();
9830 if ac_fn_c_try_link
"$LINENO"; then :
9832 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9833 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'` ;;
9834 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9835 if test "x$ac_cv_lib_soname_GL" = x
; then :
9836 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9840 rm -f core conftest.err conftest.
$ac_objext \
9841 conftest
$ac_exeext conftest.
$ac_ext
9842 LIBS
=$ac_check_soname_save_LIBS
9844 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9846 $as_echo "not found" >&6; }
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9848 $as_echo_n "checking for -lGL... " >&6; }
9849 if ${ac_cv_lib_soname_GL+:} false
; then :
9850 $as_echo_n "(cached) " >&6
9852 ac_check_soname_save_LIBS
=$LIBS
9853 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
9854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9855 /* end confdefs.h. */
9857 /* Override any GCC internal prototype to avoid an error.
9858 Use char because int might match the return type of a GCC
9859 builtin and then its argument prototype would still apply. */
9863 char glXCreateContext ();
9867 return glXCreateContext ();
9872 if ac_fn_c_try_link
"$LINENO"; then :
9874 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9875 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'` ;;
9876 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9877 if test "x$ac_cv_lib_soname_GL" = x
; then :
9878 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9882 rm -f core conftest.err conftest.
$ac_objext \
9883 conftest
$ac_exeext conftest.
$ac_ext
9884 LIBS
=$ac_check_soname_save_LIBS
9886 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9888 $as_echo "not found" >&6; }
9889 if test -f /usr
/X11R
6/lib
/libGL.a
9891 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
9892 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9894 opengl_msg
="No OpenGL library found on this system."
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9898 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9900 cat >>confdefs.h
<<_ACEOF
9901 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9904 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"
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9908 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9910 cat >>confdefs.h
<<_ACEOF
9911 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9916 if test "x$with_glu" != "xno"
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9919 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9920 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
9921 $as_echo_n "(cached) " >&6
9923 ac_check_lib_save_LIBS
=$LIBS
9924 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9926 /* end confdefs.h. */
9928 /* Override any GCC internal prototype to avoid an error.
9929 Use char because int might match the return type of a GCC
9930 builtin and then its argument prototype would still apply. */
9938 return gluLookAt ();
9943 if ac_fn_c_try_link
"$LINENO"; then :
9944 ac_cv_lib_GLU_gluLookAt
=yes
9946 ac_cv_lib_GLU_gluLookAt
=no
9948 rm -f core conftest.err conftest.
$ac_objext \
9949 conftest
$ac_exeext conftest.
$ac_ext
9950 LIBS
=$ac_check_lib_save_LIBS
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9953 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9954 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
9958 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
9959 case "x$with_glu" in
9960 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9962 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
9963 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9968 if test "x$with_osmesa" != "xno"
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9971 $as_echo_n "checking for -lOSMesa... " >&6; }
9972 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
9973 $as_echo_n "(cached) " >&6
9975 ac_check_soname_save_LIBS
=$LIBS
9976 LIBS
="-lOSMesa $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9978 /* end confdefs.h. */
9980 /* Override any GCC internal prototype to avoid an error.
9981 Use char because int might match the return type of a GCC
9982 builtin and then its argument prototype would still apply. */
9995 if ac_fn_c_try_link
"$LINENO"; then :
9997 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9998 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'` ;;
9999 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10000 if test "x$ac_cv_lib_soname_OSMesa" = x
; then :
10001 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10005 rm -f core conftest.err conftest.
$ac_objext \
10006 conftest
$ac_exeext conftest.
$ac_ext
10007 LIBS
=$ac_check_soname_save_LIBS
10009 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10011 $as_echo "not found" >&6; }
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10015 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10017 cat >>confdefs.h
<<_ACEOF
10018 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10023 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10024 case "x$with_osmesa" in
10025 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10027 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10028 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10033 if test -n "$opengl_msg"; then :
10034 case "x$with_opengl" in
10035 x
) as_fn_append wine_warnings
"|$opengl_msg
10036 OpenGL and Direct3D won't be supported." ;;
10038 *) as_fn_error $?
"$opengl_msg
10039 OpenGL and Direct3D won't be supported.
10040 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10044 CPPFLAGS
="$ac_save_CPPFLAGS"
10049 enable_winex11_drv
=${enable_winex11_drv:-no}
10051 if test "x$XLIB" = "x"; then :
10054 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10055 without X support, which probably isn't what you want. You will need
10056 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10057 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10061 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10063 if test "$ac_cv_header_CL_cl_h" = "yes"
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10066 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10067 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10068 $as_echo_n "(cached) " >&6
10070 ac_check_lib_save_LIBS
=$LIBS
10071 LIBS
="-lOpenCL $LIBS"
10072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10073 /* end confdefs.h. */
10075 /* Override any GCC internal prototype to avoid an error.
10076 Use char because int might match the return type of a GCC
10077 builtin and then its argument prototype would still apply. */
10081 char clGetPlatformInfo ();
10085 return clGetPlatformInfo ();
10090 if ac_fn_c_try_link
"$LINENO"; then :
10091 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10093 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10095 rm -f core conftest.err conftest.
$ac_objext \
10096 conftest
$ac_exeext conftest.
$ac_ext
10097 LIBS
=$ac_check_lib_save_LIBS
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10100 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10101 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10102 LIBOPENCL
="-lOpenCL"
10107 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10108 case "x$with_opencl" in
10109 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10111 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10112 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10115 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10118 if test "x$with_xml" != "xno"
10120 if test -n "$XML2_CFLAGS"; then :
10122 elif test -n "$PKG_CONFIG"; then :
10123 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10125 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10126 if test -n "$XML2_LIBS"; then :
10128 elif test -n "$PKG_CONFIG"; then :
10129 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10131 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10132 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10133 ac_save_CPPFLAGS
=$CPPFLAGS
10134 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10135 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10137 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10138 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10139 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10140 cat >>confdefs.h
<<_ACEOF
10141 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10148 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"
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10151 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10152 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10153 $as_echo_n "(cached) " >&6
10155 ac_check_lib_save_LIBS
=$LIBS
10156 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10158 /* end confdefs.h. */
10160 /* Override any GCC internal prototype to avoid an error.
10161 Use char because int might match the return type of a GCC
10162 builtin and then its argument prototype would still apply. */
10166 char xmlParseMemory ();
10170 return xmlParseMemory ();
10175 if ac_fn_c_try_link
"$LINENO"; then :
10176 ac_cv_lib_xml2_xmlParseMemory
=yes
10178 ac_cv_lib_xml2_xmlParseMemory
=no
10180 rm -f core conftest.err conftest.
$ac_objext \
10181 conftest
$ac_exeext conftest.
$ac_ext
10182 LIBS
=$ac_check_lib_save_LIBS
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10185 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10186 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10188 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10195 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10196 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10197 $as_echo_n "(cached) " >&6
10199 ac_check_lib_save_LIBS
=$LIBS
10200 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10202 /* end confdefs.h. */
10204 /* Override any GCC internal prototype to avoid an error.
10205 Use char because int might match the return type of a GCC
10206 builtin and then its argument prototype would still apply. */
10210 char xmlReadMemory ();
10214 return xmlReadMemory ();
10219 if ac_fn_c_try_link
"$LINENO"; then :
10220 ac_cv_lib_xml2_xmlReadMemory
=yes
10222 ac_cv_lib_xml2_xmlReadMemory
=no
10224 rm -f core conftest.err conftest.
$ac_objext \
10225 conftest
$ac_exeext conftest.
$ac_ext
10226 LIBS
=$ac_check_lib_save_LIBS
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10229 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10230 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10232 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10237 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10238 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10239 $as_echo_n "(cached) " >&6
10241 ac_check_lib_save_LIBS
=$LIBS
10242 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10244 /* end confdefs.h. */
10246 /* Override any GCC internal prototype to avoid an error.
10247 Use char because int might match the return type of a GCC
10248 builtin and then its argument prototype would still apply. */
10252 char xmlNewDocPI ();
10256 return xmlNewDocPI ();
10261 if ac_fn_c_try_link
"$LINENO"; then :
10262 ac_cv_lib_xml2_xmlNewDocPI
=yes
10264 ac_cv_lib_xml2_xmlNewDocPI
=no
10266 rm -f core conftest.err conftest.
$ac_objext \
10267 conftest
$ac_exeext conftest.
$ac_ext
10268 LIBS
=$ac_check_lib_save_LIBS
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10271 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10272 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10274 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10279 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10280 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10281 $as_echo_n "(cached) " >&6
10283 ac_check_lib_save_LIBS
=$LIBS
10284 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10286 /* end confdefs.h. */
10288 /* Override any GCC internal prototype to avoid an error.
10289 Use char because int might match the return type of a GCC
10290 builtin and then its argument prototype would still apply. */
10294 char xmlSchemaSetParserStructuredErrors ();
10298 return xmlSchemaSetParserStructuredErrors ();
10303 if ac_fn_c_try_link
"$LINENO"; then :
10304 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10306 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10308 rm -f core conftest.err conftest.
$ac_objext \
10309 conftest
$ac_exeext conftest.
$ac_ext
10310 LIBS
=$ac_check_lib_save_LIBS
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10313 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10314 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10316 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10321 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10322 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10323 $as_echo_n "(cached) " >&6
10325 ac_check_lib_save_LIBS
=$LIBS
10326 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10328 /* end confdefs.h. */
10330 /* Override any GCC internal prototype to avoid an error.
10331 Use char because int might match the return type of a GCC
10332 builtin and then its argument prototype would still apply. */
10336 char xmlSchemaSetValidStructuredErrors ();
10340 return xmlSchemaSetValidStructuredErrors ();
10345 if ac_fn_c_try_link
"$LINENO"; then :
10346 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10348 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10350 rm -f core conftest.err conftest.
$ac_objext \
10351 conftest
$ac_exeext conftest.
$ac_ext
10352 LIBS
=$ac_check_lib_save_LIBS
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10355 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10356 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10358 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10363 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10364 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10365 $as_echo_n "(cached) " >&6
10367 ac_check_lib_save_LIBS
=$LIBS
10368 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10370 /* end confdefs.h. */
10372 /* Override any GCC internal prototype to avoid an error.
10373 Use char because int might match the return type of a GCC
10374 builtin and then its argument prototype would still apply. */
10378 char xmlFirstElementChild ();
10382 return xmlFirstElementChild ();
10387 if ac_fn_c_try_link
"$LINENO"; then :
10388 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10390 ac_cv_lib_xml2_xmlFirstElementChild
=no
10392 rm -f core conftest.err conftest.
$ac_objext \
10393 conftest
$ac_exeext conftest.
$ac_ext
10394 LIBS
=$ac_check_lib_save_LIBS
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10397 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10398 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10400 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10404 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10406 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10408 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10416 CPPFLAGS
=$ac_save_CPPFLAGS
10417 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10418 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10421 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10422 case "x$with_xml" in
10423 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10425 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10426 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10430 if test "x$with_xslt" != "xno"
10432 if test -n "$XSLT_CFLAGS"; then :
10434 elif test -n "$PKG_CONFIG"; then :
10435 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10437 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10438 if test -n "$XSLT_LIBS"; then :
10440 elif test -n "$PKG_CONFIG"; then :
10441 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10443 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10444 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10445 ac_save_CPPFLAGS
=$CPPFLAGS
10446 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10447 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10449 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10450 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10451 # include <libxslt/pattern.h>
10454 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10455 cat >>confdefs.h
<<_ACEOF
10456 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10463 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10466 $as_echo_n "checking for -lxslt... " >&6; }
10467 if ${ac_cv_lib_soname_xslt+:} false
; then :
10468 $as_echo_n "(cached) " >&6
10470 ac_check_soname_save_LIBS
=$LIBS
10471 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10473 /* end confdefs.h. */
10475 /* Override any GCC internal prototype to avoid an error.
10476 Use char because int might match the return type of a GCC
10477 builtin and then its argument prototype would still apply. */
10481 char xsltCompilePattern ();
10485 return xsltCompilePattern ();
10490 if ac_fn_c_try_link
"$LINENO"; then :
10492 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10493 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'` ;;
10494 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10495 if test "x$ac_cv_lib_soname_xslt" = x
; then :
10496 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10500 rm -f core conftest.err conftest.
$ac_objext \
10501 conftest
$ac_exeext conftest.
$ac_ext
10502 LIBS
=$ac_check_soname_save_LIBS
10504 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10506 $as_echo "not found" >&6; }
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10510 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10512 cat >>confdefs.h
<<_ACEOF
10513 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10521 CPPFLAGS
=$ac_save_CPPFLAGS
10522 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10523 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10526 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10527 case "x$with_xslt" in
10528 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10530 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10531 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10535 if test "x$with_dbus" != "xno"
10537 if test -n "$DBUS_CFLAGS"; then :
10539 elif test -n "$PKG_CONFIG"; then :
10540 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10543 if test -n "$DBUS_LIBS"; then :
10545 elif test -n "$PKG_CONFIG"; then :
10546 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10550 ac_save_CPPFLAGS
=$CPPFLAGS
10551 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10552 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10553 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10555 $as_echo_n "checking for -ldbus-1... " >&6; }
10556 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10557 $as_echo_n "(cached) " >&6
10559 ac_check_soname_save_LIBS
=$LIBS
10560 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10562 /* end confdefs.h. */
10564 /* Override any GCC internal prototype to avoid an error.
10565 Use char because int might match the return type of a GCC
10566 builtin and then its argument prototype would still apply. */
10570 char dbus_connection_close ();
10574 return dbus_connection_close ();
10579 if ac_fn_c_try_link
"$LINENO"; then :
10581 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10582 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'` ;;
10583 *) 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'`
10584 if test "x$ac_cv_lib_soname_dbus_1" = x
; then :
10585 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10589 rm -f core conftest.err conftest.
$ac_objext \
10590 conftest
$ac_exeext conftest.
$ac_ext
10591 LIBS
=$ac_check_soname_save_LIBS
10593 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10595 $as_echo "not found" >&6; }
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10599 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10601 cat >>confdefs.h
<<_ACEOF
10602 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10612 CPPFLAGS
=$ac_save_CPPFLAGS
10613 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10614 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10617 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10618 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10619 case "x$with_dbus" in
10620 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10622 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
10623 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10627 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10629 if test -n "$HAL_CFLAGS"; then :
10631 elif test -n "$PKG_CONFIG"; then :
10632 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
10635 if test -n "$HAL_LIBS"; then :
10637 elif test -n "$PKG_CONFIG"; then :
10638 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
10641 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
10642 ac_save_CPPFLAGS
=$CPPFLAGS
10643 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
10644 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10645 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10647 $as_echo_n "checking for -lhal... " >&6; }
10648 if ${ac_cv_lib_soname_hal+:} false
; then :
10649 $as_echo_n "(cached) " >&6
10651 ac_check_soname_save_LIBS
=$LIBS
10652 LIBS
="-lhal $HAL_LIBS $LIBS"
10653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10654 /* end confdefs.h. */
10656 /* Override any GCC internal prototype to avoid an error.
10657 Use char because int might match the return type of a GCC
10658 builtin and then its argument prototype would still apply. */
10662 char libhal_ctx_new ();
10666 return libhal_ctx_new ();
10671 if ac_fn_c_try_link
"$LINENO"; then :
10673 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10674 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'` ;;
10675 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10676 if test "x$ac_cv_lib_soname_hal" = x
; then :
10677 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10681 rm -f core conftest.err conftest.
$ac_objext \
10682 conftest
$ac_exeext conftest.
$ac_ext
10683 LIBS
=$ac_check_soname_save_LIBS
10685 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10687 $as_echo "not found" >&6; }
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10691 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10693 cat >>confdefs.h
<<_ACEOF
10694 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10704 CPPFLAGS
=$ac_save_CPPFLAGS
10705 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10706 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10708 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10709 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10710 case "x$with_hal" in
10711 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10713 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
10714 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10719 if test "x$with_gnutls" != "xno"
10721 if test -n "$GNUTLS_CFLAGS"; then :
10723 elif test -n "$PKG_CONFIG"; then :
10724 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10727 if test -n "$GNUTLS_LIBS"; then :
10729 elif test -n "$PKG_CONFIG"; then :
10730 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10734 ac_save_CPPFLAGS
=$CPPFLAGS
10735 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
10736 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10737 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
10738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10739 /* end confdefs.h. */
10740 #include <gnutls/gnutls.h>
10741 #include <gnutls/crypto.h>
10745 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10750 if ac_fn_c_try_compile
"$LINENO"; then :
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10752 $as_echo_n "checking for -lgnutls... " >&6; }
10753 if ${ac_cv_lib_soname_gnutls+:} false
; then :
10754 $as_echo_n "(cached) " >&6
10756 ac_check_soname_save_LIBS
=$LIBS
10757 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
10758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10759 /* end confdefs.h. */
10761 /* Override any GCC internal prototype to avoid an error.
10762 Use char because int might match the return type of a GCC
10763 builtin and then its argument prototype would still apply. */
10767 char gnutls_global_init ();
10771 return gnutls_global_init ();
10776 if ac_fn_c_try_link
"$LINENO"; then :
10778 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10779 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'` ;;
10780 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10781 if test "x$ac_cv_lib_soname_gnutls" = x
; then :
10782 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10786 rm -f core conftest.err conftest.
$ac_objext \
10787 conftest
$ac_exeext conftest.
$ac_ext
10788 LIBS
=$ac_check_soname_save_LIBS
10790 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10792 $as_echo "not found" >&6; }
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10796 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10798 cat >>confdefs.h
<<_ACEOF
10799 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10811 CPPFLAGS
=$ac_save_CPPFLAGS
10812 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10813 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10816 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10817 case "x$with_gnutls" in
10818 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10820 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
10821 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10826 if test "$ac_cv_header_ncurses_h" = "yes"
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10829 $as_echo_n "checking for -lncurses... " >&6; }
10830 if ${ac_cv_lib_soname_ncurses+:} false
; then :
10831 $as_echo_n "(cached) " >&6
10833 ac_check_soname_save_LIBS
=$LIBS
10834 LIBS
="-lncurses $LIBS"
10835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10836 /* end confdefs.h. */
10838 /* Override any GCC internal prototype to avoid an error.
10839 Use char because int might match the return type of a GCC
10840 builtin and then its argument prototype would still apply. */
10853 if ac_fn_c_try_link
"$LINENO"; then :
10855 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10856 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'` ;;
10857 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10858 if test "x$ac_cv_lib_soname_ncurses" = x
; then :
10859 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10863 rm -f core conftest.err conftest.
$ac_objext \
10864 conftest
$ac_exeext conftest.
$ac_ext
10865 LIBS
=$ac_check_soname_save_LIBS
10867 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10869 $as_echo "not found" >&6; }
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10873 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10875 cat >>confdefs.h
<<_ACEOF
10876 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10879 CURSESLIBS
="-lncurses"
10881 elif test "$ac_cv_header_curses_h" = "yes"
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10884 $as_echo_n "checking for -lcurses... " >&6; }
10885 if ${ac_cv_lib_soname_curses+:} false
; then :
10886 $as_echo_n "(cached) " >&6
10888 ac_check_soname_save_LIBS
=$LIBS
10889 LIBS
="-lcurses $LIBS"
10890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10891 /* end confdefs.h. */
10893 /* Override any GCC internal prototype to avoid an error.
10894 Use char because int might match the return type of a GCC
10895 builtin and then its argument prototype would still apply. */
10908 if ac_fn_c_try_link
"$LINENO"; then :
10910 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10911 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'` ;;
10912 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10913 if test "x$ac_cv_lib_soname_curses" = x
; then :
10914 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10918 rm -f core conftest.err conftest.
$ac_objext \
10919 conftest
$ac_exeext conftest.
$ac_ext
10920 LIBS
=$ac_check_soname_save_LIBS
10922 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10924 $as_echo "not found" >&6; }
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10928 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10930 cat >>confdefs.h
<<_ACEOF
10931 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10934 CURSESLIBS
="-lcurses"
10937 ac_save_LIBS
="$LIBS"
10938 LIBS
="$LIBS $CURSESLIBS"
10939 for ac_func
in mousemask
10941 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
10942 if test "x$ac_cv_func_mousemask" = xyes
; then :
10943 cat >>confdefs.h
<<_ACEOF
10944 #define HAVE_MOUSEMASK 1
10950 LIBS
="$ac_save_LIBS"
10951 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10952 case "x$with_curses" in
10953 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10955 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10956 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10960 if test "x$with_sane" != "xno"
10962 if test -n "$SANE_CFLAGS"; then :
10964 elif test -n "$PKG_CONFIG"; then :
10965 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
10967 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
10968 if test -n "$SANE_LIBS"; then :
10970 elif test -n "$PKG_CONFIG"; then :
10971 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
10973 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
10975 ac_save_CPPFLAGS
=$CPPFLAGS
10976 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
10977 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10978 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10980 $as_echo_n "checking for -lsane... " >&6; }
10981 if ${ac_cv_lib_soname_sane+:} false
; then :
10982 $as_echo_n "(cached) " >&6
10984 ac_check_soname_save_LIBS
=$LIBS
10985 LIBS
="-lsane $SANE_LIBS $LIBS"
10986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10987 /* end confdefs.h. */
10989 /* Override any GCC internal prototype to avoid an error.
10990 Use char because int might match the return type of a GCC
10991 builtin and then its argument prototype would still apply. */
10999 return sane_init ();
11004 if ac_fn_c_try_link
"$LINENO"; then :
11006 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11007 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'` ;;
11008 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11009 if test "x$ac_cv_lib_soname_sane" = x
; then :
11010 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11014 rm -f core conftest.err conftest.
$ac_objext \
11015 conftest
$ac_exeext conftest.
$ac_ext
11016 LIBS
=$ac_check_soname_save_LIBS
11018 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11020 $as_echo "not found" >&6; }
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11024 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11026 cat >>confdefs.h
<<_ACEOF
11027 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11037 CPPFLAGS
=$ac_save_CPPFLAGS
11038 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11039 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11042 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11043 case "x$with_sane" in
11044 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11046 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11047 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11051 if test "x$with_v4l" != "xno"
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11054 $as_echo_n "checking for -lv4l1... " >&6; }
11055 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11056 $as_echo_n "(cached) " >&6
11058 ac_check_soname_save_LIBS
=$LIBS
11059 LIBS
="-lv4l1 $LIBS"
11060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11061 /* end confdefs.h. */
11063 /* Override any GCC internal prototype to avoid an error.
11064 Use char because int might match the return type of a GCC
11065 builtin and then its argument prototype would still apply. */
11073 return v4l1_open ();
11078 if ac_fn_c_try_link
"$LINENO"; then :
11080 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11081 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'` ;;
11082 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11083 if test "x$ac_cv_lib_soname_v4l1" = x
; then :
11084 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11088 rm -f core conftest.err conftest.
$ac_objext \
11089 conftest
$ac_exeext conftest.
$ac_ext
11090 LIBS
=$ac_check_soname_save_LIBS
11092 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11094 $as_echo "not found" >&6; }
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11098 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11100 cat >>confdefs.h
<<_ACEOF
11101 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11107 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11108 case "x$with_v4l" in
11109 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11111 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11112 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11116 if test "x$with_gphoto" != "xno"
11118 if test -n "$GPHOTO2_CFLAGS"; then :
11120 elif test -n "$PKG_CONFIG"; then :
11121 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11123 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11124 if test -n "$GPHOTO2_LIBS"; then :
11126 elif test -n "$PKG_CONFIG"; then :
11127 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11129 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11130 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11131 ac_save_CPPFLAGS
=$CPPFLAGS
11132 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11133 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11134 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11136 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11137 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11138 $as_echo_n "(cached) " >&6
11140 ac_check_lib_save_LIBS
=$LIBS
11141 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11143 /* end confdefs.h. */
11145 /* Override any GCC internal prototype to avoid an error.
11146 Use char because int might match the return type of a GCC
11147 builtin and then its argument prototype would still apply. */
11151 char gp_camera_new ();
11155 return gp_camera_new ();
11160 if ac_fn_c_try_link
"$LINENO"; then :
11161 ac_cv_lib_gphoto2_gp_camera_new
=yes
11163 ac_cv_lib_gphoto2_gp_camera_new
=no
11165 rm -f core conftest.err conftest.
$ac_objext \
11166 conftest
$ac_exeext conftest.
$ac_ext
11167 LIBS
=$ac_check_lib_save_LIBS
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11170 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11171 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11173 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11176 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11180 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11184 CPPFLAGS
=$ac_save_CPPFLAGS
11185 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11186 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11188 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
11190 elif test -n "$PKG_CONFIG"; then :
11191 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11193 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11194 if test -n "$GPHOTO2_PORT_LIBS"; then :
11196 elif test -n "$PKG_CONFIG"; then :
11197 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11199 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11200 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11201 ac_save_CPPFLAGS
=$CPPFLAGS
11202 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11203 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11204 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11206 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11207 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11208 $as_echo_n "(cached) " >&6
11210 ac_check_lib_save_LIBS
=$LIBS
11211 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11213 /* end confdefs.h. */
11215 /* Override any GCC internal prototype to avoid an error.
11216 Use char because int might match the return type of a GCC
11217 builtin and then its argument prototype would still apply. */
11221 char gp_port_info_list_new ();
11225 return gp_port_info_list_new ();
11230 if ac_fn_c_try_link
"$LINENO"; then :
11231 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11233 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11235 rm -f core conftest.err conftest.
$ac_objext \
11236 conftest
$ac_exeext conftest.
$ac_ext
11237 LIBS
=$ac_check_lib_save_LIBS
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11240 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11241 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11243 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11246 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11250 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11254 CPPFLAGS
=$ac_save_CPPFLAGS
11255 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11256 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11259 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11260 case "x$with_gphoto" in
11261 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11263 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11264 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11267 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11268 case "x$with_gphoto" in
11269 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11271 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11272 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11277 if test "$ac_cv_header_resolv_h" = "yes"
11279 ac_save_LIBS
="$LIBS"
11280 for lib
in '' -lresolv
11282 LIBS
="$lib $ac_save_LIBS"
11283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11284 /* end confdefs.h. */
11285 #ifdef HAVE_NETINET_IN_H
11286 #include <netinet/in.h>
11288 #include <resolv.h>
11292 res_query("foo",ns_c_in,0,0,0);
11297 if ac_fn_c_try_link
"$LINENO"; then :
11299 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11304 rm -f core conftest.err conftest.
$ac_objext \
11305 conftest
$ac_exeext conftest.
$ac_ext
11306 if test "${RESOLVLIBS+set}" = set; then
11310 LIBS
="$ac_save_LIBS"
11313 if test "x$with_lcms2" != "xno"
11315 if test -n "$LCMS2_CFLAGS"; then :
11317 elif test -n "$PKG_CONFIG"; then :
11318 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11321 if test -n "$LCMS2_LIBS"; then :
11323 elif test -n "$PKG_CONFIG"; then :
11324 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11327 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11328 ac_save_CPPFLAGS
=$CPPFLAGS
11329 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11330 for ac_header
in lcms2.h
11332 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11333 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11334 cat >>confdefs.h
<<_ACEOF
11335 #define HAVE_LCMS2_H 1
11342 if test "$ac_cv_header_lcms2_h" = "yes"
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11345 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11346 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11347 $as_echo_n "(cached) " >&6
11349 ac_check_lib_save_LIBS
=$LIBS
11350 LIBS
="-llcms2 $LIBS"
11351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11352 /* end confdefs.h. */
11354 /* Override any GCC internal prototype to avoid an error.
11355 Use char because int might match the return type of a GCC
11356 builtin and then its argument prototype would still apply. */
11360 char cmsOpenProfileFromFile ();
11364 return cmsOpenProfileFromFile ();
11369 if ac_fn_c_try_link
"$LINENO"; then :
11370 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11372 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11374 rm -f core conftest.err conftest.
$ac_objext \
11375 conftest
$ac_exeext conftest.
$ac_ext
11376 LIBS
=$ac_check_lib_save_LIBS
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11379 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11380 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11382 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11392 CPPFLAGS
=$ac_save_CPPFLAGS
11393 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11394 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11397 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11398 case "x$with_cms" in
11399 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11401 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11402 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11406 if test "x$with_freetype" != "xno"
11408 if test -n "$FREETYPE_CFLAGS"; then :
11410 elif test -n "$PKG_CONFIG"; then :
11411 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11413 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11414 if test -n "$FREETYPE_LIBS"; then :
11416 elif test -n "$PKG_CONFIG"; then :
11417 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11419 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11420 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11421 ac_save_CPPFLAGS
=$CPPFLAGS
11422 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11424 $as_echo_n "checking for -lfreetype... " >&6; }
11425 if ${ac_cv_lib_soname_freetype+:} false
; then :
11426 $as_echo_n "(cached) " >&6
11428 ac_check_soname_save_LIBS
=$LIBS
11429 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11431 /* end confdefs.h. */
11433 /* Override any GCC internal prototype to avoid an error.
11434 Use char because int might match the return type of a GCC
11435 builtin and then its argument prototype would still apply. */
11439 char FT_Init_FreeType ();
11443 return FT_Init_FreeType ();
11448 if ac_fn_c_try_link
"$LINENO"; then :
11450 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11451 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'` ;;
11452 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11453 if test "x$ac_cv_lib_soname_freetype" = x
; then :
11454 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11458 rm -f core conftest.err conftest.
$ac_objext \
11459 conftest
$ac_exeext conftest.
$ac_ext
11460 LIBS
=$ac_check_soname_save_LIBS
11462 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11464 $as_echo "not found" >&6; }
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11468 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11470 cat >>confdefs.h
<<_ACEOF
11471 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11476 if test "$ft_lib" = "yes"
11478 for ac_header
in ft2build.h \
11479 freetype
/freetype.h \
11480 freetype
/ftglyph.h \
11481 freetype
/fttypes.h \
11482 freetype
/tttables.h \
11483 freetype
/ftsnames.h \
11484 freetype
/ttnameid.h \
11485 freetype
/ftoutln.h \
11486 freetype
/ftwinfnt.h \
11487 freetype
/ftmodapi.h \
11488 freetype
/ftlcdfil.h
11490 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11491 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
11492 # include <ft2build.h>
11495 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11496 cat >>confdefs.h
<<_ACEOF
11497 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11505 /* end confdefs.h. */
11506 #include <ft2build.h>
11507 #include <freetype/fttrigon.h>
11509 if ac_fn_c_try_cpp
"$LINENO"; then :
11511 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
11513 wine_cv_fttrigon
=yes
11515 wine_cv_fttrigon
=no
11517 rm -f conftest.err conftest.i conftest.
$ac_ext
11518 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
11520 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
11522 cat >>confdefs.h
<<_ACEOF
11523 #define HAVE_FT_TRUETYPEENGINETYPE 1
11529 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11532 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11540 CPPFLAGS
=$ac_save_CPPFLAGS
11541 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11542 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11545 if test "x$ac_cv_header_freetype_freetype_h" != xyes
-o "x$wine_cv_fttrigon" != xyes
; then :
11546 case "x$with_freetype" in
11548 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
11549 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11552 test "x$ac_cv_header_freetype_freetype_h" = xyes
-a "x$wine_cv_fttrigon" = xyes || enable_fonts
=${enable_fonts:-no}
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11555 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11556 if ${ac_cv_c_ppdev+:} false
; then :
11557 $as_echo_n "(cached) " >&6
11559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11560 /* end confdefs.h. */
11561 #ifdef HAVE_SYS_IOCTL_H
11562 # include <sys/ioctl.h>
11564 #include <linux/ppdev.h>
11568 ioctl (1,PPCLAIM,0)
11573 if ac_fn_c_try_compile
"$LINENO"; then :
11574 ac_cv_c_ppdev
="yes"
11578 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11581 $as_echo "$ac_cv_c_ppdev" >&6; }
11582 if test "$ac_cv_c_ppdev" = "yes"
11585 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11589 ac_wine_check_funcs_save_LIBS
="$LIBS"
11590 LIBS
="$LIBS $LIBPTHREAD"
11592 pthread_attr_get_np \
11593 pthread_getattr_np \
11594 pthread_getthreadid_np \
11595 pthread_get_stackaddr_np \
11596 pthread_get_stacksize_np
11598 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11599 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11600 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11601 cat >>confdefs.h
<<_ACEOF
11602 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11608 LIBS
="$ac_wine_check_funcs_save_LIBS"
11610 if test "$ac_cv_header_zlib_h" = "yes"
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11613 $as_echo_n "checking for inflate in -lz... " >&6; }
11614 if ${ac_cv_lib_z_inflate+:} false
; then :
11615 $as_echo_n "(cached) " >&6
11617 ac_check_lib_save_LIBS
=$LIBS
11619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11620 /* end confdefs.h. */
11622 /* Override any GCC internal prototype to avoid an error.
11623 Use char because int might match the return type of a GCC
11624 builtin and then its argument prototype would still apply. */
11637 if ac_fn_c_try_link
"$LINENO"; then :
11638 ac_cv_lib_z_inflate
=yes
11640 ac_cv_lib_z_inflate
=no
11642 rm -f core conftest.err conftest.
$ac_objext \
11643 conftest
$ac_exeext conftest.
$ac_ext
11644 LIBS
=$ac_check_lib_save_LIBS
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11647 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11648 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
11650 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11657 if test "x$ZLIB" = "x"; then :
11658 case "x$with_zlib" in
11659 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11661 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
11662 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11666 if test "x$enable_tools" != xno
11668 if test "$ac_cv_header_gettext_po_h" = "yes"
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11671 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11672 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
11673 $as_echo_n "(cached) " >&6
11675 ac_check_lib_save_LIBS
=$LIBS
11676 LIBS
="-lgettextpo $LIBS"
11677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11678 /* end confdefs.h. */
11680 /* Override any GCC internal prototype to avoid an error.
11681 Use char because int might match the return type of a GCC
11682 builtin and then its argument prototype would still apply. */
11686 char po_message_msgctxt ();
11690 return po_message_msgctxt ();
11695 if ac_fn_c_try_link
"$LINENO"; then :
11696 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
11698 ac_cv_lib_gettextpo_po_message_msgctxt
=no
11700 rm -f core conftest.err conftest.
$ac_objext \
11701 conftest
$ac_exeext conftest.
$ac_ext
11702 LIBS
=$ac_check_lib_save_LIBS
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11705 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11706 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
11708 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11710 LIBGETTEXTPO
="-lgettextpo"
11715 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
11716 case "x$with_gettextpo" in
11717 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11719 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11720 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11725 if test "x$with_gstreamer" != "xno"
11727 if test -n "$GSTREAMER_CFLAGS"; then :
11729 elif test -n "$PKG_CONFIG"; then :
11730 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11733 if test -n "$GSTREAMER_LIBS"; then :
11735 elif test -n "$PKG_CONFIG"; then :
11736 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
11740 ac_save_CPPFLAGS
=$CPPFLAGS
11741 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
11743 for i
in $GSTREAMER_CFLAGS
11746 -I*) ac_gst_incl
="$ac_gst_incl $i";;
11749 GSTREAMER_CFLAGS
=$ac_gst_incl
11750 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
11751 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11752 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
11753 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11754 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11756 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11758 /* end confdefs.h. */
11759 #include <gst/app/gstappsink.h>
11763 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11768 if ac_fn_c_try_compile
"$LINENO"; then :
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11770 $as_echo "yes" >&6; }
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11772 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11773 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
11774 $as_echo_n "(cached) " >&6
11776 ac_check_lib_save_LIBS
=$LIBS
11777 LIBS
="-lgstreamer-0.10 $LIBS"
11778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11779 /* end confdefs.h. */
11781 /* Override any GCC internal prototype to avoid an error.
11782 Use char because int might match the return type of a GCC
11783 builtin and then its argument prototype would still apply. */
11787 char gst_pad_get_caps_reffed ();
11791 return gst_pad_get_caps_reffed ();
11796 if ac_fn_c_try_link
"$LINENO"; then :
11797 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
11799 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
11801 rm -f core conftest.err conftest.
$ac_objext \
11802 conftest
$ac_exeext conftest.
$ac_ext
11803 LIBS
=$ac_check_lib_save_LIBS
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11806 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11807 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11809 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11810 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
11811 $as_echo_n "(cached) " >&6
11813 ac_check_lib_save_LIBS
=$LIBS
11814 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
11815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11816 /* end confdefs.h. */
11818 /* Override any GCC internal prototype to avoid an error.
11819 Use char because int might match the return type of a GCC
11820 builtin and then its argument prototype would still apply. */
11824 char gst_app_buffer_new ();
11828 return gst_app_buffer_new ();
11833 if ac_fn_c_try_link
"$LINENO"; then :
11834 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
11836 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
11838 rm -f core conftest.err conftest.
$ac_objext \
11839 conftest
$ac_exeext conftest.
$ac_ext
11840 LIBS
=$ac_check_lib_save_LIBS
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11843 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11844 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11852 $as_echo "no" >&6; }
11854 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11859 GSTREAMER_CFLAGS
=""
11863 CPPFLAGS
=$ac_save_CPPFLAGS
11864 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11865 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11868 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
11869 case "x$with_gstreamer" in
11870 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11872 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11873 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11876 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
11880 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11883 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11884 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
11885 $as_echo_n "(cached) " >&6
11887 ac_check_lib_save_LIBS
=$LIBS
11888 LIBS
="-lasound $LIBS"
11889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11890 /* end confdefs.h. */
11892 /* Override any GCC internal prototype to avoid an error.
11893 Use char because int might match the return type of a GCC
11894 builtin and then its argument prototype would still apply. */
11898 char snd_pcm_hw_params_get_access_mask ();
11902 return snd_pcm_hw_params_get_access_mask ();
11907 if ac_fn_c_try_link
"$LINENO"; then :
11908 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
11910 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
11912 rm -f core conftest.err conftest.
$ac_objext \
11913 conftest
$ac_exeext conftest.
$ac_ext
11914 LIBS
=$ac_check_lib_save_LIBS
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11917 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11918 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
11919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11920 /* end confdefs.h. */
11921 #ifdef HAVE_ALSA_ASOUNDLIB_H
11922 #include <alsa/asoundlib.h>
11923 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11924 #include <sys/asoundlib.h>
11929 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11934 if ac_fn_c_try_compile
"$LINENO"; then :
11935 ALSALIBS
="-lasound"
11937 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11942 if test "x$with_oss" != xno
11944 ac_save_CPPFLAGS
="$CPPFLAGS"
11945 if test -f /etc
/oss.conf
11949 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11950 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
11951 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11952 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
11953 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11955 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
11957 cat >>confdefs.h
<<_ACEOF
11958 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11961 OSS4INCL
="$ac_oss_incl"
11968 CPPFLAGS
="$ac_save_CPPFLAGS"
11969 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11971 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11975 if test "x$with_capi" != "xno"
11977 if test -n "$CAPI20_CFLAGS"; then :
11979 elif test -n "$PKG_CONFIG"; then :
11980 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
11983 if test -n "$CAPI20_LIBS"; then :
11985 elif test -n "$PKG_CONFIG"; then :
11986 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
11990 ac_save_CPPFLAGS
=$CPPFLAGS
11991 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
11992 for ac_header
in capi20.h linux
/capi.h
11994 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11995 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
11997 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11998 cat >>confdefs.h
<<_ACEOF
11999 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12006 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12009 $as_echo_n "checking for -lcapi20... " >&6; }
12010 if ${ac_cv_lib_soname_capi20+:} false
; then :
12011 $as_echo_n "(cached) " >&6
12013 ac_check_soname_save_LIBS
=$LIBS
12014 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12016 /* end confdefs.h. */
12018 /* Override any GCC internal prototype to avoid an error.
12019 Use char because int might match the return type of a GCC
12020 builtin and then its argument prototype would still apply. */
12024 char capi20_register ();
12028 return capi20_register ();
12033 if ac_fn_c_try_link
"$LINENO"; then :
12035 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12036 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'` ;;
12037 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12038 if test "x$ac_cv_lib_soname_capi20" = x
; then :
12039 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12043 rm -f core conftest.err conftest.
$ac_objext \
12044 conftest
$ac_exeext conftest.
$ac_ext
12045 LIBS
=$ac_check_soname_save_LIBS
12047 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12049 $as_echo "not found" >&6; }
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12053 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12055 cat >>confdefs.h
<<_ACEOF
12056 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12062 CPPFLAGS
=$ac_save_CPPFLAGS
12063 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12064 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12067 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12068 case "x$with_capi" in
12069 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12071 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12072 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12078 if test "x$with_cups" != "xno"
12080 ac_save_CPPFLAGS
="$CPPFLAGS"
12081 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12082 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12083 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12084 for ac_header
in cups
/cups.h
12086 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12087 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12088 cat >>confdefs.h
<<_ACEOF
12089 #define HAVE_CUPS_CUPS_H 1
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12092 $as_echo_n "checking for -lcups... " >&6; }
12093 if ${ac_cv_lib_soname_cups+:} false
; then :
12094 $as_echo_n "(cached) " >&6
12096 ac_check_soname_save_LIBS
=$LIBS
12097 LIBS
="-lcups $ac_cups_libs $LIBS"
12098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12099 /* end confdefs.h. */
12101 /* Override any GCC internal prototype to avoid an error.
12102 Use char because int might match the return type of a GCC
12103 builtin and then its argument prototype would still apply. */
12107 char cupsGetDefault ();
12111 return cupsGetDefault ();
12116 if ac_fn_c_try_link
"$LINENO"; then :
12118 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12119 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'` ;;
12120 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12121 if test "x$ac_cv_lib_soname_cups" = x
; then :
12122 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12126 rm -f core conftest.err conftest.
$ac_objext \
12127 conftest
$ac_exeext conftest.
$ac_ext
12128 LIBS
=$ac_check_soname_save_LIBS
12130 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12132 $as_echo "not found" >&6; }
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12136 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12138 cat >>confdefs.h
<<_ACEOF
12139 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12142 CUPSINCL
="$ac_cups_cflags"
12148 CPPFLAGS
="$ac_save_CPPFLAGS"
12150 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12151 case "x$with_cups" in
12152 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12154 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12155 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12159 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12162 $as_echo_n "checking for -lfontconfig... " >&6; }
12163 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12164 $as_echo_n "(cached) " >&6
12166 ac_check_soname_save_LIBS
=$LIBS
12167 LIBS
="-lfontconfig $LIBS"
12168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12169 /* end confdefs.h. */
12171 /* Override any GCC internal prototype to avoid an error.
12172 Use char because int might match the return type of a GCC
12173 builtin and then its argument prototype would still apply. */
12186 if ac_fn_c_try_link
"$LINENO"; then :
12188 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12189 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'` ;;
12190 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12191 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
12192 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12196 rm -f core conftest.err conftest.
$ac_objext \
12197 conftest
$ac_exeext conftest.
$ac_ext
12198 LIBS
=$ac_check_soname_save_LIBS
12200 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12202 $as_echo "not found" >&6; }
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12206 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12208 cat >>confdefs.h
<<_ACEOF
12209 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12214 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
12216 ac_save_CPPFLAGS
="$CPPFLAGS"
12217 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
12218 $as_unset ac_cv_header_fontconfig_fontconfig_h
12219 for ac_header
in fontconfig
/fontconfig.h
12221 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12222 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12223 cat >>confdefs.h
<<_ACEOF
12224 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12231 CPPFLAGS
="$ac_save_CPPFLAGS"
12232 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12234 FONTCONFIGINCL
="$X_CFLAGS"
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12237 $as_echo_n "checking for -lfontconfig... " >&6; }
12238 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12239 $as_echo_n "(cached) " >&6
12241 ac_check_soname_save_LIBS
=$LIBS
12242 LIBS
="-lfontconfig $X_LIBS $LIBS"
12243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12244 /* end confdefs.h. */
12246 /* Override any GCC internal prototype to avoid an error.
12247 Use char because int might match the return type of a GCC
12248 builtin and then its argument prototype would still apply. */
12261 if ac_fn_c_try_link
"$LINENO"; then :
12263 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12264 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'` ;;
12265 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12266 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
12267 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12271 rm -f core conftest.err conftest.
$ac_objext \
12272 conftest
$ac_exeext conftest.
$ac_ext
12273 LIBS
=$ac_check_soname_save_LIBS
12275 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12277 $as_echo "not found" >&6; }
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12281 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12283 cat >>confdefs.h
<<_ACEOF
12284 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12291 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12292 case "x$with_fontconfig" in
12293 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12295 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12296 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12300 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12303 $as_echo_n "checking for -lgsm... " >&6; }
12304 if ${ac_cv_lib_soname_gsm+:} false
; then :
12305 $as_echo_n "(cached) " >&6
12307 ac_check_soname_save_LIBS
=$LIBS
12309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12310 /* end confdefs.h. */
12312 /* Override any GCC internal prototype to avoid an error.
12313 Use char because int might match the return type of a GCC
12314 builtin and then its argument prototype would still apply. */
12318 char gsm_create ();
12322 return gsm_create ();
12327 if ac_fn_c_try_link
"$LINENO"; then :
12329 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12330 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'` ;;
12331 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12332 if test "x$ac_cv_lib_soname_gsm" = x
; then :
12333 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12337 rm -f core conftest.err conftest.
$ac_objext \
12338 conftest
$ac_exeext conftest.
$ac_ext
12339 LIBS
=$ac_check_soname_save_LIBS
12341 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12343 $as_echo "not found" >&6; }
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12347 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12349 cat >>confdefs.h
<<_ACEOF
12350 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12356 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12357 case "x$with_gsm" in
12358 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12360 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12361 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12365 if test "x$with_jpeg" != "xno"
12367 if test -n "$JPEG_CFLAGS"; then :
12369 elif test -n "$PKG_CONFIG"; then :
12370 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12373 if test -n "$JPEG_LIBS"; then :
12375 elif test -n "$PKG_CONFIG"; then :
12376 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12380 ac_save_CPPFLAGS
=$CPPFLAGS
12381 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12382 for ac_header
in jpeglib.h
12384 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12385 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12386 cat >>confdefs.h
<<_ACEOF
12387 #define HAVE_JPEGLIB_H 1
12394 if test "$ac_cv_header_jpeglib_h" = "yes"
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12397 $as_echo_n "checking for -ljpeg... " >&6; }
12398 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12399 $as_echo_n "(cached) " >&6
12401 ac_check_soname_save_LIBS
=$LIBS
12402 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12404 /* end confdefs.h. */
12406 /* Override any GCC internal prototype to avoid an error.
12407 Use char because int might match the return type of a GCC
12408 builtin and then its argument prototype would still apply. */
12412 char jpeg_start_decompress ();
12416 return jpeg_start_decompress ();
12421 if ac_fn_c_try_link
"$LINENO"; then :
12423 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12424 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'` ;;
12425 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12426 if test "x$ac_cv_lib_soname_jpeg" = x
; then :
12427 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12431 rm -f core conftest.err conftest.
$ac_objext \
12432 conftest
$ac_exeext conftest.
$ac_ext
12433 LIBS
=$ac_check_soname_save_LIBS
12435 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12437 $as_echo "not found" >&6; }
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12441 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12443 cat >>confdefs.h
<<_ACEOF
12444 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12452 CPPFLAGS
=$ac_save_CPPFLAGS
12453 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12454 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12457 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12458 case "x$with_jpeg" in
12459 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12461 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12462 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12466 if test "x$with_png" != "xno"
12468 if test -n "$PNG_CFLAGS"; then :
12470 elif test -n "$PKG_CONFIG"; then :
12471 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12473 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12474 if test -n "$PNG_LIBS"; then :
12476 elif test -n "$PKG_CONFIG"; then :
12477 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12479 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12481 ac_save_CPPFLAGS
=$CPPFLAGS
12482 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12483 for ac_header
in png.h
12485 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12486 if test "x$ac_cv_header_png_h" = xyes
; then :
12487 cat >>confdefs.h
<<_ACEOF
12488 #define HAVE_PNG_H 1
12495 if test "$ac_cv_header_png_h" = "yes"
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12498 $as_echo_n "checking for -lpng... " >&6; }
12499 if ${ac_cv_lib_soname_png+:} false
; then :
12500 $as_echo_n "(cached) " >&6
12502 ac_check_soname_save_LIBS
=$LIBS
12503 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12505 /* end confdefs.h. */
12507 /* Override any GCC internal prototype to avoid an error.
12508 Use char because int might match the return type of a GCC
12509 builtin and then its argument prototype would still apply. */
12513 char png_create_read_struct ();
12517 return png_create_read_struct ();
12522 if ac_fn_c_try_link
"$LINENO"; then :
12524 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12525 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'` ;;
12526 *) 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'`
12527 if test "x$ac_cv_lib_soname_png" = x
; then :
12528 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12532 rm -f core conftest.err conftest.
$ac_objext \
12533 conftest
$ac_exeext conftest.
$ac_ext
12534 LIBS
=$ac_check_soname_save_LIBS
12536 if test "x$ac_cv_lib_soname_png" = "x"; then :
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12538 $as_echo "not found" >&6; }
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12542 $as_echo "$ac_cv_lib_soname_png" >&6; }
12544 cat >>confdefs.h
<<_ACEOF
12545 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12549 /* end confdefs.h. */
12554 typeof(png_set_expand_gray_1_2_4_to_8) *p
12559 if ac_fn_c_try_compile
"$LINENO"; then :
12561 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12564 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12569 CPPFLAGS
=$ac_save_CPPFLAGS
12570 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12571 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12574 if test "x$ac_cv_lib_soname_png" = "x"; then :
12575 case "x$with_png" in
12576 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12578 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
12579 This is an error since --with-png was requested." "$LINENO" 5 ;;
12583 if test "x$with_tiff" != "xno"
12585 if test -n "$TIFF_CFLAGS"; then :
12587 elif test -n "$PKG_CONFIG"; then :
12588 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
12591 if test -n "$TIFF_LIBS"; then :
12593 elif test -n "$PKG_CONFIG"; then :
12594 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
12598 ac_save_CPPFLAGS
=$CPPFLAGS
12599 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
12600 for ac_header
in tiffio.h
12602 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
12603 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
12604 cat >>confdefs.h
<<_ACEOF
12605 #define HAVE_TIFFIO_H 1
12612 if test "$ac_cv_header_tiffio_h" = "yes"
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12615 $as_echo_n "checking for -ltiff... " >&6; }
12616 if ${ac_cv_lib_soname_tiff+:} false
; then :
12617 $as_echo_n "(cached) " >&6
12619 ac_check_soname_save_LIBS
=$LIBS
12620 LIBS
="-ltiff $TIFF_LIBS $LIBS"
12621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12622 /* end confdefs.h. */
12624 /* Override any GCC internal prototype to avoid an error.
12625 Use char because int might match the return type of a GCC
12626 builtin and then its argument prototype would still apply. */
12630 char TIFFClientOpen ();
12634 return TIFFClientOpen ();
12639 if ac_fn_c_try_link
"$LINENO"; then :
12641 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12642 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'` ;;
12643 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12644 if test "x$ac_cv_lib_soname_tiff" = x
; then :
12645 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12649 rm -f core conftest.err conftest.
$ac_objext \
12650 conftest
$ac_exeext conftest.
$ac_ext
12651 LIBS
=$ac_check_soname_save_LIBS
12653 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12655 $as_echo "not found" >&6; }
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12659 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12661 cat >>confdefs.h
<<_ACEOF
12662 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12668 CPPFLAGS
=$ac_save_CPPFLAGS
12669 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12670 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12673 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12674 case "x$with_tiff" in
12675 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12677 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
12678 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12682 if test "x$with_mpg123" != "xno"
12684 if test -n "$MPG123_CFLAGS"; then :
12686 elif test -n "$PKG_CONFIG"; then :
12687 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
12690 if test -n "$MPG123_LIBS"; then :
12692 elif test -n "$PKG_CONFIG"; then :
12693 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
12696 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
12697 ac_save_CPPFLAGS
=$CPPFLAGS
12698 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
12699 for ac_header
in mpg123.h
12701 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
12702 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
12703 cat >>confdefs.h
<<_ACEOF
12704 #define HAVE_MPG123_H 1
12711 if test "$ac_cv_header_mpg123_h" = "yes"
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12714 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12715 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
12716 $as_echo_n "(cached) " >&6
12718 ac_check_lib_save_LIBS
=$LIBS
12719 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
12720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12721 /* end confdefs.h. */
12723 /* Override any GCC internal prototype to avoid an error.
12724 Use char because int might match the return type of a GCC
12725 builtin and then its argument prototype would still apply. */
12729 char mpg123_feed ();
12733 return mpg123_feed ();
12738 if ac_fn_c_try_link
"$LINENO"; then :
12739 ac_cv_lib_mpg123_mpg123_feed
=yes
12741 ac_cv_lib_mpg123_mpg123_feed
=no
12743 rm -f core conftest.err conftest.
$ac_objext \
12744 conftest
$ac_exeext conftest.
$ac_ext
12745 LIBS
=$ac_check_lib_save_LIBS
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12748 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12749 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
12759 CPPFLAGS
=$ac_save_CPPFLAGS
12760 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12761 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12764 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
12765 case "x$with_mpg123" in
12766 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12768 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12769 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12772 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}
12774 if test "$ac_cv_header_AL_al_h" = "yes"
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12777 $as_echo_n "checking for -lopenal... " >&6; }
12778 if ${ac_cv_lib_soname_openal+:} false
; then :
12779 $as_echo_n "(cached) " >&6
12781 ac_check_soname_save_LIBS
=$LIBS
12782 LIBS
="-lopenal $LIBS"
12783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12784 /* end confdefs.h. */
12786 /* Override any GCC internal prototype to avoid an error.
12787 Use char because int might match the return type of a GCC
12788 builtin and then its argument prototype would still apply. */
12792 char alGetSource3i ();
12796 return alGetSource3i ();
12801 if ac_fn_c_try_link
"$LINENO"; then :
12803 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12804 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'` ;;
12805 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12806 if test "x$ac_cv_lib_soname_openal" = x
; then :
12807 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12811 rm -f core conftest.err conftest.
$ac_objext \
12812 conftest
$ac_exeext conftest.
$ac_ext
12813 LIBS
=$ac_check_soname_save_LIBS
12815 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12817 $as_echo "not found" >&6; }
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12821 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12823 cat >>confdefs.h
<<_ACEOF
12824 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12827 LIBOPENAL
="-lopenal"
12829 ac_cv_lib_openal
=yes
12831 cat >>confdefs.h
<<_ACEOF
12832 #define HAVE_OPENAL 1
12837 if test "x$ac_cv_lib_openal" != xyes
; then :
12838 case "x$with_openal" in
12839 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12841 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12842 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12845 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
12847 if test "$ac_cv_header_kstat_h" = "yes"
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12850 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12851 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
12852 $as_echo_n "(cached) " >&6
12854 ac_check_lib_save_LIBS
=$LIBS
12855 LIBS
="-lkstat $LIBS"
12856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12857 /* end confdefs.h. */
12859 /* Override any GCC internal prototype to avoid an error.
12860 Use char because int might match the return type of a GCC
12861 builtin and then its argument prototype would still apply. */
12865 char kstat_open ();
12869 return kstat_open ();
12874 if ac_fn_c_try_link
"$LINENO"; then :
12875 ac_cv_lib_kstat_kstat_open
=yes
12877 ac_cv_lib_kstat_kstat_open
=no
12879 rm -f core conftest.err conftest.
$ac_objext \
12880 conftest
$ac_exeext conftest.
$ac_ext
12881 LIBS
=$ac_check_lib_save_LIBS
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12884 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12885 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
12887 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12895 if test "$ac_cv_header_libprocstat_h" = "yes"
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
12898 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
12899 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
12900 $as_echo_n "(cached) " >&6
12902 ac_check_lib_save_LIBS
=$LIBS
12903 LIBS
="-lprocstat $LIBS"
12904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12905 /* end confdefs.h. */
12907 /* Override any GCC internal prototype to avoid an error.
12908 Use char because int might match the return type of a GCC
12909 builtin and then its argument prototype would still apply. */
12913 char procstat_open_sysctl ();
12917 return procstat_open_sysctl ();
12922 if ac_fn_c_try_link
"$LINENO"; then :
12923 ac_cv_lib_procstat_procstat_open_sysctl
=yes
12925 ac_cv_lib_procstat_procstat_open_sysctl
=no
12927 rm -f core conftest.err conftest.
$ac_objext \
12928 conftest
$ac_exeext conftest.
$ac_ext
12929 LIBS
=$ac_check_lib_save_LIBS
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
12932 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
12933 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
12935 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
12937 LIBPROCSTAT
="-lprocstat"
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12944 $as_echo_n "checking for -lodbc... " >&6; }
12945 if ${ac_cv_lib_soname_odbc+:} false
; then :
12946 $as_echo_n "(cached) " >&6
12948 ac_check_soname_save_LIBS
=$LIBS
12949 LIBS
="-lodbc $LIBS"
12950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12951 /* end confdefs.h. */
12953 /* Override any GCC internal prototype to avoid an error.
12954 Use char because int might match the return type of a GCC
12955 builtin and then its argument prototype would still apply. */
12959 char SQLConnect ();
12963 return SQLConnect ();
12968 if ac_fn_c_try_link
"$LINENO"; then :
12970 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12971 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'` ;;
12972 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12973 if test "x$ac_cv_lib_soname_odbc" = x
; then :
12974 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12978 rm -f core conftest.err conftest.
$ac_objext \
12979 conftest
$ac_exeext conftest.
$ac_ext
12980 LIBS
=$ac_check_soname_save_LIBS
12982 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12984 $as_echo "not found" >&6; }
12985 cat >>confdefs.h
<<_ACEOF
12986 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12991 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12993 cat >>confdefs.h
<<_ACEOF
12994 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13000 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13001 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13002 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13003 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13005 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
13006 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13007 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13009 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13015 if test "x${GCC}" = "xyes"
13017 EXTRACFLAGS
="-Wall -pipe"
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13020 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13021 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13022 $as_echo_n "(cached) " >&6
13024 if test "$cross_compiling" = yes; then :
13025 ac_cv_c_gcc_strength_bug
="yes"
13027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13028 /* end confdefs.h. */
13029 int L[4] = {0,1,2,3};
13033 static int Array[3];
13034 unsigned int B = 3;
13036 for(i=0; i<B; i++) Array[i] = i - 3;
13037 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13039 return (Array[1] != -2 || L[2] != 3)
13044 if ac_fn_c_try_run
"$LINENO"; then :
13045 ac_cv_c_gcc_strength_bug
="no"
13047 ac_cv_c_gcc_strength_bug
="yes"
13049 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13050 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13055 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13056 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13058 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13062 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13063 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13064 $as_echo_n "(cached) " >&6
13066 ac_wine_try_cflags_saved
=$CFLAGS
13067 CFLAGS
="$CFLAGS -fno-builtin"
13068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13069 /* end confdefs.h. */
13070 int main(int argc, char **argv) { return 0; }
13072 if ac_fn_c_try_link
"$LINENO"; then :
13073 ac_cv_cflags__fno_builtin
=yes
13075 ac_cv_cflags__fno_builtin
=no
13077 rm -f core conftest.err conftest.
$ac_objext \
13078 conftest
$ac_exeext conftest.
$ac_ext
13079 CFLAGS
=$ac_wine_try_cflags_saved
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13082 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13083 if test $ac_cv_cflags__fno_builtin = yes; then :
13084 BUILTINFLAG
="-fno-builtin"
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13088 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13089 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13090 $as_echo_n "(cached) " >&6
13092 ac_wine_try_cflags_saved
=$CFLAGS
13093 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13095 /* end confdefs.h. */
13096 int main(int argc, char **argv) { return 0; }
13098 if ac_fn_c_try_link
"$LINENO"; then :
13099 ac_cv_cflags__fno_strict_aliasing
=yes
13101 ac_cv_cflags__fno_strict_aliasing
=no
13103 rm -f core conftest.err conftest.
$ac_objext \
13104 conftest
$ac_exeext conftest.
$ac_ext
13105 CFLAGS
=$ac_wine_try_cflags_saved
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13108 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13109 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
13110 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13112 saved_CFLAGS
=$CFLAGS
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13114 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13115 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13116 $as_echo_n "(cached) " >&6
13118 ac_wine_try_cflags_saved
=$CFLAGS
13119 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13121 /* end confdefs.h. */
13122 int main(int argc, char **argv) { return 0; }
13124 if ac_fn_c_try_link
"$LINENO"; then :
13125 ac_cv_cflags__Werror_unknown_warning_option
=yes
13127 ac_cv_cflags__Werror_unknown_warning_option
=no
13129 rm -f core conftest.err conftest.
$ac_objext \
13130 conftest
$ac_exeext conftest.
$ac_ext
13131 CFLAGS
=$ac_wine_try_cflags_saved
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13134 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13135 if test $ac_cv_cflags__Werror_unknown_warning_option = yes; then :
13136 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13139 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13140 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13141 $as_echo_n "(cached) " >&6
13143 ac_wine_try_cflags_saved
=$CFLAGS
13144 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13146 /* end confdefs.h. */
13147 int main(int argc, char **argv) { return 0; }
13149 if ac_fn_c_try_link
"$LINENO"; then :
13150 ac_cv_cflags__Wdeclaration_after_statement
=yes
13152 ac_cv_cflags__Wdeclaration_after_statement
=no
13154 rm -f core conftest.err conftest.
$ac_objext \
13155 conftest
$ac_exeext conftest.
$ac_ext
13156 CFLAGS
=$ac_wine_try_cflags_saved
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13159 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13160 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
13161 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13164 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13165 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13166 $as_echo_n "(cached) " >&6
13168 ac_wine_try_cflags_saved
=$CFLAGS
13169 CFLAGS
="$CFLAGS -Wempty-body"
13170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13171 /* end confdefs.h. */
13172 int main(int argc, char **argv) { return 0; }
13174 if ac_fn_c_try_link
"$LINENO"; then :
13175 ac_cv_cflags__Wempty_body
=yes
13177 ac_cv_cflags__Wempty_body
=no
13179 rm -f core conftest.err conftest.
$ac_objext \
13180 conftest
$ac_exeext conftest.
$ac_ext
13181 CFLAGS
=$ac_wine_try_cflags_saved
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13184 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13185 if test $ac_cv_cflags__Wempty_body = yes; then :
13186 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13189 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13190 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13191 $as_echo_n "(cached) " >&6
13193 ac_wine_try_cflags_saved
=$CFLAGS
13194 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13196 /* end confdefs.h. */
13197 int main(int argc, char **argv) { return 0; }
13199 if ac_fn_c_try_link
"$LINENO"; then :
13200 ac_cv_cflags__Wignored_qualifiers
=yes
13202 ac_cv_cflags__Wignored_qualifiers
=no
13204 rm -f core conftest.err conftest.
$ac_objext \
13205 conftest
$ac_exeext conftest.
$ac_ext
13206 CFLAGS
=$ac_wine_try_cflags_saved
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13209 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13210 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
13211 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13214 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13215 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13216 $as_echo_n "(cached) " >&6
13218 ac_wine_try_cflags_saved
=$CFLAGS
13219 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13221 /* end confdefs.h. */
13222 int main(int argc, char **argv) { return 0; }
13224 if ac_fn_c_try_link
"$LINENO"; then :
13225 ac_cv_cflags__Wstrict_prototypes
=yes
13227 ac_cv_cflags__Wstrict_prototypes
=no
13229 rm -f core conftest.err conftest.
$ac_objext \
13230 conftest
$ac_exeext conftest.
$ac_ext
13231 CFLAGS
=$ac_wine_try_cflags_saved
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13234 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13235 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
13236 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13239 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13240 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13241 $as_echo_n "(cached) " >&6
13243 ac_wine_try_cflags_saved
=$CFLAGS
13244 CFLAGS
="$CFLAGS -Wtype-limits"
13245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13246 /* end confdefs.h. */
13247 int main(int argc, char **argv) { return 0; }
13249 if ac_fn_c_try_link
"$LINENO"; then :
13250 ac_cv_cflags__Wtype_limits
=yes
13252 ac_cv_cflags__Wtype_limits
=no
13254 rm -f core conftest.err conftest.
$ac_objext \
13255 conftest
$ac_exeext conftest.
$ac_ext
13256 CFLAGS
=$ac_wine_try_cflags_saved
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13259 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13260 if test $ac_cv_cflags__Wtype_limits = yes; then :
13261 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13264 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13265 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13266 $as_echo_n "(cached) " >&6
13268 ac_wine_try_cflags_saved
=$CFLAGS
13269 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13271 /* end confdefs.h. */
13272 int main(int argc, char **argv) { return 0; }
13274 if ac_fn_c_try_link
"$LINENO"; then :
13275 ac_cv_cflags__Wunused_but_set_parameter
=yes
13277 ac_cv_cflags__Wunused_but_set_parameter
=no
13279 rm -f core conftest.err conftest.
$ac_objext \
13280 conftest
$ac_exeext conftest.
$ac_ext
13281 CFLAGS
=$ac_wine_try_cflags_saved
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13284 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13285 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
13286 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13289 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13290 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13291 $as_echo_n "(cached) " >&6
13293 ac_wine_try_cflags_saved
=$CFLAGS
13294 CFLAGS
="$CFLAGS -Wwrite-strings"
13295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13296 /* end confdefs.h. */
13297 int main(int argc, char **argv) { return 0; }
13299 if ac_fn_c_try_link
"$LINENO"; then :
13300 ac_cv_cflags__Wwrite_strings
=yes
13302 ac_cv_cflags__Wwrite_strings
=no
13304 rm -f core conftest.err conftest.
$ac_objext \
13305 conftest
$ac_exeext conftest.
$ac_ext
13306 CFLAGS
=$ac_wine_try_cflags_saved
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13309 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13310 if test $ac_cv_cflags__Wwrite_strings = yes; then :
13311 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13315 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13316 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13317 $as_echo_n "(cached) " >&6
13319 ac_wine_try_cflags_saved
=$CFLAGS
13320 CFLAGS
="$CFLAGS -Wpointer-arith"
13321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13322 /* end confdefs.h. */
13323 int main(int argc, char **argv) { return 0; }
13325 if ac_fn_c_try_link
"$LINENO"; then :
13326 ac_cv_cflags__Wpointer_arith
=yes
13328 ac_cv_cflags__Wpointer_arith
=no
13330 rm -f core conftest.err conftest.
$ac_objext \
13331 conftest
$ac_exeext conftest.
$ac_ext
13332 CFLAGS
=$ac_wine_try_cflags_saved
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13335 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13336 if test $ac_cv_cflags__Wpointer_arith = yes; then :
13337 saved_string_h_CFLAGS
=$CFLAGS
13338 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13340 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13341 if ${ac_cv_c_string_h_warnings+:} false
; then :
13342 $as_echo_n "(cached) " >&6
13344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13345 /* end confdefs.h. */
13346 #include <string.h>
13355 if ac_fn_c_try_compile
"$LINENO"; then :
13356 ac_cv_c_string_h_warnings
=no
13358 ac_cv_c_string_h_warnings
=yes
13360 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13363 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13364 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13365 CFLAGS
=$saved_string_h_CFLAGS
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13369 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13370 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13371 $as_echo_n "(cached) " >&6
13373 ac_wine_try_cflags_saved
=$CFLAGS
13374 CFLAGS
="$CFLAGS -Wlogical-op"
13375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13376 /* end confdefs.h. */
13377 int main(int argc, char **argv) { return 0; }
13379 if ac_fn_c_try_link
"$LINENO"; then :
13380 ac_cv_cflags__Wlogical_op
=yes
13382 ac_cv_cflags__Wlogical_op
=no
13384 rm -f core conftest.err conftest.
$ac_objext \
13385 conftest
$ac_exeext conftest.
$ac_ext
13386 CFLAGS
=$ac_wine_try_cflags_saved
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13389 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13390 if test $ac_cv_cflags__Wlogical_op = yes; then :
13391 saved_string_h_CFLAGS
=$CFLAGS
13392 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13394 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13395 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13396 $as_echo_n "(cached) " >&6
13398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13399 /* end confdefs.h. */
13400 #include <string.h>
13401 char*f(const char *h,char n) {return strchr(h,n);}
13410 if ac_fn_c_try_compile
"$LINENO"; then :
13411 ac_cv_c_logicalop_noisy
=no
13413 ac_cv_c_logicalop_noisy
=yes
13415 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13418 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13419 CFLAGS
=$saved_string_h_CFLAGS
13420 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13423 CFLAGS
=$saved_CFLAGS
13425 for ac_flag
in $CFLAGS; do
13427 -g) case $host_os in
13428 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13429 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13430 if ${ac_cv_cflags__gstabsp+:} false
; then :
13431 $as_echo_n "(cached) " >&6
13433 ac_wine_try_cflags_saved
=$CFLAGS
13434 CFLAGS
="$CFLAGS -gstabs+"
13435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13436 /* end confdefs.h. */
13437 int main(int argc, char **argv) { return 0; }
13439 if ac_fn_c_try_link
"$LINENO"; then :
13440 ac_cv_cflags__gstabsp
=yes
13442 ac_cv_cflags__gstabsp
=no
13444 rm -f core conftest.err conftest.
$ac_objext \
13445 conftest
$ac_exeext conftest.
$ac_ext
13446 CFLAGS
=$ac_wine_try_cflags_saved
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13449 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13450 if test $ac_cv_cflags__gstabsp = yes; then :
13451 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
13453 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13454 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13455 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
13456 $as_echo_n "(cached) " >&6
13458 ac_wine_try_cflags_saved
=$CFLAGS
13459 CFLAGS
="$CFLAGS -gdwarf-2"
13460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13461 /* end confdefs.h. */
13462 int main(int argc, char **argv) { return 0; }
13464 if ac_fn_c_try_link
"$LINENO"; then :
13465 ac_cv_cflags__gdwarf_2
=yes
13467 ac_cv_cflags__gdwarf_2
=no
13469 rm -f core conftest.err conftest.
$ac_objext \
13470 conftest
$ac_exeext conftest.
$ac_ext
13471 CFLAGS
=$ac_wine_try_cflags_saved
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
13474 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
13475 if test $ac_cv_cflags__gdwarf_2 = yes; then :
13476 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
13479 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
13480 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
13481 $as_echo_n "(cached) " >&6
13483 ac_wine_try_cflags_saved
=$CFLAGS
13484 CFLAGS
="$CFLAGS -gstrict-dwarf"
13485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13486 /* end confdefs.h. */
13487 int main(int argc, char **argv) { return 0; }
13489 if ac_fn_c_try_link
"$LINENO"; then :
13490 ac_cv_cflags__gstrict_dwarf
=yes
13492 ac_cv_cflags__gstrict_dwarf
=no
13494 rm -f core conftest.err conftest.
$ac_objext \
13495 conftest
$ac_exeext conftest.
$ac_ext
13496 CFLAGS
=$ac_wine_try_cflags_saved
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
13499 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
13500 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
13501 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
13508 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
13509 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
13510 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
13511 $as_echo_n "(cached) " >&6
13513 ac_wine_try_cflags_saved
=$CFLAGS
13514 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
13515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13516 /* end confdefs.h. */
13517 int main(int argc, char **argv) { return 0; }
13519 if ac_fn_c_try_link
"$LINENO"; then :
13520 ac_cv_cflags__fno_omit_frame_pointer
=yes
13522 ac_cv_cflags__fno_omit_frame_pointer
=no
13524 rm -f core conftest.err conftest.
$ac_objext \
13525 conftest
$ac_exeext conftest.
$ac_ext
13526 CFLAGS
=$ac_wine_try_cflags_saved
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
13529 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
13530 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
13531 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
13536 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
13537 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
13538 if ${ac_cv_cflags__Wno_format+:} false
; then :
13539 $as_echo_n "(cached) " >&6
13541 ac_wine_try_cflags_saved
=$CFLAGS
13542 CFLAGS
="$CFLAGS -Wno-format"
13543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13544 /* end confdefs.h. */
13545 int main(int argc, char **argv) { return 0; }
13547 if ac_fn_c_try_link
"$LINENO"; then :
13548 ac_cv_cflags__Wno_format
=yes
13550 ac_cv_cflags__Wno_format
=no
13552 rm -f core conftest.err conftest.
$ac_objext \
13553 conftest
$ac_exeext conftest.
$ac_ext
13554 CFLAGS
=$ac_wine_try_cflags_saved
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
13557 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
13558 if test $ac_cv_cflags__Wno_format = yes; then :
13559 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
13563 if test "x$enable_maintainer_mode" = "xyes"
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
13566 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
13567 if ${ac_cv_cflags__Werror+:} false
; then :
13568 $as_echo_n "(cached) " >&6
13570 ac_wine_try_cflags_saved
=$CFLAGS
13571 CFLAGS
="$CFLAGS -Werror"
13572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13573 /* end confdefs.h. */
13574 int main(int argc, char **argv) { return 0; }
13576 if ac_fn_c_try_link
"$LINENO"; then :
13577 ac_cv_cflags__Werror
=yes
13579 ac_cv_cflags__Werror
=no
13581 rm -f core conftest.err conftest.
$ac_objext \
13582 conftest
$ac_exeext conftest.
$ac_ext
13583 CFLAGS
=$ac_wine_try_cflags_saved
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
13586 $as_echo "$ac_cv_cflags__Werror" >&6; }
13587 if test $ac_cv_cflags__Werror = yes; then :
13588 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
13592 saved_CFLAGS
="$CFLAGS"
13593 CFLAGS
="$CFLAGS -Werror"
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
13595 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
13596 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
13597 $as_echo_n "(cached) " >&6
13599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13600 /* end confdefs.h. */
13601 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
13610 if ac_fn_c_try_compile
"$LINENO"; then :
13611 ac_cv_have_ms_hook_prologue
="yes"
13613 ac_cv_have_ms_hook_prologue
="no"
13615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
13618 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
13619 CFLAGS
="$saved_CFLAGS"
13620 if test "$ac_cv_have_ms_hook_prologue" = "yes"
13623 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
13626 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
13633 $as_echo_n "checking for the need to disable Fortify... " >&6; }
13634 if ${ac_cv_c_fortify_enabled+:} false
; then :
13635 $as_echo_n "(cached) " >&6
13637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13638 /* end confdefs.h. */
13639 #include <string.h>
13643 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
13644 #error Fortify enabled
13650 if ac_fn_c_try_compile
"$LINENO"; then :
13651 ac_cv_c_fortify_enabled
=no
13653 ac_cv_c_fortify_enabled
=yes
13655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
13658 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
13659 if test "$ac_cv_c_fortify_enabled" = yes
13661 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
13666 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
13667 if ${ac_cv_c_extern_prefix+:} false
; then :
13668 $as_echo_n "(cached) " >&6
13670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13671 /* end confdefs.h. */
13672 extern int ac_test;
13676 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
13681 if ac_fn_c_try_link
"$LINENO"; then :
13682 ac_cv_c_extern_prefix
="yes"
13684 ac_cv_c_extern_prefix
="no"
13686 rm -f core conftest.err conftest.
$ac_objext \
13687 conftest
$ac_exeext conftest.
$ac_ext
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
13690 $as_echo "$ac_cv_c_extern_prefix" >&6; }
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
13695 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
13696 if ${ac_cv_c_stdcall_suffix+:} false
; then :
13697 $as_echo_n "(cached) " >&6
13699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13700 /* end confdefs.h. */
13702 #define __stdcall __attribute__((__stdcall__))
13704 int __stdcall ac_test(int i) { return i; }
13708 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
13713 if ac_fn_c_try_link
"$LINENO"; then :
13714 ac_cv_c_stdcall_suffix
="yes"
13716 ac_cv_c_stdcall_suffix
="no"
13718 rm -f core conftest.err conftest.
$ac_objext \
13719 conftest
$ac_exeext conftest.
$ac_ext
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
13722 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
13723 *) ac_cv_c_stdcall_suffix
="no" ;;
13727 if test "$ac_cv_c_extern_prefix" = "yes"
13729 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
13731 asm_name_prefix
="_"
13733 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
13739 if test "$ac_cv_c_stdcall_suffix" = "yes"
13741 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
13744 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
13750 $as_echo_n "checking how to define a function in assembly code... " >&6; }
13751 if ${ac_cv_asm_func_def+:} false
; then :
13752 $as_echo_n "(cached) " >&6
13754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13755 /* end confdefs.h. */
13760 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13765 if ac_fn_c_try_link
"$LINENO"; then :
13766 ac_cv_asm_func_def
=".def"
13768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13769 /* end confdefs.h. */
13774 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13779 if ac_fn_c_try_link
"$LINENO"; then :
13780 ac_cv_asm_func_def
=".type @function"
13782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13783 /* end confdefs.h. */
13788 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13793 if ac_fn_c_try_link
"$LINENO"; then :
13794 ac_cv_asm_func_def
=".type 2"
13796 ac_cv_asm_func_def
="unknown"
13798 rm -f core conftest.err conftest.
$ac_objext \
13799 conftest
$ac_exeext conftest.
$ac_ext
13801 rm -f core conftest.err conftest.
$ac_objext \
13802 conftest
$ac_exeext conftest.
$ac_ext
13804 rm -f core conftest.err conftest.
$ac_objext \
13805 conftest
$ac_exeext conftest.
$ac_ext
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
13808 $as_echo "$ac_cv_asm_func_def" >&6; }
13811 case "$ac_cv_asm_func_def" in
13813 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13815 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13817 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13819 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
13821 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13823 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
13825 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13827 asm_func_header
="" ;;
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13831 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13832 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
13833 $as_echo_n "(cached) " >&6
13835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13836 /* end confdefs.h. */
13837 asm(".text\n\t.long 0");
13846 if ac_fn_c_try_compile
"$LINENO"; then :
13847 ac_cv_c_asm_outside_funcs
="yes"
13849 ac_cv_c_asm_outside_funcs
="no"
13851 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13854 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13857 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13858 if ${ac_cv_c_dot_previous+:} false
; then :
13859 $as_echo_n "(cached) " >&6
13861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13862 /* end confdefs.h. */
13867 asm(".text\nac_test:\t.long 0\n\t.previous");
13872 if ac_fn_c_try_link
"$LINENO"; then :
13873 ac_cv_c_dot_previous
="yes"
13875 ac_cv_c_dot_previous
="no"
13877 rm -f core conftest.err conftest.
$ac_objext \
13878 conftest
$ac_exeext conftest.
$ac_ext
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13881 $as_echo "$ac_cv_c_dot_previous" >&6; }
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13884 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13885 if ${ac_cv_c_cfi_support+:} false
; then :
13886 $as_echo_n "(cached) " >&6
13888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13889 /* end confdefs.h. */
13890 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13899 if ac_fn_c_try_compile
"$LINENO"; then :
13900 ac_cv_c_cfi_support
="yes"
13902 ac_cv_c_cfi_support
="no"
13904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13907 $as_echo "$ac_cv_c_cfi_support" >&6; }
13909 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13910 asm_func_trailer
=""
13911 if test "$ac_cv_c_dot_previous" = "yes"
13913 asm_func_trailer
="\\n\\t.previous"
13915 if test "$ac_cv_c_cfi_support" = "yes"
13917 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
13918 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
13920 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13922 UNWINDFLAGS
=-fasynchronous-unwind-tables
13925 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13929 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
13932 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13934 cat >>confdefs.h
<<_ACEOF
13935 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13939 cat >>confdefs.h
<<_ACEOF
13940 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13945 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13948 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13953 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
13960 *i
[3456789]86*|x86_64
*)
13961 as_fn_append LOADER_RULES
"
13962 all: $wine_binary-preloader
13964 $wine_binary-preloader: preloader.o Makefile.in
13965 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
13967 install install-lib:: $wine_binary-preloader \$(DESTDIR)\$(bindir)
13968 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
13971 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
13978 ac_save_CFLAGS
="$CFLAGS"
13979 CFLAGS
="$CFLAGS $BUILTINFLAG"
14057 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14058 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14059 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14060 cat >>confdefs.h
<<_ACEOF
14061 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14067 CFLAGS
="$ac_save_CFLAGS"
14069 if test "$ac_cv_func_dlopen" = no
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14072 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14073 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14074 $as_echo_n "(cached) " >&6
14076 ac_check_lib_save_LIBS
=$LIBS
14078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14079 /* end confdefs.h. */
14081 /* Override any GCC internal prototype to avoid an error.
14082 Use char because int might match the return type of a GCC
14083 builtin and then its argument prototype would still apply. */
14096 if ac_fn_c_try_link
"$LINENO"; then :
14097 ac_cv_lib_dl_dlopen
=yes
14099 ac_cv_lib_dl_dlopen
=no
14101 rm -f core conftest.err conftest.
$ac_objext \
14102 conftest
$ac_exeext conftest.
$ac_ext
14103 LIBS
=$ac_check_lib_save_LIBS
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14106 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14107 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14108 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14114 ac_wine_check_funcs_save_LIBS
="$LIBS"
14115 LIBS
="$LIBS $LIBDL"
14116 for ac_func
in dladdr
14118 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14119 if test "x$ac_cv_func_dladdr" = xyes
; then :
14120 cat >>confdefs.h
<<_ACEOF
14121 #define HAVE_DLADDR 1
14127 LIBS
="$ac_wine_check_funcs_save_LIBS"
14129 if test "$ac_cv_func_poll" = no
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14132 $as_echo_n "checking for poll in -lpoll... " >&6; }
14133 if ${ac_cv_lib_poll_poll+:} false
; then :
14134 $as_echo_n "(cached) " >&6
14136 ac_check_lib_save_LIBS
=$LIBS
14137 LIBS
="-lpoll $LIBS"
14138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14139 /* end confdefs.h. */
14141 /* Override any GCC internal prototype to avoid an error.
14142 Use char because int might match the return type of a GCC
14143 builtin and then its argument prototype would still apply. */
14156 if ac_fn_c_try_link
"$LINENO"; then :
14157 ac_cv_lib_poll_poll
=yes
14159 ac_cv_lib_poll_poll
=no
14161 rm -f core conftest.err conftest.
$ac_objext \
14162 conftest
$ac_exeext conftest.
$ac_ext
14163 LIBS
=$ac_check_lib_save_LIBS
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14166 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14167 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14168 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14176 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14177 if ${ac_cv_search_gethostbyname+:} false
; then :
14178 $as_echo_n "(cached) " >&6
14180 ac_func_search_save_LIBS
=$LIBS
14181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14182 /* end confdefs.h. */
14184 /* Override any GCC internal prototype to avoid an error.
14185 Use char because int might match the return type of a GCC
14186 builtin and then its argument prototype would still apply. */
14190 char gethostbyname ();
14194 return gethostbyname ();
14199 for ac_lib
in '' nsl
; do
14200 if test -z "$ac_lib"; then
14201 ac_res
="none required"
14204 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14206 if ac_fn_c_try_link
"$LINENO"; then :
14207 ac_cv_search_gethostbyname
=$ac_res
14209 rm -f core conftest.err conftest.
$ac_objext \
14211 if ${ac_cv_search_gethostbyname+:} false
; then :
14215 if ${ac_cv_search_gethostbyname+:} false
; then :
14218 ac_cv_search_gethostbyname
=no
14220 rm conftest.
$ac_ext
14221 LIBS
=$ac_func_search_save_LIBS
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14224 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14225 ac_res
=$ac_cv_search_gethostbyname
14226 if test "$ac_res" != no
; then :
14227 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14233 $as_echo_n "checking for library containing connect... " >&6; }
14234 if ${ac_cv_search_connect+:} false
; then :
14235 $as_echo_n "(cached) " >&6
14237 ac_func_search_save_LIBS
=$LIBS
14238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14239 /* end confdefs.h. */
14241 /* Override any GCC internal prototype to avoid an error.
14242 Use char because int might match the return type of a GCC
14243 builtin and then its argument prototype would still apply. */
14256 for ac_lib
in '' socket
; do
14257 if test -z "$ac_lib"; then
14258 ac_res
="none required"
14261 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14263 if ac_fn_c_try_link
"$LINENO"; then :
14264 ac_cv_search_connect
=$ac_res
14266 rm -f core conftest.err conftest.
$ac_objext \
14268 if ${ac_cv_search_connect+:} false
; then :
14272 if ${ac_cv_search_connect+:} false
; then :
14275 ac_cv_search_connect
=no
14277 rm conftest.
$ac_ext
14278 LIBS
=$ac_func_search_save_LIBS
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14281 $as_echo "$ac_cv_search_connect" >&6; }
14282 ac_res
=$ac_cv_search_connect
14283 if test "$ac_res" != no
; then :
14284 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14290 $as_echo_n "checking for library containing inet_aton... " >&6; }
14291 if ${ac_cv_search_inet_aton+:} false
; then :
14292 $as_echo_n "(cached) " >&6
14294 ac_func_search_save_LIBS
=$LIBS
14295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14296 /* end confdefs.h. */
14298 /* Override any GCC internal prototype to avoid an error.
14299 Use char because int might match the return type of a GCC
14300 builtin and then its argument prototype would still apply. */
14308 return inet_aton ();
14313 for ac_lib
in '' resolv
; do
14314 if test -z "$ac_lib"; then
14315 ac_res
="none required"
14318 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14320 if ac_fn_c_try_link
"$LINENO"; then :
14321 ac_cv_search_inet_aton
=$ac_res
14323 rm -f core conftest.err conftest.
$ac_objext \
14325 if ${ac_cv_search_inet_aton+:} false
; then :
14329 if ${ac_cv_search_inet_aton+:} false
; then :
14332 ac_cv_search_inet_aton
=no
14334 rm conftest.
$ac_ext
14335 LIBS
=$ac_func_search_save_LIBS
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14338 $as_echo "$ac_cv_search_inet_aton" >&6; }
14339 ac_res
=$ac_cv_search_inet_aton
14340 if test "$ac_res" != no
; then :
14341 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14360 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14361 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14362 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14363 cat >>confdefs.h
<<_ACEOF
14364 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14373 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14374 if ${ac_cv_search_clock_gettime+:} false
; then :
14375 $as_echo_n "(cached) " >&6
14377 ac_func_search_save_LIBS
=$LIBS
14378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14379 /* end confdefs.h. */
14381 /* Override any GCC internal prototype to avoid an error.
14382 Use char because int might match the return type of a GCC
14383 builtin and then its argument prototype would still apply. */
14387 char clock_gettime ();
14391 return clock_gettime ();
14396 for ac_lib
in '' rt
; do
14397 if test -z "$ac_lib"; then
14398 ac_res
="none required"
14401 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14403 if ac_fn_c_try_link
"$LINENO"; then :
14404 ac_cv_search_clock_gettime
=$ac_res
14406 rm -f core conftest.err conftest.
$ac_objext \
14408 if ${ac_cv_search_clock_gettime+:} false
; then :
14412 if ${ac_cv_search_clock_gettime+:} false
; then :
14415 ac_cv_search_clock_gettime
=no
14417 rm conftest.
$ac_ext
14418 LIBS
=$ac_func_search_save_LIBS
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14421 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14422 ac_res
=$ac_cv_search_clock_gettime
14423 if test "$ac_res" != no
; then :
14424 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14426 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14428 test "$ac_res" = "none required" || LIBRT
="$ac_res"
14436 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14438 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14440 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14442 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14443 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
14444 $as_echo_n "(cached) " >&6
14446 ac_check_lib_save_LIBS
=$LIBS
14447 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
14448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14449 /* end confdefs.h. */
14451 /* Override any GCC internal prototype to avoid an error.
14452 Use char because int might match the return type of a GCC
14453 builtin and then its argument prototype would still apply. */
14457 char ldap_initialize ();
14461 return ldap_initialize ();
14466 if ac_fn_c_try_link
"$LINENO"; then :
14467 ac_cv_lib_ldap_r_ldap_initialize
=yes
14469 ac_cv_lib_ldap_r_ldap_initialize
=no
14471 rm -f core conftest.err conftest.
$ac_objext \
14472 conftest
$ac_exeext conftest.
$ac_ext
14473 LIBS
=$ac_check_lib_save_LIBS
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
14476 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
14477 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
14479 $as_echo_n "checking for ber_init in -llber... " >&6; }
14480 if ${ac_cv_lib_lber_ber_init+:} false
; then :
14481 $as_echo_n "(cached) " >&6
14483 ac_check_lib_save_LIBS
=$LIBS
14484 LIBS
="-llber $LIBPTHREAD $LIBS"
14485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14486 /* end confdefs.h. */
14488 /* Override any GCC internal prototype to avoid an error.
14489 Use char because int might match the return type of a GCC
14490 builtin and then its argument prototype would still apply. */
14498 return ber_init ();
14503 if ac_fn_c_try_link
"$LINENO"; then :
14504 ac_cv_lib_lber_ber_init
=yes
14506 ac_cv_lib_lber_ber_init
=no
14508 rm -f core conftest.err conftest.
$ac_objext \
14509 conftest
$ac_exeext conftest.
$ac_ext
14510 LIBS
=$ac_check_lib_save_LIBS
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
14513 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
14514 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
14516 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
14518 LDAPLIBS
="-lldap_r -llber"
14525 ac_wine_check_funcs_save_LIBS
="$LIBS"
14526 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
14528 ldap_count_references \
14529 ldap_first_reference \
14530 ldap_next_reference \
14531 ldap_parse_reference \
14532 ldap_parse_sort_control \
14533 ldap_parse_sortresponse_control \
14534 ldap_parse_vlv_control \
14535 ldap_parse_vlvresponse_control
14537 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14538 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14539 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14540 cat >>confdefs.h
<<_ACEOF
14541 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14547 LIBS
="$ac_wine_check_funcs_save_LIBS"
14549 if test "x$LDAPLIBS" = "x"; then :
14550 case "x$with_ldap" in
14551 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
14553 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
14554 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
14559 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
14560 if ${wine_cv_one_arg_mkdir+:} false
; then :
14561 $as_echo_n "(cached) " >&6
14563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14564 /* end confdefs.h. */
14565 #include <sys/stat.h>
14574 if ac_fn_c_try_compile
"$LINENO"; then :
14575 wine_cv_one_arg_mkdir
=yes
14577 wine_cv_one_arg_mkdir
=no
14579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
14582 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
14583 if test "$wine_cv_one_arg_mkdir" = "yes"
14586 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
14591 $as_echo_n "checking for sched_setaffinity... " >&6; }
14592 if ${wine_cv_have_sched_setaffinity+:} false
; then :
14593 $as_echo_n "(cached) " >&6
14595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14596 /* end confdefs.h. */
14597 #define _GNU_SOURCE
14602 sched_setaffinity(0, 0, 0);
14607 if ac_fn_c_try_link
"$LINENO"; then :
14608 wine_cv_have_sched_setaffinity
=yes
14610 wine_cv_have_sched_setaffinity
=no
14612 rm -f core conftest.err conftest.
$ac_objext \
14613 conftest
$ac_exeext conftest.
$ac_ext
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
14616 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
14617 if test "$wine_cv_have_sched_setaffinity" = "yes"
14620 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
14625 $as_echo_n "checking for fallocate... " >&6; }
14626 if ${wine_cv_have_fallocate+:} false
; then :
14627 $as_echo_n "(cached) " >&6
14629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14630 /* end confdefs.h. */
14631 #define _GNU_SOURCE
14636 fallocate(-1, 0, 0, 0);
14641 if ac_fn_c_try_link
"$LINENO"; then :
14642 wine_cv_have_fallocate
=yes
14644 wine_cv_have_fallocate
=no
14646 rm -f core conftest.err conftest.
$ac_objext \
14647 conftest
$ac_exeext conftest.
$ac_ext
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
14650 $as_echo "$wine_cv_have_fallocate" >&6; }
14651 if test "$wine_cv_have_fallocate" = "yes"
14654 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14660 $as_echo_n "checking for inline... " >&6; }
14661 if ${ac_cv_c_inline+:} false
; then :
14662 $as_echo_n "(cached) " >&6
14665 for ac_kw
in inline __inline__ __inline
; do
14666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14667 /* end confdefs.h. */
14668 #ifndef __cplusplus
14670 static $ac_kw foo_t static_foo () {return 0; }
14671 $ac_kw foo_t foo () {return 0; }
14675 if ac_fn_c_try_compile
"$LINENO"; then :
14676 ac_cv_c_inline
=$ac_kw
14678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14679 test "$ac_cv_c_inline" != no
&& break
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14684 $as_echo "$ac_cv_c_inline" >&6; }
14686 case $ac_cv_c_inline in
14689 case $ac_cv_c_inline in
14691 *) ac_val
=$ac_cv_c_inline;;
14693 cat >>confdefs.h
<<_ACEOF
14694 #ifndef __cplusplus
14695 #define inline $ac_val
14701 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
14702 if test "x$ac_cv_type_mode_t" = xyes
; then :
14704 cat >>confdefs.h
<<_ACEOF
14705 #define HAVE_MODE_T 1
14710 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14711 if test "x$ac_cv_type_off_t" = xyes
; then :
14713 cat >>confdefs.h
<<_ACEOF
14714 #define HAVE_OFF_T 1
14719 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14720 if test "x$ac_cv_type_pid_t" = xyes
; then :
14722 cat >>confdefs.h
<<_ACEOF
14723 #define HAVE_PID_T 1
14728 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14729 if test "x$ac_cv_type_size_t" = xyes
; then :
14731 cat >>confdefs.h
<<_ACEOF
14732 #define HAVE_SIZE_T 1
14737 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
14738 if test "x$ac_cv_type_ssize_t" = xyes
; then :
14740 cat >>confdefs.h
<<_ACEOF
14741 #define HAVE_SSIZE_T 1
14746 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
14747 if test "x$ac_cv_type_long_long" = xyes
; then :
14749 cat >>confdefs.h
<<_ACEOF
14750 #define HAVE_LONG_LONG 1
14755 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14756 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
14758 cat >>confdefs.h
<<_ACEOF
14759 #define HAVE_FSBLKCNT_T 1
14764 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14765 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
14767 cat >>confdefs.h
<<_ACEOF
14768 #define HAVE_FSFILCNT_T 1
14774 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14775 #include <signal.h>
14777 if test "x$ac_cv_type_sigset_t" = xyes
; then :
14779 cat >>confdefs.h
<<_ACEOF
14780 #define HAVE_SIGSET_T 1
14786 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14788 if test "x$ac_cv_type_request_sense" = xyes
; then :
14790 cat >>confdefs.h
<<_ACEOF
14791 #define HAVE_REQUEST_SENSE 1
14798 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14799 #ifdef HAVE_SYS_SOCKET_H
14800 #include <sys/socket.h>
14802 #ifdef HAVE_SYS_SOCKETVAR_H
14803 #include <sys/socketvar.h>
14805 #ifdef HAVE_NET_ROUTE_H
14806 #include <net/route.h>
14808 #ifdef HAVE_NETINET_IN_H
14809 #include <netinet/in.h>
14811 #ifdef HAVE_NETINET_IN_SYSTM_H
14812 #include <netinet/in_systm.h>
14814 #ifdef HAVE_NETINET_IP_H
14815 #include <netinet/ip.h>
14817 #ifdef HAVE_NETINET_IN_PCB_H
14818 #include <netinet/in_pcb.h>
14821 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
14823 cat >>confdefs.h
<<_ACEOF
14824 #define HAVE_STRUCT_XINPGEN 1
14831 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
14834 #ifdef HAVE_SYS_LINK_H
14835 #include <sys/link.h>
14838 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
14840 cat >>confdefs.h
<<_ACEOF
14841 #define HAVE_STRUCT_R_DEBUG 1
14846 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
14849 #ifdef HAVE_SYS_LINK_H
14850 #include <sys/link.h>
14853 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
14855 cat >>confdefs.h
<<_ACEOF
14856 #define HAVE_STRUCT_LINK_MAP 1
14863 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14864 #include <linux/input.h>
14867 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
14869 cat >>confdefs.h
<<_ACEOF
14870 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14878 $as_echo_n "checking for sigaddset... " >&6; }
14879 if ${wine_cv_have_sigaddset+:} false
; then :
14880 $as_echo_n "(cached) " >&6
14882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14883 /* end confdefs.h. */
14884 #include <signal.h>
14888 sigset_t set; sigaddset(&set,SIGTERM);
14893 if ac_fn_c_try_link
"$LINENO"; then :
14894 wine_cv_have_sigaddset
=yes
14896 wine_cv_have_sigaddset
=no
14898 rm -f core conftest.err conftest.
$ac_objext \
14899 conftest
$ac_exeext conftest.
$ac_ext
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14902 $as_echo "$wine_cv_have_sigaddset" >&6; }
14903 if test "$wine_cv_have_sigaddset" = "yes"
14906 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14912 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14913 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
14914 $as_echo_n "(cached) " >&6
14916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14917 /* end confdefs.h. */
14925 struct hostent *result;
14932 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14933 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14939 if ac_fn_c_try_link
"$LINENO"; then :
14940 wine_cv_linux_gethostbyname_r_6
=yes
14942 wine_cv_linux_gethostbyname_r_6
=no
14945 rm -f core conftest.err conftest.
$ac_objext \
14946 conftest
$ac_exeext conftest.
$ac_ext
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14950 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14951 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14954 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14958 if test "$ac_cv_header_linux_joystick_h" = "yes"
14960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14961 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14962 if ${wine_cv_linux_joystick_22_api+:} false
; then :
14963 $as_echo_n "(cached) " >&6
14965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14966 /* end confdefs.h. */
14968 #include <sys/ioctl.h>
14969 #include <sys/types.h>
14970 #include <linux/joystick.h>
14972 struct js_event blub;
14973 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14974 #error "no 2.2 header"
14985 if ac_fn_c_try_compile
"$LINENO"; then :
14986 wine_cv_linux_joystick_22_api
=yes
14988 wine_cv_linux_joystick_22_api
=no
14990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
14994 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
14995 if test "$wine_cv_linux_joystick_22_api" = "yes"
14998 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15004 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15005 #ifdef HAVE_SYS_PARAM_H
15006 # include <sys/param.h>
15008 #ifdef HAVE_SYS_MOUNT_H
15009 # include <sys/mount.h>
15011 #ifdef HAVE_SYS_VFS_H
15012 # include <sys/vfs.h>
15014 #ifdef HAVE_SYS_STATFS_H
15015 # include <sys/statfs.h>
15018 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15020 cat >>confdefs.h
<<_ACEOF
15021 #define HAVE_STRUCT_STATFS_F_BFREE 1
15026 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15027 #ifdef HAVE_SYS_PARAM_H
15028 # include <sys/param.h>
15030 #ifdef HAVE_SYS_MOUNT_H
15031 # include <sys/mount.h>
15033 #ifdef HAVE_SYS_VFS_H
15034 # include <sys/vfs.h>
15036 #ifdef HAVE_SYS_STATFS_H
15037 # include <sys/statfs.h>
15040 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15042 cat >>confdefs.h
<<_ACEOF
15043 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15048 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15049 #ifdef HAVE_SYS_PARAM_H
15050 # include <sys/param.h>
15052 #ifdef HAVE_SYS_MOUNT_H
15053 # include <sys/mount.h>
15055 #ifdef HAVE_SYS_VFS_H
15056 # include <sys/vfs.h>
15058 #ifdef HAVE_SYS_STATFS_H
15059 # include <sys/statfs.h>
15062 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15064 cat >>confdefs.h
<<_ACEOF
15065 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15070 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15071 #ifdef HAVE_SYS_PARAM_H
15072 # include <sys/param.h>
15074 #ifdef HAVE_SYS_MOUNT_H
15075 # include <sys/mount.h>
15077 #ifdef HAVE_SYS_VFS_H
15078 # include <sys/vfs.h>
15080 #ifdef HAVE_SYS_STATFS_H
15081 # include <sys/statfs.h>
15084 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15086 cat >>confdefs.h
<<_ACEOF
15087 #define HAVE_STRUCT_STATFS_F_FFREE 1
15092 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15093 #ifdef HAVE_SYS_PARAM_H
15094 # include <sys/param.h>
15096 #ifdef HAVE_SYS_MOUNT_H
15097 # include <sys/mount.h>
15099 #ifdef HAVE_SYS_VFS_H
15100 # include <sys/vfs.h>
15102 #ifdef HAVE_SYS_STATFS_H
15103 # include <sys/statfs.h>
15106 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15108 cat >>confdefs.h
<<_ACEOF
15109 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15114 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15115 #ifdef HAVE_SYS_PARAM_H
15116 # include <sys/param.h>
15118 #ifdef HAVE_SYS_MOUNT_H
15119 # include <sys/mount.h>
15121 #ifdef HAVE_SYS_VFS_H
15122 # include <sys/vfs.h>
15124 #ifdef HAVE_SYS_STATFS_H
15125 # include <sys/statfs.h>
15128 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15130 cat >>confdefs.h
<<_ACEOF
15131 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15138 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15139 #include <sys/statvfs.h>
15142 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15144 cat >>confdefs.h
<<_ACEOF
15145 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15152 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15153 #include <dirent.h>
15156 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15158 cat >>confdefs.h
<<_ACEOF
15159 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15166 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15167 #ifdef HAVE_SYS_SOCKET_H
15168 # include <sys/socket.h>
15170 #ifdef HAVE_SYS_UN_H
15171 # include <sys/un.h>
15174 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15176 cat >>confdefs.h
<<_ACEOF
15177 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15182 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15183 #ifdef HAVE_SYS_SOCKET_H
15184 # include <sys/socket.h>
15186 #ifdef HAVE_SYS_UN_H
15187 # include <sys/un.h>
15190 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15192 cat >>confdefs.h
<<_ACEOF
15193 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15198 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15199 #ifdef HAVE_SYS_SOCKET_H
15200 # include <sys/socket.h>
15202 #ifdef HAVE_SYS_UN_H
15203 # include <sys/un.h>
15206 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15208 cat >>confdefs.h
<<_ACEOF
15209 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15216 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15217 #ifdef HAVE_SCSI_SG_H
15218 #include <scsi/sg.h>
15221 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15223 cat >>confdefs.h
<<_ACEOF
15224 #define HAVE_SCSIREQ_T_CMD 1
15229 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>
15230 #ifdef HAVE_SCSI_SG_H
15231 #include <scsi/sg.h>
15234 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15236 cat >>confdefs.h
<<_ACEOF
15237 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15244 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15246 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15248 cat >>confdefs.h
<<_ACEOF
15249 #define HAVE_SIGINFO_T_SI_FD 1
15256 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15257 #ifdef HAVE_SYS_MTIO_H
15258 #include <sys/mtio.h>
15261 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15263 cat >>confdefs.h
<<_ACEOF
15264 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15269 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15270 #ifdef HAVE_SYS_MTIO_H
15271 #include <sys/mtio.h>
15274 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15276 cat >>confdefs.h
<<_ACEOF
15277 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15282 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15283 #ifdef HAVE_SYS_MTIO_H
15284 #include <sys/mtio.h>
15287 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15289 cat >>confdefs.h
<<_ACEOF
15290 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15297 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15298 #include <getopt.h>
15301 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15303 cat >>confdefs.h
<<_ACEOF
15304 #define HAVE_STRUCT_OPTION_NAME 1
15311 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15312 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15314 cat >>confdefs.h
<<_ACEOF
15315 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15320 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15321 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15323 cat >>confdefs.h
<<_ACEOF
15324 #define HAVE_STRUCT_STAT_ST_MTIM 1
15329 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15330 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15332 cat >>confdefs.h
<<_ACEOF
15333 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15338 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15339 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15341 cat >>confdefs.h
<<_ACEOF
15342 #define HAVE_STRUCT_STAT_ST_CTIM 1
15347 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15348 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15350 cat >>confdefs.h
<<_ACEOF
15351 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15356 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15357 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15359 cat >>confdefs.h
<<_ACEOF
15360 #define HAVE_STRUCT_STAT_ST_ATIM 1
15365 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15366 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15368 cat >>confdefs.h
<<_ACEOF
15369 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15374 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15375 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15377 cat >>confdefs.h
<<_ACEOF
15378 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15383 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15384 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15386 cat >>confdefs.h
<<_ACEOF
15387 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15392 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15393 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15395 cat >>confdefs.h
<<_ACEOF
15396 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15401 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15402 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15404 cat >>confdefs.h
<<_ACEOF
15405 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15410 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15411 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15413 cat >>confdefs.h
<<_ACEOF
15414 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15421 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
15422 #include <sys/types.h>
15424 #ifdef HAVE_NETINET_IN_H
15425 #include <netinet/in.h>
15428 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15430 cat >>confdefs.h
<<_ACEOF
15431 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15438 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15439 #include <resolv.h>
15442 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
15444 cat >>confdefs.h
<<_ACEOF
15445 #define HAVE_STRUCT___RES_STATE 1
15452 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
15453 #include <resolv.h>
15456 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
15458 cat >>confdefs.h
<<_ACEOF
15459 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15466 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15467 #include <sys/types.h>
15469 #ifdef HAVE_NETINET_IN_H
15470 # include <netinet/in.h>
15472 #ifdef HAVE_ARPA_NAMESER_H
15473 # include <arpa/nameser.h>
15476 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
15478 cat >>confdefs.h
<<_ACEOF
15479 #define HAVE_NS_MSG__MSG_PTR 1
15486 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
15487 #include <sys/types.h>
15489 #ifdef HAVE_NETINET_IP_H
15490 #include <netinet/ip.h>
15492 #ifdef HAVE_NETINET_IP_ICMP_H
15493 #include <netinet/ip_icmp.h>
15495 #ifdef HAVE_NETINET_ICMP_VAR_H
15496 #include <netinet/icmp_var.h>
15499 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
15501 cat >>confdefs.h
<<_ACEOF
15502 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
15509 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
15510 #include <sys/types.h>
15512 #ifdef HAVE_ALIAS_H
15515 #ifdef HAVE_SYS_SOCKET_H
15516 #include <sys/socket.h>
15518 #ifdef HAVE_SYS_SOCKETVAR_H
15519 #include <sys/socketvar.h>
15521 #ifdef HAVE_SYS_TIMEOUT_H
15522 #include <sys/timeout.h>
15524 #ifdef HAVE_NETINET_IN_H
15525 #include <netinet/in.h>
15527 #ifdef HAVE_NETINET_IN_SYSTM_H
15528 #include <netinet/in_systm.h>
15530 #ifdef HAVE_NETINET_IP_H
15531 #include <netinet/ip.h>
15533 #ifdef HAVE_NETINET_IP_VAR_H
15534 #include <netinet/ip_var.h>
15536 #ifdef HAVE_NETINET_IP_ICMP_H
15537 #include <netinet/ip_icmp.h>
15539 #ifdef HAVE_NETINET_ICMP_VAR_H
15540 #include <netinet/icmp_var.h>
15543 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
15545 cat >>confdefs.h
<<_ACEOF
15546 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
15553 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
15554 #include <sys/types.h>
15556 #ifdef HAVE_SYS_SOCKETVAR_H
15557 #include <sys/socketvar.h>
15559 #ifdef HAVE_NETINET_IN_H
15560 #include <netinet/in.h>
15562 #ifdef HAVE_NETINET_IP_VAR_H
15563 #include <netinet/ip_var.h>
15566 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
15568 cat >>confdefs.h
<<_ACEOF
15569 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
15576 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
15577 #include <netinet/ip_var.h>
15580 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
15582 cat >>confdefs.h
<<_ACEOF
15583 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
15590 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
15591 #include <sys/types.h>
15593 #ifdef HAVE_SYS_SOCKETVAR_H
15594 #include <sys/socketvar.h>
15596 #ifdef HAVE_NETINET_IN_H
15597 #include <netinet/in.h>
15599 #ifdef HAVE_NETINET_TCP_H
15600 #include <netinet/tcp.h>
15602 #ifdef HAVE_NETINET_TCP_VAR_H
15603 #include <netinet/tcp_var.h>
15606 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
15608 cat >>confdefs.h
<<_ACEOF
15609 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
15616 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
15617 #include <netinet/tcp_var.h>
15620 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
15622 cat >>confdefs.h
<<_ACEOF
15623 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
15630 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
15631 #include <sys/types.h>
15633 #ifdef HAVE_NETINET_IN_H
15634 #include <netinet/in.h>
15636 #ifdef HAVE_NETINET_IP_VAR_H
15637 #include <netinet/ip_var.h>
15639 #ifdef HAVE_NETINET_UDP_H
15640 #include <netinet/udp.h>
15642 #ifdef HAVE_NETINET_UDP_VAR_H
15643 #include <netinet/udp_var.h>
15646 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
15648 cat >>confdefs.h
<<_ACEOF
15649 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
15656 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
15657 #include <sys/types.h>
15659 #ifdef HAVE_NET_IF_H
15660 # include <net/if.h>
15663 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
15665 cat >>confdefs.h
<<_ACEOF
15666 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
15674 $as_echo_n "checking for timezone variable... " >&6; }
15675 if ${ac_cv_have_timezone+:} false
; then :
15676 $as_echo_n "(cached) " >&6
15678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15679 /* end confdefs.h. */
15689 if ac_fn_c_try_link
"$LINENO"; then :
15690 ac_cv_have_timezone
="yes"
15692 ac_cv_have_timezone
="no"
15694 rm -f core conftest.err conftest.
$ac_objext \
15695 conftest
$ac_exeext conftest.
$ac_ext
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
15698 $as_echo "$ac_cv_have_timezone" >&6; }
15699 if test "$ac_cv_have_timezone" = "yes"
15702 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
15706 $as_echo_n "checking for daylight variable... " >&6; }
15707 if ${ac_cv_have_daylight+:} false
; then :
15708 $as_echo_n "(cached) " >&6
15710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15711 /* end confdefs.h. */
15721 if ac_fn_c_try_link
"$LINENO"; then :
15722 ac_cv_have_daylight
="yes"
15724 ac_cv_have_daylight
="no"
15726 rm -f core conftest.err conftest.
$ac_objext \
15727 conftest
$ac_exeext conftest.
$ac_ext
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
15730 $as_echo "$ac_cv_have_daylight" >&6; }
15731 if test "$ac_cv_have_daylight" = "yes"
15734 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
15738 ac_save_LIBS
="$LIBS"
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
15741 $as_echo_n "checking for isinf... " >&6; }
15742 if ${ac_cv_have_isinf+:} false
; then :
15743 $as_echo_n "(cached) " >&6
15745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15746 /* end confdefs.h. */
15751 float f = 0.0; return isinf(f)
15756 if ac_fn_c_try_link
"$LINENO"; then :
15757 ac_cv_have_isinf
="yes"
15759 ac_cv_have_isinf
="no"
15761 rm -f core conftest.err conftest.
$ac_objext \
15762 conftest
$ac_exeext conftest.
$ac_ext
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
15765 $as_echo "$ac_cv_have_isinf" >&6; }
15766 if test "$ac_cv_have_isinf" = "yes"
15769 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
15774 $as_echo_n "checking for isnan... " >&6; }
15775 if ${ac_cv_have_isnan+:} false
; then :
15776 $as_echo_n "(cached) " >&6
15778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15779 /* end confdefs.h. */
15784 float f = 0.0; return isnan(f)
15789 if ac_fn_c_try_link
"$LINENO"; then :
15790 ac_cv_have_isnan
="yes"
15792 ac_cv_have_isnan
="no"
15794 rm -f core conftest.err conftest.
$ac_objext \
15795 conftest
$ac_exeext conftest.
$ac_ext
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
15798 $as_echo "$ac_cv_have_isnan" >&6; }
15799 if test "$ac_cv_have_isnan" = "yes"
15802 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
15805 LIBS
="$ac_save_LIBS"
15809 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
15810 $as_echo_n "checking whether we need to define __i386__... " >&6; }
15811 if ${ac_cv_cpp_def___i386__+:} false
; then :
15812 $as_echo_n "(cached) " >&6
15814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15815 /* end confdefs.h. */
15820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15821 $EGREP "yes" >/dev
/null
2>&1; then :
15822 ac_cv_cpp_def___i386__
=yes
15824 ac_cv_cpp_def___i386__
=no
15829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15830 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15831 if test $ac_cv_cpp_def___i386__ = yes; then :
15832 CFLAGS
="$CFLAGS -D__i386__"
15833 LINTFLAGS
="$LINTFLAGS -D__i386__"
15835 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15836 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15837 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
15838 $as_echo_n "(cached) " >&6
15840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15841 /* end confdefs.h. */
15846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15847 $EGREP "yes" >/dev
/null
2>&1; then :
15848 ac_cv_cpp_def___x86_64__
=yes
15850 ac_cv_cpp_def___x86_64__
=no
15855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15856 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15857 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15858 CFLAGS
="$CFLAGS -D__x86_64__"
15859 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
15861 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15862 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15863 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
15864 $as_echo_n "(cached) " >&6
15866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15867 /* end confdefs.h. */
15868 #ifndef __sparc64__
15872 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15873 $EGREP "yes" >/dev
/null
2>&1; then :
15874 ac_cv_cpp_def___sparc64__
=yes
15876 ac_cv_cpp_def___sparc64__
=no
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15882 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15883 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15884 CFLAGS
="$CFLAGS -D__sparc64__"
15885 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
15887 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15888 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15889 if ${ac_cv_cpp_def___sparc__+:} false
; then :
15890 $as_echo_n "(cached) " >&6
15892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15893 /* end confdefs.h. */
15898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15899 $EGREP "yes" >/dev
/null
2>&1; then :
15900 ac_cv_cpp_def___sparc__
=yes
15902 ac_cv_cpp_def___sparc__
=no
15907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15908 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15909 if test $ac_cv_cpp_def___sparc__ = yes; then :
15910 CFLAGS
="$CFLAGS -D__sparc__"
15911 LINTFLAGS
="$LINTFLAGS -D__sparc__"
15913 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15914 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15915 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
15916 $as_echo_n "(cached) " >&6
15918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15919 /* end confdefs.h. */
15920 #ifndef __powerpc64__
15924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15925 $EGREP "yes" >/dev
/null
2>&1; then :
15926 ac_cv_cpp_def___powerpc64__
=yes
15928 ac_cv_cpp_def___powerpc64__
=no
15933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15934 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15935 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15936 CFLAGS
="$CFLAGS -D__powerpc64__"
15937 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
15939 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15940 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15941 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
15942 $as_echo_n "(cached) " >&6
15944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15945 /* end confdefs.h. */
15946 #ifndef __powerpc__
15950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15951 $EGREP "yes" >/dev
/null
2>&1; then :
15952 ac_cv_cpp_def___powerpc__
=yes
15954 ac_cv_cpp_def___powerpc__
=no
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
15960 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
15961 if test $ac_cv_cpp_def___powerpc__ = yes; then :
15962 CFLAGS
="$CFLAGS -D__powerpc__"
15963 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
15965 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
15966 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
15967 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
15968 $as_echo_n "(cached) " >&6
15970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15971 /* end confdefs.h. */
15972 #ifndef __aarch64__
15976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15977 $EGREP "yes" >/dev
/null
2>&1; then :
15978 ac_cv_cpp_def___aarch64__
=yes
15980 ac_cv_cpp_def___aarch64__
=no
15985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
15986 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
15987 if test $ac_cv_cpp_def___aarch64__ = yes; then :
15988 CFLAGS
="$CFLAGS -D__aarch64__"
15989 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
15991 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
15992 $as_echo_n "checking whether we need to define __arm__... " >&6; }
15993 if ${ac_cv_cpp_def___arm__+:} false
; then :
15994 $as_echo_n "(cached) " >&6
15996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15997 /* end confdefs.h. */
16002 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16003 $EGREP "yes" >/dev
/null
2>&1; then :
16004 ac_cv_cpp_def___arm__
=yes
16006 ac_cv_cpp_def___arm__
=no
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16012 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16013 if test $ac_cv_cpp_def___arm__ = yes; then :
16014 CFLAGS
="$CFLAGS -D__arm__"
16015 LINTFLAGS
="$LINTFLAGS -D__arm__"
16019 case $host_vendor in
16020 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16021 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16022 if ${ac_cv_cpp_def___sun__+:} false
; then :
16023 $as_echo_n "(cached) " >&6
16025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16026 /* end confdefs.h. */
16031 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16032 $EGREP "yes" >/dev
/null
2>&1; then :
16033 ac_cv_cpp_def___sun__
=yes
16035 ac_cv_cpp_def___sun__
=no
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16041 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16042 if test $ac_cv_cpp_def___sun__ = yes; then :
16043 CFLAGS
="$CFLAGS -D__sun__"
16044 LINTFLAGS
="$LINTFLAGS -D__sun__"
16052 ac_config_commands
="$ac_config_commands include/stamp-h"
16054 $as_echo_n "creating Makefile rules..." >&6
16057 MAKE_IMPLIB_RULES
="DLLFLAGS = $DLLFLAGS
16060 if test "x$CROSSTEST_DISABLE" = x
16062 as_fn_append MAKE_IMPLIB_RULES
"MAKEDEPFLAGS = -xo -xcross.o
16063 all: \$(STATICLIB:.a=.cross.a)
16068 wine_rules_file
=conf$
$rules.
make
16069 rm -f $wine_rules_file
16071 ALL_TEST_RESOURCES
=""
16074 wine_fn_append_file
()
16076 as_fn_append
$1 " \\$as_nl $2"
16079 wine_fn_append_rule
()
16081 $as_echo "$1" >>$wine_rules_file
16084 wine_fn_has_flag
()
16086 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
16089 wine_fn_depend_rules
()
16092 ac_makedep
="\$(MAKEDEP)"
16093 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
16094 if test $ac_dir != tools
16096 ac_alldeps
="$1 $ac_makedep"
16098 ac_alldeps
="$1 include/config.h"
16101 *.
in) ac_input
=$ac_input:$1 ;;
16102 *) ac_makedep
="$1 $ac_makedep" ;;
16105 wine_fn_append_rule \
16106 "$ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
16107 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
16108 depend: $ac_dir/depend
16109 .PHONY: $ac_dir/depend
16110 $ac_dir/depend: $ac_makedep dummy
16111 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
16114 wine_fn_pot_rules
()
16116 test "x$with_gettextpo" = xyes ||
return
16118 if wine_fn_has_flag mc
16120 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
16121 wine_fn_append_rule \
16122 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
16123 @cd $ac_dir && \$(MAKE) msg.pot
16124 $ac_dir/msg.pot: tools/wmc include"
16126 if wine_fn_has_flag po
16128 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
16129 wine_fn_append_rule \
16130 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
16131 @cd $ac_dir && \$(MAKE) rsrc.pot
16132 $ac_dir/rsrc.pot: tools/wrc include"
16136 wine_fn_all_rules
()
16140 wine_fn_depend_rules
${ac_rules:-Make.rules}
16141 wine_fn_append_rule \
16144 $ac_dir: $ac_dir/Makefile dummy
16145 @cd $ac_dir && \$(MAKE)"
16148 wine_fn_install_rules
()
16150 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
16152 wine_fn_append_rule \
16153 ".PHONY: $ac_dir/install $ac_dir/uninstall
16154 $ac_dir/install:: $ac_dir
16155 @cd $ac_dir && \$(MAKE) install
16156 $ac_dir/uninstall:: $ac_dir/Makefile
16157 @cd $ac_dir && \$(MAKE) uninstall
16158 install:: $ac_dir/install
16159 __uninstall__: $ac_dir/uninstall"
16161 if wine_fn_has_flag install-lib
16163 wine_fn_append_rule \
16164 ".PHONY: $ac_dir/install-lib
16165 $ac_dir/install-lib:: $ac_dir
16166 @cd $ac_dir && \$(MAKE) install-lib
16167 install-lib:: $ac_dir/install-lib"
16170 if wine_fn_has_flag install-dev
16172 wine_fn_append_rule \
16173 ".PHONY: $ac_dir/install-dev
16174 $ac_dir/install-dev:: $ac_dir
16175 @cd $ac_dir && \$(MAKE) install-dev
16176 install-dev:: $ac_dir/install-dev"
16180 wine_fn_clean_rules
()
16184 if wine_fn_has_flag clean
16186 wine_fn_append_rule \
16187 "__clean__: $ac_dir/clean
16188 .PHONY: $ac_dir/clean
16189 $ac_dir/clean: $ac_dir/Makefile
16190 @cd $ac_dir && \$(MAKE) clean
16191 \$(RM) $ac_dir/Makefile"
16193 wine_fn_append_rule \
16195 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
16199 wine_fn_disabled_rules
()
16203 wine_fn_append_rule \
16205 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_dir/Makefile"
16208 wine_fn_config_makefile
()
16214 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
16215 wine_fn_disabled_rules
; return
16218 wine_fn_install_rules
16219 wine_fn_clean_rules
16222 wine_fn_config_lib
()
16226 ac_dir
=dlls
/$ac_name
16228 wine_fn_all_rules Make.rules.
in
16229 wine_fn_clean_rules
16231 wine_fn_append_rule \
16232 ".PHONY: $ac_dir/install $ac_dir/uninstall
16233 $ac_dir/install:: $ac_dir \$(DESTDIR)\$(dlldir)
16234 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16235 $ac_dir/uninstall::
16236 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
16237 install install-dev:: $ac_dir/install
16238 __uninstall__: $ac_dir/uninstall
16239 __builddeps__: $ac_dir
16240 $ac_dir: tools/widl tools/winebuild tools/winegcc include"
16243 wine_fn_config_dll
()
16246 ac_dir
=dlls
/$ac_name
16249 ac_implib
=${4:-$ac_name}
16250 ac_file
=$ac_dir/lib
$ac_implib
16252 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
16256 *16) ac_implibflags
=" -m16" ;;
16258 *) ac_dll
=$ac_dll.dll
;;
16262 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
16263 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
16264 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
16266 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
16267 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
16269 wine_fn_depend_rules dlls
/Makedll.rules
16270 wine_fn_clean_rules
$ac_clean
16272 wine_fn_disabled_rules
$ac_clean
16276 wine_fn_all_rules dlls
/Makedll.rules
16277 wine_fn_clean_rules
$ac_clean
16278 wine_fn_append_rule \
16279 "$ac_dir: __builddeps__
16280 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
16281 @cd $ac_dir && \$(MAKE) \$@
16282 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
16283 install install-lib:: $ac_dir/install-lib
16284 __uninstall__: $ac_dir/uninstall"
16285 if test -n "$DLLEXT"
16287 wine_fn_append_rule \
16288 "$ac_dir/install-lib:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16289 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
16290 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
16291 $ac_dir/uninstall::
16292 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
16294 wine_fn_append_rule \
16295 "$ac_dir/install-lib:: $ac_dir \$(DESTDIR)\$(dlldir)
16296 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
16297 $ac_dir/uninstall::
16298 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
16304 if wine_fn_has_flag staticimplib
16306 wine_fn_append_rule \
16307 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
16308 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
16309 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16310 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16311 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
16312 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
16313 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
16314 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16315 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16316 $ac_dir/uninstall::
16317 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16318 install install-dev:: $ac_dir/install-dev
16319 __uninstall__: $ac_dir/uninstall"
16321 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
16323 wine_fn_append_rule \
16324 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
16325 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
16326 $ac_dir/uninstall::
16327 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
16330 if test "x$CROSSTEST_DISABLE" = x
16332 wine_fn_append_rule \
16333 "__builddeps__: $ac_file.cross.a
16334 $ac_file.cross.a: $ac_dir/Makefile dummy
16335 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
16338 elif wine_fn_has_flag implib
16340 wine_fn_append_rule \
16341 "__builddeps__: $ac_file.$IMPLIBEXT
16342 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16343 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16344 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16345 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
16346 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
16347 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
16348 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16349 $ac_dir/uninstall::
16350 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
16351 install install-dev:: $ac_dir/install-dev
16352 __uninstall__: $ac_dir/uninstall"
16353 if test "x$CROSSTEST_DISABLE" = x
16355 wine_fn_append_rule \
16356 "__builddeps__: $ac_file.cross.a
16357 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
16358 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
16361 if test "$ac_name" != "$ac_implib"
16363 wine_fn_append_rule \
16364 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
16365 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
16366 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
16368 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
16369 if test "x$CROSSTEST_DISABLE" = x
16371 wine_fn_append_rule \
16372 "__builddeps__: dlls/lib$ac_implib.cross.a
16373 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
16374 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
16380 wine_fn_config_program
()
16383 ac_dir
=programs
/$ac_name
16386 ac_program
=$ac_name
16390 *) ac_program
=$ac_program.exe
;;
16394 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
16395 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
16396 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
16397 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
16399 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
16400 wine_fn_disabled_rules
$ac_clean; return
16403 wine_fn_all_rules programs
/Makeprog.rules
16404 wine_fn_clean_rules
$ac_clean
16405 wine_fn_append_rule
"$ac_dir: __builddeps__"
16408 wine_fn_has_flag
install ||
return
16409 wine_fn_append_rule \
16410 ".PHONY: $ac_dir/install $ac_dir/uninstall
16411 install install-lib:: $ac_dir/install
16412 __uninstall__: $ac_dir/uninstall"
16414 if test -n "$DLLEXT"
16416 wine_fn_append_rule \
16417 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
16418 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
16419 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
16420 $ac_dir/uninstall::
16421 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
16423 if test -z "$with_wine64" && wine_fn_has_flag installbin
16425 wine_fn_append_rule \
16426 "$ac_dir/install:: __tooldeps__ \$(DESTDIR)\$(bindir)
16427 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
16428 $ac_dir/uninstall::
16429 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
16432 wine_fn_append_rule \
16433 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(bindir)
16434 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
16435 $ac_dir/uninstall::
16436 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
16439 if test -z "$with_wine64" && wine_fn_has_flag manpage
16441 wine_fn_append_rule \
16442 "$ac_dir/install:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
16443 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
16444 $ac_dir/uninstall::
16445 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
16449 wine_fn_config_test
()
16456 test "x$CROSSTEST_DISABLE" = x
&& ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
16457 test -n "$DLLEXT" || ac_clean
=$ac_dir/${ac_name}.exe
16458 ac_clean
="$ac_clean $ac_dir/testlist.c"
16460 if test "x$enable_tests" = xno
; then :
16461 wine_fn_disabled_rules
$ac_clean; return
16464 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
16465 wine_fn_all_rules Maketest.rules
16466 wine_fn_clean_rules
$ac_clean
16468 wine_fn_append_rule \
16469 "$ac_dir: programs/winetest/Makefile __builddeps__
16470 programs/winetest: $ac_dir
16471 check test: $ac_dir/test
16472 .PHONY: $ac_dir/test
16473 $ac_dir/test: dummy
16474 @cd $ac_dir && \$(MAKE) test
16476 \$(RM) $ac_dir/*.ok"
16478 if test "x$CROSSTEST_DISABLE" = x
16480 wine_fn_append_rule \
16481 "crosstest: $ac_dir/crosstest
16482 .PHONY: $ac_dir/crosstest
16483 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
16484 @cd $ac_dir && \$(MAKE) crosstest"
16488 wine_fn_config_tool
()
16492 if test "x$enable_tools" = xno
; then :
16497 wine_fn_install_rules
16498 wine_fn_clean_rules
16500 wine_fn_append_rule
"__tooldeps__: $ac_dir"
16501 wine_fn_append_rule
"$ac_dir: libs/port"
16503 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
16507 wine_fn_config_makerules
()
16511 wine_fn_append_rule \
16512 "$ac_rules: $ac_rules.in $ac_deps config.status
16513 @./config.status $ac_rules
16518 wine_fn_config_symlink
()
16521 if test "x$1" = "x-d"
16527 wine_fn_append_rule \
16529 @./config.status \$@
16532 test -n "$ac_linkdir" ||
return
16533 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
16536 if test "x$CROSSTEST_DISABLE" != x
16538 wine_fn_append_rule \
16540 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16542 wine_fn_append_rule
"
16543 # Rules automatically generated by configure
16548 Makefile: Makefile.in Make.vars.in Make.rules config.status
16549 @./config.status Make.tmp Makefile"
16551 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
16552 wine_fn_config_symlink
-d dlls
/shell32 dlls
/shell32
/AUTHORS
16553 if test "x$enable_fonts" != xno
; then
16554 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16555 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16556 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16557 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16558 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16560 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16561 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16562 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16563 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16564 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16565 wine_fn_config_symlink wine
16566 if test "x$enable_win64" != xno
; then
16567 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16568 wine_fn_config_symlink wine64
16571 ac_config_commands
="$ac_config_commands dlls/gdi32/dibdrv"
16572 wine_fn_append_rule \
16574 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/dibdrv/%)"
16575 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
16576 wine_fn_append_rule \
16578 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/enhmfdrv/%)"
16579 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
16580 wine_fn_append_rule \
16582 \$(RM) \$(CLEAN_FILES:%=dlls/gdi32/mfdrv/%)"
16583 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
16584 wine_fn_append_rule \
16586 \$(RM) \$(CLEAN_FILES:%=dlls/kernel32/nls/%)"
16587 ac_config_commands
="$ac_config_commands dlls/user32/resources"
16588 wine_fn_append_rule \
16590 \$(RM) \$(CLEAN_FILES:%=dlls/user32/resources/%)"
16591 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
16592 wine_fn_append_rule \
16594 \$(RM) \$(CLEAN_FILES:%=dlls/wineps.drv/data/%)"
16595 ac_config_commands
="$ac_config_commands include/wine"
16596 wine_fn_append_rule \
16598 \$(RM) \$(CLEAN_FILES:%=include/wine/%)"
16600 wine_fn_config_makerules Make.rules
16601 MAKE_RULES
=Make.rules
16602 ac_config_files
="$ac_config_files Make.rules"
16604 wine_fn_config_makerules Maketest.rules Make.rules
16605 MAKE_TEST_RULES
=Maketest.rules
16606 ac_config_files
="$ac_config_files Maketest.rules"
16608 wine_fn_config_makerules dlls
/Makedll.rules Make.rules
16609 MAKE_DLL_RULES
=dlls
/Makedll.rules
16610 ac_config_files
="$ac_config_files dlls/Makedll.rules"
16612 wine_fn_config_makerules programs
/Makeprog.rules Make.rules
16613 MAKE_PROG_RULES
=programs
/Makeprog.rules
16614 ac_config_files
="$ac_config_files programs/Makeprog.rules"
16617 wine_fn_config_dll acledit enable_acledit
16618 wine_fn_config_dll aclui enable_aclui implib
16619 wine_fn_config_dll activeds enable_activeds implib
16620 wine_fn_config_dll actxprxy enable_actxprxy clean
16621 wine_fn_config_lib adsiid
16622 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16623 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16624 wine_fn_config_dll advpack enable_advpack implib
16625 wine_fn_config_test dlls
/advpack
/tests advpack_test
16626 wine_fn_config_dll amstream enable_amstream clean
16627 wine_fn_config_test dlls
/amstream
/tests amstream_test
16628 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16629 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16630 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16631 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16632 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16633 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16634 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16635 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16636 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16637 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16638 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16639 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16640 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16641 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16642 wine_fn_config_dll apphelp enable_apphelp
16643 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16644 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16645 wine_fn_config_dll atl enable_atl clean
,implib
16646 wine_fn_config_test dlls
/atl
/tests atl_test
16647 wine_fn_config_dll atl100 enable_atl100 implib
16648 wine_fn_config_test dlls
/atl100
/tests atl100_test
16649 wine_fn_config_dll atl110 enable_atl110
16650 wine_fn_config_dll atl80 enable_atl80 implib
16651 wine_fn_config_test dlls
/atl80
/tests atl80_test
16652 wine_fn_config_dll authz enable_authz
16653 wine_fn_config_dll avicap32 enable_avicap32 implib
16654 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16655 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16656 wine_fn_config_dll avifile.dll16 enable_win16
16657 wine_fn_config_dll avrt enable_avrt implib
16658 wine_fn_config_dll bcrypt enable_bcrypt
16659 wine_fn_config_dll browseui enable_browseui clean
,po
16660 wine_fn_config_test dlls
/browseui
/tests browseui_test
16661 wine_fn_config_dll cabinet enable_cabinet implib
16662 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16663 wine_fn_config_dll capi2032 enable_capi2032 implib
16664 wine_fn_config_dll cards enable_cards implib
16665 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16666 wine_fn_config_dll clusapi enable_clusapi implib
16667 wine_fn_config_dll comcat enable_comcat
16668 wine_fn_config_test dlls
/comcat
/tests comcat_test
16669 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16670 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16671 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16672 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16673 wine_fn_config_dll
comm.drv16 enable_win16
16674 wine_fn_config_dll commdlg.dll16 enable_win16
16675 wine_fn_config_dll compobj.dll16 enable_win16
16676 wine_fn_config_dll compstui enable_compstui implib
16677 wine_fn_config_dll comsvcs enable_comsvcs implib
16678 wine_fn_config_dll credui enable_credui implib
,po
16679 wine_fn_config_test dlls
/credui
/tests credui_test
16680 wine_fn_config_dll crtdll enable_crtdll implib
16681 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16682 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16683 wine_fn_config_dll cryptdlg enable_cryptdlg po
16684 wine_fn_config_dll cryptdll enable_cryptdll implib
16685 wine_fn_config_dll cryptnet enable_cryptnet implib
16686 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16687 wine_fn_config_dll cryptui enable_cryptui implib
,po
16688 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16689 wine_fn_config_dll ctapi32 enable_ctapi32
16690 wine_fn_config_dll ctl3d.dll16 enable_win16
16691 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16692 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16693 wine_fn_config_dll d3d10 enable_d3d10 implib
16694 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16695 wine_fn_config_dll d3d10core enable_d3d10core implib
16696 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16697 wine_fn_config_dll d3d11 enable_d3d11
16698 wine_fn_config_dll d3d8 enable_d3d8 implib
16699 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16700 wine_fn_config_dll d3d9 enable_d3d9 implib
16701 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16702 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16703 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16704 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16705 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16706 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16707 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16708 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16709 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16710 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16711 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16712 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16713 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16714 wine_fn_config_dll d3dim enable_d3dim implib
16715 wine_fn_config_dll d3drm enable_d3drm implib
16716 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16717 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16718 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16719 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16720 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16721 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16722 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16723 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16724 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16725 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16726 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16727 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16728 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16729 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16730 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16731 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16732 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16733 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16734 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16735 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16736 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16737 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16738 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16739 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16740 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16741 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16742 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16743 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16744 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16745 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16746 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16747 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16748 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16749 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16750 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16751 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16752 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16753 wine_fn_config_dll dbgeng enable_dbgeng implib
16754 wine_fn_config_dll dbghelp enable_dbghelp implib
16755 wine_fn_config_dll dciman32 enable_dciman32 implib
16756 wine_fn_config_dll ddeml.dll16 enable_win16
16757 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16758 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16759 wine_fn_config_dll ddrawex enable_ddrawex clean
16760 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16761 wine_fn_config_dll devenum enable_devenum clean
,po
16762 wine_fn_config_test dlls
/devenum
/tests devenum_test
16763 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16764 wine_fn_config_dll difxapi enable_difxapi
16765 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16766 wine_fn_config_test dlls
/dinput
/tests dinput_test
16767 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16768 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16769 wine_fn_config_dll dispdib.dll16 enable_win16
16770 wine_fn_config_dll dispex enable_dispex clean
16771 wine_fn_config_test dlls
/dispex
/tests dispex_test
16772 wine_fn_config_dll display.drv16 enable_win16
16773 wine_fn_config_dll dmband enable_dmband clean
16774 wine_fn_config_test dlls
/dmband
/tests dmband_test
16775 wine_fn_config_dll dmcompos enable_dmcompos clean
16776 wine_fn_config_dll dmime enable_dmime clean
16777 wine_fn_config_test dlls
/dmime
/tests dmime_test
16778 wine_fn_config_dll dmloader enable_dmloader clean
16779 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16780 wine_fn_config_dll dmscript enable_dmscript clean
16781 wine_fn_config_dll dmstyle enable_dmstyle clean
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 faultrep enable_faultrep implib
16817 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16818 wine_fn_config_dll fltlib enable_fltlib
16819 wine_fn_config_dll fusion enable_fusion
16820 wine_fn_config_test dlls
/fusion
/tests fusion_test
16821 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16822 wine_fn_config_dll gameux enable_gameux clean
16823 wine_fn_config_test dlls
/gameux
/tests gameux_test
16824 wine_fn_config_dll gdi.exe16 enable_win16
16825 wine_fn_config_dll gdi32 enable_gdi32 implib
,po
16826 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16827 wine_fn_config_dll gdiplus enable_gdiplus implib
16828 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16829 wine_fn_config_dll glu32 enable_glu32 implib
16830 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16831 wine_fn_config_dll gpkcsp enable_gpkcsp
16832 wine_fn_config_dll hal enable_hal
16833 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
16834 wine_fn_config_dll hid enable_hid implib
16835 wine_fn_config_dll hlink enable_hlink clean
,implib
16836 wine_fn_config_test dlls
/hlink
/tests hlink_test
16837 wine_fn_config_dll hnetcfg enable_hnetcfg clean
16838 wine_fn_config_dll httpapi enable_httpapi
16839 wine_fn_config_dll iccvid enable_iccvid po
16840 wine_fn_config_dll icmp enable_icmp
16841 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
16842 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
16843 wine_fn_config_dll ifsmgr.vxd enable_win16
16844 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16845 wine_fn_config_dll imagehlp enable_imagehlp implib
16846 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
16847 wine_fn_config_dll imm.dll16 enable_win16
16848 wine_fn_config_dll imm32 enable_imm32 implib
16849 wine_fn_config_test dlls
/imm32
/tests imm32_test
16850 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
16851 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
16852 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16853 wine_fn_config_dll inetmib1 enable_inetmib1
16854 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
16855 wine_fn_config_dll infosoft enable_infosoft clean
16856 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
16857 wine_fn_config_dll initpki enable_initpki
16858 wine_fn_config_dll inkobj enable_inkobj
16859 wine_fn_config_dll inseng enable_inseng clean
16860 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16861 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
16862 wine_fn_config_dll itircl enable_itircl
16863 wine_fn_config_dll itss enable_itss clean
16864 wine_fn_config_test dlls
/itss
/tests itss_test
16865 wine_fn_config_dll joy.cpl enable_joy_cpl po
16866 wine_fn_config_dll jscript enable_jscript clean
,po
16867 wine_fn_config_test dlls
/jscript
/tests jscript_test
16868 wine_fn_config_dll kernel32 enable_kernel32 implib
,mc
16869 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
16870 wine_fn_config_dll keyboard.drv16 enable_win16
16871 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16872 wine_fn_config_dll ktmw32 enable_ktmw32
16873 wine_fn_config_dll loadperf enable_loadperf implib
16874 wine_fn_config_dll localspl enable_localspl po
16875 wine_fn_config_test dlls
/localspl
/tests localspl_test
16876 wine_fn_config_dll localui enable_localui po
16877 wine_fn_config_test dlls
/localui
/tests localui_test
16878 wine_fn_config_dll lz32 enable_lz32 implib
16879 wine_fn_config_test dlls
/lz32
/tests lz32_test
16880 wine_fn_config_dll lzexpand.dll16 enable_win16
16881 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16882 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16883 wine_fn_config_dll mapistub enable_mapistub
16884 wine_fn_config_dll mciavi32 enable_mciavi32
16885 wine_fn_config_dll mcicda enable_mcicda
16886 wine_fn_config_dll mciqtz32 enable_mciqtz32
16887 wine_fn_config_dll mciseq enable_mciseq
16888 wine_fn_config_dll mciwave enable_mciwave
16889 wine_fn_config_dll mgmtapi enable_mgmtapi
16890 wine_fn_config_dll midimap enable_midimap
16891 wine_fn_config_dll mlang enable_mlang clean
,implib
16892 wine_fn_config_test dlls
/mlang
/tests mlang_test
16893 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
16894 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16895 wine_fn_config_dll mmdevapi enable_mmdevapi clean
16896 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16897 wine_fn_config_dll mmdevldr.vxd enable_win16
16898 wine_fn_config_dll mmsystem.dll16 enable_win16
16899 wine_fn_config_dll monodebg.vxd enable_win16
16900 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16901 wine_fn_config_dll mouse.drv16 enable_win16
16902 wine_fn_config_dll mpr enable_mpr implib
,po
16903 wine_fn_config_test dlls
/mpr
/tests mpr_test
16904 wine_fn_config_dll mprapi enable_mprapi implib
16905 wine_fn_config_dll msacm.dll16 enable_win16
16906 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16907 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
16908 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
16909 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16910 wine_fn_config_dll mscat32 enable_mscat32
16911 wine_fn_config_dll mscms enable_mscms implib
16912 wine_fn_config_test dlls
/mscms
/tests mscms_test
16913 wine_fn_config_dll mscoree enable_mscoree clean
16914 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
16915 wine_fn_config_dll msctf enable_msctf clean
16916 wine_fn_config_test dlls
/msctf
/tests msctf_test
16917 wine_fn_config_dll msdaps enable_msdaps clean
16918 wine_fn_config_dll msdmo enable_msdmo implib
16919 wine_fn_config_dll msftedit enable_msftedit
16920 wine_fn_config_dll msg711.acm enable_msg711_acm
16921 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16922 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
16923 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
16924 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
16925 wine_fn_config_dll msi enable_msi clean
,implib
,po
16926 wine_fn_config_test dlls
/msi
/tests msi_test
16927 wine_fn_config_dll msident enable_msident clean
16928 wine_fn_config_dll msimg32 enable_msimg32 implib
16929 wine_fn_config_dll msimsg enable_msimsg
16930 wine_fn_config_dll msimtf enable_msimtf clean
16931 wine_fn_config_dll msisip enable_msisip
16932 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16933 wine_fn_config_dll msls31 enable_msls31
16934 wine_fn_config_dll msnet32 enable_msnet32
16935 wine_fn_config_dll mspatcha enable_mspatcha
16936 wine_fn_config_dll msrle32 enable_msrle32 po
16937 wine_fn_config_dll mssign32 enable_mssign32
16938 wine_fn_config_dll mssip32 enable_mssip32
16939 wine_fn_config_dll mstask enable_mstask clean
16940 wine_fn_config_test dlls
/mstask
/tests mstask_test
16941 wine_fn_config_dll msvcirt enable_msvcirt
16942 wine_fn_config_dll msvcm80 enable_msvcm80
16943 wine_fn_config_dll msvcm90 enable_msvcm90
16944 wine_fn_config_dll msvcp100 enable_msvcp100
16945 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
16946 wine_fn_config_dll msvcp110 enable_msvcp110
16947 wine_fn_config_dll msvcp60 enable_msvcp60
16948 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
16949 wine_fn_config_dll msvcp70 enable_msvcp70
16950 wine_fn_config_dll msvcp71 enable_msvcp71
16951 wine_fn_config_dll msvcp80 enable_msvcp80
16952 wine_fn_config_dll msvcp90 enable_msvcp90
16953 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
16954 wine_fn_config_dll msvcr100 enable_msvcr100
16955 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
16956 wine_fn_config_dll msvcr110 enable_msvcr110
16957 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16958 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16959 wine_fn_config_dll msvcr80 enable_msvcr80
16960 wine_fn_config_dll msvcr90 enable_msvcr90
16961 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
16962 wine_fn_config_dll msvcrt enable_msvcrt implib
16963 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
16964 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16965 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16966 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16967 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
16968 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
16969 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
16970 wine_fn_config_dll msvidc32 enable_msvidc32 po
16971 wine_fn_config_dll msvideo.dll16 enable_win16
16972 wine_fn_config_dll mswsock enable_mswsock implib
16973 wine_fn_config_dll msxml enable_msxml clean
16974 wine_fn_config_dll msxml2 enable_msxml2 clean
16975 wine_fn_config_dll msxml3 enable_msxml3 clean
16976 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
16977 wine_fn_config_dll msxml4 enable_msxml4 clean
16978 wine_fn_config_dll msxml6 enable_msxml6 clean
16979 wine_fn_config_dll nddeapi enable_nddeapi implib
16980 wine_fn_config_dll netapi32 enable_netapi32 implib
16981 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
16982 wine_fn_config_dll netcfgx enable_netcfgx
16983 wine_fn_config_dll newdev enable_newdev implib
16984 wine_fn_config_dll normaliz enable_normaliz implib
16985 wine_fn_config_dll npmshtml enable_npmshtml
16986 wine_fn_config_dll ntdll enable_ntdll implib
16987 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
16988 wine_fn_config_dll ntdsapi enable_ntdsapi implib
16989 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
16990 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
16991 wine_fn_config_dll ntprint enable_ntprint
16992 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
16993 wine_fn_config_dll objsel enable_objsel clean
16994 wine_fn_config_dll odbc32 enable_odbc32 implib
16995 wine_fn_config_dll odbccp32 enable_odbccp32 implib
16996 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
16997 wine_fn_config_dll odbccu32 enable_odbccu32
16998 wine_fn_config_dll ole2.dll16 enable_win16
16999 wine_fn_config_dll ole2conv.dll16 enable_win16
17000 wine_fn_config_dll ole2disp.dll16 enable_win16
17001 wine_fn_config_dll ole2nls.dll16 enable_win16
17002 wine_fn_config_dll ole2prox.dll16 enable_win16
17003 wine_fn_config_dll ole2thk.dll16 enable_win16
17004 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17005 wine_fn_config_test dlls
/ole32
/tests ole32_test
17006 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17007 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17008 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17009 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17010 wine_fn_config_dll olecli.dll16 enable_win16
17011 wine_fn_config_dll olecli32 enable_olecli32 implib
17012 wine_fn_config_dll oledb32 enable_oledb32 clean
17013 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17014 wine_fn_config_dll oledlg enable_oledlg implib
,po
17015 wine_fn_config_dll olepro32 enable_olepro32 implib
17016 wine_fn_config_dll olesvr.dll16 enable_win16
17017 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17018 wine_fn_config_dll olethk32 enable_olethk32
17019 wine_fn_config_dll openal32 enable_openal32
17020 wine_fn_config_dll opencl enable_opencl
17021 wine_fn_config_dll opengl32 enable_opengl32 implib
17022 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17023 wine_fn_config_dll pdh enable_pdh implib
17024 wine_fn_config_test dlls
/pdh
/tests pdh_test
17025 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17026 wine_fn_config_dll pidgen enable_pidgen
17027 wine_fn_config_dll powrprof enable_powrprof implib
17028 wine_fn_config_dll printui enable_printui
17029 wine_fn_config_dll propsys enable_propsys clean
,implib
17030 wine_fn_config_test dlls
/propsys
/tests propsys_test
17031 wine_fn_config_dll psapi enable_psapi implib
17032 wine_fn_config_test dlls
/psapi
/tests psapi_test
17033 wine_fn_config_dll pstorec enable_pstorec clean
17034 wine_fn_config_dll qcap enable_qcap
17035 wine_fn_config_test dlls
/qcap
/tests qcap_test
17036 wine_fn_config_dll qedit enable_qedit clean
17037 wine_fn_config_test dlls
/qedit
/tests qedit_test
17038 wine_fn_config_dll qmgr enable_qmgr clean
17039 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17040 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17041 wine_fn_config_dll quartz enable_quartz clean
,implib
17042 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17043 wine_fn_config_dll query enable_query
17044 wine_fn_config_dll rasapi16.dll16 enable_win16
17045 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17046 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17047 wine_fn_config_dll rasdlg enable_rasdlg implib
17048 wine_fn_config_dll regapi enable_regapi
17049 wine_fn_config_dll resutils enable_resutils implib
17050 wine_fn_config_dll riched20 enable_riched20 implib
17051 wine_fn_config_test dlls
/riched20
/tests riched20_test
17052 wine_fn_config_dll riched32 enable_riched32
17053 wine_fn_config_test dlls
/riched32
/tests riched32_test
17054 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17055 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17056 wine_fn_config_dll rsabase enable_rsabase
17057 wine_fn_config_dll rsaenh enable_rsaenh implib
17058 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17059 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17060 wine_fn_config_dll rtutils enable_rtutils implib
17061 wine_fn_config_dll samlib enable_samlib
17062 wine_fn_config_dll sane.ds enable_sane_ds po
17063 wine_fn_config_dll scarddlg enable_scarddlg
17064 wine_fn_config_dll sccbase enable_sccbase
17065 wine_fn_config_dll schannel enable_schannel
17066 wine_fn_config_test dlls
/schannel
/tests schannel_test
17067 wine_fn_config_dll scrrun enable_scrrun clean
17068 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17069 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17070 wine_fn_config_dll secur32 enable_secur32 implib
17071 wine_fn_config_test dlls
/secur32
/tests secur32_test
17072 wine_fn_config_dll security enable_security
17073 wine_fn_config_dll sensapi enable_sensapi implib
17074 wine_fn_config_dll serialui enable_serialui implib
,po
17075 wine_fn_config_test dlls
/serialui
/tests serialui_test
17076 wine_fn_config_dll setupapi enable_setupapi implib
,po
17077 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17078 wine_fn_config_dll setupx.dll16 enable_win16
17079 wine_fn_config_dll sfc enable_sfc implib
17080 wine_fn_config_dll sfc_os enable_sfc_os implib
17081 wine_fn_config_dll shdoclc enable_shdoclc po
17082 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17083 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17084 wine_fn_config_dll shell.dll16 enable_win16
17085 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17086 wine_fn_config_test dlls
/shell32
/tests shell32_test
17087 wine_fn_config_dll shfolder enable_shfolder implib
17088 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17089 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17090 wine_fn_config_dll slbcsp enable_slbcsp
17091 wine_fn_config_dll slc enable_slc implib
17092 wine_fn_config_dll snmpapi enable_snmpapi implib
17093 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17094 wine_fn_config_dll softpub enable_softpub
17095 wine_fn_config_dll sound.drv16 enable_win16
17096 wine_fn_config_dll spoolss enable_spoolss implib
17097 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17098 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17099 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17100 wine_fn_config_dll sti enable_sti clean
,implib
17101 wine_fn_config_test dlls
/sti
/tests sti_test
17102 wine_fn_config_dll storage.dll16 enable_win16
17103 wine_fn_config_dll stress.dll16 enable_win16
17104 wine_fn_config_lib strmbase
17105 wine_fn_config_lib strmiids
17106 wine_fn_config_dll svrapi enable_svrapi
17107 wine_fn_config_dll sxs enable_sxs implib
17108 wine_fn_config_test dlls
/sxs
/tests sxs_test
17109 wine_fn_config_dll system.drv16 enable_win16
17110 wine_fn_config_dll t2embed enable_t2embed
17111 wine_fn_config_dll tapi32 enable_tapi32 implib
17112 wine_fn_config_dll toolhelp.dll16 enable_win16
17113 wine_fn_config_dll traffic enable_traffic
17114 wine_fn_config_dll twain.dll16 enable_win16
17115 wine_fn_config_dll twain_32 enable_twain_32
17116 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17117 wine_fn_config_dll typelib.dll16 enable_win16
17118 wine_fn_config_dll unicows enable_unicows implib
17119 wine_fn_config_dll updspapi enable_updspapi
17120 wine_fn_config_dll url enable_url implib
17121 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17122 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17123 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17124 wine_fn_config_dll user.exe16 enable_win16
17125 wine_fn_config_dll user32 enable_user32 implib
,po
17126 wine_fn_config_test dlls
/user32
/tests user32_test
17127 wine_fn_config_dll userenv enable_userenv implib
17128 wine_fn_config_test dlls
/userenv
/tests userenv_test
17129 wine_fn_config_dll usp10 enable_usp10 implib
17130 wine_fn_config_test dlls
/usp10
/tests usp10_test
17131 wine_fn_config_lib uuid
17132 wine_fn_config_dll uxtheme enable_uxtheme implib
17133 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17134 wine_fn_config_dll vbscript enable_vbscript clean
17135 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17136 wine_fn_config_dll vcomp enable_vcomp
17137 wine_fn_config_dll vcomp100 enable_vcomp100
17138 wine_fn_config_dll vcomp90 enable_vcomp90
17139 wine_fn_config_dll vdhcp.vxd enable_win16
17140 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17141 wine_fn_config_dll ver.dll16 enable_win16
17142 wine_fn_config_dll version enable_version implib
17143 wine_fn_config_test dlls
/version
/tests version_test
17144 wine_fn_config_dll vmm.vxd enable_win16
17145 wine_fn_config_dll vnbt.vxd enable_win16
17146 wine_fn_config_dll vnetbios.vxd enable_win16
17147 wine_fn_config_dll vtdapi.vxd enable_win16
17148 wine_fn_config_dll vwin32.vxd enable_win16
17149 wine_fn_config_dll w32skrnl enable_win16
17150 wine_fn_config_dll w32sys.dll16 enable_win16
17151 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17152 wine_fn_config_dll wbemprox enable_wbemprox clean
17153 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17154 wine_fn_config_dll webservices enable_webservices implib
17155 wine_fn_config_dll wer enable_wer implib
17156 wine_fn_config_test dlls
/wer
/tests wer_test
17157 wine_fn_config_dll wevtapi enable_wevtapi
17158 wine_fn_config_dll wiaservc enable_wiaservc clean
17159 wine_fn_config_dll win32s16.dll16 enable_win16
17160 wine_fn_config_dll win87em.dll16 enable_win16
17161 wine_fn_config_dll winaspi.dll16 enable_win16
17162 wine_fn_config_dll windebug.dll16 enable_win16
17163 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17164 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17165 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17166 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17167 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17168 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17169 wine_fn_config_lib winecrt0
17170 wine_fn_config_dll wined3d enable_wined3d implib
17171 wine_fn_config_dll winegstreamer enable_winegstreamer
17172 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17173 wine_fn_config_dll winemac.drv enable_winemac_drv
17174 wine_fn_config_dll winemapi enable_winemapi
17175 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17176 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17177 wine_fn_config_dll wineps.drv enable_wineps_drv po
17178 wine_fn_config_dll wineps16.drv16 enable_win16
17179 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17180 wine_fn_config_dll winex11.drv enable_winex11_drv
17181 wine_fn_config_dll wing.dll16 enable_win16
17182 wine_fn_config_dll wing32 enable_wing32
17183 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17184 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17185 wine_fn_config_dll wininet enable_wininet implib
,po
17186 wine_fn_config_test dlls
/wininet
/tests wininet_test
17187 wine_fn_config_dll winmm enable_winmm implib
,po
17188 wine_fn_config_test dlls
/winmm
/tests winmm_test
17189 wine_fn_config_dll winnls.dll16 enable_win16
17190 wine_fn_config_dll winnls32 enable_winnls32 implib
17191 wine_fn_config_dll winscard enable_winscard implib
17192 wine_fn_config_dll winsock.dll16 enable_win16
17193 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17194 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17195 wine_fn_config_dll winsta enable_winsta
17196 wine_fn_config_dll wintab.dll16 enable_win16
17197 wine_fn_config_dll wintab32 enable_wintab32 implib
17198 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17199 wine_fn_config_dll wintrust enable_wintrust implib
17200 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17201 wine_fn_config_dll wlanapi enable_wlanapi
17202 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17203 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17204 wine_fn_config_dll wmi enable_wmi
17205 wine_fn_config_dll wmiutils enable_wmiutils clean
17206 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17207 wine_fn_config_dll wmvcore enable_wmvcore
17208 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17209 wine_fn_config_dll wow32 enable_win16 implib
17210 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17211 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17212 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17213 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17214 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17215 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17216 wine_fn_config_dll wsock32 enable_wsock32 implib
17217 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17218 wine_fn_config_dll wuapi enable_wuapi clean
17219 wine_fn_config_dll wuaueng enable_wuaueng
17220 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17221 wine_fn_config_dll xinput1_1 enable_xinput1_1
17222 wine_fn_config_dll xinput1_2 enable_xinput1_2
17223 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17224 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17225 wine_fn_config_dll xinput1_4 enable_xinput1_4
17226 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17227 wine_fn_config_dll xmllite enable_xmllite
17228 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17229 wine_fn_config_dll xolehlp enable_xolehlp
17230 wine_fn_config_dll xpsprint enable_xpsprint
17231 wine_fn_config_dll xpssvcs enable_xpssvcs
17232 wine_fn_config_makefile documentation enable_documentation clean
17233 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17234 wine_fn_config_makefile include enable_include clean
,install-dev
17235 wine_fn_config_makefile libs
/port enable_libs_port
17236 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17237 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17238 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17239 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17240 wine_fn_config_program attrib enable_attrib
install,po
17241 wine_fn_config_program cabarc enable_cabarc
install
17242 wine_fn_config_program cacls enable_cacls
install
17243 wine_fn_config_program
clock enable_clock
install,po
17244 wine_fn_config_program cmd enable_cmd
install,po
17245 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17246 wine_fn_config_program conhost enable_conhost
install
17247 wine_fn_config_program control enable_control
install
17248 wine_fn_config_program cscript enable_cscript
install
17249 wine_fn_config_program dxdiag enable_dxdiag
install,po
17250 wine_fn_config_program eject enable_eject
install
17251 wine_fn_config_program
expand enable_expand
install
17252 wine_fn_config_program explorer enable_explorer
install,po
17253 wine_fn_config_program extrac32 enable_extrac32
install
17254 wine_fn_config_program findstr enable_findstr
install
17255 wine_fn_config_program hh enable_hh
install
17256 wine_fn_config_program hostname enable_hostname
install,po
17257 wine_fn_config_program icinfo enable_icinfo
install
17258 wine_fn_config_program iexplore enable_iexplore
install
17259 wine_fn_config_program ipconfig enable_ipconfig
install,po
17260 wine_fn_config_program lodctr enable_lodctr
install
17261 wine_fn_config_program mofcomp enable_mofcomp
install
17262 wine_fn_config_program mshta enable_mshta
install
17263 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17264 wine_fn_config_program net enable_net
install,po
17265 wine_fn_config_program netsh enable_netsh
install
17266 wine_fn_config_program netstat enable_netstat
install,po
17267 wine_fn_config_program ngen enable_ngen
install
17268 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17269 wine_fn_config_program oleview enable_oleview
install,po
17270 wine_fn_config_program
ping enable_ping
install
17271 wine_fn_config_program plugplay enable_plugplay
install
17272 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17273 wine_fn_config_program progman enable_progman
install,po
17274 wine_fn_config_program reg enable_reg
install,po
17275 wine_fn_config_program regasm enable_regasm
install
17276 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17277 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17278 wine_fn_config_program regsvcs enable_regsvcs
install
17279 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
17280 wine_fn_config_program rpcss enable_rpcss clean
,install
17281 wine_fn_config_program rundll.exe16 enable_win16
install
17282 wine_fn_config_program rundll32 enable_rundll32
install
17283 wine_fn_config_program sc enable_sc
install
17284 wine_fn_config_program schtasks enable_schtasks
install
17285 wine_fn_config_program secedit enable_secedit
install
17286 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17287 wine_fn_config_program services enable_services clean
,install
17288 wine_fn_config_test programs
/services
/tests services.exe_test
17289 wine_fn_config_program spoolsv enable_spoolsv
install
17290 wine_fn_config_program start enable_start
install,po
17291 wine_fn_config_program svchost enable_svchost
install
17292 wine_fn_config_program taskkill enable_taskkill
install,po
17293 wine_fn_config_program tasklist enable_tasklist
install
17294 wine_fn_config_program taskmgr enable_taskmgr
install,po
17295 wine_fn_config_program termsv enable_termsv
install
17296 wine_fn_config_program uninstaller enable_uninstaller
install,po
17297 wine_fn_config_program unlodctr enable_unlodctr
install
17298 wine_fn_config_program view enable_view
install,po
17299 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17300 wine_fn_config_program winebrowser enable_winebrowser
install
17301 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17302 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17303 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17304 wine_fn_config_program winedevice enable_winedevice
install
17305 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17306 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17307 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17308 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17309 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17310 wine_fn_config_program winetest enable_winetest clean
17311 wine_fn_config_program winevdm enable_win16
install
17312 wine_fn_config_program winhelp.exe16 enable_win16
install
17313 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17314 wine_fn_config_program winoldap.mod16 enable_win16
install
17315 wine_fn_config_program winver enable_winver
install
17316 wine_fn_config_program wmic enable_wmic
install,po
17317 wine_fn_config_program wordpad enable_wordpad
install,po
17318 wine_fn_config_program
write enable_write
install,po
17319 wine_fn_config_program wscript enable_wscript clean
,install
17320 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17321 wine_fn_config_program wusa enable_wusa
install
17322 wine_fn_config_program xcopy enable_xcopy
install,po
17323 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17324 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17325 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17326 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17327 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17328 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17329 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17330 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17381 ac_config_commands
="$ac_config_commands Makefile"
17384 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17388 if test "x$enable_maintainer_mode" = xyes
17390 wine_fn_append_rule
"\$(srcdir)/configure: configure.ac aclocal.m4
17391 cd \$(srcdir) && autoconf --warnings=all
17392 \$(srcdir)/include/config.h.in: include/stamp-h.in
17393 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
17394 cd \$(srcdir) && autoheader --warnings=all
17395 @echo timestamp > \$@"
17398 if test "x$with_gettextpo" = xyes
17400 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17401 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17402 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
17403 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17404 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
17405 msgcat -o \$@ \$(ALL_POT_FILES)"
17408 if test "$MSGFMT" != false
17410 PORCFLAGS
="--po-dir=\$(top_builddir)/po"
17412 wine_fn_append_rule
"__builddeps__: \$(ALL_MO_FILES)"
17417 if test "x$enable_tools" != xno
17419 wine_fn_append_rule
"\$(MAKEDEP): tools/Makefile
17421 \$(RM) tools/makedep\$(EXEEXT)"
17424 if test -n "$with_wine64"
17426 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17427 fonts server tools:
17428 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17429 $with_wine64/loader/wine:
17430 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17431 $with_wine64/loader/wine-preloader:
17432 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17434 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17436 as_fn_append LOADER_RULES
"
17439 wine.inf: wine.inf.in \$(top_builddir)/include/config.h
17440 LC_ALL=C sed -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' \$(srcdir)/wine.inf.in >\$@ || (\$(RM) \$@ && false)
17442 install install-lib:: wine.inf \$(DESTDIR)\$(datadir)/wine install-man-pages
17443 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17444 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17447 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17451 $as_echo " done" >&6
17452 cat >confcache
<<\_ACEOF
17453 # This file is a shell script that caches the results of configure
17454 # tests run on this system so they can be shared between configure
17455 # scripts and configure runs, see configure's option --config-cache.
17456 # It is not useful on other systems. If it contains results you don't
17457 # want to keep, you may remove or edit it.
17459 # config.status only pays attention to the cache file if you give it
17460 # the --recheck option to rerun configure.
17462 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17463 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17464 # following values.
17468 # The following way of writing the cache mishandles newlines in values,
17469 # but we know of no workaround that is simple, portable, and efficient.
17470 # So, we kill variables containing newlines.
17471 # Ultrix sh set writes to stderr and can't be redirected directly,
17472 # and sets the high bit in the cache file unless we assign to the vars.
17474 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17475 eval ac_val
=\$
$ac_var
17479 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17480 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17483 _ | IFS | as_nl
) ;; #(
17484 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17485 *) { eval $ac_var=; unset $ac_var;} ;;
17491 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17492 *${as_nl}ac_space
=\
*)
17493 # `set' does not quote correctly, so add quotes: double-quote
17494 # substitution turns \\\\ into \\, and sed turns \\ into \.
17497 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17500 # `set' quotes correctly as required by POSIX, so do not add quotes.
17501 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17510 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17512 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17514 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17515 if test -w "$cache_file"; then
17516 if test "x$cache_file" != "x/dev/null"; then
17517 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17518 $as_echo "$as_me: updating cache $cache_file" >&6;}
17519 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17520 cat confcache
>"$cache_file"
17522 case $cache_file in #(
17524 mv -f confcache
"$cache_file"$$
&&
17525 mv -f "$cache_file"$$
"$cache_file" ;; #(
17527 mv -f confcache
"$cache_file" ;;
17532 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17533 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17538 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17539 # Let make expand exec_prefix.
17540 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17542 DEFS
=-DHAVE_CONFIG_H
17547 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17548 # 1. Remove the extension, and $U if already installed.
17549 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17550 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17551 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17552 # will be set to the directory where LIBOBJS objects are built.
17553 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17554 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17556 LIBOBJS
=$ac_libobjs
17558 LTLIBOBJS
=$ac_ltlibobjs
17562 : "${CONFIG_STATUS=./config.status}"
17564 ac_clean_files_save
=$ac_clean_files
17565 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17566 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17567 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17569 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17571 # Generated by $as_me.
17572 # Run this file to recreate the current configuration.
17573 # Compiler output produced by configure, useful for debugging
17574 # configure, is in config.log if it exists.
17577 ac_cs_recheck=false
17580 SHELL=\${CONFIG_SHELL-$SHELL}
17583 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17584 ## -------------------- ##
17585 ## M4sh Initialization. ##
17586 ## -------------------- ##
17588 # Be more Bourne compatible
17589 DUALCASE
=1; export DUALCASE
# for MKS sh
17590 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17593 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17594 # is contrary to our usage. Disable this feature.
17595 alias -g '${1+"$@"}'='"$@"'
17596 setopt NO_GLOB_SUBST
17598 case `(set -o) 2>/dev/null` in #(
17610 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17611 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17612 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17613 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17614 # Prefer a ksh shell builtin over an external printf program on Solaris,
17615 # but without wasting forks for bash or zsh.
17616 if test -z "$BASH_VERSION$ZSH_VERSION" \
17617 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17618 as_echo='print
-r --'
17619 as_echo_n='print
-rn --'
17620 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17621 as_echo='printf %s
\n'
17622 as_echo_n='printf %s
'
17624 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17625 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17626 as_echo_n='/usr
/ucb
/echo -n'
17628 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17629 as_echo_n_body='eval
17633 expr "X$arg" : "X\\(.*\\)$as_nl";
17634 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17636 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17638 export as_echo_n_body
17639 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17641 export as_echo_body
17642 as_echo='sh
-c $as_echo_body as_echo
'
17645 # The user is always right.
17646 if test "${PATH_SEPARATOR+set}" != set; then
17648 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17649 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17656 # We need space, tab and new line, in precisely that order. Quoting is
17657 # there to prevent editors from complaining about space-tab.
17658 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17659 # splitting by setting IFS to empty value.)
17662 # Find who we are. Look in the path if we contain no directory separator.
17665 *[\\/]* ) as_myself=$0 ;;
17666 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17667 for as_dir in $PATH
17670 test -z "$as_dir" && as_dir=.
17671 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17677 # We did not find ourselves, most probably we were run as `sh COMMAND'
17678 # in which case we are not to be found in the path.
17679 if test "x$as_myself" = x
; then
17682 if test ! -f "$as_myself"; then
17683 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17687 # Unset variables that we do not need and which cause bugs (e.g. in
17688 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17689 # suppresses any "Segmentation fault" message there. '((' could
17690 # trigger a bug in pdksh 5.2.14.
17691 for as_var
in BASH_ENV ENV MAIL MAILPATH
17692 do eval test x\
${$as_var+set} = xset \
17693 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17706 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17709 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17710 # ----------------------------------------
17711 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17712 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17713 # script with STATUS, using 1 if that was 0.
17716 as_status
=$1; test $as_status -eq 0 && as_status
=1
17718 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17719 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17721 $as_echo "$as_me: error: $2" >&2
17722 as_fn_exit
$as_status
17726 # as_fn_set_status STATUS
17727 # -----------------------
17728 # Set $? to STATUS, without forking.
17729 as_fn_set_status
()
17732 } # as_fn_set_status
17734 # as_fn_exit STATUS
17735 # -----------------
17736 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17740 as_fn_set_status
$1
17746 # Portably unset VAR.
17749 { eval $1=; unset $1;}
17751 as_unset
=as_fn_unset
17752 # as_fn_append VAR VALUE
17753 # ----------------------
17754 # Append the text in VALUE to the end of the definition contained in VAR. Take
17755 # advantage of any shell optimizations that allow amortized linear growth over
17756 # repeated appends, instead of the typical quadratic growth present in naive
17758 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17759 eval 'as_fn_append ()
17770 # as_fn_arith ARG...
17771 # ------------------
17772 # Perform arithmetic evaluation on the ARGs, and store the result in the
17773 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17774 # must be portable across $(()) and expr.
17775 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17776 eval 'as_fn_arith ()
17783 as_val
=`expr "$@" || test $? -eq 1`
17788 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17789 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17795 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17796 as_basename
=basename
17801 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17807 as_me
=`$as_basename -- "$0" ||
17808 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17809 X"$0" : 'X\(//\)$' \| \
17810 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17812 sed '/^.*\/\([^/][^/]*\)\/*$/{
17826 # Avoid depending upon Character Ranges.
17827 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17828 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17829 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17830 as_cr_digits
='0123456789'
17831 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17833 ECHO_C
= ECHO_N
= ECHO_T
=
17834 case `echo -n x` in #(((((
17836 case `echo 'xy\c'` in
17837 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17839 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17846 rm -f conf$$ conf$$.exe conf$$.
file
17847 if test -d conf$$.dir
; then
17848 rm -f conf$$.dir
/conf$$.
file
17851 mkdir conf$$.dir
2>/dev
/null
17853 if (echo >conf$$.
file) 2>/dev
/null
; then
17854 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17856 # ... but there are two gotchas:
17857 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17858 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17859 # In both cases, we have to default to `cp -pR'.
17860 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17862 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17870 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17871 rmdir conf$$.dir
2>/dev
/null
17876 # Create "$as_dir" as a directory, including parents if necessary.
17881 -*) as_dir
=.
/$as_dir;;
17883 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17887 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17888 *) as_qdir
=$as_dir;;
17890 as_dirs
="'$as_qdir' $as_dirs"
17891 as_dir
=`$as_dirname -- "$as_dir" ||
17892 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17893 X"$as_dir" : 'X\(//\)[^/]' \| \
17894 X"$as_dir" : 'X\(//\)$' \| \
17895 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17896 $as_echo X"$as_dir" |
17897 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17901 /^X\(\/\/\)[^/].*/{
17914 test -d "$as_dir" && break
17916 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17917 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17921 if mkdir
-p .
2>/dev
/null
; then
17922 as_mkdir_p
='mkdir -p "$as_dir"'
17924 test -d .
/-p && rmdir .
/-p
17929 # as_fn_executable_p FILE
17930 # -----------------------
17931 # Test if FILE is an executable regular file.
17932 as_fn_executable_p
()
17934 test -f "$1" && test -x "$1"
17935 } # as_fn_executable_p
17936 as_test_x
='test -x'
17937 as_executable_p
=as_fn_executable_p
17939 # Sed expression to map a string onto a valid CPP name.
17940 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17942 # Sed expression to map a string onto a valid variable name.
17943 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17947 ## ----------------------------------- ##
17948 ## Main body of $CONFIG_STATUS script. ##
17949 ## ----------------------------------- ##
17951 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17954 # Save the log message, to keep $0 and so on meaningful, and to
17955 # report actual input values of CONFIG_FILES etc. instead of their
17956 # values after options handling.
17958 This file was extended by Wine $as_me 1.7.3, which was
17959 generated by GNU Autoconf 2.69. Invocation command line was
17961 CONFIG_FILES = $CONFIG_FILES
17962 CONFIG_HEADERS = $CONFIG_HEADERS
17963 CONFIG_LINKS = $CONFIG_LINKS
17964 CONFIG_COMMANDS = $CONFIG_COMMANDS
17967 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17972 case $ac_config_files in *"
17973 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17976 case $ac_config_headers in *"
17977 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17982 # Files that config.status was made for.
17983 config_files="$ac_config_files"
17984 config_headers="$ac_config_headers"
17985 config_links="$ac_config_links"
17986 config_commands="$ac_config_commands"
17990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17992 \`$as_me' instantiates files and other configuration actions
17993 from templates according to the current configuration. Unless the files
17994 and actions are specified as TAGs, all are instantiated by default.
17996 Usage: $0 [OPTION]... [TAG]...
17998 -h, --help print this help, then exit
17999 -V, --version print version number and configuration settings, then exit
18000 --config print configuration, then exit
18001 -q, --quiet, --silent
18002 do not print progress messages
18003 -d, --debug don't remove temporary files
18004 --recheck update $as_me by reconfiguring in the same conditions
18005 --file=FILE[:TEMPLATE]
18006 instantiate the configuration file FILE
18007 --header=FILE[:TEMPLATE]
18008 instantiate the configuration header FILE
18010 Configuration files:
18013 Configuration headers:
18016 Configuration links:
18019 Configuration commands:
18022 Report bugs to <wine-devel@winehq.org>.
18023 Wine home page: <http://www.winehq.org>."
18026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18027 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18029 Wine config.status 1.7.3
18030 configured by $0, generated by GNU Autoconf 2.69,
18031 with options \\"\$ac_cs_config\\"
18033 Copyright (C) 2012 Free Software Foundation, Inc.
18034 This config.status script is free software; the Free Software Foundation
18035 gives unlimited permission to copy, distribute and modify it."
18041 test -n "\$AWK" || AWK=awk
18044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18045 # The default lists apply if the user does not specify any file.
18051 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18052 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18056 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18068 # Handling of the options.
18069 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18071 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18072 $as_echo "$ac_cs_version"; exit ;;
18073 --config |
--confi |
--conf |
--con |
--co |
--c )
18074 $as_echo "$ac_cs_config"; exit ;;
18075 --debug |
--debu |
--deb |
--de |
--d |
-d )
18077 --file |
--fil |
--fi |
--f )
18080 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18081 '') as_fn_error $?
"missing file argument" ;;
18083 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18084 ac_need_defaults
=false
;;
18085 --header |
--heade |
--head |
--hea )
18088 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18090 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18091 ac_need_defaults
=false
;;
18093 # Conflict between --help and --header
18094 as_fn_error $?
"ambiguous option: \`$1'
18095 Try \`$0 --help' for more information.";;
18096 --help |
--hel |
-h )
18097 $as_echo "$ac_cs_usage"; exit ;;
18098 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18099 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18102 # This is an error.
18103 -*) as_fn_error $?
"unrecognized option: \`$1'
18104 Try \`$0 --help' for more information." ;;
18106 *) as_fn_append ac_config_targets
" $1"
18107 ac_need_defaults
=false
;;
18113 ac_configure_extra_args
=
18115 if $ac_cs_silent; then
18117 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18121 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18122 if \$ac_cs_recheck; then
18123 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18125 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18126 CONFIG_SHELL='$SHELL'
18127 export CONFIG_SHELL
18132 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18136 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18137 ## Running $as_me. ##
18143 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18147 wine_fn_output_makefile ()
18149 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
18150 `cat $wine_rules_file`
18152 as_fn_error $? "could not create Makefile" "$LINENO" 5
18157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18159 # Handling of arguments.
18160 for ac_config_target
in $ac_config_targets
18162 case $ac_config_target in
18163 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18164 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18165 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
18166 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18167 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18168 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18169 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18170 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18171 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18172 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18173 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18174 "dlls/gdi32/dibdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
18175 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
18176 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
18177 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
18178 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
18179 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
18180 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
18181 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
18182 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
18183 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
18184 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
18185 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18186 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18188 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18193 # If the user did not use the arguments to specify the items to instantiate,
18194 # then the envvar interface is used. Set only those that are not.
18195 # We use the long form for the default assignment because of an extremely
18196 # bizarre bug on SunOS 4.1.3.
18197 if $ac_need_defaults; then
18198 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18199 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18200 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18201 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18204 # Have a temporary directory for convenience. Make it in the build tree
18205 # simply because there is no reason against having it here, and in addition,
18206 # creating and moving files from /tmp can sometimes cause problems.
18207 # Hook for its removal unless debugging.
18208 # Note that there is a small window in which the directory will not be cleaned:
18209 # after its creation but before its name has been assigned to `$tmp'.
18213 trap 'exit_status=$?
18214 : "${ac_tmp:=$tmp}"
18215 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18217 trap 'as_fn_exit 1' 1 2 13 15
18219 # Create a (secure) tmp directory for tmp files.
18222 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18226 tmp
=.
/conf$$
-$RANDOM
18227 (umask 077 && mkdir
"$tmp")
18228 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18231 # Set up the scripts for CONFIG_FILES section.
18232 # No need to generate them if there are no CONFIG_FILES.
18233 # This happens for instance with `./config.status config.h'.
18234 if test -n "$CONFIG_FILES"; then
18236 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
18237 ac_cs_awk_getline
=:
18238 ac_cs_awk_pipe_init
=
18239 ac_cs_awk_read_file
='
18240 while ((getline aline < (F[key])) > 0)
18243 ac_cs_awk_pipe_fini
=
18245 ac_cs_awk_getline
=false
18246 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
18247 ac_cs_awk_read_file
='
18249 print "cat " F[key] " &&"
18250 '$ac_cs_awk_pipe_init
18251 # The final `:' finishes the AND list.
18252 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
18254 ac_cr
=`echo X | tr X '\015'`
18255 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18256 # But we know of no other shell where ac_cr would be empty at this
18257 # point, so we can use a bashism as a fallback.
18258 if test "x$ac_cr" = x
; then
18259 eval ac_cr
=\$
\'\\r
\'
18261 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18262 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18265 ac_cs_awk_cr
=$ac_cr
18268 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18271 # Create commands to substitute file output variables.
18273 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
18274 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
18275 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
18278 } >conf$
$files.sh
&&
18279 . .
/conf$
$files.sh ||
18280 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
18281 rm -f conf$
$files.sh
18284 echo "cat >conf$$subs.awk <<_ACEOF" &&
18285 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18287 } >conf$$subs.sh ||
18288 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18289 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18291 for ac_last_try in false false false false false :; do
18292 . ./conf$$subs.sh ||
18293 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18295 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18296 if test $ac_delim_n = $ac_delim_num; then
18298 elif $ac_last_try; then
18299 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18301 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18304 rm -f conf$$subs.sh
18306 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18307 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18311 s/^/S["/; s
/!.
*/"]=/
18321 s/\(.\{148\}\)..*/\1/
18323 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18328 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18335 s/\(.\{148\}\)..*/\1/
18337 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18341 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18346 ' <conf$$subs.awk | sed '
18351 ' >>$CONFIG_STATUS || ac_write_fail=1
18352 rm -f conf$$subs.awk
18353 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18355 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18356 for (key in S) S_is_set[key] = 1
18358 \$ac_cs_awk_pipe_init
18362 nfields = split(line, field, "@
")
18364 len = length(field[1])
18365 for (i = 2; i < nfields; i++) {
18367 keylen = length(key)
18368 if (S_is_set[key]) {
18370 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18371 len += length(value) + length(field[++i])
18376 if (nfields == 3 && !substed) {
18378 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
18379 \$ac_cs_awk_read_file
18385 \$ac_cs_awk_pipe_fini
18388 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18389 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18390 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18393 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18394 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18397 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18398 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18399 # trailing colons and then remove the whole line if VPATH becomes empty
18400 # (actually we leave an empty line to preserve line numbers).
18401 if test "x
$srcdir" = x.; then
18402 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18420 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18421 fi # test -n "$CONFIG_FILES"
18423 # Set up the scripts for CONFIG_HEADERS section.
18424 # No need to generate them if there are no CONFIG_HEADERS.
18425 # This happens for instance with `./config.status Makefile'.
18426 if test -n "$CONFIG_HEADERS"; then
18427 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18431 # Transform confdefs.h into an awk script `defines.awk', embedded as
18432 # here-document in config.status, that substitutes the proper values into
18433 # config.h.in to produce config.h.
18435 # Create a delimiter string that does not exist in confdefs.h, to ease
18436 # handling of long lines.
18438 for ac_last_try in false false :; do
18439 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18440 if test -z "$ac_tt"; then
18442 elif $ac_last_try; then
18443 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18445 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18449 # For the awk script, D is an array of macro values keyed by name,
18450 # likewise P contains macro parameters if any. Preserve backslash
18451 # newline sequences.
18453 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18455 s/.\{148\}/&'"$ac_delim"'/g
18458 s/^[ ]*#[ ]*define[ ][ ]*/ /
18465 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18467 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18471 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18472 D["\
1"]=" \
3\\\\\\n
"\\/p
18474 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18479 s/.\{148\}/&'"$ac_delim"'/g
18484 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18487 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18489 ' <confdefs.h | sed '
18490 s/'"$ac_delim"'/"\\\
18491 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18494 for (key in D) D_is_set[key] = 1
18497 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18499 split(line, arg, " ")
18500 if (arg[1] == "#") {
18504 defundef
= substr
(arg
[1], 2)
18507 split(mac1
, mac2
, "(") #)
18509 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18510 if (D_is_set
[macro
]) {
18511 # Preserve the white space surrounding the "#".
18512 print prefix
"define", macro P
[macro
] D
[macro
]
18515 # Replace #undef with comments. This is necessary, for example,
18516 # in the case of _POSIX_SOURCE, which is predefined and required
18517 # on some systems where configure will not decide to define it.
18518 if (defundef
== "undef") {
18519 print
"/*", prefix defundef
, macro
, "*/"
18527 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18528 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18529 fi # test -n "$CONFIG_HEADERS"
18532 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18537 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18539 case $ac_mode$ac_tag in
18541 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18542 :[FH
]-) ac_tag
=-:-;;
18543 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18560 -) ac_f
="$ac_tmp/stdin";;
18561 *) # Look for the file first in the build tree, then in the source tree
18562 # (if the path is not absolute). The absolute path cannot be DOS-style,
18563 # because $ac_f cannot contain `:'.
18567 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18569 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18571 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18572 as_fn_append ac_file_inputs
" '$ac_f'"
18575 # Let's still pretend it is `configure' which instantiates (i.e., don't
18576 # use $as_me), people would be surprised to read:
18577 # /* config.h. Generated by config.status. */
18578 configure_input
='Generated from '`
18579 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18581 if test x
"$ac_file" != x-
; then
18582 configure_input
="$ac_file. $configure_input"
18583 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18584 $as_echo "$as_me: creating $ac_file" >&6;}
18586 # Neutralize special characters interpreted by sed in replacement strings.
18587 case $configure_input in #(
18588 *\
&* |
*\|
* |
*\\* )
18589 ac_sed_conf_input
=`$as_echo "$configure_input" |
18590 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18591 *) ac_sed_conf_input
=$configure_input;;
18595 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18596 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18601 ac_dir
=`$as_dirname -- "$ac_file" ||
18602 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18603 X"$ac_file" : 'X\(//\)[^/]' \| \
18604 X"$ac_file" : 'X\(//\)$' \| \
18605 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18606 $as_echo X"$ac_file" |
18607 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18611 /^X\(\/\/\)[^/].*/{
18624 as_dir
="$ac_dir"; as_fn_mkdir_p
18628 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18630 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18631 # A ".." for each directory in $ac_dir_suffix.
18632 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18633 case $ac_top_builddir_sub in
18634 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18635 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18638 ac_abs_top_builddir
=$ac_pwd
18639 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18640 # for backward compatibility:
18641 ac_top_builddir
=$ac_top_build_prefix
18644 .
) # We are building in place.
18646 ac_top_srcdir
=$ac_top_builddir_sub
18647 ac_abs_top_srcdir
=$ac_pwd ;;
18648 [\\/]* | ?
:[\\/]* ) # Absolute name.
18649 ac_srcdir
=$srcdir$ac_dir_suffix;
18650 ac_top_srcdir
=$srcdir
18651 ac_abs_top_srcdir
=$srcdir ;;
18652 *) # Relative name.
18653 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18654 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18655 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18657 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18667 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
18668 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
18670 ac_MKDIR_P
=$MKDIR_P
18672 [\\/$
]* | ?
:[\\/]* ) ;;
18673 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
18677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18678 # If the template does not know about datarootdir, expand it.
18679 # FIXME: This hack should be removed a few years after 2.60.
18680 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18691 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18692 *datarootdir
*) ac_datarootdir_seen
=yes;;
18693 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18695 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18697 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18698 ac_datarootdir_hack='
18699 s&@datadir@&$datadir&g
18700 s&@docdir@&$docdir&g
18701 s&@infodir@&$infodir&g
18702 s&@localedir@&$localedir&g
18703 s&@mandir@&$mandir&g
18704 s&\\\${datarootdir}&$datarootdir&g' ;;
18708 # Neutralize VPATH when `$srcdir' = `.'.
18709 # Shell code in configure.ac might set extrasub.
18710 # FIXME: do we really want to maintain this feature?
18711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18712 ac_sed_extra="$ac_vpsub
18715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18717 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18718 s|@configure_input@|
$ac_sed_conf_input|
;t t
18719 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18720 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18721 s
&@srcdir@
&$ac_srcdir&;t t
18722 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18723 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18724 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18725 s
&@builddir@
&$ac_builddir&;t t
18726 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18727 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18728 s
&@INSTALL@
&$ac_INSTALL&;t t
18729 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18730 $ac_datarootdir_hack
18732 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18733 if $ac_cs_awk_getline; then
18734 $AWK -f "$ac_tmp/subs.
awk"
18736 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
18738 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18740 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18741 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18742 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18743 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18745 which seems to be undefined. Please make sure it is defined" >&5
18746 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18747 which seems to be undefined. Please make sure it is defined" >&2;}
18749 rm -f "$ac_tmp/stdin"
18751 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18752 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18754 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18760 if test x"$ac_file" != x-; then
18762 $as_echo "/* $configure_input */" \
18763 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18764 } >"$ac_tmp/config.h" \
18765 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18766 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18767 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18768 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18771 mv "$ac_tmp/config.h" "$ac_file" \
18772 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18775 $as_echo "/* $configure_input */" \
18776 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18777 || as_fn_error $? "could not create -" "$LINENO" 5
18785 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18788 # Prefer the file from the source tree if names are identical.
18789 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18790 ac_source=$srcdir/$ac_source
18793 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18794 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18796 if test ! -r "$ac_source"; then
18797 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18801 # Try a relative symlink, then a hard link, then a copy.
18803 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18804 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18806 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18807 ln "$ac_source" "$ac_file" 2>/dev/null ||
18808 cp -p "$ac_source" "$ac_file" ||
18809 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18812 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18813 $as_echo "$as_me: executing $ac_file commands" >&6;}
18818 case $ac_file$ac_mode in
18819 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18820 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
18821 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
18822 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
18823 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
18824 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
18825 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
18826 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
18827 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
18828 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
18829 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
18830 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
18831 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
18832 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
18833 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
18834 "Makefile":C) wine_fn_output_makefile Makefile ;;
18842 ac_clean_files=$ac_clean_files_save
18844 test $ac_write_fail = 0 ||
18845 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18848 # configure is writing to config.log, and then calls config.status.
18849 # config.status does its own redirection, appending to config.log.
18850 # Unfortunately, on DOS this fails, as config.log is still kept open
18851 # by configure, so config.status won't be able to
write to it
; its
18852 # output is simply discarded. So we exec the FD to /dev/null,
18853 # effectively closing config.log, so it can be properly (re)opened and
18854 # appended to by config.status. When coming back to configure, we
18855 # need to make the FD available again.
18856 if test "$no_create" != yes; then
18858 ac_config_status_args
=
18859 test "$silent" = yes &&
18860 ac_config_status_args
="$ac_config_status_args --quiet"
18862 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18864 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18865 # would make configure fail if this is the last instruction.
18866 $ac_cs_success || as_fn_exit
1
18868 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18870 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18874 if test "$no_create" = "yes"
18880 if test "x$wine_notices != "x
; then
18883 for msg
in $wine_notices; do
18885 if test -n "$msg"; then
18886 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18887 $as_echo "$as_me: $msg" >&6;}
18892 for msg
in $wine_warnings; do
18894 if test -n "$msg"; then
18896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18897 $as_echo "$as_me: WARNING: $msg" >&2;}
18903 $as_me: Finished. Do '${ac_make}' to compile Wine.