2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.28.
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.28'
584 PACKAGE_STRING
='Wine 1.7.28'
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
698 APPLICATIONSERVICES_LIBS
782 program_transform_name
795 enable_option_checking
799 enable_maintainer_mode
856 enable_api_ms_win_core_com_l1_1_0
857 enable_api_ms_win_core_console_l1_1_0
858 enable_api_ms_win_core_debug_l1_1_1
859 enable_api_ms_win_core_errorhandling_l1_1_1
860 enable_api_ms_win_core_file_l1_2_0
861 enable_api_ms_win_core_handle_l1_1_0
862 enable_api_ms_win_core_heap_l1_2_0
863 enable_api_ms_win_core_heap_obsolete_l1_1_0
864 enable_api_ms_win_core_interlocked_l1_2_0
865 enable_api_ms_win_core_io_l1_1_1
866 enable_api_ms_win_core_kernel32_legacy_l1_1_0
867 enable_api_ms_win_core_libraryloader_l1_1_1
868 enable_api_ms_win_core_localization_l1_2_0
869 enable_api_ms_win_core_localization_obsolete_l1_1_0
870 enable_api_ms_win_core_localregistry_l1_1_0
871 enable_api_ms_win_core_memory_l1_1_1
872 enable_api_ms_win_core_namedpipe_l1_2_0
873 enable_api_ms_win_core_processenvironment_l1_2_0
874 enable_api_ms_win_core_processthreads_l1_1_0
875 enable_api_ms_win_core_processthreads_l1_1_1
876 enable_api_ms_win_core_profile_l1_1_0
877 enable_api_ms_win_core_psapi_l1_1_0
878 enable_api_ms_win_core_registry_l1_1_0
879 enable_api_ms_win_core_rtlsupport_l1_2_0
880 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
881 enable_api_ms_win_core_string_l1_1_0
882 enable_api_ms_win_core_synch_l1_2_0
883 enable_api_ms_win_core_sysinfo_l1_2_0
884 enable_api_ms_win_core_threadpool_legacy_l1_1_0
885 enable_api_ms_win_core_timezone_l1_1_0
886 enable_api_ms_win_core_url_l1_1_0
887 enable_api_ms_win_core_util_l1_1_0
888 enable_api_ms_win_core_winrt_error_l1_1_0
889 enable_api_ms_win_core_winrt_string_l1_1_0
890 enable_api_ms_win_downlevel_advapi32_l1_1_0
891 enable_api_ms_win_downlevel_advapi32_l2_1_0
892 enable_api_ms_win_downlevel_normaliz_l1_1_0
893 enable_api_ms_win_downlevel_ole32_l1_1_0
894 enable_api_ms_win_downlevel_shell32_l1_1_0
895 enable_api_ms_win_downlevel_shlwapi_l1_1_0
896 enable_api_ms_win_downlevel_shlwapi_l2_1_0
897 enable_api_ms_win_downlevel_user32_l1_1_0
898 enable_api_ms_win_downlevel_version_l1_1_0
899 enable_api_ms_win_eventing_provider_l1_1_0
900 enable_api_ms_win_ntuser_dc_access_l1_1_0
901 enable_api_ms_win_security_base_l1_1_0
902 enable_api_ms_win_security_base_l1_2_0
903 enable_api_ms_win_security_sddl_l1_1_0
904 enable_api_ms_win_service_core_l1_1_1
905 enable_api_ms_win_service_management_l1_1_0
906 enable_api_ms_win_service_winsvc_l1_2_0
946 enable_d3dcompiler_33
947 enable_d3dcompiler_34
948 enable_d3dcompiler_35
949 enable_d3dcompiler_36
950 enable_d3dcompiler_37
951 enable_d3dcompiler_38
952 enable_d3dcompiler_39
953 enable_d3dcompiler_40
954 enable_d3dcompiler_41
955 enable_d3dcompiler_42
956 enable_d3dcompiler_43
1031 enable_explorerframe
1032 enable_ext_ms_win_gdi_devcaps_l1_1_0
1179 enable_photometadatahandler
1259 enable_windowscodecs
1260 enable_windowscodecsext
1262 enable_winecoreaudio_drv
1264 enable_winegstreamer
1265 enable_winejoystick_drv
1271 enable_wineqtdecoder
1308 enable_documentation
1316 enable_aspnet_regiis
1349 enable_presentationfontcache
1362 enable_servicemodelreg
1382 enable_winemenubuilder
1384 enable_winemsibuilder
1398 ac_precious_vars
='build_alias
1447 # Initialize some variables set by options.
1449 ac_init_version
=false
1450 ac_unrecognized_opts
=
1451 ac_unrecognized_sep
=
1452 # The variables have the same names as the options, with
1453 # dashes changed to underlines.
1454 cache_file
=/dev
/null
1461 program_transform_name
=s
,x
,x
,
1469 # Installation directory options.
1470 # These are left unexpanded so users can "make install exec_prefix=/foo"
1471 # and all the variables that are supposed to be based on exec_prefix
1472 # by default will actually change.
1473 # Use braces instead of parens because sh, perl, etc. also accept them.
1474 # (The list follows the same order as the GNU Coding Standards.)
1475 bindir
='${exec_prefix}/bin'
1476 sbindir
='${exec_prefix}/sbin'
1477 libexecdir
='${exec_prefix}/libexec'
1478 datarootdir
='${prefix}/share'
1479 datadir
='${datarootdir}'
1480 sysconfdir
='${prefix}/etc'
1481 sharedstatedir
='${prefix}/com'
1482 localstatedir
='${prefix}/var'
1483 includedir
='${prefix}/include'
1484 oldincludedir
='/usr/include'
1485 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1486 infodir
='${datarootdir}/info'
1491 libdir
='${exec_prefix}/lib'
1492 localedir
='${datarootdir}/locale'
1493 mandir
='${datarootdir}/man'
1499 # If the previous option needs an argument, assign it.
1500 if test -n "$ac_prev"; then
1501 eval $ac_prev=\
$ac_option
1507 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1512 # Accept the important Cygnus configure options, so we can diagnose typos.
1514 case $ac_dashdash$ac_option in
1518 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1520 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1521 bindir
=$ac_optarg ;;
1523 -build |
--build |
--buil |
--bui |
--bu)
1524 ac_prev
=build_alias
;;
1525 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1526 build_alias
=$ac_optarg ;;
1528 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1529 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1530 ac_prev
=cache_file
;;
1531 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1532 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1533 cache_file
=$ac_optarg ;;
1535 --config-cache |
-C)
1536 cache_file
=config.cache
;;
1538 -datadir |
--datadir |
--datadi |
--datad)
1540 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1541 datadir
=$ac_optarg ;;
1543 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1544 |
--dataroo |
--dataro |
--datar)
1545 ac_prev
=datarootdir
;;
1546 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1547 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1548 datarootdir
=$ac_optarg ;;
1550 -disable-* |
--disable-*)
1551 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1552 # Reject names that are not valid shell variable names.
1553 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1554 as_fn_error $?
"invalid feature name: $ac_useropt"
1555 ac_useropt_orig
=$ac_useropt
1556 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1557 case $ac_user_opts in
1559 "enable_
$ac_useropt"
1561 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1562 ac_unrecognized_sep
=', ';;
1564 eval enable_
$ac_useropt=no
;;
1566 -docdir |
--docdir |
--docdi |
--doc |
--do)
1568 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1569 docdir
=$ac_optarg ;;
1571 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1573 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1574 dvidir
=$ac_optarg ;;
1576 -enable-* |
--enable-*)
1577 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1578 # Reject names that are not valid shell variable names.
1579 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1580 as_fn_error $?
"invalid feature name: $ac_useropt"
1581 ac_useropt_orig
=$ac_useropt
1582 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1583 case $ac_user_opts in
1585 "enable_
$ac_useropt"
1587 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1588 ac_unrecognized_sep
=', ';;
1590 eval enable_
$ac_useropt=\
$ac_optarg ;;
1592 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1593 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1594 |
--exec |
--exe |
--ex)
1595 ac_prev
=exec_prefix
;;
1596 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1597 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1598 |
--exec=* |
--exe=* |
--ex=*)
1599 exec_prefix
=$ac_optarg ;;
1601 -gas |
--gas |
--ga |
--g)
1602 # Obsolete; use --with-gas.
1605 -help |
--help |
--hel |
--he |
-h)
1606 ac_init_help
=long
;;
1607 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1608 ac_init_help
=recursive
;;
1609 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1610 ac_init_help
=short
;;
1612 -host |
--host |
--hos |
--ho)
1613 ac_prev
=host_alias
;;
1614 -host=* |
--host=* |
--hos=* |
--ho=*)
1615 host_alias
=$ac_optarg ;;
1617 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1619 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1621 htmldir
=$ac_optarg ;;
1623 -includedir |
--includedir |
--includedi |
--included |
--include \
1624 |
--includ |
--inclu |
--incl |
--inc)
1625 ac_prev
=includedir
;;
1626 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1627 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1628 includedir
=$ac_optarg ;;
1630 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1632 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1633 infodir
=$ac_optarg ;;
1635 -libdir |
--libdir |
--libdi |
--libd)
1637 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1638 libdir
=$ac_optarg ;;
1640 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1641 |
--libexe |
--libex |
--libe)
1642 ac_prev
=libexecdir
;;
1643 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1644 |
--libexe=* |
--libex=* |
--libe=*)
1645 libexecdir
=$ac_optarg ;;
1647 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1648 ac_prev
=localedir
;;
1649 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1650 localedir
=$ac_optarg ;;
1652 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1653 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1654 ac_prev
=localstatedir
;;
1655 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1656 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1657 localstatedir
=$ac_optarg ;;
1659 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1661 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1662 mandir
=$ac_optarg ;;
1664 -nfp |
--nfp |
--nf)
1665 # Obsolete; use --without-fp.
1668 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1669 |
--no-cr |
--no-c |
-n)
1672 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1673 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1676 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1677 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1678 |
--oldin |
--oldi |
--old |
--ol |
--o)
1679 ac_prev
=oldincludedir
;;
1680 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1681 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1682 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1683 oldincludedir
=$ac_optarg ;;
1685 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1687 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1688 prefix
=$ac_optarg ;;
1690 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1691 |
--program-pre |
--program-pr |
--program-p)
1692 ac_prev
=program_prefix
;;
1693 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1694 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1695 program_prefix
=$ac_optarg ;;
1697 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1698 |
--program-suf |
--program-su |
--program-s)
1699 ac_prev
=program_suffix
;;
1700 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1701 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1702 program_suffix
=$ac_optarg ;;
1704 -program-transform-name |
--program-transform-name \
1705 |
--program-transform-nam |
--program-transform-na \
1706 |
--program-transform-n |
--program-transform- \
1707 |
--program-transform |
--program-transfor \
1708 |
--program-transfo |
--program-transf \
1709 |
--program-trans |
--program-tran \
1710 |
--progr-tra |
--program-tr |
--program-t)
1711 ac_prev
=program_transform_name
;;
1712 -program-transform-name=* |
--program-transform-name=* \
1713 |
--program-transform-nam=* |
--program-transform-na=* \
1714 |
--program-transform-n=* |
--program-transform-=* \
1715 |
--program-transform=* |
--program-transfor=* \
1716 |
--program-transfo=* |
--program-transf=* \
1717 |
--program-trans=* |
--program-tran=* \
1718 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1719 program_transform_name
=$ac_optarg ;;
1721 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1723 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1724 pdfdir
=$ac_optarg ;;
1726 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1728 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1731 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1732 |
-silent |
--silent |
--silen |
--sile |
--sil)
1735 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1737 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1739 sbindir
=$ac_optarg ;;
1741 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1742 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1743 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1745 ac_prev
=sharedstatedir
;;
1746 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1747 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1748 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1750 sharedstatedir
=$ac_optarg ;;
1752 -site |
--site |
--sit)
1754 -site=* |
--site=* |
--sit=*)
1757 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1759 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1760 srcdir
=$ac_optarg ;;
1762 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1763 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1764 ac_prev
=sysconfdir
;;
1765 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1766 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1767 sysconfdir
=$ac_optarg ;;
1769 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1770 ac_prev
=target_alias
;;
1771 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1772 target_alias
=$ac_optarg ;;
1774 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1777 -version |
--version |
--versio |
--versi |
--vers |
-V)
1778 ac_init_version
=: ;;
1781 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1782 # Reject names that are not valid shell variable names.
1783 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1784 as_fn_error $?
"invalid package name: $ac_useropt"
1785 ac_useropt_orig
=$ac_useropt
1786 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1787 case $ac_user_opts in
1791 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1792 ac_unrecognized_sep
=', ';;
1794 eval with_
$ac_useropt=\
$ac_optarg ;;
1796 -without-* |
--without-*)
1797 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1798 # Reject names that are not valid shell variable names.
1799 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1800 as_fn_error $?
"invalid package name: $ac_useropt"
1801 ac_useropt_orig
=$ac_useropt
1802 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1803 case $ac_user_opts in
1807 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1808 ac_unrecognized_sep
=', ';;
1810 eval with_
$ac_useropt=no
;;
1813 # Obsolete; use --with-x.
1816 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1817 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1818 ac_prev
=x_includes
;;
1819 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1820 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1821 x_includes
=$ac_optarg ;;
1823 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1824 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1825 ac_prev
=x_libraries
;;
1826 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1827 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1828 x_libraries
=$ac_optarg ;;
1830 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1831 Try \`$0 --help' for more information"
1835 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1836 # Reject names that are not valid shell variable names.
1837 case $ac_envvar in #(
1838 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1839 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1841 eval $ac_envvar=\
$ac_optarg
1842 export $ac_envvar ;;
1845 # FIXME: should be removed in autoconf 3.0.
1846 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1847 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1848 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1849 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1855 if test -n "$ac_prev"; then
1856 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1857 as_fn_error $?
"missing argument to $ac_option"
1860 if test -n "$ac_unrecognized_opts"; then
1861 case $enable_option_checking in
1863 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1864 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1868 # Check all directory arguments for consistency.
1869 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1870 datadir sysconfdir sharedstatedir localstatedir includedir \
1871 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1872 libdir localedir mandir
1874 eval ac_val
=\$
$ac_var
1875 # Remove trailing slashes.
1878 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1879 eval $ac_var=\
$ac_val;;
1881 # Be sure to have absolute directory names.
1883 [\\/$
]* | ?
:[\\/]* ) continue;;
1884 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1886 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1889 # There might be people who depend on the old broken behavior: `$host'
1890 # used to hold the argument of --host etc.
1891 # FIXME: To remove some day.
1894 target
=$target_alias
1896 # FIXME: To remove some day.
1897 if test "x$host_alias" != x
; then
1898 if test "x$build_alias" = x
; then
1899 cross_compiling
=maybe
1900 elif test "x$build_alias" != "x$host_alias"; then
1906 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1908 test "$silent" = yes && exec 6>/dev
/null
1911 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1912 ac_ls_di
=`ls -di .` &&
1913 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1914 as_fn_error $?
"working directory cannot be determined"
1915 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1916 as_fn_error $?
"pwd does not report name of working directory"
1919 # Find the source files, if location was not specified.
1920 if test -z "$srcdir"; then
1921 ac_srcdir_defaulted
=yes
1922 # Try the directory containing this script, then the parent directory.
1923 ac_confdir
=`$as_dirname -- "$as_myself" ||
1924 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1925 X"$as_myself" : 'X\(//\)[^/]' \| \
1926 X"$as_myself" : 'X\(//\)$' \| \
1927 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1928 $as_echo X"$as_myself" |
1929 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1947 if test ! -r "$srcdir/$ac_unique_file"; then
1951 ac_srcdir_defaulted
=no
1953 if test ! -r "$srcdir/$ac_unique_file"; then
1954 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1955 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1957 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1959 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1961 # When building in place, set srcdir=.
1962 if test "$ac_abs_confdir" = "$ac_pwd"; then
1965 # Remove unnecessary trailing slashes from srcdir.
1966 # Double slashes in file names in object file debugging info
1967 # mess up M-x gdb in Emacs.
1969 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1971 for ac_var
in $ac_precious_vars; do
1972 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1973 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1974 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1975 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1979 # Report the --help message.
1981 if test "$ac_init_help" = "long"; then
1982 # Omit some internal or obsolete options to make the list less imposing.
1983 # This message is too long to be a string in the A/UX 3.1 sh.
1985 \`configure' configures Wine 1.7.28 to adapt to many kinds of systems.
1987 Usage: $0 [OPTION]... [VAR=VALUE]...
1989 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1990 VAR=VALUE. See below for descriptions of some of the useful variables.
1992 Defaults for the options are specified in brackets.
1995 -h, --help display this help and exit
1996 --help=short display options specific to this package
1997 --help=recursive display the short help of all the included packages
1998 -V, --version display version information and exit
1999 -q, --quiet, --silent do not print \`checking ...' messages
2000 --cache-file=FILE cache test results in FILE [disabled]
2001 -C, --config-cache alias for \`--cache-file=config.cache'
2002 -n, --no-create do not create output files
2003 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2005 Installation directories:
2006 --prefix=PREFIX install architecture-independent files in PREFIX
2007 [$ac_default_prefix]
2008 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2011 By default, \`make install' will install all the files in
2012 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2013 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2014 for instance \`--prefix=\$HOME'.
2016 For better control, use the options below.
2018 Fine tuning of the installation directories:
2019 --bindir=DIR user executables [EPREFIX/bin]
2020 --sbindir=DIR system admin executables [EPREFIX/sbin]
2021 --libexecdir=DIR program executables [EPREFIX/libexec]
2022 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2023 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2024 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2025 --libdir=DIR object code libraries [EPREFIX/lib]
2026 --includedir=DIR C header files [PREFIX/include]
2027 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2028 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2029 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2030 --infodir=DIR info documentation [DATAROOTDIR/info]
2031 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2032 --mandir=DIR man documentation [DATAROOTDIR/man]
2033 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2034 --htmldir=DIR html documentation [DOCDIR]
2035 --dvidir=DIR dvi documentation [DOCDIR]
2036 --pdfdir=DIR pdf documentation [DOCDIR]
2037 --psdir=DIR ps documentation [DOCDIR]
2043 --x-includes=DIR X include files are
in DIR
2044 --x-libraries=DIR X library files are
in DIR
2047 --build=BUILD configure
for building on BUILD
[guessed
]
2048 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2052 if test -n "$ac_init_help"; then
2053 case $ac_init_help in
2054 short | recursive
) echo "Configuration of Wine 1.7.28:";;
2059 --disable-option-checking ignore unrecognized
--enable/--with options
2060 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2061 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2062 --disable-win16 do not include Win16 support
2063 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2065 --disable-tests do not build the regression tests
2066 --enable-maintainer-mode
2067 enable maintainer-specific build rules
2068 --disable-largefile omit support for large files
2071 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2072 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2073 --without-alsa do not use the Alsa sound support
2074 --without-capi do not use CAPI (ISDN support)
2075 --without-cms do not use CMS (color management support)
2076 --without-coreaudio do not use the CoreAudio sound support
2077 --without-cups do not use CUPS
2078 --without-curses do not use (n)curses
2079 --without-dbus do not use DBus (dynamic device support)
2080 --without-fontconfig do not use fontconfig
2081 --without-freetype do not use the FreeType library
2082 --without-gettext do not use gettext
2083 --with-gettextpo use the GetTextPO library to rebuild po files
2084 --without-gphoto do not use gphoto (Digital Camera support)
2085 --without-glu do not use the GLU library
2086 --without-gnutls do not use GnuTLS (schannel support)
2087 --without-gsm do not use libgsm (GSM 06.10 codec support)
2088 --without-gstreamer do not use GStreamer (codecs support)
2089 --without-hal do not use HAL (dynamic device support)
2090 --without-jpeg do not use JPEG
2091 --without-ldap do not use LDAP
2092 --without-mpg123 do not use the mpg123 library
2093 --without-netapi do not use the Samba NetAPI library
2094 --without-openal do not use OpenAL
2095 --without-opencl do not use OpenCL
2096 --without-opengl do not use OpenGL
2097 --without-osmesa do not use the OSMesa library
2098 --without-oss do not use the OSS sound support
2099 --without-pcap do not use the Packet Capture library
2100 --without-png do not use PNG
2101 --without-pthread do not use the pthread library
2102 --without-sane do not use SANE (scanner support)
2103 --without-tiff do not use TIFF
2104 --without-v4l do not use v4l1 (v4l support)
2105 --without-xcomposite do not use the Xcomposite extension
2106 --without-xcursor do not use the Xcursor extension
2107 --without-xinerama do not use Xinerama (multi-monitor support)
2108 --without-xinput do not use the Xinput extension
2109 --without-xinput2 do not use the Xinput 2 extension
2110 --without-xml do not use XML
2111 --without-xrandr do not use Xrandr (resolution changes)
2112 --without-xrender do not use the Xrender extension
2113 --without-xshape do not use the Xshape extension
2114 --without-xshm do not use XShm (shared memory extension)
2115 --without-xslt do not use XSLT
2116 --without-xxf86vm do not use XFree video mode extension
2117 --without-zlib do not use Zlib (data compression)
2118 --with-wine-tools=DIR use Wine tools from directory DIR
2119 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2120 --with-x use the X Window System
2122 Some influential environment variables:
2123 CC C compiler command
2124 CFLAGS C compiler flags
2125 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2126 nonstandard directory <lib dir>
2127 LIBS libraries to pass to the linker, e.g. -l<library>
2128 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2129 you have headers in a nonstandard directory <include dir>
2130 CXX C++ compiler command
2131 CXXFLAGS C++ compiler flags
2133 XMKMF Path to xmkmf, Makefile generator for X Window System
2134 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2135 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2136 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2137 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2138 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2139 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2140 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2141 HAL_LIBS Linker flags for hal, overriding pkg-config
2143 C compiler flags for gnutls, overriding pkg-config
2144 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2145 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2146 SANE_LIBS Linker flags for libsane, overriding pkg-config
2148 C compiler flags for libgphoto2, overriding pkg-config
2150 Linker flags for libgphoto2, overriding pkg-config
2152 C compiler flags for libgphoto2_port, overriding pkg-config
2154 Linker flags for libgphoto2_port, overriding pkg-config
2156 C compiler flags for lcms2, overriding pkg-config
2157 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2159 C compiler flags for freetype2, overriding pkg-config
2161 Linker flags for freetype2, overriding pkg-config
2163 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2165 Linker flags for gstreamer-app-0.10, overriding pkg-config
2167 C compiler flags for capi20, overriding pkg-config
2168 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2170 C compiler flags for fontconfig, overriding pkg-config
2172 Linker flags for fontconfig, overriding pkg-config
2173 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2174 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2175 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2176 PNG_LIBS Linker flags for libpng, overriding pkg-config
2177 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2178 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2180 C compiler flags for libmpg123, overriding pkg-config
2181 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2183 Use these variables to override the choices made by `configure' or to
help
2184 it to
find libraries and programs with nonstandard names
/locations.
2186 Report bugs to
<wine-devel@winehq.org
>.
2187 Wine home page
: <http
://www.winehq.org
>.
2192 if test "$ac_init_help" = "recursive"; then
2193 # If there are subdirs, report their specific --help.
2194 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2195 test -d "$ac_dir" ||
2196 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2201 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2203 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2204 # A ".." for each directory in $ac_dir_suffix.
2205 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2206 case $ac_top_builddir_sub in
2207 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2208 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2211 ac_abs_top_builddir
=$ac_pwd
2212 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2213 # for backward compatibility:
2214 ac_top_builddir
=$ac_top_build_prefix
2217 .
) # We are building in place.
2219 ac_top_srcdir
=$ac_top_builddir_sub
2220 ac_abs_top_srcdir
=$ac_pwd ;;
2221 [\\/]* | ?
:[\\/]* ) # Absolute name.
2222 ac_srcdir
=$srcdir$ac_dir_suffix;
2223 ac_top_srcdir
=$srcdir
2224 ac_abs_top_srcdir
=$srcdir ;;
2226 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2227 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2228 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2230 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2232 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2233 # Check for guested configure.
2234 if test -f "$ac_srcdir/configure.gnu"; then
2236 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2237 elif test -f "$ac_srcdir/configure"; then
2239 $SHELL "$ac_srcdir/configure" --help=recursive
2241 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2243 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2247 test -n "$ac_init_help" && exit $ac_status
2248 if $ac_init_version; then
2250 Wine configure
1.7.28
2251 generated by GNU Autoconf
2.69
2253 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2254 This configure
script is free software
; the Free Software Foundation
2255 gives unlimited permission to copy
, distribute and modify it.
2260 ## ------------------------ ##
2261 ## Autoconf initialization. ##
2262 ## ------------------------ ##
2264 # ac_fn_c_try_compile LINENO
2265 # --------------------------
2266 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2267 ac_fn_c_try_compile
()
2269 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2270 rm -f conftest.
$ac_objext
2271 if { { ac_try
="$ac_compile"
2273 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2274 *) ac_try_echo=$ac_try;;
2276 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2277 $as_echo "$ac_try_echo"; } >&5
2278 (eval "$ac_compile") 2>conftest.err
2280 if test -s conftest.err; then
2281 grep -v '^ *+' conftest.err >conftest.er1
2282 cat conftest.er1 >&5
2283 mv -f conftest.er1 conftest.err
2285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2286 test $ac_status = 0; } && {
2287 test -z "$ac_c_werror_flag" ||
2288 test ! -s conftest.err
2289 } && test -s conftest.$ac_objext; then :
2292 $as_echo "$as_me: failed program was:" >&5
2293 sed 's/^/| /' conftest.$ac_ext >&5
2297 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2298 as_fn_set_status $ac_retval
2300 } # ac_fn_c_try_compile
2302 # ac_fn_cxx_try_compile LINENO
2303 # ----------------------------
2304 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2305 ac_fn_cxx_try_compile ()
2307 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2308 rm -f conftest.$ac_objext
2309 if { { ac_try="$ac_compile"
2311 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2312 *) ac_try_echo
=$ac_try;;
2314 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2315 $as_echo "$ac_try_echo"; } >&5
2316 (eval "$ac_compile") 2>conftest.err
2318 if test -s conftest.err
; then
2319 grep -v '^ *+' conftest.err
>conftest.er1
2320 cat conftest.er1
>&5
2321 mv -f conftest.er1 conftest.err
2323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2324 test $ac_status = 0; } && {
2325 test -z "$ac_cxx_werror_flag" ||
2326 test ! -s conftest.err
2327 } && test -s conftest.
$ac_objext; then :
2330 $as_echo "$as_me: failed program was:" >&5
2331 sed 's/^/| /' conftest.
$ac_ext >&5
2335 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2336 as_fn_set_status
$ac_retval
2338 } # ac_fn_cxx_try_compile
2340 # ac_fn_c_try_link LINENO
2341 # -----------------------
2342 # Try to link conftest.$ac_ext, and return whether this succeeded.
2345 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2346 rm -f conftest.
$ac_objext conftest
$ac_exeext
2347 if { { ac_try
="$ac_link"
2349 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2350 *) ac_try_echo=$ac_try;;
2352 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2353 $as_echo "$ac_try_echo"; } >&5
2354 (eval "$ac_link") 2>conftest.err
2356 if test -s conftest.err; then
2357 grep -v '^ *+' conftest.err >conftest.er1
2358 cat conftest.er1 >&5
2359 mv -f conftest.er1 conftest.err
2361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2362 test $ac_status = 0; } && {
2363 test -z "$ac_c_werror_flag" ||
2364 test ! -s conftest.err
2365 } && test -s conftest$ac_exeext && {
2366 test "$cross_compiling" = yes ||
2367 test -x conftest$ac_exeext
2371 $as_echo "$as_me: failed program was:" >&5
2372 sed 's/^/| /' conftest.$ac_ext >&5
2376 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2377 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2378 # interfere with the next link command; also delete a directory that is
2379 # left behind by Apple's compiler. We do this before executing the actions.
2380 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2381 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2382 as_fn_set_status $ac_retval
2384 } # ac_fn_c_try_link
2386 # ac_fn_c_try_cpp LINENO
2387 # ----------------------
2388 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2391 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2392 if { { ac_try="$ac_cpp conftest.$ac_ext"
2394 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2395 *) ac_try_echo
=$ac_try;;
2397 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2398 $as_echo "$ac_try_echo"; } >&5
2399 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2401 if test -s conftest.err
; then
2402 grep -v '^ *+' conftest.err
>conftest.er1
2403 cat conftest.er1
>&5
2404 mv -f conftest.er1 conftest.err
2406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2407 test $ac_status = 0; } > conftest.i
&& {
2408 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2409 test ! -s conftest.err
2413 $as_echo "$as_me: failed program was:" >&5
2414 sed 's/^/| /' conftest.
$ac_ext >&5
2418 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2419 as_fn_set_status
$ac_retval
2423 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2424 # -------------------------------------------------------
2425 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2426 # the include files in INCLUDES and setting the cache variable VAR
2428 ac_fn_c_check_header_mongrel
()
2430 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2431 if eval \
${$3+:} false
; then :
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2433 $as_echo_n "checking for $2... " >&6; }
2434 if eval \
${$3+:} false
; then :
2435 $as_echo_n "(cached) " >&6
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2439 $as_echo "$ac_res" >&6; }
2441 # Is the header compilable?
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2443 $as_echo_n "checking $2 usability... " >&6; }
2444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2445 /* end confdefs.h. */
2449 if ac_fn_c_try_compile
"$LINENO"; then :
2450 ac_header_compiler
=yes
2452 ac_header_compiler
=no
2454 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2456 $as_echo "$ac_header_compiler" >&6; }
2458 # Is the header present?
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2460 $as_echo_n "checking $2 presence... " >&6; }
2461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2462 /* end confdefs.h. */
2465 if ac_fn_c_try_cpp
"$LINENO"; then :
2466 ac_header_preproc
=yes
2468 ac_header_preproc
=no
2470 rm -f conftest.err conftest.i conftest.
$ac_ext
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2472 $as_echo "$ac_header_preproc" >&6; }
2474 # So? What about this header?
2475 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2478 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2480 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2484 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2486 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2488 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2490 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2492 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2493 ( $as_echo "## ------------------------------------ ##
2494 ## Report this to wine-devel@winehq.org ##
2495 ## ------------------------------------ ##"
2496 ) |
sed "s/^/$as_me: WARNING: /" >&2
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2500 $as_echo_n "checking for $2... " >&6; }
2501 if eval \
${$3+:} false
; then :
2502 $as_echo_n "(cached) " >&6
2504 eval "$3=\$ac_header_compiler"
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2508 $as_echo "$ac_res" >&6; }
2510 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2512 } # ac_fn_c_check_header_mongrel
2514 # ac_fn_c_try_run LINENO
2515 # ----------------------
2516 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2517 # that executables *can* be run.
2520 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2521 if { { ac_try
="$ac_link"
2523 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2524 *) ac_try_echo=$ac_try;;
2526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2527 $as_echo "$ac_try_echo"; } >&5
2528 (eval "$ac_link") 2>&5
2530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2531 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2532 { { case "(($ac_try" in
2533 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2534 *) ac_try_echo
=$ac_try;;
2536 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2537 $as_echo "$ac_try_echo"; } >&5
2538 (eval "$ac_try") 2>&5
2540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2541 test $ac_status = 0; }; }; then :
2544 $as_echo "$as_me: program exited with status $ac_status" >&5
2545 $as_echo "$as_me: failed program was:" >&5
2546 sed 's/^/| /' conftest.
$ac_ext >&5
2548 ac_retval
=$ac_status
2550 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2551 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2552 as_fn_set_status
$ac_retval
2556 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2557 # -------------------------------------------------------
2558 # Tests whether HEADER exists and can be compiled using the include files in
2559 # INCLUDES, setting the cache variable VAR accordingly.
2560 ac_fn_c_check_header_compile
()
2562 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2564 $as_echo_n "checking for $2... " >&6; }
2565 if eval \
${$3+:} false
; then :
2566 $as_echo_n "(cached) " >&6
2568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2569 /* end confdefs.h. */
2573 if ac_fn_c_try_compile
"$LINENO"; then :
2578 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2582 $as_echo "$ac_res" >&6; }
2583 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2585 } # ac_fn_c_check_header_compile
2587 # ac_fn_c_check_func LINENO FUNC VAR
2588 # ----------------------------------
2589 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2590 ac_fn_c_check_func
()
2592 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2594 $as_echo_n "checking for $2... " >&6; }
2595 if eval \
${$3+:} false
; then :
2596 $as_echo_n "(cached) " >&6
2598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2599 /* end confdefs.h. */
2600 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2602 #define $2 innocuous_$2
2604 /* System header to define __stub macros and hopefully few prototypes,
2605 which can conflict with char $2 (); below.
2606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2607 <limits.h> exists even on freestanding compilers. */
2610 # include <limits.h>
2612 # include <assert.h>
2617 /* Override any GCC internal prototype to avoid an error.
2618 Use char because int might match the return type of a GCC
2619 builtin and then its argument prototype would still apply. */
2624 /* The GNU C library defines this for functions which it implements
2625 to always fail with ENOSYS. Some functions are actually named
2626 something starting with __ and the normal name is an alias. */
2627 #if defined __stub_$2 || defined __stub___$2
2639 if ac_fn_c_try_link
"$LINENO"; then :
2644 rm -f core conftest.err conftest.
$ac_objext \
2645 conftest
$ac_exeext 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_func
2654 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2655 # ----------------------------------------------------
2656 # Tries to find if the field MEMBER exists in type AGGR, after including
2657 # INCLUDES, setting cache variable VAR accordingly.
2658 ac_fn_c_check_member
()
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.$3" >&5
2662 $as_echo_n "checking for $2.$3... " >&6; }
2663 if eval \
${$4+:} false
; then :
2664 $as_echo_n "(cached) " >&6
2666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2667 /* end confdefs.h. */
2679 if ac_fn_c_try_compile
"$LINENO"; then :
2682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2683 /* end confdefs.h. */
2689 if (sizeof ac_aggr.$3)
2695 if ac_fn_c_try_compile
"$LINENO"; then :
2700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2706 $as_echo "$ac_res" >&6; }
2707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2709 } # ac_fn_c_check_member
2711 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2712 # -------------------------------------------
2713 # Tests whether TYPE exists after having included INCLUDES, setting cache
2714 # variable VAR accordingly.
2715 ac_fn_c_check_type
()
2717 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2719 $as_echo_n "checking for $2... " >&6; }
2720 if eval \
${$3+:} false
; then :
2721 $as_echo_n "(cached) " >&6
2724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2725 /* end confdefs.h. */
2736 if ac_fn_c_try_compile
"$LINENO"; then :
2737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2738 /* end confdefs.h. */
2749 if ac_fn_c_try_compile
"$LINENO"; then :
2754 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2756 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2760 $as_echo "$ac_res" >&6; }
2761 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2763 } # ac_fn_c_check_type
2764 cat >config.log
<<_ACEOF
2765 This file contains any messages produced by compilers while
2766 running configure, to aid debugging if configure makes a mistake.
2768 It was created by Wine $as_me 1.7.28, which was
2769 generated by GNU Autoconf 2.69. Invocation command line was
2781 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2782 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2783 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2784 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2785 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2787 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2788 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2790 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2791 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2792 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2793 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2794 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2795 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2796 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2804 test -z "$as_dir" && as_dir
=.
2805 $as_echo "PATH: $as_dir"
2821 # Keep a trace of the command line.
2822 # Strip out --no-create and --no-recursion so they do not pile up.
2823 # Strip out --silent because we don't want to record it for future runs.
2824 # Also quote any args containing shell meta-characters.
2825 # Make two passes to allow for proper duplicate-argument suppression.
2829 ac_must_keep_next
=false
2835 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2836 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2837 |
-silent |
--silent |
--silen |
--sile |
--sil)
2840 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2843 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2845 as_fn_append ac_configure_args1
" '$ac_arg'"
2846 if test $ac_must_keep_next = true
; then
2847 ac_must_keep_next
=false
# Got value, back to normal.
2850 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2851 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2852 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2853 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2854 case "$ac_configure_args0 " in
2855 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2858 -* ) ac_must_keep_next
=true
;;
2861 as_fn_append ac_configure_args
" '$ac_arg'"
2866 { ac_configure_args0
=; unset ac_configure_args0
;}
2867 { ac_configure_args1
=; unset ac_configure_args1
;}
2869 # When interrupted or exit'd, cleanup temporary files, and complete
2870 # config.log. We remove comments because anyway the quotes in there
2871 # would cause problems or look ugly.
2872 # WARNING: Use '\'' to represent an apostrophe within the trap.
2873 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2874 trap 'exit_status=$?
2875 # Save into config.log some information that might help in debugging.
2879 $as_echo "## ---------------- ##
2880 ## Cache variables. ##
2881 ## ---------------- ##"
2883 # The following way of writing the cache mishandles newlines in values,
2885 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2886 eval ac_val=\$$ac_var
2890 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2891 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2894 _ | IFS | as_nl) ;; #(
2895 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2896 *) { eval $ac_var=; unset $ac_var;} ;;
2901 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2902 *${as_nl}ac_space=\ *)
2904 "s/'\''/'\''\\\\'\'''\''/g;
2905 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2908 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2915 $as_echo "## ----------------- ##
2916 ## Output variables. ##
2917 ## ----------------- ##"
2919 for ac_var in $ac_subst_vars
2921 eval ac_val=\$$ac_var
2923 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2925 $as_echo "$ac_var='\''$ac_val'\''"
2929 if test -n "$ac_subst_files"; then
2930 $as_echo "## ------------------- ##
2931 ## File substitutions. ##
2932 ## ------------------- ##"
2934 for ac_var
in $ac_subst_files
2936 eval ac_val
=\$
$ac_var
2938 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2940 $as_echo "$ac_var='\''$ac_val'\''"
2945 if test -s confdefs.h; then
2946 $as_echo "## ----------- ##
2953 test "$ac_signal" != 0 &&
2954 $as_echo "$as_me: caught signal $ac_signal"
2955 $as_echo "$as_me: exit $exit_status"
2957 rm -f core *.core core.conftest.* &&
2958 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2961 for ac_signal
in 1 2 13 15; do
2962 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2966 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2967 rm -f -r conftest
* confdefs.h
2969 $as_echo "/* confdefs.h */" > confdefs.h
2971 # Predefined preprocessor variables.
2973 cat >>confdefs.h
<<_ACEOF
2974 #define PACKAGE_NAME "$PACKAGE_NAME"
2977 cat >>confdefs.h
<<_ACEOF
2978 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2981 cat >>confdefs.h
<<_ACEOF
2982 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2985 cat >>confdefs.h
<<_ACEOF
2986 #define PACKAGE_STRING "$PACKAGE_STRING"
2989 cat >>confdefs.h
<<_ACEOF
2990 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2993 cat >>confdefs.h
<<_ACEOF
2994 #define PACKAGE_URL "$PACKAGE_URL"
2998 # Let the site file select an alternate cache file if it wants to.
2999 # Prefer an explicitly selected file to automatically selected ones.
3002 if test -n "$CONFIG_SITE"; then
3003 # We do not want a PATH search for config.site.
3004 case $CONFIG_SITE in #((
3005 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3006 */*) ac_site_file1
=$CONFIG_SITE;;
3007 *) ac_site_file1
=.
/$CONFIG_SITE;;
3009 elif test "x$prefix" != xNONE
; then
3010 ac_site_file1
=$prefix/share
/config.site
3011 ac_site_file2
=$prefix/etc
/config.site
3013 ac_site_file1
=$ac_default_prefix/share
/config.site
3014 ac_site_file2
=$ac_default_prefix/etc
/config.site
3016 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3018 test "x$ac_site_file" = xNONE
&& continue
3019 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3021 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3022 sed 's/^/| /' "$ac_site_file" >&5
3024 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3026 as_fn_error $?
"failed to load site script $ac_site_file
3027 See \`config.log' for more details" "$LINENO" 5; }
3031 if test -r "$cache_file"; then
3032 # Some versions of bash will fail to source /dev/null (special files
3033 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3034 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3036 $as_echo "$as_me: loading cache $cache_file" >&6;}
3038 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3039 *) .
"./$cache_file";;
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3044 $as_echo "$as_me: creating cache $cache_file" >&6;}
3048 # Check that the precious variables saved in the cache have kept the same
3050 ac_cache_corrupted
=false
3051 for ac_var
in $ac_precious_vars; do
3052 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3053 eval ac_new_set
=\
$ac_env_${ac_var}_set
3054 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3055 eval ac_new_val
=\
$ac_env_${ac_var}_value
3056 case $ac_old_set,$ac_new_set in
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3059 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3060 ac_cache_corrupted
=: ;;
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3063 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3064 ac_cache_corrupted
=: ;;
3067 if test "x$ac_old_val" != "x$ac_new_val"; then
3068 # differences in whitespace do not lead to failure.
3069 ac_old_val_w
=`echo x $ac_old_val`
3070 ac_new_val_w
=`echo x $ac_new_val`
3071 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3073 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3074 ac_cache_corrupted
=:
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3077 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3078 eval $ac_var=\
$ac_old_val
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3081 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3083 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3086 # Pass precious variables to config.status.
3087 if test "$ac_new_set" = set; then
3089 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3090 *) ac_arg
=$ac_var=$ac_new_val ;;
3092 case " $ac_configure_args " in
3093 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3094 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3098 if $ac_cache_corrupted; then
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3102 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3103 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3105 ## -------------------- ##
3106 ## Main body of script. ##
3107 ## -------------------- ##
3110 ac_cpp
='$CPP $CPPFLAGS'
3111 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3112 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3113 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3117 ac_config_headers
="$ac_config_headers include/config.h"
3120 for ac_dir
in tools
"$srcdir"/tools
; do
3121 if test -f "$ac_dir/install-sh"; then
3123 ac_install_sh
="$ac_aux_dir/install-sh -c"
3125 elif test -f "$ac_dir/install.sh"; then
3127 ac_install_sh
="$ac_aux_dir/install.sh -c"
3129 elif test -f "$ac_dir/shtool"; then
3131 ac_install_sh
="$ac_aux_dir/shtool install -c"
3135 if test -z "$ac_aux_dir"; then
3136 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3139 # These three variables are undocumented and unsupported,
3140 # and are intended to be withdrawn in a future Autoconf release.
3141 # They can cause serious problems if a builder's source tree is in a directory
3142 # whose full name contains unusual characters.
3143 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3144 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3145 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3149 libwine_version
="1.0"
3153 # Check whether --enable-win16 was given.
3154 if test "${enable_win16+set}" = set; then :
3155 enableval
=$enable_win16;
3158 # Check whether --enable-win64 was given.
3159 if test "${enable_win64+set}" = set; then :
3160 enableval
=$enable_win64;
3163 # Check whether --enable-tests was given.
3164 if test "${enable_tests+set}" = set; then :
3165 enableval
=$enable_tests;
3168 # Check whether --enable-maintainer-mode was given.
3169 if test "${enable_maintainer_mode+set}" = set; then :
3170 enableval
=$enable_maintainer_mode;
3175 # Check whether --with-alsa was given.
3176 if test "${with_alsa+set}" = set; then :
3177 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3181 # Check whether --with-capi was given.
3182 if test "${with_capi+set}" = set; then :
3187 # Check whether --with-cms was given.
3188 if test "${with_cms+set}" = set; then :
3193 # Check whether --with-coreaudio was given.
3194 if test "${with_coreaudio+set}" = set; then :
3195 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3199 # Check whether --with-cups was given.
3200 if test "${with_cups+set}" = set; then :
3205 # Check whether --with-curses was given.
3206 if test "${with_curses+set}" = set; then :
3207 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3211 # Check whether --with-dbus was given.
3212 if test "${with_dbus+set}" = set; then :
3217 # Check whether --with-fontconfig was given.
3218 if test "${with_fontconfig+set}" = set; then :
3219 withval
=$with_fontconfig;
3223 # Check whether --with-freetype was given.
3224 if test "${with_freetype+set}" = set; then :
3225 withval
=$with_freetype;
3229 # Check whether --with-gettext was given.
3230 if test "${with_gettext+set}" = set; then :
3231 withval
=$with_gettext;
3235 # Check whether --with-gettextpo was given.
3236 if test "${with_gettextpo+set}" = set; then :
3237 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3241 # Check whether --with-gphoto was given.
3242 if test "${with_gphoto+set}" = set; then :
3243 withval
=$with_gphoto;
3247 # Check whether --with-glu was given.
3248 if test "${with_glu+set}" = set; then :
3253 # Check whether --with-gnutls was given.
3254 if test "${with_gnutls+set}" = set; then :
3255 withval
=$with_gnutls;
3259 # Check whether --with-gsm was given.
3260 if test "${with_gsm+set}" = set; then :
3261 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3265 # Check whether --with-gstreamer was given.
3266 if test "${with_gstreamer+set}" = set; then :
3267 withval
=$with_gstreamer;
3271 # Check whether --with-hal was given.
3272 if test "${with_hal+set}" = set; then :
3277 # Check whether --with-jpeg was given.
3278 if test "${with_jpeg+set}" = set; then :
3283 # Check whether --with-ldap was given.
3284 if test "${with_ldap+set}" = set; then :
3285 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3289 # Check whether --with-mpg123 was given.
3290 if test "${with_mpg123+set}" = set; then :
3291 withval
=$with_mpg123;
3295 # Check whether --with-netapi was given.
3296 if test "${with_netapi+set}" = set; then :
3297 withval
=$with_netapi;
3301 # Check whether --with-openal was given.
3302 if test "${with_openal+set}" = set; then :
3303 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3307 # Check whether --with-opencl was given.
3308 if test "${with_opencl+set}" = set; then :
3309 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3313 # Check whether --with-opengl was given.
3314 if test "${with_opengl+set}" = set; then :
3315 withval
=$with_opengl;
3319 # Check whether --with-osmesa was given.
3320 if test "${with_osmesa+set}" = set; then :
3321 withval
=$with_osmesa;
3325 # Check whether --with-oss was given.
3326 if test "${with_oss+set}" = set; then :
3331 # Check whether --with-pcap was given.
3332 if test "${with_pcap+set}" = set; then :
3333 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3337 # Check whether --with-png was given.
3338 if test "${with_png+set}" = set; then :
3343 # Check whether --with-pthread was given.
3344 if test "${with_pthread+set}" = set; then :
3345 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3349 # Check whether --with-sane was given.
3350 if test "${with_sane+set}" = set; then :
3355 # Check whether --with-tiff was given.
3356 if test "${with_tiff+set}" = set; then :
3361 # Check whether --with-v4l was given.
3362 if test "${with_v4l+set}" = set; then :
3367 # Check whether --with-xcomposite was given.
3368 if test "${with_xcomposite+set}" = set; then :
3369 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3373 # Check whether --with-xcursor was given.
3374 if test "${with_xcursor+set}" = set; then :
3375 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3379 # Check whether --with-xinerama was given.
3380 if test "${with_xinerama+set}" = set; then :
3381 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3385 # Check whether --with-xinput was given.
3386 if test "${with_xinput+set}" = set; then :
3387 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3391 # Check whether --with-xinput2 was given.
3392 if test "${with_xinput2+set}" = set; then :
3393 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3397 # Check whether --with-xml was given.
3398 if test "${with_xml+set}" = set; then :
3403 # Check whether --with-xrandr was given.
3404 if test "${with_xrandr+set}" = set; then :
3405 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3409 # Check whether --with-xrender was given.
3410 if test "${with_xrender+set}" = set; then :
3411 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3415 # Check whether --with-xshape was given.
3416 if test "${with_xshape+set}" = set; then :
3417 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3421 # Check whether --with-xshm was given.
3422 if test "${with_xshm+set}" = set; then :
3423 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3427 # Check whether --with-xslt was given.
3428 if test "${with_xslt+set}" = set; then :
3433 # Check whether --with-xxf86vm was given.
3434 if test "${with_xxf86vm+set}" = set; then :
3435 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
3439 # Check whether --with-zlib was given.
3440 if test "${with_zlib+set}" = set; then :
3441 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3446 # Check whether --with-wine-tools was given.
3447 if test "${with_wine_tools+set}" = set; then :
3448 withval
=$with_wine_tools;
3452 # Check whether --with-wine64 was given.
3453 if test "${with_wine64+set}" = set; then :
3454 withval
=$with_wine64;
3458 # Make sure we can run config.sub.
3459 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3460 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3463 $as_echo_n "checking build system type... " >&6; }
3464 if ${ac_cv_build+:} false
; then :
3465 $as_echo_n "(cached) " >&6
3467 ac_build_alias
=$build_alias
3468 test "x$ac_build_alias" = x
&&
3469 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3470 test "x$ac_build_alias" = x
&&
3471 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3472 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3473 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3477 $as_echo "$ac_cv_build" >&6; }
3478 case $ac_cv_build in
3480 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3483 ac_save_IFS
=$IFS; IFS
='-'
3489 # Remember, the first character of IFS is used to create $*,
3490 # except with old shells:
3493 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3497 $as_echo_n "checking host system type... " >&6; }
3498 if ${ac_cv_host+:} false
; then :
3499 $as_echo_n "(cached) " >&6
3501 if test "x$host_alias" = x
; then
3502 ac_cv_host
=$ac_cv_build
3504 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3505 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3510 $as_echo "$ac_cv_host" >&6; }
3513 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3516 ac_save_IFS
=$IFS; IFS
='-'
3522 # Remember, the first character of IFS is used to create $*,
3523 # except with old shells:
3526 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3532 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3533 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3534 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3540 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3542 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3543 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3544 $as_echo_n "(cached) " >&6
3546 cat >conftest.
make <<\_ACEOF
3549 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3551 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3552 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3554 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3556 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3560 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3562 $as_echo "yes" >&6; }
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3566 $as_echo "no" >&6; }
3567 SET_MAKE
="MAKE=${MAKE-make}"
3571 ac_cpp
='$CPP $CPPFLAGS'
3572 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3573 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3574 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3575 if test -n "$ac_tool_prefix"; then
3576 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3577 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3579 $as_echo_n "checking for $ac_word... " >&6; }
3580 if ${ac_cv_prog_CC+:} false
; then :
3581 $as_echo_n "(cached) " >&6
3583 if test -n "$CC"; then
3584 ac_cv_prog_CC
="$CC" # Let the user override the test.
3586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3590 test -z "$as_dir" && as_dir
=.
3591 for ac_exec_ext
in '' $ac_executable_extensions; do
3592 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3593 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3604 if test -n "$CC"; then
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3606 $as_echo "$CC" >&6; }
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3609 $as_echo "no" >&6; }
3614 if test -z "$ac_cv_prog_CC"; then
3616 # Extract the first word of "gcc", so it can be a program name with args.
3617 set dummy gcc
; ac_word
=$2
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3619 $as_echo_n "checking for $ac_word... " >&6; }
3620 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3621 $as_echo_n "(cached) " >&6
3623 if test -n "$ac_ct_CC"; then
3624 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3630 test -z "$as_dir" && as_dir
=.
3631 for ac_exec_ext
in '' $ac_executable_extensions; do
3632 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3633 ac_cv_prog_ac_ct_CC
="gcc"
3634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3643 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3644 if test -n "$ac_ct_CC"; then
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3646 $as_echo "$ac_ct_CC" >&6; }
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3649 $as_echo "no" >&6; }
3652 if test "x$ac_ct_CC" = x
; then
3655 case $cross_compiling:$ac_tool_warned in
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3658 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3659 ac_tool_warned
=yes ;;
3667 if test -z "$CC"; then
3668 if test -n "$ac_tool_prefix"; then
3669 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3670 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3672 $as_echo_n "checking for $ac_word... " >&6; }
3673 if ${ac_cv_prog_CC+:} false
; then :
3674 $as_echo_n "(cached) " >&6
3676 if test -n "$CC"; then
3677 ac_cv_prog_CC
="$CC" # Let the user override the test.
3679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3683 test -z "$as_dir" && as_dir
=.
3684 for ac_exec_ext
in '' $ac_executable_extensions; do
3685 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3686 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3697 if test -n "$CC"; then
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3699 $as_echo "$CC" >&6; }
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3702 $as_echo "no" >&6; }
3708 if test -z "$CC"; then
3709 # Extract the first word of "cc", so it can be a program name with args.
3710 set dummy cc
; ac_word
=$2
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3712 $as_echo_n "checking for $ac_word... " >&6; }
3713 if ${ac_cv_prog_CC+:} false
; then :
3714 $as_echo_n "(cached) " >&6
3716 if test -n "$CC"; then
3717 ac_cv_prog_CC
="$CC" # Let the user override the test.
3720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3724 test -z "$as_dir" && as_dir
=.
3725 for ac_exec_ext
in '' $ac_executable_extensions; do
3726 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3727 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3728 ac_prog_rejected
=yes
3732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3739 if test $ac_prog_rejected = yes; then
3740 # We found a bogon in the path, so make sure we never use it.
3741 set dummy
$ac_cv_prog_CC
3743 if test $# != 0; then
3744 # We chose a different compiler from the bogus one.
3745 # However, it has the same basename, so the bogon will be chosen
3746 # first if we set CC to just the basename; use the full file name.
3748 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3754 if test -n "$CC"; then
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3756 $as_echo "$CC" >&6; }
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3759 $as_echo "no" >&6; }
3764 if test -z "$CC"; then
3765 if test -n "$ac_tool_prefix"; then
3766 for ac_prog
in cl.exe
3768 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3769 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3771 $as_echo_n "checking for $ac_word... " >&6; }
3772 if ${ac_cv_prog_CC+:} false
; then :
3773 $as_echo_n "(cached) " >&6
3775 if test -n "$CC"; then
3776 ac_cv_prog_CC
="$CC" # Let the user override the test.
3778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3782 test -z "$as_dir" && as_dir
=.
3783 for ac_exec_ext
in '' $ac_executable_extensions; do
3784 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3785 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3796 if test -n "$CC"; then
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3798 $as_echo "$CC" >&6; }
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3801 $as_echo "no" >&6; }
3805 test -n "$CC" && break
3808 if test -z "$CC"; then
3810 for ac_prog
in cl.exe
3812 # Extract the first word of "$ac_prog", so it can be a program name with args.
3813 set dummy
$ac_prog; ac_word
=$2
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3815 $as_echo_n "checking for $ac_word... " >&6; }
3816 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3817 $as_echo_n "(cached) " >&6
3819 if test -n "$ac_ct_CC"; then
3820 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3826 test -z "$as_dir" && as_dir
=.
3827 for ac_exec_ext
in '' $ac_executable_extensions; do
3828 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3829 ac_cv_prog_ac_ct_CC
="$ac_prog"
3830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3839 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3840 if test -n "$ac_ct_CC"; then
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3842 $as_echo "$ac_ct_CC" >&6; }
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3845 $as_echo "no" >&6; }
3849 test -n "$ac_ct_CC" && break
3852 if test "x$ac_ct_CC" = x
; then
3855 case $cross_compiling:$ac_tool_warned in
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3858 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3859 ac_tool_warned
=yes ;;
3868 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3869 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3870 as_fn_error $?
"no acceptable C compiler found in \$PATH
3871 See \`config.log' for more details" "$LINENO" 5; }
3873 # Provide some information about the compiler.
3874 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3877 for ac_option
in --version -v -V -qversion; do
3878 { { ac_try
="$ac_compiler $ac_option >&5"
3880 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3881 *) ac_try_echo=$ac_try;;
3883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3884 $as_echo "$ac_try_echo"; } >&5
3885 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3887 if test -s conftest.err; then
3889 ... rest of stderr output deleted ...
3890 10q' conftest.err >conftest.er1
3891 cat conftest.er1 >&5
3893 rm -f conftest.er1 conftest.err
3894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3895 test $ac_status = 0; }
3898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3899 /* end confdefs.h. */
3909 ac_clean_files_save=$ac_clean_files
3910 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3911 # Try to create an executable without -o first, disregard a.out.
3912 # It will help us diagnose broken compilers, and finding out an intuition
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3915 $as_echo_n "checking whether the C compiler works... " >&6; }
3916 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3918 # The possible output files:
3919 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3922 for ac_file in $ac_files
3925 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3926 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3931 if { { ac_try="$ac_link_default"
3933 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3934 *) ac_try_echo
=$ac_try;;
3936 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3937 $as_echo "$ac_try_echo"; } >&5
3938 (eval "$ac_link_default") 2>&5
3940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3941 test $ac_status = 0; }; then :
3942 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3943 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3944 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3945 # so that the user can short-circuit this test for compilers unknown to
3947 for ac_file
in $ac_files ''
3949 test -f "$ac_file" ||
continue
3951 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3954 # We found the default executable, but exeext='' is most
3958 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3960 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3962 # We set ac_cv_exeext here because the later test for it is not
3963 # safe: cross compilers may not add the suffix if given an `-o'
3964 # argument, so we may need to know it at that point already.
3965 # Even if this section looks crufty: it has the advantage of
3972 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3977 if test -z "$ac_file"; then :
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3979 $as_echo "no" >&6; }
3980 $as_echo "$as_me: failed program was:" >&5
3981 sed 's/^/| /' conftest.
$ac_ext >&5
3983 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3984 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3985 as_fn_error
77 "C compiler cannot create executables
3986 See \`config.log' for more details" "$LINENO" 5; }
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3989 $as_echo "yes" >&6; }
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3992 $as_echo_n "checking for C compiler default output file name... " >&6; }
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3994 $as_echo "$ac_file" >&6; }
3995 ac_exeext
=$ac_cv_exeext
3997 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3998 ac_clean_files
=$ac_clean_files_save
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4000 $as_echo_n "checking for suffix of executables... " >&6; }
4001 if { { ac_try
="$ac_link"
4003 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4004 *) ac_try_echo=$ac_try;;
4006 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4007 $as_echo "$ac_try_echo"; } >&5
4008 (eval "$ac_link") 2>&5
4010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4011 test $ac_status = 0; }; then :
4012 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4013 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4014 # work properly (i.e., refer to `conftest.exe'), while it won't with
4016 for ac_file
in conftest.exe conftest conftest.
*; do
4017 test -f "$ac_file" ||
continue
4019 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4020 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4026 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4027 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4028 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4029 See \`config.log' for more details" "$LINENO" 5; }
4031 rm -f conftest conftest
$ac_cv_exeext
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4033 $as_echo "$ac_cv_exeext" >&6; }
4035 rm -f conftest.
$ac_ext
4036 EXEEXT
=$ac_cv_exeext
4038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4039 /* end confdefs.h. */
4044 FILE *f = fopen ("conftest.out", "w");
4045 return ferror (f) || fclose (f) != 0;
4051 ac_clean_files
="$ac_clean_files conftest.out"
4052 # Check that the compiler produces executables we can run. If not, either
4053 # the compiler is broken, or we cross compile.
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4055 $as_echo_n "checking whether we are cross compiling... " >&6; }
4056 if test "$cross_compiling" != yes; then
4057 { { ac_try
="$ac_link"
4059 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4060 *) ac_try_echo=$ac_try;;
4062 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4063 $as_echo "$ac_try_echo"; } >&5
4064 (eval "$ac_link") 2>&5
4066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4067 test $ac_status = 0; }
4068 if { ac_try='./conftest$ac_cv_exeext'
4069 { { case "(($ac_try" in
4070 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4071 *) ac_try_echo
=$ac_try;;
4073 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4074 $as_echo "$ac_try_echo"; } >&5
4075 (eval "$ac_try") 2>&5
4077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4078 test $ac_status = 0; }; }; then
4081 if test "$cross_compiling" = maybe
; then
4084 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4086 as_fn_error $?
"cannot run C compiled programs.
4087 If you meant to cross compile, use \`--host'.
4088 See \`config.log' for more details" "$LINENO" 5; }
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4093 $as_echo "$cross_compiling" >&6; }
4095 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4096 ac_clean_files
=$ac_clean_files_save
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4098 $as_echo_n "checking for suffix of object files... " >&6; }
4099 if ${ac_cv_objext+:} false
; then :
4100 $as_echo_n "(cached) " >&6
4102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4103 /* end confdefs.h. */
4113 rm -f conftest.o conftest.obj
4114 if { { ac_try
="$ac_compile"
4116 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4117 *) ac_try_echo=$ac_try;;
4119 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4120 $as_echo "$ac_try_echo"; } >&5
4121 (eval "$ac_compile") 2>&5
4123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4124 test $ac_status = 0; }; then :
4125 for ac_file in conftest.o conftest.obj conftest.*; do
4126 test -f "$ac_file" || continue;
4128 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4129 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4134 $as_echo "$as_me: failed program was:" >&5
4135 sed 's/^/| /' conftest.$ac_ext >&5
4137 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4139 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4140 See \
`config.log' for more details" "$LINENO" 5; }
4142 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4145 $as_echo "$ac_cv_objext" >&6; }
4146 OBJEXT=$ac_cv_objext
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4149 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4150 if ${ac_cv_c_compiler_gnu+:} false; then :
4151 $as_echo_n "(cached) " >&6
4153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4154 /* end confdefs.h. */
4167 if ac_fn_c_try_compile "$LINENO"; then :
4172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4173 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4177 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4178 if test $ac_compiler_gnu = yes; then
4183 ac_test_CFLAGS=${CFLAGS+set}
4184 ac_save_CFLAGS=$CFLAGS
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4186 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4187 if ${ac_cv_prog_cc_g+:} false; then :
4188 $as_echo_n "(cached) " >&6
4190 ac_save_c_werror_flag=$ac_c_werror_flag
4191 ac_c_werror_flag=yes
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4205 if ac_fn_c_try_compile "$LINENO"; then :
4209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4210 /* end confdefs.h. */
4220 if ac_fn_c_try_compile "$LINENO"; then :
4223 ac_c_werror_flag=$ac_save_c_werror_flag
4225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4226 /* end confdefs.h. */
4236 if ac_fn_c_try_compile "$LINENO"; then :
4239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4244 ac_c_werror_flag=$ac_save_c_werror_flag
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4247 $as_echo "$ac_cv_prog_cc_g" >&6; }
4248 if test "$ac_test_CFLAGS" = set; then
4249 CFLAGS=$ac_save_CFLAGS
4250 elif test $ac_cv_prog_cc_g = yes; then
4251 if test "$GCC" = yes; then
4257 if test "$GCC" = yes; then
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4264 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4265 if ${ac_cv_prog_cc_c89+:} false; then :
4266 $as_echo_n "(cached) " >&6
4268 ac_cv_prog_cc_c89=no
4270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4271 /* end confdefs.h. */
4275 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4276 struct buf { int x; };
4277 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4278 static char *e (p, i)
4284 static char *f (char * (*g) (char **, int), char **p, ...)
4289 s = g (p, va_arg (v,int));
4294 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4295 function prototypes and stuff, but not '\xHH' hex character constants.
4296 These don't provoke an error unfortunately, instead are silently treated
4297 as 'x'. The following induces an error, until -std is added to get
4298 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4299 array size at least. It's necessary to write '\x00'==0 to get something
4300 that's true only with -std. */
4301 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4303 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4304 inside strings and character constants. */
4306 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4308 int test (int i, double x);
4309 struct s1 {int (*f) (int a);};
4310 struct s2 {int (*f) (double a);};
4311 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4317 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4322 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4323 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4325 CC="$ac_save_CC $ac_arg"
4326 if ac_fn_c_try_compile "$LINENO"; then :
4327 ac_cv_prog_cc_c89=$ac_arg
4329 rm -f core conftest.err conftest.$ac_objext
4330 test "x$ac_cv_prog_cc_c89" != "xno" && break
4332 rm -f conftest.$ac_ext
4337 case "x$ac_cv_prog_cc_c89" in
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4340 $as_echo "none needed" >&6; } ;;
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4343 $as_echo "unsupported" >&6; } ;;
4345 CC="$CC $ac_cv_prog_cc_c89"
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4347 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4349 if test "x$ac_cv_prog_cc_c89" != xno; then :
4354 ac_cpp='$CPP $CPPFLAGS'
4355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4360 ac_cpp='$CXXCPP $CPPFLAGS'
4361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4364 if test -z "$CXX"; then
4365 if test -n "$CCC"; then
4368 if test -n "$ac_tool_prefix"; then
4369 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4371 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4372 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4374 $as_echo_n "checking for $ac_word... " >&6; }
4375 if ${ac_cv_prog_CXX+:} false; then :
4376 $as_echo_n "(cached) " >&6
4378 if test -n "$CXX"; then
4379 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4385 test -z "$as_dir" && as_dir=.
4386 for ac_exec_ext in '' $ac_executable_extensions; do
4387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4388 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4399 if test -n "$CXX"; then
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4401 $as_echo "$CXX" >&6; }
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4404 $as_echo "no" >&6; }
4408 test -n "$CXX" && break
4411 if test -z "$CXX"; then
4413 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4415 # Extract the first word of "$ac_prog", so it can be a program name with args.
4416 set dummy $ac_prog; ac_word=$2
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4418 $as_echo_n "checking for $ac_word... " >&6; }
4419 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4420 $as_echo_n "(cached) " >&6
4422 if test -n "$ac_ct_CXX"; then
4423 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4429 test -z "$as_dir" && as_dir=.
4430 for ac_exec_ext in '' $ac_executable_extensions; do
4431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4432 ac_cv_prog_ac_ct_CXX="$ac_prog"
4433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4442 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4443 if test -n "$ac_ct_CXX"; then
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4445 $as_echo "$ac_ct_CXX" >&6; }
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4448 $as_echo "no" >&6; }
4452 test -n "$ac_ct_CXX" && break
4455 if test "x$ac_ct_CXX" = x; then
4458 case $cross_compiling:$ac_tool_warned in
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4462 ac_tool_warned=yes ;;
4470 # Provide some information about the compiler.
4471 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4474 for ac_option in --version -v -V -qversion; do
4475 { { ac_try="$ac_compiler $ac_option >&5"
4477 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4478 *) ac_try_echo
=$ac_try;;
4480 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4481 $as_echo "$ac_try_echo"; } >&5
4482 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4484 if test -s conftest.err
; then
4486 ... rest of stderr output deleted ...
4487 10q' conftest.err
>conftest.er1
4488 cat conftest.er1
>&5
4490 rm -f conftest.er1 conftest.err
4491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4492 test $ac_status = 0; }
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4496 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4497 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4498 $as_echo_n "(cached) " >&6
4500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4501 /* end confdefs.h. */
4514 if ac_fn_cxx_try_compile
"$LINENO"; then :
4519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4520 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4524 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4525 if test $ac_compiler_gnu = yes; then
4530 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4531 ac_save_CXXFLAGS
=$CXXFLAGS
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4533 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4534 if ${ac_cv_prog_cxx_g+:} false
; then :
4535 $as_echo_n "(cached) " >&6
4537 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4538 ac_cxx_werror_flag
=yes
4541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4542 /* end confdefs.h. */
4552 if ac_fn_cxx_try_compile
"$LINENO"; then :
4553 ac_cv_prog_cxx_g
=yes
4556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4557 /* end confdefs.h. */
4567 if ac_fn_cxx_try_compile
"$LINENO"; then :
4570 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4573 /* end confdefs.h. */
4583 if ac_fn_cxx_try_compile
"$LINENO"; then :
4584 ac_cv_prog_cxx_g
=yes
4586 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4591 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4594 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4595 if test "$ac_test_CXXFLAGS" = set; then
4596 CXXFLAGS
=$ac_save_CXXFLAGS
4597 elif test $ac_cv_prog_cxx_g = yes; then
4598 if test "$GXX" = yes; then
4604 if test "$GXX" = yes; then
4611 ac_cpp
='$CPP $CPPFLAGS'
4612 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4613 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4614 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4616 if test -n "$ac_tool_prefix"; then
4617 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4618 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4620 $as_echo_n "checking for $ac_word... " >&6; }
4621 if ${ac_cv_prog_CPPBIN+:} false
; then :
4622 $as_echo_n "(cached) " >&6
4624 if test -n "$CPPBIN"; then
4625 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4631 test -z "$as_dir" && as_dir
=.
4632 for ac_exec_ext
in '' $ac_executable_extensions; do
4633 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4634 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4644 CPPBIN
=$ac_cv_prog_CPPBIN
4645 if test -n "$CPPBIN"; then
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4647 $as_echo "$CPPBIN" >&6; }
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4650 $as_echo "no" >&6; }
4655 if test -z "$ac_cv_prog_CPPBIN"; then
4656 ac_ct_CPPBIN
=$CPPBIN
4657 # Extract the first word of "cpp", so it can be a program name with args.
4658 set dummy cpp
; ac_word
=$2
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4660 $as_echo_n "checking for $ac_word... " >&6; }
4661 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4662 $as_echo_n "(cached) " >&6
4664 if test -n "$ac_ct_CPPBIN"; then
4665 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4671 test -z "$as_dir" && as_dir
=.
4672 for ac_exec_ext
in '' $ac_executable_extensions; do
4673 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4674 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4684 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4685 if test -n "$ac_ct_CPPBIN"; then
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4687 $as_echo "$ac_ct_CPPBIN" >&6; }
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4690 $as_echo "no" >&6; }
4693 if test "x$ac_ct_CPPBIN" = x
; then
4696 case $cross_compiling:$ac_tool_warned in
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4700 ac_tool_warned
=yes ;;
4702 CPPBIN
=$ac_ct_CPPBIN
4705 CPPBIN
="$ac_cv_prog_CPPBIN"
4709 cat >>confdefs.h
<<_ACEOF
4710 #define EXEEXT "$ac_exeext"
4716 if test "x$enable_win64" = "xyes"
4721 notice_platform
="64-bit "
4728 notice_platform
="32-bit "
4731 enable_win16
=${enable_win16:-yes}
4733 with_fontconfig
=${with_fontconfig:-no}
4736 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4741 $as_echo_n "checking whether $CC works... " >&6; }
4743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4744 /* end confdefs.h. */
4754 if ac_fn_c_try_link
"$LINENO"; then :
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4756 $as_echo "yes" >&6; }
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4759 $as_echo "no" >&6; }
4760 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4762 rm -f core conftest.err conftest.
$ac_objext \
4763 conftest
$ac_exeext conftest.
$ac_ext
4765 notice_platform
="32-bit "
4768 enable_win16
=${enable_win16:-yes}
4770 if test "x${GCC}" = "xyes"
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4773 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4775 /* end confdefs.h. */
4780 void func(__builtin_ms_va_list *args);
4785 if ac_fn_c_try_compile
"$LINENO"; then :
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4787 $as_echo "yes" >&6; }
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4790 $as_echo "no" >&6; }
4791 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4801 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4803 /* end confdefs.h. */
4804 int ac_test(int i) { return i; }
4808 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4813 if ac_fn_c_try_link
"$LINENO"; then :
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4815 $as_echo "yes" >&6; }
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4818 $as_echo "no" >&6; }
4819 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4821 rm -f core conftest.err conftest.
$ac_objext \
4822 conftest
$ac_exeext conftest.
$ac_ext
4823 CFLAGS
="$CFLAGS -marm"
4827 *-mingw32*|
*-cygwin*)
4828 enable_win16
=${enable_win16:-no}
4829 CFLAGS
="$CFLAGS -D_WIN32"
4832 enable_win16
=${enable_win16:-yes}
4836 enable_win16
=${enable_win16:-no}
4837 enable_win64
=${enable_win64:-no}
4839 enable_winetest
=${enable_winetest:-$enable_tests}
4841 if test -n "$with_wine64"
4843 if test "x$enable_win64" = "xyes"
4845 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4846 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4848 enable_fonts
=${enable_fonts:-no}
4849 enable_server
=${enable_server:-no}
4850 elif test "x$enable_win64" = "xyes"
4852 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4856 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4857 if ${wine_cv_toolsdir+:} false
; then :
4858 $as_echo_n "(cached) " >&6
4860 wine_cv_toolsdir
="$with_wine_tools"
4861 if test -z "$with_wine_tools"; then
4862 if test "$cross_compiling" = "yes"; then
4863 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4864 elif test -n "$with_wine64"; then
4865 wine_cv_toolsdir
="$with_wine64"
4868 if test -z "$wine_cv_toolsdir"; then
4869 wine_makedep
=tools
/makedep
4870 wine_cv_toolsdir
="\$(top_builddir)"
4871 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4872 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4873 case "$wine_cv_toolsdir" in
4875 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4877 enable_tools
=${enable_tools:-no}
4878 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
4880 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4884 $as_echo "$wine_cv_toolsdir" >&6; }
4885 TOOLSDIR
=$wine_cv_toolsdir
4887 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4889 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4895 # Extract the first word of "$ac_prog", so it can be a program name with args.
4896 set dummy
$ac_prog; ac_word
=$2
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4898 $as_echo_n "checking for $ac_word... " >&6; }
4899 if ${ac_cv_prog_FLEX+:} false
; then :
4900 $as_echo_n "(cached) " >&6
4902 if test -n "$FLEX"; then
4903 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4909 test -z "$as_dir" && as_dir
=.
4910 for ac_exec_ext
in '' $ac_executable_extensions; do
4911 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4912 ac_cv_prog_FLEX
="$ac_prog"
4913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4922 FLEX
=$ac_cv_prog_FLEX
4923 if test -n "$FLEX"; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4925 $as_echo "$FLEX" >&6; }
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 $as_echo "no" >&6; }
4932 test -n "$FLEX" && break
4934 test -n "$FLEX" || FLEX
="none"
4936 if test "$FLEX" = "none"
4938 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4941 $as_echo_n "checking whether flex is recent enough... " >&6; }
4942 cat >conftest.l
<<EOF
4944 #include "prediluvian.h"
4948 if $FLEX -t conftest.l
>/dev
/null
2>&5
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4951 $as_echo "yes" >&6; }
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 $as_echo "no" >&6; }
4955 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4958 for ac_prog
in bison
4960 # Extract the first word of "$ac_prog", so it can be a program name with args.
4961 set dummy
$ac_prog; ac_word
=$2
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4963 $as_echo_n "checking for $ac_word... " >&6; }
4964 if ${ac_cv_prog_BISON+:} false
; then :
4965 $as_echo_n "(cached) " >&6
4967 if test -n "$BISON"; then
4968 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4974 test -z "$as_dir" && as_dir
=.
4975 for ac_exec_ext
in '' $ac_executable_extensions; do
4976 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4977 ac_cv_prog_BISON
="$ac_prog"
4978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4987 BISON
=$ac_cv_prog_BISON
4988 if test -n "$BISON"; then
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4990 $as_echo "$BISON" >&6; }
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4993 $as_echo "no" >&6; }
4997 test -n "$BISON" && break
4999 test -n "$BISON" || BISON
="none"
5001 if test "$BISON" = "none"
5003 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5006 if test -n "$ac_tool_prefix"; then
5007 for ac_prog
in ar gar
5009 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5010 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5012 $as_echo_n "checking for $ac_word... " >&6; }
5013 if ${ac_cv_prog_AR+:} false
; then :
5014 $as_echo_n "(cached) " >&6
5016 if test -n "$AR"; then
5017 ac_cv_prog_AR
="$AR" # Let the user override the test.
5019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5023 test -z "$as_dir" && as_dir
=.
5024 for ac_exec_ext
in '' $ac_executable_extensions; do
5025 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5026 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5037 if test -n "$AR"; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5039 $as_echo "$AR" >&6; }
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 $as_echo "no" >&6; }
5046 test -n "$AR" && break
5049 if test -z "$AR"; then
5051 for ac_prog
in ar gar
5053 # Extract the first word of "$ac_prog", so it can be a program name with args.
5054 set dummy
$ac_prog; ac_word
=$2
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5056 $as_echo_n "checking for $ac_word... " >&6; }
5057 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5058 $as_echo_n "(cached) " >&6
5060 if test -n "$ac_ct_AR"; then
5061 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5067 test -z "$as_dir" && as_dir
=.
5068 for ac_exec_ext
in '' $ac_executable_extensions; do
5069 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5070 ac_cv_prog_ac_ct_AR
="$ac_prog"
5071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5080 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5081 if test -n "$ac_ct_AR"; then
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5083 $as_echo "$ac_ct_AR" >&6; }
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5086 $as_echo "no" >&6; }
5090 test -n "$ac_ct_AR" && break
5093 if test "x$ac_ct_AR" = x
; then
5096 case $cross_compiling:$ac_tool_warned in
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5099 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5100 ac_tool_warned
=yes ;;
5106 if test -n "$ac_tool_prefix"; then
5107 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5108 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5110 $as_echo_n "checking for $ac_word... " >&6; }
5111 if ${ac_cv_prog_STRIP+:} false
; then :
5112 $as_echo_n "(cached) " >&6
5114 if test -n "$STRIP"; then
5115 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5121 test -z "$as_dir" && as_dir
=.
5122 for ac_exec_ext
in '' $ac_executable_extensions; do
5123 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5124 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5134 STRIP
=$ac_cv_prog_STRIP
5135 if test -n "$STRIP"; then
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5137 $as_echo "$STRIP" >&6; }
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5140 $as_echo "no" >&6; }
5145 if test -z "$ac_cv_prog_STRIP"; then
5147 # Extract the first word of "strip", so it can be a program name with args.
5148 set dummy strip
; ac_word
=$2
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5150 $as_echo_n "checking for $ac_word... " >&6; }
5151 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5152 $as_echo_n "(cached) " >&6
5154 if test -n "$ac_ct_STRIP"; then
5155 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5161 test -z "$as_dir" && as_dir
=.
5162 for ac_exec_ext
in '' $ac_executable_extensions; do
5163 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5164 ac_cv_prog_ac_ct_STRIP
="strip"
5165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5174 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5175 if test -n "$ac_ct_STRIP"; then
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5177 $as_echo "$ac_ct_STRIP" >&6; }
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5180 $as_echo "no" >&6; }
5183 if test "x$ac_ct_STRIP" = x
; then
5186 case $cross_compiling:$ac_tool_warned in
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5190 ac_tool_warned
=yes ;;
5195 STRIP
="$ac_cv_prog_STRIP"
5200 if test -n "$ac_tool_prefix"; then
5201 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5202 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5204 $as_echo_n "checking for $ac_word... " >&6; }
5205 if ${ac_cv_prog_RANLIB+:} false
; then :
5206 $as_echo_n "(cached) " >&6
5208 if test -n "$RANLIB"; then
5209 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5215 test -z "$as_dir" && as_dir
=.
5216 for ac_exec_ext
in '' $ac_executable_extensions; do
5217 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5218 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5228 RANLIB
=$ac_cv_prog_RANLIB
5229 if test -n "$RANLIB"; then
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5231 $as_echo "$RANLIB" >&6; }
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5234 $as_echo "no" >&6; }
5239 if test -z "$ac_cv_prog_RANLIB"; then
5240 ac_ct_RANLIB
=$RANLIB
5241 # Extract the first word of "ranlib", so it can be a program name with args.
5242 set dummy ranlib
; ac_word
=$2
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5244 $as_echo_n "checking for $ac_word... " >&6; }
5245 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5246 $as_echo_n "(cached) " >&6
5248 if test -n "$ac_ct_RANLIB"; then
5249 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5255 test -z "$as_dir" && as_dir
=.
5256 for ac_exec_ext
in '' $ac_executable_extensions; do
5257 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5258 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5268 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5269 if test -n "$ac_ct_RANLIB"; then
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5271 $as_echo "$ac_ct_RANLIB" >&6; }
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274 $as_echo "no" >&6; }
5277 if test "x$ac_ct_RANLIB" = x
; then
5280 case $cross_compiling:$ac_tool_warned in
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5284 ac_tool_warned
=yes ;;
5286 RANLIB
=$ac_ct_RANLIB
5289 RANLIB
="$ac_cv_prog_RANLIB"
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5293 $as_echo_n "checking whether ln -s works... " >&6; }
5295 if test "$LN_S" = "ln -s"; then
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5297 $as_echo "yes" >&6; }
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5300 $as_echo "no, using $LN_S" >&6; }
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5304 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5305 if ${ac_cv_path_GREP+:} false
; then :
5306 $as_echo_n "(cached) " >&6
5308 if test -z "$GREP"; then
5309 ac_path_GREP_found
=false
5310 # Loop through the user's path and test for each of PROGNAME-LIST
5311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5312 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5315 test -z "$as_dir" && as_dir
=.
5316 for ac_prog
in grep ggrep
; do
5317 for ac_exec_ext
in '' $ac_executable_extensions; do
5318 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5319 as_fn_executable_p
"$ac_path_GREP" ||
continue
5320 # Check for GNU ac_path_GREP and select it if it is found.
5321 # Check for GNU $ac_path_GREP
5322 case `"$ac_path_GREP" --version 2>&1` in
5324 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5327 $as_echo_n 0123456789 >"conftest.in"
5330 cat "conftest.in" "conftest.in" >"conftest.tmp"
5331 mv "conftest.tmp" "conftest.in"
5332 cp "conftest.in" "conftest.nl"
5333 $as_echo 'GREP' >> "conftest.nl"
5334 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5335 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5336 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5337 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5338 # Best one so far, save it but keep looking for a better one
5339 ac_cv_path_GREP
="$ac_path_GREP"
5340 ac_path_GREP_max
=$ac_count
5342 # 10*(2^10) chars as input seems more than enough
5343 test $ac_count -gt 10 && break
5345 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5348 $ac_path_GREP_found && break 3
5353 if test -z "$ac_cv_path_GREP"; then
5354 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5357 ac_cv_path_GREP
=$GREP
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5362 $as_echo "$ac_cv_path_GREP" >&6; }
5363 GREP
="$ac_cv_path_GREP"
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5367 $as_echo_n "checking for egrep... " >&6; }
5368 if ${ac_cv_path_EGREP+:} false
; then :
5369 $as_echo_n "(cached) " >&6
5371 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5372 then ac_cv_path_EGREP
="$GREP -E"
5374 if test -z "$EGREP"; then
5375 ac_path_EGREP_found
=false
5376 # Loop through the user's path and test for each of PROGNAME-LIST
5377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5378 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5381 test -z "$as_dir" && as_dir
=.
5382 for ac_prog
in egrep; do
5383 for ac_exec_ext
in '' $ac_executable_extensions; do
5384 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5385 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5386 # Check for GNU ac_path_EGREP and select it if it is found.
5387 # Check for GNU $ac_path_EGREP
5388 case `"$ac_path_EGREP" --version 2>&1` in
5390 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5393 $as_echo_n 0123456789 >"conftest.in"
5396 cat "conftest.in" "conftest.in" >"conftest.tmp"
5397 mv "conftest.tmp" "conftest.in"
5398 cp "conftest.in" "conftest.nl"
5399 $as_echo 'EGREP' >> "conftest.nl"
5400 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5401 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5402 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5403 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5404 # Best one so far, save it but keep looking for a better one
5405 ac_cv_path_EGREP
="$ac_path_EGREP"
5406 ac_path_EGREP_max
=$ac_count
5408 # 10*(2^10) chars as input seems more than enough
5409 test $ac_count -gt 10 && break
5411 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5414 $ac_path_EGREP_found && break 3
5419 if test -z "$ac_cv_path_EGREP"; then
5420 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5423 ac_cv_path_EGREP
=$EGREP
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5429 $as_echo "$ac_cv_path_EGREP" >&6; }
5430 EGREP
="$ac_cv_path_EGREP"
5433 # Extract the first word of "ldconfig", so it can be a program name with args.
5434 set dummy ldconfig
; ac_word
=$2
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5436 $as_echo_n "checking for $ac_word... " >&6; }
5437 if ${ac_cv_path_LDCONFIG+:} false
; then :
5438 $as_echo_n "(cached) " >&6
5442 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5446 for as_dir
in /sbin
/usr
/sbin
$PATH
5449 test -z "$as_dir" && as_dir
=.
5450 for ac_exec_ext
in '' $ac_executable_extensions; do
5451 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5452 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5460 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5464 LDCONFIG
=$ac_cv_path_LDCONFIG
5465 if test -n "$LDCONFIG"; then
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5467 $as_echo "$LDCONFIG" >&6; }
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5470 $as_echo "no" >&6; }
5474 for ac_prog
in msgfmt
5476 # Extract the first word of "$ac_prog", so it can be a program name with args.
5477 set dummy
$ac_prog; ac_word
=$2
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5479 $as_echo_n "checking for $ac_word... " >&6; }
5480 if ${ac_cv_prog_MSGFMT+:} false
; then :
5481 $as_echo_n "(cached) " >&6
5483 if test -n "$MSGFMT"; then
5484 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5490 test -z "$as_dir" && as_dir
=.
5491 for ac_exec_ext
in '' $ac_executable_extensions; do
5492 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5493 ac_cv_prog_MSGFMT
="$ac_prog"
5494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5503 MSGFMT
=$ac_cv_prog_MSGFMT
5504 if test -n "$MSGFMT"; then
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5506 $as_echo "$MSGFMT" >&6; }
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5509 $as_echo "no" >&6; }
5513 test -n "$MSGFMT" && break
5515 test -n "$MSGFMT" || MSGFMT
="false"
5517 if ${ac_tool_prefix+:} false
; then :
5518 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5519 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5521 $as_echo_n "checking for $ac_word... " >&6; }
5522 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5523 $as_echo_n "(cached) " >&6
5525 if test -n "$PKG_CONFIG"; then
5526 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5532 test -z "$as_dir" && as_dir
=.
5533 for ac_exec_ext
in '' $ac_executable_extensions; do
5534 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5535 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5545 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5546 if test -n "$PKG_CONFIG"; then
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5548 $as_echo "$PKG_CONFIG" >&6; }
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5551 $as_echo "no" >&6; }
5556 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5557 if test "x$cross_compiling" = xyes
; then :
5560 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5561 # Extract the first word of "pkg-config", so it can be a program name with args.
5562 set dummy pkg-config
; ac_word
=$2
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5564 $as_echo_n "checking for $ac_word... " >&6; }
5565 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5566 $as_echo_n "(cached) " >&6
5568 if test -n "$PKG_CONFIG"; then
5569 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5575 test -z "$as_dir" && as_dir
=.
5576 for ac_exec_ext
in '' $ac_executable_extensions; do
5577 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5578 ac_cv_prog_PKG_CONFIG
="pkg-config"
5579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5588 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5589 if test -n "$PKG_CONFIG"; then
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5591 $as_echo "$PKG_CONFIG" >&6; }
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5594 $as_echo "no" >&6; }
5600 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5603 if test "x$enable_maintainer_mode" != "xyes"
5610 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5611 for ac_prog
in fontforge
5613 # Extract the first word of "$ac_prog", so it can be a program name with args.
5614 set dummy
$ac_prog; ac_word
=$2
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5616 $as_echo_n "checking for $ac_word... " >&6; }
5617 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5618 $as_echo_n "(cached) " >&6
5620 if test -n "$FONTFORGE"; then
5621 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5627 test -z "$as_dir" && as_dir
=.
5628 for ac_exec_ext
in '' $ac_executable_extensions; do
5629 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5630 ac_cv_prog_FONTFORGE
="$ac_prog"
5631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5640 FONTFORGE
=$ac_cv_prog_FONTFORGE
5641 if test -n "$FONTFORGE"; then
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5643 $as_echo "$FONTFORGE" >&6; }
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5646 $as_echo "no" >&6; }
5650 test -n "$FONTFORGE" && break
5652 test -n "$FONTFORGE" || FONTFORGE
="false"
5656 # Extract the first word of "$ac_prog", so it can be a program name with args.
5657 set dummy
$ac_prog; ac_word
=$2
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5659 $as_echo_n "checking for $ac_word... " >&6; }
5660 if ${ac_cv_prog_RSVG+:} false
; then :
5661 $as_echo_n "(cached) " >&6
5663 if test -n "$RSVG"; then
5664 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5670 test -z "$as_dir" && as_dir
=.
5671 for ac_exec_ext
in '' $ac_executable_extensions; do
5672 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5673 ac_cv_prog_RSVG
="$ac_prog"
5674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5683 RSVG
=$ac_cv_prog_RSVG
5684 if test -n "$RSVG"; then
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5686 $as_echo "$RSVG" >&6; }
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5689 $as_echo "no" >&6; }
5693 test -n "$RSVG" && break
5695 test -n "$RSVG" || RSVG
="false"
5697 for ac_prog
in convert
5699 # Extract the first word of "$ac_prog", so it can be a program name with args.
5700 set dummy
$ac_prog; ac_word
=$2
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5702 $as_echo_n "checking for $ac_word... " >&6; }
5703 if ${ac_cv_prog_CONVERT+:} false
; then :
5704 $as_echo_n "(cached) " >&6
5706 if test -n "$CONVERT"; then
5707 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5713 test -z "$as_dir" && as_dir
=.
5714 for ac_exec_ext
in '' $ac_executable_extensions; do
5715 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5716 ac_cv_prog_CONVERT
="$ac_prog"
5717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5726 CONVERT
=$ac_cv_prog_CONVERT
5727 if test -n "$CONVERT"; then
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5729 $as_echo "$CONVERT" >&6; }
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5732 $as_echo "no" >&6; }
5736 test -n "$CONVERT" && break
5738 test -n "$CONVERT" || CONVERT
="false"
5740 for ac_prog
in icotool
5742 # Extract the first word of "$ac_prog", so it can be a program name with args.
5743 set dummy
$ac_prog; ac_word
=$2
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5745 $as_echo_n "checking for $ac_word... " >&6; }
5746 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5747 $as_echo_n "(cached) " >&6
5749 if test -n "$ICOTOOL"; then
5750 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5756 test -z "$as_dir" && as_dir
=.
5757 for ac_exec_ext
in '' $ac_executable_extensions; do
5758 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5759 ac_cv_prog_ICOTOOL
="$ac_prog"
5760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5769 ICOTOOL
=$ac_cv_prog_ICOTOOL
5770 if test -n "$ICOTOOL"; then
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5772 $as_echo "$ICOTOOL" >&6; }
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5775 $as_echo "no" >&6; }
5779 test -n "$ICOTOOL" && break
5781 test -n "$ICOTOOL" || ICOTOOL
="false"
5783 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5784 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5786 if test "$CONVERT" = false
5788 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5791 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5792 convert_version
=`convert --version | head -n1`
5793 if test "x$convert_version" != "x"
5795 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5796 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5797 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5802 if test "$CONVERT" = false
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5805 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5806 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5809 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5813 if test "$ICOTOOL" = false
5815 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5818 $as_echo_n "checking for recent enough icotool... " >&6; }
5819 icotool_version
=`icotool --version | head -n1`
5820 if test "x$icotool_version" != "x"
5822 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5823 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5824 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5827 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5830 if test "$ICOTOOL" = false
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5833 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5834 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5837 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5843 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5846 test "x$with_gettext" != xno || MSGFMT
=false
5847 if test "$MSGFMT" != "false"
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5850 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5851 cat >conftest.po
<<EOF
5857 if $MSGFMT -o /dev
/null conftest.po
2>&5
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5860 $as_echo "yes" >&6; }
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5863 $as_echo "no" >&6; }
5867 if test "$MSGFMT" = false
; then :
5868 case "x$with_gettext" in
5869 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5871 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5872 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5878 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5879 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5880 $as_echo_n "(cached) " >&6
5882 ac_check_lib_save_LIBS
=$LIBS
5884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5885 /* end confdefs.h. */
5887 /* Override any GCC internal prototype to avoid an error.
5888 Use char because int might match the return type of a GCC
5889 builtin and then its argument prototype would still apply. */
5893 char i386_set_ldt ();
5897 return i386_set_ldt ();
5902 if ac_fn_c_try_link
"$LINENO"; then :
5903 ac_cv_lib_i386_i386_set_ldt
=yes
5905 ac_cv_lib_i386_i386_set_ldt
=no
5907 rm -f core conftest.err conftest.
$ac_objext \
5908 conftest
$ac_exeext conftest.
$ac_ext
5909 LIBS
=$ac_check_lib_save_LIBS
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5912 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5913 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5914 cat >>confdefs.h
<<_ACEOF
5915 #define HAVE_LIBI386 1
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5923 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5924 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5925 $as_echo_n "(cached) " >&6
5927 ac_check_lib_save_LIBS
=$LIBS
5928 LIBS
="-lossaudio $LIBS"
5929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5930 /* end confdefs.h. */
5932 /* Override any GCC internal prototype to avoid an error.
5933 Use char because int might match the return type of a GCC
5934 builtin and then its argument prototype would still apply. */
5942 return _oss_ioctl ();
5947 if ac_fn_c_try_link
"$LINENO"; then :
5948 ac_cv_lib_ossaudio__oss_ioctl
=yes
5950 ac_cv_lib_ossaudio__oss_ioctl
=no
5952 rm -f core conftest.err conftest.
$ac_objext \
5953 conftest
$ac_exeext conftest.
$ac_ext
5954 LIBS
=$ac_check_lib_save_LIBS
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5957 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5958 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5959 cat >>confdefs.h
<<_ACEOF
5960 #define HAVE_LIBOSSAUDIO 1
5963 LIBS
="-lossaudio $LIBS"
5972 # Check whether --enable-largefile was given.
5973 if test "${enable_largefile+set}" = set; then :
5974 enableval
=$enable_largefile;
5977 if test "$enable_largefile" != no
; then
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5980 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5981 if ${ac_cv_sys_largefile_CC+:} false
; then :
5982 $as_echo_n "(cached) " >&6
5984 ac_cv_sys_largefile_CC
=no
5985 if test "$GCC" != yes; then
5988 # IRIX 6.2 and later do not support large files by default,
5989 # so use the C compiler's -n32 option if that helps.
5990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5991 /* end confdefs.h. */
5992 #include <sys/types.h>
5993 /* Check that off_t can represent 2**63 - 1 correctly.
5994 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5995 since some C++ compilers masquerading as C compilers
5996 incorrectly reject 9223372036854775807. */
5997 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5998 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5999 && LARGE_OFF_T % 2147483647 == 1)
6009 if ac_fn_c_try_compile
"$LINENO"; then :
6012 rm -f core conftest.err conftest.
$ac_objext
6014 if ac_fn_c_try_compile
"$LINENO"; then :
6015 ac_cv_sys_largefile_CC
=' -n32'; break
6017 rm -f core conftest.err conftest.
$ac_objext
6021 rm -f conftest.
$ac_ext
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6025 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6026 if test "$ac_cv_sys_largefile_CC" != no
; then
6027 CC
=$CC$ac_cv_sys_largefile_CC
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6031 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6032 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6033 $as_echo_n "(cached) " >&6
6036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6037 /* end confdefs.h. */
6038 #include <sys/types.h>
6039 /* Check that off_t can represent 2**63 - 1 correctly.
6040 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6041 since some C++ compilers masquerading as C compilers
6042 incorrectly reject 9223372036854775807. */
6043 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6044 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6045 && LARGE_OFF_T % 2147483647 == 1)
6055 if ac_fn_c_try_compile
"$LINENO"; then :
6056 ac_cv_sys_file_offset_bits
=no
; break
6058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6060 /* end confdefs.h. */
6061 #define _FILE_OFFSET_BITS 64
6062 #include <sys/types.h>
6063 /* Check that off_t can represent 2**63 - 1 correctly.
6064 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6065 since some C++ compilers masquerading as C compilers
6066 incorrectly reject 9223372036854775807. */
6067 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6068 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6069 && LARGE_OFF_T % 2147483647 == 1)
6079 if ac_fn_c_try_compile
"$LINENO"; then :
6080 ac_cv_sys_file_offset_bits
=64; break
6082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6083 ac_cv_sys_file_offset_bits
=unknown
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6088 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6089 case $ac_cv_sys_file_offset_bits in #(
6092 cat >>confdefs.h
<<_ACEOF
6093 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6098 if test $ac_cv_sys_file_offset_bits = unknown
; then
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6100 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6101 if ${ac_cv_sys_large_files+:} false
; then :
6102 $as_echo_n "(cached) " >&6
6105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6106 /* end confdefs.h. */
6107 #include <sys/types.h>
6108 /* Check that off_t can represent 2**63 - 1 correctly.
6109 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6110 since some C++ compilers masquerading as C compilers
6111 incorrectly reject 9223372036854775807. */
6112 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6113 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6114 && LARGE_OFF_T % 2147483647 == 1)
6124 if ac_fn_c_try_compile
"$LINENO"; then :
6125 ac_cv_sys_large_files
=no
; break
6127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6129 /* end confdefs.h. */
6130 #define _LARGE_FILES 1
6131 #include <sys/types.h>
6132 /* Check that off_t can represent 2**63 - 1 correctly.
6133 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6134 since some C++ compilers masquerading as C compilers
6135 incorrectly reject 9223372036854775807. */
6136 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6137 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6138 && LARGE_OFF_T % 2147483647 == 1)
6148 if ac_fn_c_try_compile
"$LINENO"; then :
6149 ac_cv_sys_large_files
=1; break
6151 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6152 ac_cv_sys_large_files
=unknown
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6157 $as_echo "$ac_cv_sys_large_files" >&6; }
6158 case $ac_cv_sys_large_files in #(
6161 cat >>confdefs.h
<<_ACEOF
6162 #define _LARGE_FILES $ac_cv_sys_large_files
6174 ac_cpp
='$CPP $CPPFLAGS'
6175 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6176 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6177 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6179 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6180 # On Suns, sometimes $CPP names a directory.
6181 if test -n "$CPP" && test -d "$CPP"; then
6184 if test -z "$CPP"; then
6185 if ${ac_cv_prog_CPP+:} false
; then :
6186 $as_echo_n "(cached) " >&6
6188 # Double quotes because CPP needs to be expanded
6189 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6192 for ac_c_preproc_warn_flag
in '' yes
6194 # Use a header file that comes with gcc, so configuring glibc
6195 # with a fresh cross-compiler works.
6196 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6197 # <limits.h> exists even on freestanding compilers.
6198 # On the NeXT, cc -E runs the code through the compiler's parser,
6199 # not just through cpp. "Syntax error" is here to catch this case.
6200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6201 /* end confdefs.h. */
6203 # include <limits.h>
6205 # include <assert.h>
6209 if ac_fn_c_try_cpp
"$LINENO"; then :
6212 # Broken: fails on valid input.
6215 rm -f conftest.err conftest.i conftest.
$ac_ext
6217 # OK, works on sane cases. Now check whether nonexistent headers
6218 # can be detected and how.
6219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6220 /* end confdefs.h. */
6221 #include <ac_nonexistent.h>
6223 if ac_fn_c_try_cpp
"$LINENO"; then :
6224 # Broken: success on invalid input.
6227 # Passes both tests.
6231 rm -f conftest.err conftest.i conftest.
$ac_ext
6234 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6235 rm -f conftest.i conftest.err conftest.
$ac_ext
6236 if $ac_preproc_ok; then :
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6249 $as_echo "$CPP" >&6; }
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 :
6298 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6300 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6301 See \`config.log' for more details" "$LINENO" 5; }
6305 ac_cpp
='$CPP $CPPFLAGS'
6306 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6307 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6308 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6312 $as_echo_n "checking for ANSI C header files... " >&6; }
6313 if ${ac_cv_header_stdc+:} false
; then :
6314 $as_echo_n "(cached) " >&6
6316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6317 /* end confdefs.h. */
6331 if ac_fn_c_try_compile
"$LINENO"; then :
6332 ac_cv_header_stdc
=yes
6334 ac_cv_header_stdc
=no
6336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6338 if test $ac_cv_header_stdc = yes; then
6339 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6341 /* end confdefs.h. */
6345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6346 $EGREP "memchr" >/dev
/null
2>&1; then :
6349 ac_cv_header_stdc
=no
6355 if test $ac_cv_header_stdc = yes; then
6356 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6358 /* end confdefs.h. */
6362 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6363 $EGREP "free" >/dev
/null
2>&1; then :
6366 ac_cv_header_stdc
=no
6372 if test $ac_cv_header_stdc = yes; then
6373 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6374 if test "$cross_compiling" = yes; then :
6377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6378 /* end confdefs.h. */
6381 #if ((' ' & 0x0FF) == 0x020)
6382 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6383 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6385 # define ISLOWER(c) \
6386 (('a' <= (c) && (c) <= 'i') \
6387 || ('j' <= (c) && (c) <= 'r') \
6388 || ('s' <= (c) && (c) <= 'z'))
6389 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6392 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6397 for (i = 0; i < 256; i++)
6398 if (XOR (islower (i), ISLOWER (i))
6399 || toupper (i) != TOUPPER (i))
6404 if ac_fn_c_try_run
"$LINENO"; then :
6407 ac_cv_header_stdc
=no
6409 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6410 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6416 $as_echo "$ac_cv_header_stdc" >&6; }
6417 if test $ac_cv_header_stdc = yes; then
6419 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6423 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6424 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6425 inttypes.h stdint.h unistd.h
6427 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6428 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6430 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6431 cat >>confdefs.h
<<_ACEOF
6432 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6442 ApplicationServices
/ApplicationServices.h \
6443 AudioToolbox
/AudioConverter.h \
6444 AudioUnit
/AudioUnit.h \
6445 AudioUnit
/AudioComponent.h \
6448 CoreAudio
/CoreAudio.h \
6449 CoreServices
/CoreServices.h \
6450 DiskArbitration
/DiskArbitration.h \
6452 IOKit
/hid
/IOHIDLib.h \
6455 QuickTime
/ImageCompression.h \
6456 Security
/Security.h \
6507 netinet
/in_systm.h \
6569 valgrind
/memcheck.h \
6570 valgrind
/valgrind.h \
6574 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6575 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6576 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6577 cat >>confdefs.h
<<_ACEOF
6578 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6586 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6587 if ${ac_cv_header_stat_broken+:} false
; then :
6588 $as_echo_n "(cached) " >&6
6590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6591 /* end confdefs.h. */
6592 #include <sys/types.h>
6593 #include <sys/stat.h>
6595 #if defined S_ISBLK && defined S_IFDIR
6596 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6599 #if defined S_ISBLK && defined S_IFCHR
6600 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6603 #if defined S_ISLNK && defined S_IFREG
6604 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6607 #if defined S_ISSOCK && defined S_IFREG
6608 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6612 if ac_fn_c_try_compile
"$LINENO"; then :
6613 ac_cv_header_stat_broken
=no
6615 ac_cv_header_stat_broken
=yes
6617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6620 $as_echo "$ac_cv_header_stat_broken" >&6; }
6621 if test $ac_cv_header_stat_broken = yes; then
6623 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6629 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6631 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6632 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6633 #ifdef HAVE_SYS_PARAM_H
6634 # include <sys/param.h>
6637 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6638 cat >>confdefs.h
<<_ACEOF
6639 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6654 netinet
/if_ether.h \
6655 netinet
/if_inarp.h \
6664 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6665 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6666 #ifdef HAVE_SYS_SOCKET_H
6667 # include <sys/socket.h>
6669 #ifdef HAVE_SYS_SOCKETVAR_H
6670 # include <sys/socketvar.h>
6672 #ifdef HAVE_NET_ROUTE_H
6673 # include <net/route.h>
6675 #ifdef HAVE_NETINET_IN_H
6676 # include <netinet/in.h>
6678 #ifdef HAVE_NETINET_IN_SYSTM_H
6679 # include <netinet/in_systm.h>
6681 #ifdef HAVE_NET_IF_H
6682 # include <net/if.h>
6684 #ifdef HAVE_NETINET_IP_H
6685 # include <netinet/ip.h>
6688 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6689 cat >>confdefs.h
<<_ACEOF
6690 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6698 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6700 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6701 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6705 #ifdef HAVE_SYS_SOCKET_H
6706 # include <sys/socket.h>
6708 #ifdef HAVE_SYS_SOCKETVAR_H
6709 # include <sys/socketvar.h>
6711 #ifdef HAVE_SYS_TIMEOUT_H
6712 # include <sys/timeout.h>
6714 #ifdef HAVE_NETINET_IN_H
6715 # include <netinet/in.h>
6717 #ifdef HAVE_NETINET_IN_SYSTM_H
6718 # include <netinet/in_systm.h>
6720 #ifdef HAVE_NETINET_IP_H
6721 # include <netinet/ip.h>
6723 #ifdef HAVE_NETINET_IP_VAR_H
6724 # include <netinet/ip_var.h>
6726 #ifdef HAVE_NETINET_IP_ICMP_H
6727 # include <netinet/ip_icmp.h>
6729 #ifdef HAVE_NETINET_UDP_H
6730 # include <netinet/udp.h>
6732 #ifdef HAVE_NETINET_TCP_H
6733 # include <netinet/tcp.h>
6735 #ifdef HAVE_NETINET_TCP_TIMER_H
6736 #include <netinet/tcp_timer.h>
6739 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6740 cat >>confdefs.h
<<_ACEOF
6741 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6749 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6751 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6752 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6753 #ifdef HAVE_ASM_TYPES_H
6754 # include <asm/types.h>
6756 #ifdef HAVE_SYS_SOCKET_H
6757 # include <sys/socket.h>
6759 #ifdef HAVE_LINUX_TYPES_H
6760 # include <linux/types.h>
6763 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6764 cat >>confdefs.h
<<_ACEOF
6765 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6773 for ac_header
in mach-o
/dyld_images.h
6775 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6776 # include <stdbool.h>
6778 #ifdef HAVE_STDINT_H
6779 # include <stdint.h>
6782 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6783 cat >>confdefs.h
<<_ACEOF
6784 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6792 for ac_header
in resolv.h
6794 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6795 #ifdef HAVE_SYS_SOCKET_H
6796 # include <sys/socket.h>
6798 #ifdef HAVE_NETINET_IN_H
6799 # include <netinet/in.h>
6801 #ifdef HAVE_ARPA_NAMESER_H
6802 # include <arpa/nameser.h>
6805 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6806 cat >>confdefs.h
<<_ACEOF
6807 #define HAVE_RESOLV_H 1
6815 for ac_header
in ifaddrs.h
6817 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6819 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6820 cat >>confdefs.h
<<_ACEOF
6821 #define HAVE_IFADDRS_H 1
6829 for ac_header
in sys
/ucontext.h
6831 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6833 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6834 cat >>confdefs.h
<<_ACEOF
6835 #define HAVE_SYS_UCONTEXT_H 1
6843 for ac_header
in sys
/thr.h
6845 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6846 #ifdef HAVE_SYS_UCONTEXT_H
6847 #include <sys/ucontext.h>
6850 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6851 cat >>confdefs.h
<<_ACEOF
6852 #define HAVE_SYS_THR_H 1
6860 for ac_header
in pthread_np.h
6862 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6863 #include <pthread.h>
6866 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6867 cat >>confdefs.h
<<_ACEOF
6868 #define HAVE_PTHREAD_NP_H 1
6876 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6878 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6879 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6880 #include <sys/time.h>
6882 #include <sys/types.h>
6883 #ifdef HAVE_ASM_TYPES_H
6884 #include <asm/types.h>
6887 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6888 cat >>confdefs.h
<<_ACEOF
6889 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6897 for ac_header
in libprocstat.h
6899 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
6900 #include <sys/param.h>
6902 #ifdef HAVE_SYS_QUEUE_H
6903 #include <sys/queue.h>
6905 #ifdef HAVE_SYS_SOCKET_H
6906 #include <sys/socket.h>
6909 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
6910 cat >>confdefs.h
<<_ACEOF
6911 #define HAVE_LIBPROCSTAT_H 1
6920 dlldir
="\${libdir}/wine"
6924 DLLFLAGS
="-D_REENTRANT"
6933 STATIC_IMPLIBEXT
="def.a"
6934 # Extract the first word of "ldd", so it can be a program name with args.
6935 set dummy ldd
; ac_word
=$2
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6937 $as_echo_n "checking for $ac_word... " >&6; }
6938 if ${ac_cv_path_LDD+:} false
; then :
6939 $as_echo_n "(cached) " >&6
6943 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6947 as_dummy
="/sbin:/usr/sbin:$PATH"
6948 for as_dir
in $as_dummy
6951 test -z "$as_dir" && as_dir
=.
6952 for ac_exec_ext
in '' $ac_executable_extensions; do
6953 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6954 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6962 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6967 if test -n "$LDD"; then
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6969 $as_echo "$LDD" >&6; }
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6972 $as_echo "no" >&6; }
6976 if test -n "$ac_tool_prefix"; then
6977 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6978 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6980 $as_echo_n "checking for $ac_word... " >&6; }
6981 if ${ac_cv_prog_READELF+:} false
; then :
6982 $as_echo_n "(cached) " >&6
6984 if test -n "$READELF"; then
6985 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6991 test -z "$as_dir" && as_dir
=.
6992 for ac_exec_ext
in '' $ac_executable_extensions; do
6993 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6994 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7004 READELF
=$ac_cv_prog_READELF
7005 if test -n "$READELF"; then
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7007 $as_echo "$READELF" >&6; }
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7010 $as_echo "no" >&6; }
7015 if test -z "$ac_cv_prog_READELF"; then
7016 ac_ct_READELF
=$READELF
7017 # Extract the first word of "readelf", so it can be a program name with args.
7018 set dummy readelf
; ac_word
=$2
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7020 $as_echo_n "checking for $ac_word... " >&6; }
7021 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7022 $as_echo_n "(cached) " >&6
7024 if test -n "$ac_ct_READELF"; then
7025 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7031 test -z "$as_dir" && as_dir
=.
7032 for ac_exec_ext
in '' $ac_executable_extensions; do
7033 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7034 ac_cv_prog_ac_ct_READELF
="readelf"
7035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7044 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7045 if test -n "$ac_ct_READELF"; then
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7047 $as_echo "$ac_ct_READELF" >&6; }
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7050 $as_echo "no" >&6; }
7053 if test "x$ac_ct_READELF" = x
; then
7056 case $cross_compiling:$ac_tool_warned in
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7059 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7060 ac_tool_warned
=yes ;;
7062 READELF
=$ac_ct_READELF
7065 READELF
="$ac_cv_prog_READELF"
7068 wine_rules_file
=conf$
$rules.
make
7069 rm -f $wine_rules_file
7071 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7072 ALL_TEST_RESOURCES
=""
7075 wine_fn_append_file
()
7077 as_fn_append
$1 " \\$as_nl $2"
7080 wine_fn_ignore_file
()
7083 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7084 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7085 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7089 wine_fn_append_rule
()
7091 $as_echo "$1" >>$wine_rules_file
7096 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7099 wine_fn_depend_rules
()
7101 wine_fn_append_rule \
7102 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7103 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7104 depend: $ac_dir/depend
7105 .PHONY: $ac_dir/depend
7106 $ac_dir/depend: \$(MAKEDEP) dummy
7107 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7110 wine_fn_pot_rules
()
7112 test "x$with_gettextpo" = xyes ||
return
7114 if wine_fn_has_flag mc
7116 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7117 wine_fn_append_rule \
7118 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7119 @cd $ac_dir && \$(MAKE) msg.pot
7120 $ac_dir/msg.pot: tools/wmc include"
7122 if wine_fn_has_flag po
7124 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7125 wine_fn_append_rule \
7126 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7127 @cd $ac_dir && \$(MAKE) rsrc.pot
7128 $ac_dir/rsrc.pot: tools/wrc include"
7132 wine_fn_all_rules
()
7134 wine_fn_depend_rules
7135 wine_fn_append_rule \
7138 $ac_dir: $ac_dir/Makefile dummy
7139 @cd $ac_dir && \$(MAKE)"
7142 wine_fn_install_rules
()
7144 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7146 wine_fn_append_rule \
7147 ".PHONY: $ac_dir/install $ac_dir/uninstall
7148 $ac_dir/install:: $ac_dir
7149 @cd $ac_dir && \$(MAKE) install
7150 $ac_dir/uninstall:: $ac_dir/Makefile
7151 @cd $ac_dir && \$(MAKE) uninstall
7152 install:: $ac_dir/install
7153 __uninstall__: $ac_dir/uninstall"
7155 if wine_fn_has_flag install-lib
7157 wine_fn_append_rule \
7158 ".PHONY: $ac_dir/install-lib
7159 $ac_dir/install-lib:: $ac_dir
7160 @cd $ac_dir && \$(MAKE) install-lib
7161 install-lib:: $ac_dir/install-lib"
7164 if wine_fn_has_flag install-dev
7166 wine_fn_append_rule \
7167 ".PHONY: $ac_dir/install-dev
7168 $ac_dir/install-dev:: $ac_dir
7169 @cd $ac_dir && \$(MAKE) install-dev
7170 install-dev:: $ac_dir/install-dev"
7174 wine_fn_clean_rules
()
7177 ac_extraclean
="$ac_dir/Makefile"
7178 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7180 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7183 if wine_fn_has_flag clean
7185 wine_fn_append_rule \
7186 "__clean__: $ac_dir/clean
7187 .PHONY: $ac_dir/clean
7188 $ac_dir/clean: $ac_dir/Makefile
7189 @cd $ac_dir && \$(MAKE) clean
7190 \$(RM) $ac_extraclean"
7192 wine_fn_append_rule \
7193 "__clean__: $ac_dir/clean
7194 .PHONY: $ac_dir/clean
7195 $ac_dir/clean: dummy
7196 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7200 wine_fn_disabled_rules
()
7203 ac_extraclean
="$ac_dir/Makefile"
7204 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7206 wine_fn_append_rule \
7207 "__clean__: $ac_dir/clean
7208 .PHONY: $ac_dir/clean
7209 $ac_dir/clean: dummy
7210 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7213 wine_fn_config_makefile
()
7219 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7220 wine_fn_disabled_rules
; return
7223 wine_fn_install_rules
7227 wine_fn_config_lib
()
7231 ac_dir
=dlls
/$ac_name
7234 if test "x$enable_tools" = xno
; then :
7237 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7242 wine_fn_append_rule \
7243 ".PHONY: $ac_dir/install $ac_dir/uninstall
7244 $ac_dir/install:: $ac_dir
7245 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7247 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7248 install install-dev:: $ac_dir/install
7249 __uninstall__: $ac_dir/uninstall
7250 __builddeps__: $ac_dir
7254 wine_fn_config_dll
()
7257 ac_dir
=dlls
/$ac_name
7260 ac_implib
=${4:-$ac_name}
7261 ac_file
=$ac_dir/lib
$ac_implib
7266 if test "x$enable_tools" = xno
; then :
7269 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7272 *16) ac_implibflags
=" -m16" ;;
7274 *) ac_dll
=$ac_dll.dll
;;
7278 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7279 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7280 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7281 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7283 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7284 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7286 wine_fn_depend_rules
7287 wine_fn_clean_rules
$ac_clean
7289 wine_fn_disabled_rules
$ac_clean
7294 wine_fn_clean_rules
$ac_clean
7295 wine_fn_append_rule \
7296 "$ac_dir: __builddeps__
7297 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7298 @cd $ac_dir && \$(MAKE) \$@
7299 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7300 install install-lib:: $ac_dir/install-lib
7301 __uninstall__: $ac_dir/uninstall"
7302 if test -n "$DLLEXT"
7304 wine_fn_append_rule \
7305 "$ac_dir/install-lib:: $ac_dir
7306 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7307 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7309 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7311 wine_fn_append_rule \
7312 "$ac_dir/install-lib:: $ac_dir
7313 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7315 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7321 if wine_fn_has_flag staticimplib
7323 wine_fn_append_rule \
7324 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7325 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7326 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7327 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7328 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7329 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7330 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7331 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7332 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7334 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7335 install install-dev:: $ac_dir/install-dev
7336 __uninstall__: $ac_dir/uninstall"
7338 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7340 wine_fn_append_rule \
7341 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7342 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7344 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7347 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7349 wine_fn_append_rule \
7350 "__builddeps__: $ac_file.cross.a
7351 $ac_file.cross.a: $ac_dir/Makefile dummy
7352 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7355 elif wine_fn_has_flag implib
7357 wine_fn_append_rule \
7358 "__builddeps__: $ac_file.$IMPLIBEXT
7359 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7360 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7361 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7362 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7363 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7364 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7365 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7367 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7368 install install-dev:: $ac_dir/install-dev
7369 __uninstall__: $ac_dir/uninstall"
7370 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7372 wine_fn_append_rule \
7373 "__builddeps__: $ac_file.cross.a
7374 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7375 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7378 if test "$ac_name" != "$ac_implib"
7380 wine_fn_append_rule \
7381 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7382 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7383 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7385 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7386 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7387 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7389 wine_fn_append_rule \
7390 "__builddeps__: dlls/lib$ac_implib.cross.a
7391 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7392 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7394 \$(RM) dlls/lib$ac_implib.cross.a"
7395 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7401 wine_fn_config_program
()
7404 ac_dir
=programs
/$ac_name
7411 *) ac_program
=$ac_program.exe
;;
7415 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7416 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7417 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7418 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7420 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7421 wine_fn_disabled_rules
$ac_clean; return
7425 wine_fn_clean_rules
$ac_clean
7426 wine_fn_append_rule
"$ac_dir: __builddeps__"
7429 wine_fn_has_flag
install ||
return
7430 wine_fn_append_rule \
7431 ".PHONY: $ac_dir/install $ac_dir/uninstall
7432 install install-lib:: $ac_dir/install
7433 __uninstall__: $ac_dir/uninstall"
7435 if test -n "$DLLEXT"
7437 wine_fn_append_rule \
7438 "$ac_dir/install:: $ac_dir
7439 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7440 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7442 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7444 if test -z "$with_wine64" && wine_fn_has_flag installbin
7446 wine_fn_append_rule \
7447 "$ac_dir/install:: __tooldeps__
7448 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7450 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7453 wine_fn_append_rule \
7454 "$ac_dir/install:: $ac_dir
7455 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7457 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7460 if test -z "$with_wine64" && wine_fn_has_flag manpage
7462 wine_fn_append_rule \
7463 "$ac_dir/install:: $ac_dir
7464 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7466 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7470 wine_fn_config_test
()
7477 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7478 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7480 if test "x$enable_tests" = xno
; then :
7481 wine_fn_disabled_rules
$ac_clean; return
7484 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7486 wine_fn_clean_rules
$ac_clean
7488 wine_fn_append_rule \
7489 "$ac_dir: programs/winetest/Makefile __builddeps__
7490 programs/winetest: $ac_dir
7491 check test: $ac_dir/test
7492 .PHONY: $ac_dir/test
7494 @cd $ac_dir && \$(MAKE) test
7496 \$(RM) $ac_dir/*.ok"
7498 if test -n "$CROSSTARGET"
7500 wine_fn_append_rule \
7501 "crosstest: $ac_dir/crosstest
7502 .PHONY: $ac_dir/crosstest
7503 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7504 @cd $ac_dir && \$(MAKE) crosstest"
7508 wine_fn_config_tool
()
7512 if test "x$enable_tools" = xno
; then :
7517 wine_fn_install_rules
7520 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7521 wine_fn_append_rule
"$ac_dir: libs/port"
7523 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7527 wine_fn_config_symlink
()
7530 if test "x$1" = "x-d"
7536 wine_fn_append_rule \
7538 @./config.status \$@
7541 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7542 test -n "$ac_linkdir" ||
return
7543 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7547 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7548 loader_programs
="$wine_binary wine-installed"
7549 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7554 install install-lib:: wine-installed
7555 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7558 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7564 if test -n "$ac_tool_prefix"; then
7565 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7566 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7568 $as_echo_n "checking for $ac_word... " >&6; }
7569 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7570 $as_echo_n "(cached) " >&6
7572 if test -n "$DLLTOOL"; then
7573 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7579 test -z "$as_dir" && as_dir
=.
7580 for ac_exec_ext
in '' $ac_executable_extensions; do
7581 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7582 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7592 DLLTOOL
=$ac_cv_prog_DLLTOOL
7593 if test -n "$DLLTOOL"; then
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7595 $as_echo "$DLLTOOL" >&6; }
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7598 $as_echo "no" >&6; }
7603 if test -z "$ac_cv_prog_DLLTOOL"; then
7604 ac_ct_DLLTOOL
=$DLLTOOL
7605 # Extract the first word of "dlltool", so it can be a program name with args.
7606 set dummy dlltool
; ac_word
=$2
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7608 $as_echo_n "checking for $ac_word... " >&6; }
7609 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7610 $as_echo_n "(cached) " >&6
7612 if test -n "$ac_ct_DLLTOOL"; then
7613 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7619 test -z "$as_dir" && as_dir
=.
7620 for ac_exec_ext
in '' $ac_executable_extensions; do
7621 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7622 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7632 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7633 if test -n "$ac_ct_DLLTOOL"; then
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7635 $as_echo "$ac_ct_DLLTOOL" >&6; }
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7638 $as_echo "no" >&6; }
7641 if test "x$ac_ct_DLLTOOL" = x
; then
7644 case $cross_compiling:$ac_tool_warned in
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7648 ac_tool_warned
=yes ;;
7650 DLLTOOL
=$ac_ct_DLLTOOL
7653 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7659 STATIC_IMPLIBEXT
="a"
7660 enable_iphlpapi
=${enable_iphlpapi:-no}
7661 enable_kernel32
=${enable_kernel32:-no}
7662 enable_msvcrt
=${enable_msvcrt:-no}
7663 enable_ntdll
=${enable_ntdll:-no}
7664 enable_ws2_32
=${enable_ws2_32:-no}
7665 enable_loader
=${enable_loader:-no}
7666 enable_server
=${enable_server:-no}
7667 with_x
=${with_x:-no}
7668 with_pthread
=${with_pthread:-no}
7674 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7678 libwine_targets
="libwine.dll libwine.a"
7680 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7682 all: libwine.dll libwine.a
7684 libwine.a: \$(srcdir)/wine.def
7685 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7687 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7688 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7690 install install-lib:: libwine.dll
7691 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7693 install install-dev:: libwine.a
7694 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7697 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7704 DLLFLAGS
="$DLLFLAGS -fPIC"
7705 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7706 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7707 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7708 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7710 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7712 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7714 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7716 CORESERVICES_LIBS
="-framework CoreServices"
7718 APPKIT_LIBS
="-framework AppKit"
7720 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7722 darwin11
*) LDEXECFLAGS
="-Wl,-macosx_version_min,10.6 $LDEXECFLAGS" ;;
7724 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7726 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7729 if test "$ac_cv_header_Security_Security_h" = "yes"
7731 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7733 ac_save_LIBS
="$LIBS"
7734 LIBS
="$LIBS $SECURITY_LIBS"
7735 for ac_func
in SSLCopyPeerCertificates
7737 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7738 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7739 cat >>confdefs.h
<<_ACEOF
7740 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7746 LIBS
="$ac_save_LIBS"
7747 with_gnutls
=${with_gnutls:-no}
7749 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7751 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7753 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7756 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7759 ac_save_LIBS
="$LIBS"
7760 LIBS
="$LIBS $COREAUDIO_LIBS"
7761 for ac_func
in AUGraphAddNode
7763 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7764 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7765 cat >>confdefs.h
<<_ACEOF
7766 #define HAVE_AUGRAPHADDNODE 1
7772 LIBS
="$ac_save_LIBS"
7774 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7776 OPENAL_LIBS
="-framework OpenAL"
7779 cat >>confdefs.h
<<_ACEOF
7780 #define HAVE_OPENAL 1
7783 ac_cv_lib_openal
=yes
7785 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7787 OPENCL_LIBS
="-framework OpenCL"
7789 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7791 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7793 ac_save_LIBS
="$LIBS"
7794 LIBS
="$LIBS $IOKIT_LIBS"
7795 for ac_func
in IOHIDManagerCreate
7797 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7798 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7799 cat >>confdefs.h
<<_ACEOF
7800 #define HAVE_IOHIDMANAGERCREATE 1
7806 LIBS
="$ac_save_LIBS"
7808 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7810 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7812 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7814 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7816 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7818 CARBON_LIBS
="-framework Carbon"
7822 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7824 ac_save_LIBS
="$LIBS"
7825 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7826 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7827 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7828 enable_winemac_drv
=${enable_winemac_drv:-yes}
7831 LIBS
="$ac_save_LIBS"
7834 if test "x$enable_win16" = "xyes"
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
7837 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
7838 if test "$cross_compiling" = yes; then :
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
7840 $as_echo "cross-compiling, assuming yes" >&6; }
7842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7843 /* end confdefs.h. */
7846 "good:\tnop;nop\n\t"
7847 ".globl _testfunc\n"
7848 "_testfunc:\tcallw good");
7849 extern void testfunc();
7853 unsigned short *p = (unsigned short *)testfunc;
7854 return p[0] != 0xe866 || p[1] != 0xfffa
7859 if ac_fn_c_try_run
"$LINENO"; then :
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7861 $as_echo "yes" >&6; }
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7864 $as_echo "no" >&6; }
7865 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
7867 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7868 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7873 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
7875 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7879 libwine.$libwine_version.dylib: \$(OBJS)
7880 \$(CC) -dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7882 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
7883 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
7885 libwine.dylib: libwine.$libwine_soversion.dylib
7886 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
7888 install install-lib:: libwine.$libwine_version.dylib
7889 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
7890 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
7892 install install-dev::
7893 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
7896 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
7900 as_fn_append LOADER_RULES
"
7901 $wine_binary: main.o wine_info.plist
7902 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
7904 wine-installed: main.o wine_info.plist
7905 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
7910 DLLFLAGS
="$DLLFLAGS -fPIC"
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7915 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7916 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7917 $as_echo_n "(cached) " >&6
7919 ac_wine_try_cflags_saved
=$CFLAGS
7920 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7922 /* end confdefs.h. */
7923 int main(int argc, char **argv) { return 0; }
7925 if ac_fn_c_try_link
"$LINENO"; then :
7926 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7928 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7930 rm -f core conftest.err conftest.
$ac_objext \
7931 conftest
$ac_exeext conftest.
$ac_ext
7932 CFLAGS
=$ac_wine_try_cflags_saved
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7935 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7936 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
7937 LDEXECFLAGS
="-Wl,--export-dynamic"
7939 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7941 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7942 if eval \
${$as_ac_var+:} false
; then :
7943 $as_echo_n "(cached) " >&6
7945 ac_wine_try_cflags_saved
=$CFLAGS
7946 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7948 /* end confdefs.h. */
7949 int main(int argc, char **argv) { return 0; }
7951 if ac_fn_c_try_link
"$LINENO"; then :
7952 eval "$as_ac_var=yes"
7954 eval "$as_ac_var=no"
7956 rm -f core conftest.err conftest.
$ac_objext \
7957 conftest
$ac_exeext conftest.
$ac_ext
7958 CFLAGS
=$ac_wine_try_cflags_saved
7960 eval ac_res
=\$
$as_ac_var
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7962 $as_echo "$ac_res" >&6; }
7963 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7964 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7965 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7967 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7969 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7970 if eval \
${$as_ac_var+:} false
; then :
7971 $as_echo_n "(cached) " >&6
7973 ac_wine_try_cflags_saved
=$CFLAGS
7974 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7976 /* end confdefs.h. */
7977 int main(int argc, char **argv) { return 0; }
7979 if ac_fn_c_try_link
"$LINENO"; then :
7980 eval "$as_ac_var=yes"
7982 eval "$as_ac_var=no"
7984 rm -f core conftest.err conftest.
$ac_objext \
7985 conftest
$ac_exeext conftest.
$ac_ext
7986 CFLAGS
=$ac_wine_try_cflags_saved
7988 eval ac_res
=\$
$as_ac_var
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7990 $as_echo "$ac_res" >&6; }
7991 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
7992 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7993 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7998 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7999 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8000 $as_echo_n "(cached) " >&6
8002 ac_wine_try_cflags_saved
=$CFLAGS
8003 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8005 /* end confdefs.h. */
8006 int main(int argc, char **argv) { return 0; }
8008 if ac_fn_c_try_link
"$LINENO"; then :
8009 ac_cv_cflags__Wl___enable_new_dtags
=yes
8011 ac_cv_cflags__Wl___enable_new_dtags
=no
8013 rm -f core conftest.err conftest.
$ac_objext \
8014 conftest
$ac_exeext conftest.
$ac_ext
8015 CFLAGS
=$ac_wine_try_cflags_saved
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8018 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8019 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8020 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8024 *i
[3456789]86* | x86_64
)
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8026 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8027 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8028 $as_echo_n "(cached) " >&6
8030 ac_wine_try_cflags_saved
=$CFLAGS
8031 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8033 /* end confdefs.h. */
8034 int main(int argc, char **argv) { return 0; }
8036 if ac_fn_c_try_link
"$LINENO"; then :
8037 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8039 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8041 rm -f core conftest.err conftest.
$ac_objext \
8042 conftest
$ac_exeext conftest.
$ac_ext
8043 CFLAGS
=$ac_wine_try_cflags_saved
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8046 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8047 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8048 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8053 libwine_targets
="libwine.so"
8055 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8059 libwine.so: \$(OBJS)
8060 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8062 install install-lib:: libwine.so
8063 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8066 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8070 as_fn_append LOADER_RULES
"
8071 $wine_binary: main.o
8072 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8074 wine-installed: main.o
8075 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8080 DLLFLAGS
="$DLLFLAGS -fPIC"
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8083 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8084 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8085 $as_echo_n "(cached) " >&6
8087 ac_wine_try_cflags_saved
=$CFLAGS
8088 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8090 /* end confdefs.h. */
8093 if ac_fn_c_try_link
"$LINENO"; then :
8094 ac_cv_c_dll_gnuelf
="yes"
8096 ac_cv_c_dll_gnuelf
="no"
8098 rm -f core conftest.err conftest.
$ac_objext \
8099 conftest
$ac_exeext conftest.
$ac_ext
8100 CFLAGS
=$ac_wine_try_cflags_saved
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8103 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8104 if test "$ac_cv_c_dll_gnuelf" = "yes"
8106 LDSHARED
="\$(CC) -shared"
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8108 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8109 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8110 $as_echo_n "(cached) " >&6
8112 ac_wine_try_cflags_saved
=$CFLAGS
8113 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8115 /* end confdefs.h. */
8116 int main(int argc, char **argv) { return 0; }
8118 if ac_fn_c_try_link
"$LINENO"; then :
8119 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8121 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8123 rm -f core conftest.err conftest.
$ac_objext \
8124 conftest
$ac_exeext conftest.
$ac_ext
8125 CFLAGS
=$ac_wine_try_cflags_saved
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8128 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8129 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8130 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8133 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8134 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8135 $as_echo_n "(cached) " >&6
8137 ac_wine_try_cflags_saved
=$CFLAGS
8138 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8140 /* end confdefs.h. */
8141 int main(int argc, char **argv) { return 0; }
8143 if ac_fn_c_try_link
"$LINENO"; then :
8144 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8146 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8148 rm -f core conftest.err conftest.
$ac_objext \
8149 conftest
$ac_exeext conftest.
$ac_ext
8150 CFLAGS
=$ac_wine_try_cflags_saved
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8153 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8154 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8155 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8159 echo '{ global: *; };' >conftest.map
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8161 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8162 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8163 $as_echo_n "(cached) " >&6
8165 ac_wine_try_cflags_saved
=$CFLAGS
8166 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8168 /* end confdefs.h. */
8169 int main(int argc, char **argv) { return 0; }
8171 if ac_fn_c_try_link
"$LINENO"; then :
8172 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8174 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8176 rm -f core conftest.err conftest.
$ac_objext \
8177 conftest
$ac_exeext conftest.
$ac_ext
8178 CFLAGS
=$ac_wine_try_cflags_saved
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8181 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8182 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8183 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8188 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8189 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8190 $as_echo_n "(cached) " >&6
8192 ac_wine_try_cflags_saved
=$CFLAGS
8193 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8195 /* end confdefs.h. */
8196 int main(int argc, char **argv) { return 0; }
8198 if ac_fn_c_try_link
"$LINENO"; then :
8199 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8201 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8203 rm -f core conftest.err conftest.
$ac_objext \
8204 conftest
$ac_exeext conftest.
$ac_ext
8205 CFLAGS
=$ac_wine_try_cflags_saved
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8208 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8209 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8210 LDEXECFLAGS
="-Wl,--export-dynamic"
8213 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8215 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8216 if eval \
${$as_ac_var+:} false
; then :
8217 $as_echo_n "(cached) " >&6
8219 ac_wine_try_cflags_saved
=$CFLAGS
8220 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8222 /* end confdefs.h. */
8223 int main(int argc, char **argv) { return 0; }
8225 if ac_fn_c_try_link
"$LINENO"; then :
8226 eval "$as_ac_var=yes"
8228 eval "$as_ac_var=no"
8230 rm -f core conftest.err conftest.
$ac_objext \
8231 conftest
$ac_exeext conftest.
$ac_ext
8232 CFLAGS
=$ac_wine_try_cflags_saved
8234 eval ac_res
=\$
$as_ac_var
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8236 $as_echo "$ac_res" >&6; }
8237 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8238 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8239 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8241 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8243 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8244 if eval \
${$as_ac_var+:} false
; then :
8245 $as_echo_n "(cached) " >&6
8247 ac_wine_try_cflags_saved
=$CFLAGS
8248 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8250 /* end confdefs.h. */
8251 int main(int argc, char **argv) { return 0; }
8253 if ac_fn_c_try_link
"$LINENO"; then :
8254 eval "$as_ac_var=yes"
8256 eval "$as_ac_var=no"
8258 rm -f core conftest.err conftest.
$ac_objext \
8259 conftest
$ac_exeext conftest.
$ac_ext
8260 CFLAGS
=$ac_wine_try_cflags_saved
8262 eval ac_res
=\$
$as_ac_var
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8264 $as_echo "$ac_res" >&6; }
8265 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8266 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8267 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8272 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8273 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8274 $as_echo_n "(cached) " >&6
8276 ac_wine_try_cflags_saved
=$CFLAGS
8277 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8279 /* end confdefs.h. */
8280 int main(int argc, char **argv) { return 0; }
8282 if ac_fn_c_try_link
"$LINENO"; then :
8283 ac_cv_cflags__Wl___enable_new_dtags
=yes
8285 ac_cv_cflags__Wl___enable_new_dtags
=no
8287 rm -f core conftest.err conftest.
$ac_objext \
8288 conftest
$ac_exeext conftest.
$ac_ext
8289 CFLAGS
=$ac_wine_try_cflags_saved
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8292 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8293 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8294 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8298 *i
[3456789]86* | x86_64
)
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8300 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8301 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8302 $as_echo_n "(cached) " >&6
8304 ac_wine_try_cflags_saved
=$CFLAGS
8305 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8307 /* end confdefs.h. */
8308 int main(int argc, char **argv) { return 0; }
8310 if ac_fn_c_try_link
"$LINENO"; then :
8311 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8313 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8315 rm -f core conftest.err conftest.
$ac_objext \
8316 conftest
$ac_exeext conftest.
$ac_ext
8317 CFLAGS
=$ac_wine_try_cflags_saved
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8320 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8321 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8323 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8324 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8328 # Extract the first word of "prelink", so it can be a program name with args.
8329 set dummy prelink
; ac_word
=$2
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8331 $as_echo_n "checking for $ac_word... " >&6; }
8332 if ${ac_cv_path_PRELINK+:} false
; then :
8333 $as_echo_n "(cached) " >&6
8337 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8340 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8341 for as_dir
in /sbin
/usr
/sbin
$PATH
8344 test -z "$as_dir" && as_dir
=.
8345 for ac_exec_ext
in '' $ac_executable_extensions; do
8346 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8347 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8355 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8359 PRELINK
=$ac_cv_path_PRELINK
8360 if test -n "$PRELINK"; then
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8362 $as_echo "$PRELINK" >&6; }
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8365 $as_echo "no" >&6; }
8369 if test "x$PRELINK" = xfalse
8371 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8378 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8379 if ${ac_cv_c_dll_unixware+:} false
; then :
8380 $as_echo_n "(cached) " >&6
8382 ac_wine_try_cflags_saved
=$CFLAGS
8383 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8385 /* end confdefs.h. */
8388 if ac_fn_c_try_link
"$LINENO"; then :
8389 ac_cv_c_dll_unixware
="yes"
8391 ac_cv_c_dll_unixware
="no"
8393 rm -f core conftest.err conftest.
$ac_objext \
8394 conftest
$ac_exeext conftest.
$ac_ext
8395 CFLAGS
=$ac_wine_try_cflags_saved
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8398 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8399 if test "$ac_cv_c_dll_unixware" = "yes"
8401 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8404 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8406 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8410 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8411 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8413 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8414 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8416 libwine.so: libwine.so.$libwine_soversion
8417 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8419 install install-lib:: libwine.so.$libwine_version
8420 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8421 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8423 install install-dev::
8424 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8427 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8431 as_fn_append LOADER_RULES
"
8432 $wine_binary: main.o
8433 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8435 wine-installed: main.o
8436 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8441 as_fn_append LIBWINE_RULES
"
8442 EXTRA_TARGETS = $libwine_targets
8445 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8446 enable_winemac_drv
=${enable_winemac_drv:-no}
8450 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8454 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
8457 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 " ;;
8459 ac_prefix_list
="" ;;
8461 for ac_prog
in $ac_prefix_list
8463 # Extract the first word of "$ac_prog", so it can be a program name with args.
8464 set dummy
$ac_prog; ac_word
=$2
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8466 $as_echo_n "checking for $ac_word... " >&6; }
8467 if ${ac_cv_prog_CROSSCC+:} false
; then :
8468 $as_echo_n "(cached) " >&6
8470 if test -n "$CROSSCC"; then
8471 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8477 test -z "$as_dir" && as_dir
=.
8478 for ac_exec_ext
in '' $ac_executable_extensions; do
8479 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8480 ac_cv_prog_CROSSCC
="$ac_prog"
8481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8490 CROSSCC
=$ac_cv_prog_CROSSCC
8491 if test -n "$CROSSCC"; then
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8493 $as_echo "$CROSSCC" >&6; }
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8496 $as_echo "no" >&6; }
8500 test -n "$CROSSCC" && break
8502 test -n "$CROSSCC" || CROSSCC
="false"
8504 if test "$CROSSCC" != "false"
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8509 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8511 /* end confdefs.h. */
8521 if ac_fn_c_try_compile
"$LINENO"; then :
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8523 $as_echo "yes" >&6; }
8529 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8535 $as_echo "no" >&6; }
8537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8543 if test "$ac_cv_header_pthread_h" = "yes"
8545 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8546 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8550 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8551 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8552 $as_echo_n "(cached) " >&6
8554 ac_check_lib_save_LIBS
=$LIBS
8555 LIBS
="-lpthread $LIBS"
8556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8557 /* end confdefs.h. */
8559 /* Override any GCC internal prototype to avoid an error.
8560 Use char because int might match the return type of a GCC
8561 builtin and then its argument prototype would still apply. */
8565 char pthread_create ();
8569 return pthread_create ();
8574 if ac_fn_c_try_link
"$LINENO"; then :
8575 ac_cv_lib_pthread_pthread_create
=yes
8577 ac_cv_lib_pthread_pthread_create
=no
8579 rm -f core conftest.err conftest.
$ac_objext \
8580 conftest
$ac_exeext conftest.
$ac_ext
8581 LIBS
=$ac_check_lib_save_LIBS
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8584 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8585 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8586 PTHREAD_LIBS
="-lpthread"
8593 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8594 case "x$with_pthread" in
8596 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8597 Wine cannot support threads without libpthread.
8598 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8604 $as_echo_n "checking for X... " >&6; }
8607 # Check whether --with-x was given.
8608 if test "${with_x+set}" = set; then :
8612 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8613 if test "x$with_x" = xno
; then
8614 # The user explicitly disabled X.
8617 case $x_includes,$x_libraries in #(
8618 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8619 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8620 $as_echo_n "(cached) " >&6
8622 # One or both of the vars are not set, and there is no cached value.
8623 ac_x_includes
=no ac_x_libraries
=no
8624 rm -f -r conftest.dir
8625 if mkdir conftest.dir
; then
8627 cat >Imakefile
<<'_ACEOF'
8629 @echo incroot='${INCROOT}'
8631 @echo usrlibdir='${USRLIBDIR}'
8633 @echo libdir='${LIBDIR}'
8635 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8636 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8637 for ac_var
in incroot usrlibdir libdir
; do
8638 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8640 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8641 for ac_extension
in a so sl dylib la dll
; do
8642 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8643 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8644 ac_im_usrlibdir
=$ac_im_libdir; break
8647 # Screen out bogus values from the imake configuration. They are
8648 # bogus both because they are the default anyway, and because
8649 # using them would break gcc on systems where it needs fixed includes.
8650 case $ac_im_incroot in
8651 /usr
/include
) ac_x_includes
= ;;
8652 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8654 case $ac_im_usrlibdir in
8655 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8656 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8660 rm -f -r conftest.dir
8663 # Standard set of common directories for X headers.
8664 # Check X11 before X11Rn because it is often a symlink to the current release.
8678 /usr/local/X11/include
8679 /usr/local/X11R7/include
8680 /usr/local/X11R6/include
8681 /usr/local/X11R5/include
8682 /usr/local/X11R4/include
8684 /usr/local/include/X11
8685 /usr/local/include/X11R7
8686 /usr/local/include/X11R6
8687 /usr/local/include/X11R5
8688 /usr/local/include/X11R4
8692 /usr/XFree86/include/X11
8696 /usr/unsupported/include
8698 /usr/local/x11r5/include
8699 /usr/lpp/Xamples/include
8701 /usr/openwin/include
8702 /usr/openwin/share/include'
8704 if test "$ac_x_includes" = no
; then
8705 # Guess where to find include files, by looking for Xlib.h.
8706 # First, try using that file with no special directory specified.
8707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8708 /* end confdefs.h. */
8709 #include <X11/Xlib.h>
8711 if ac_fn_c_try_cpp
"$LINENO"; then :
8712 # We can compile using X headers with no special include directory.
8715 for ac_dir
in $ac_x_header_dirs; do
8716 if test -r "$ac_dir/X11/Xlib.h"; then
8717 ac_x_includes
=$ac_dir
8722 rm -f conftest.err conftest.i conftest.
$ac_ext
8723 fi # $ac_x_includes = no
8725 if test "$ac_x_libraries" = no
; then
8726 # Check for the libraries.
8727 # See if we find them without any special options.
8728 # Don't add to $LIBS permanently.
8731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8732 /* end confdefs.h. */
8733 #include <X11/Xlib.h>
8742 if ac_fn_c_try_link
"$LINENO"; then :
8744 # We can link X programs with no special library path.
8748 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8750 # Don't even attempt the hair of trying to link an X program!
8751 for ac_extension
in a so sl dylib la dll
; do
8752 if test -r "$ac_dir/libX11.$ac_extension"; then
8753 ac_x_libraries
=$ac_dir
8759 rm -f core conftest.err conftest.
$ac_objext \
8760 conftest
$ac_exeext conftest.
$ac_ext
8761 fi # $ac_x_libraries = no
8763 case $ac_x_includes,$ac_x_libraries in #(
8765 # Didn't find X, or a directory has "'" in its name.
8766 ac_cv_have_x
="have_x=no";; #(
8768 # Record where we found X for the cache.
8769 ac_cv_have_x
="have_x=yes\
8770 ac_x_includes='$ac_x_includes'\
8771 ac_x_libraries='$ac_x_libraries'"
8777 eval "$ac_cv_have_x"
8780 if test "$have_x" != yes; then
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8782 $as_echo "$have_x" >&6; }
8785 # If each of the values was on the command line, it overrides each guess.
8786 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8787 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8788 # Update the cache value to reflect the command line values.
8789 ac_cv_have_x
="have_x=yes\
8790 ac_x_includes='$x_includes'\
8791 ac_x_libraries='$x_libraries'"
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8793 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8796 if test "$no_x" = yes; then
8797 # Not all programs may use this symbol, but it does not hurt to define it.
8799 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8801 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8803 if test -n "$x_includes"; then
8804 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8807 # It would also be nice to do this for all -L options, not just this one.
8808 if test -n "$x_libraries"; then
8809 X_LIBS
="$X_LIBS -L$x_libraries"
8810 # For Solaris; some versions of Sun CC require a space after -R and
8811 # others require no space. Words are not sufficient . . . .
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8813 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8814 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8815 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8816 ac_c_werror_flag
=yes
8817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8818 /* end confdefs.h. */
8828 if ac_fn_c_try_link
"$LINENO"; then :
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8830 $as_echo "no" >&6; }
8831 X_LIBS
="$X_LIBS -R$x_libraries"
8833 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8835 /* end confdefs.h. */
8845 if ac_fn_c_try_link
"$LINENO"; then :
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8847 $as_echo "yes" >&6; }
8848 X_LIBS
="$X_LIBS -R $x_libraries"
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
8851 $as_echo "neither works" >&6; }
8853 rm -f core conftest.err conftest.
$ac_objext \
8854 conftest
$ac_exeext conftest.
$ac_ext
8856 rm -f core conftest.err conftest.
$ac_objext \
8857 conftest
$ac_exeext conftest.
$ac_ext
8858 ac_c_werror_flag
=$ac_xsave_c_werror_flag
8862 # Check for system-dependent libraries X programs must link with.
8863 # Do this before checking for the system-independent R6 libraries
8864 # (-lICE), since we may need -lsocket or whatever for X linking.
8866 if test "$ISC" = yes; then
8867 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8869 # Martyn Johnson says this is needed for Ultrix, if the X
8870 # libraries were built with DECnet support. And Karl Berry says
8871 # the Alpha needs dnet_stub (dnet does not exist).
8872 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
8873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8874 /* end confdefs.h. */
8876 /* Override any GCC internal prototype to avoid an error.
8877 Use char because int might match the return type of a GCC
8878 builtin and then its argument prototype would still apply. */
8882 char XOpenDisplay ();
8886 return XOpenDisplay ();
8891 if ac_fn_c_try_link
"$LINENO"; then :
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
8895 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
8896 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
8897 $as_echo_n "(cached) " >&6
8899 ac_check_lib_save_LIBS
=$LIBS
8901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8902 /* end confdefs.h. */
8904 /* Override any GCC internal prototype to avoid an error.
8905 Use char because int might match the return type of a GCC
8906 builtin and then its argument prototype would still apply. */
8914 return dnet_ntoa ();
8919 if ac_fn_c_try_link
"$LINENO"; then :
8920 ac_cv_lib_dnet_dnet_ntoa
=yes
8922 ac_cv_lib_dnet_dnet_ntoa
=no
8924 rm -f core conftest.err conftest.
$ac_objext \
8925 conftest
$ac_exeext conftest.
$ac_ext
8926 LIBS
=$ac_check_lib_save_LIBS
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
8929 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
8930 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
8931 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8934 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
8936 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
8937 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
8938 $as_echo_n "(cached) " >&6
8940 ac_check_lib_save_LIBS
=$LIBS
8941 LIBS
="-ldnet_stub $LIBS"
8942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8943 /* end confdefs.h. */
8945 /* Override any GCC internal prototype to avoid an error.
8946 Use char because int might match the return type of a GCC
8947 builtin and then its argument prototype would still apply. */
8955 return dnet_ntoa ();
8960 if ac_fn_c_try_link
"$LINENO"; then :
8961 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8963 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8965 rm -f core conftest.err conftest.
$ac_objext \
8966 conftest
$ac_exeext conftest.
$ac_ext
8967 LIBS
=$ac_check_lib_save_LIBS
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8970 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8971 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8972 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8977 rm -f core conftest.err conftest.
$ac_objext \
8978 conftest
$ac_exeext conftest.
$ac_ext
8979 LIBS
="$ac_xsave_LIBS"
8981 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8982 # to get the SysV transport functions.
8983 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8985 # The nsl library prevents programs from opening the X display
8986 # on Irix 5.2, according to T.E. Dickey.
8987 # The functions gethostbyname, getservbyname, and inet_addr are
8988 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8989 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8990 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8994 if test $ac_cv_func_gethostbyname = no
; then
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8996 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8997 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8998 $as_echo_n "(cached) " >&6
9000 ac_check_lib_save_LIBS
=$LIBS
9002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9003 /* end confdefs.h. */
9005 /* Override any GCC internal prototype to avoid an error.
9006 Use char because int might match the return type of a GCC
9007 builtin and then its argument prototype would still apply. */
9011 char gethostbyname ();
9015 return gethostbyname ();
9020 if ac_fn_c_try_link
"$LINENO"; then :
9021 ac_cv_lib_nsl_gethostbyname
=yes
9023 ac_cv_lib_nsl_gethostbyname
=no
9025 rm -f core conftest.err conftest.
$ac_objext \
9026 conftest
$ac_exeext conftest.
$ac_ext
9027 LIBS
=$ac_check_lib_save_LIBS
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9030 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9031 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9032 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9035 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9037 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9038 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9039 $as_echo_n "(cached) " >&6
9041 ac_check_lib_save_LIBS
=$LIBS
9043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9044 /* end confdefs.h. */
9046 /* Override any GCC internal prototype to avoid an error.
9047 Use char because int might match the return type of a GCC
9048 builtin and then its argument prototype would still apply. */
9052 char gethostbyname ();
9056 return gethostbyname ();
9061 if ac_fn_c_try_link
"$LINENO"; then :
9062 ac_cv_lib_bsd_gethostbyname
=yes
9064 ac_cv_lib_bsd_gethostbyname
=no
9066 rm -f core conftest.err conftest.
$ac_objext \
9067 conftest
$ac_exeext conftest.
$ac_ext
9068 LIBS
=$ac_check_lib_save_LIBS
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9071 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9072 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9073 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9079 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9080 # socket/setsockopt and other routines are undefined under SCO ODT
9081 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9082 # on later versions), says Simon Leinen: it contains gethostby*
9083 # variants that don't use the name server (or something). -lsocket
9084 # must be given before -lnsl if both are needed. We assume that
9085 # if connect needs -lnsl, so does gethostbyname.
9086 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9087 if test "x$ac_cv_func_connect" = xyes
; then :
9091 if test $ac_cv_func_connect = no
; then
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9093 $as_echo_n "checking for connect in -lsocket... " >&6; }
9094 if ${ac_cv_lib_socket_connect+:} false
; then :
9095 $as_echo_n "(cached) " >&6
9097 ac_check_lib_save_LIBS
=$LIBS
9098 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9100 /* end confdefs.h. */
9102 /* Override any GCC internal prototype to avoid an error.
9103 Use char because int might match the return type of a GCC
9104 builtin and then its argument prototype would still apply. */
9117 if ac_fn_c_try_link
"$LINENO"; then :
9118 ac_cv_lib_socket_connect
=yes
9120 ac_cv_lib_socket_connect
=no
9122 rm -f core conftest.err conftest.
$ac_objext \
9123 conftest
$ac_exeext conftest.
$ac_ext
9124 LIBS
=$ac_check_lib_save_LIBS
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9127 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9128 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9129 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9134 # Guillermo Gomez says -lposix is necessary on A/UX.
9135 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9136 if test "x$ac_cv_func_remove" = xyes
; then :
9140 if test $ac_cv_func_remove = no
; then
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9142 $as_echo_n "checking for remove in -lposix... " >&6; }
9143 if ${ac_cv_lib_posix_remove+:} false
; then :
9144 $as_echo_n "(cached) " >&6
9146 ac_check_lib_save_LIBS
=$LIBS
9147 LIBS
="-lposix $LIBS"
9148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9149 /* end confdefs.h. */
9151 /* Override any GCC internal prototype to avoid an error.
9152 Use char because int might match the return type of a GCC
9153 builtin and then its argument prototype would still apply. */
9166 if ac_fn_c_try_link
"$LINENO"; then :
9167 ac_cv_lib_posix_remove
=yes
9169 ac_cv_lib_posix_remove
=no
9171 rm -f core conftest.err conftest.
$ac_objext \
9172 conftest
$ac_exeext conftest.
$ac_ext
9173 LIBS
=$ac_check_lib_save_LIBS
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9176 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9177 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9178 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9183 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9184 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9185 if test "x$ac_cv_func_shmat" = xyes
; then :
9189 if test $ac_cv_func_shmat = no
; then
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9191 $as_echo_n "checking for shmat in -lipc... " >&6; }
9192 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9193 $as_echo_n "(cached) " >&6
9195 ac_check_lib_save_LIBS
=$LIBS
9197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9198 /* end confdefs.h. */
9200 /* Override any GCC internal prototype to avoid an error.
9201 Use char because int might match the return type of a GCC
9202 builtin and then its argument prototype would still apply. */
9215 if ac_fn_c_try_link
"$LINENO"; then :
9216 ac_cv_lib_ipc_shmat
=yes
9218 ac_cv_lib_ipc_shmat
=no
9220 rm -f core conftest.err conftest.
$ac_objext \
9221 conftest
$ac_exeext conftest.
$ac_ext
9222 LIBS
=$ac_check_lib_save_LIBS
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9225 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9226 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9227 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9233 # Check for libraries that X11R6 Xt/Xaw programs need.
9234 ac_save_LDFLAGS
=$LDFLAGS
9235 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9236 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9237 # check for ICE first), but we must link in the order -lSM -lICE or
9238 # we get undefined symbols. So assume we have SM if we have ICE.
9239 # These have to be linked with before -lX11, unlike the other
9240 # libraries we check for below, so use a different variable.
9241 # John Interrante, Karl Berry
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9243 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9244 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9245 $as_echo_n "(cached) " >&6
9247 ac_check_lib_save_LIBS
=$LIBS
9248 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9250 /* end confdefs.h. */
9252 /* Override any GCC internal prototype to avoid an error.
9253 Use char because int might match the return type of a GCC
9254 builtin and then its argument prototype would still apply. */
9258 char IceConnectionNumber ();
9262 return IceConnectionNumber ();
9267 if ac_fn_c_try_link
"$LINENO"; then :
9268 ac_cv_lib_ICE_IceConnectionNumber
=yes
9270 ac_cv_lib_ICE_IceConnectionNumber
=no
9272 rm -f core conftest.err conftest.
$ac_objext \
9273 conftest
$ac_exeext conftest.
$ac_ext
9274 LIBS
=$ac_check_lib_save_LIBS
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9277 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9278 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9279 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9282 LDFLAGS
=$ac_save_LDFLAGS
9287 if test "$have_x" = "yes"
9289 ac_save_CPPFLAGS
="$CPPFLAGS"
9290 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9293 $as_echo_n "checking for -lX11... " >&6; }
9294 if ${ac_cv_lib_soname_X11+:} false
; then :
9295 $as_echo_n "(cached) " >&6
9297 ac_check_soname_save_LIBS
=$LIBS
9298 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9300 /* end confdefs.h. */
9302 /* Override any GCC internal prototype to avoid an error.
9303 Use char because int might match the return type of a GCC
9304 builtin and then its argument prototype would still apply. */
9308 char XCreateWindow ();
9312 return XCreateWindow ();
9317 if ac_fn_c_try_link
"$LINENO"; then :
9319 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9320 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'` ;;
9321 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9322 if ${ac_cv_lib_soname_X11:+false} :; then :
9323 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9327 rm -f core conftest.err conftest.
$ac_objext \
9328 conftest
$ac_exeext conftest.
$ac_ext
9329 LIBS
=$ac_check_soname_save_LIBS
9331 if ${ac_cv_lib_soname_X11:+false} :; then :
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9333 $as_echo "not found" >&6; }
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9337 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9339 cat >>confdefs.h
<<_ACEOF
9340 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9346 $as_echo_n "checking for -lXext... " >&6; }
9347 if ${ac_cv_lib_soname_Xext+:} false
; then :
9348 $as_echo_n "(cached) " >&6
9350 ac_check_soname_save_LIBS
=$LIBS
9351 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9353 /* end confdefs.h. */
9355 /* Override any GCC internal prototype to avoid an error.
9356 Use char because int might match the return type of a GCC
9357 builtin and then its argument prototype would still apply. */
9361 char XextCreateExtension ();
9365 return XextCreateExtension ();
9370 if ac_fn_c_try_link
"$LINENO"; then :
9372 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9373 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'` ;;
9374 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9375 if ${ac_cv_lib_soname_Xext:+false} :; then :
9376 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9380 rm -f core conftest.err conftest.
$ac_objext \
9381 conftest
$ac_exeext conftest.
$ac_ext
9382 LIBS
=$ac_check_soname_save_LIBS
9384 if ${ac_cv_lib_soname_Xext:+false} :; then :
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9386 $as_echo "not found" >&6; }
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9390 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9392 cat >>confdefs.h
<<_ACEOF
9393 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9396 X_LIBS
="$X_LIBS -lXext"
9398 X_LIBS
="$X_LIBS -lX11"
9400 for ac_header
in X11
/Xlib.h \
9403 X11
/Xcursor
/Xcursor.h \
9404 X11
/extensions
/shape.h \
9405 X11
/extensions
/XInput.h \
9406 X11
/extensions
/XInput2.h \
9407 X11
/extensions
/XShm.h \
9408 X11
/extensions
/Xcomposite.h \
9409 X11
/extensions
/Xinerama.h \
9410 X11
/extensions
/Xrandr.h \
9411 X11
/extensions
/Xrender.h \
9412 X11
/extensions
/xf86vmode.h \
9413 X11
/extensions
/xf86vmproto.h
9415 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9416 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9417 # include <X11/Xlib.h>
9419 #ifdef HAVE_X11_XUTIL_H
9420 # include <X11/Xutil.h>
9423 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9424 cat >>confdefs.h
<<_ACEOF
9425 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9433 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9436 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9437 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9438 $as_echo_n "(cached) " >&6
9440 ac_check_lib_save_LIBS
=$LIBS
9441 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9443 /* end confdefs.h. */
9445 /* Override any GCC internal prototype to avoid an error.
9446 Use char because int might match the return type of a GCC
9447 builtin and then its argument prototype would still apply. */
9451 char XkbQueryExtension ();
9455 return XkbQueryExtension ();
9460 if ac_fn_c_try_link
"$LINENO"; then :
9461 ac_cv_lib_X11_XkbQueryExtension
=yes
9463 ac_cv_lib_X11_XkbQueryExtension
=no
9465 rm -f core conftest.err conftest.
$ac_objext \
9466 conftest
$ac_exeext conftest.
$ac_ext
9467 LIBS
=$ac_check_lib_save_LIBS
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9470 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9471 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9473 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9479 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9482 $as_echo_n "checking for -lXcursor... " >&6; }
9483 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9484 $as_echo_n "(cached) " >&6
9486 ac_check_soname_save_LIBS
=$LIBS
9487 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9489 /* end confdefs.h. */
9491 /* Override any GCC internal prototype to avoid an error.
9492 Use char because int might match the return type of a GCC
9493 builtin and then its argument prototype would still apply. */
9497 char XcursorImageLoadCursor ();
9501 return XcursorImageLoadCursor ();
9506 if ac_fn_c_try_link
"$LINENO"; then :
9508 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9509 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'` ;;
9510 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9511 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9512 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9516 rm -f core conftest.err conftest.
$ac_objext \
9517 conftest
$ac_exeext conftest.
$ac_ext
9518 LIBS
=$ac_check_soname_save_LIBS
9520 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9522 $as_echo "not found" >&6; }
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9526 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9528 cat >>confdefs.h
<<_ACEOF
9529 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9535 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9536 case "x$with_xcursor" in
9537 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9539 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9540 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9544 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9547 $as_echo_n "checking for -lXi... " >&6; }
9548 if ${ac_cv_lib_soname_Xi+:} false
; then :
9549 $as_echo_n "(cached) " >&6
9551 ac_check_soname_save_LIBS
=$LIBS
9552 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9554 /* end confdefs.h. */
9556 /* Override any GCC internal prototype to avoid an error.
9557 Use char because int might match the return type of a GCC
9558 builtin and then its argument prototype would still apply. */
9562 char XOpenDevice ();
9566 return XOpenDevice ();
9571 if ac_fn_c_try_link
"$LINENO"; then :
9573 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9574 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'` ;;
9575 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9576 if ${ac_cv_lib_soname_Xi:+false} :; then :
9577 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9581 rm -f core conftest.err conftest.
$ac_objext \
9582 conftest
$ac_exeext conftest.
$ac_ext
9583 LIBS
=$ac_check_soname_save_LIBS
9585 if ${ac_cv_lib_soname_Xi:+false} :; then :
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9587 $as_echo "not found" >&6; }
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9591 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9593 cat >>confdefs.h
<<_ACEOF
9594 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9600 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9601 case "x$with_xinput" in
9602 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9604 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9605 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9609 if test "x$ac_cv_lib_soname_Xi" != x
9611 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9612 case "x$with_xinput2" in
9613 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9615 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9616 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9621 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9624 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9625 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9626 $as_echo_n "(cached) " >&6
9628 ac_check_lib_save_LIBS
=$LIBS
9629 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9631 /* end confdefs.h. */
9633 /* Override any GCC internal prototype to avoid an error.
9634 Use char because int might match the return type of a GCC
9635 builtin and then its argument prototype would still apply. */
9639 char XShmQueryExtension ();
9643 return XShmQueryExtension ();
9648 if ac_fn_c_try_link
"$LINENO"; then :
9649 ac_cv_lib_Xext_XShmQueryExtension
=yes
9651 ac_cv_lib_Xext_XShmQueryExtension
=no
9653 rm -f core conftest.err conftest.
$ac_objext \
9654 conftest
$ac_exeext conftest.
$ac_ext
9655 LIBS
=$ac_check_lib_save_LIBS
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9658 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9659 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9661 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9666 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9667 case "x$with_xshm" in
9668 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9670 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9671 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9675 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9678 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9679 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9680 $as_echo_n "(cached) " >&6
9682 ac_check_lib_save_LIBS
=$LIBS
9683 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9685 /* end confdefs.h. */
9687 /* Override any GCC internal prototype to avoid an error.
9688 Use char because int might match the return type of a GCC
9689 builtin and then its argument prototype would still apply. */
9693 char XShapeQueryExtension ();
9697 return XShapeQueryExtension ();
9702 if ac_fn_c_try_link
"$LINENO"; then :
9703 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9705 ac_cv_lib_Xext_XShapeQueryExtension
=no
9707 rm -f core conftest.err conftest.
$ac_objext \
9708 conftest
$ac_exeext conftest.
$ac_ext
9709 LIBS
=$ac_check_lib_save_LIBS
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9712 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9713 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9715 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9720 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9721 case "x$with_xshape" in
9722 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9724 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9725 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9729 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9732 $as_echo_n "checking for -lXxf86vm... " >&6; }
9733 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9734 $as_echo_n "(cached) " >&6
9736 ac_check_soname_save_LIBS
=$LIBS
9737 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9739 /* end confdefs.h. */
9741 /* Override any GCC internal prototype to avoid an error.
9742 Use char because int might match the return type of a GCC
9743 builtin and then its argument prototype would still apply. */
9747 char XF86VidModeQueryExtension ();
9751 return XF86VidModeQueryExtension ();
9756 if ac_fn_c_try_link
"$LINENO"; then :
9758 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9759 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'` ;;
9760 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9761 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9762 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9766 rm -f core conftest.err conftest.
$ac_objext \
9767 conftest
$ac_exeext conftest.
$ac_ext
9768 LIBS
=$ac_check_soname_save_LIBS
9770 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9772 $as_echo "not found" >&6; }
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9776 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9778 cat >>confdefs.h
<<_ACEOF
9779 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9785 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9786 case "x$with_xxf86vm" in
9787 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9789 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9790 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9794 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"
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9797 $as_echo_n "checking for -lXrender... " >&6; }
9798 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9799 $as_echo_n "(cached) " >&6
9801 ac_check_soname_save_LIBS
=$LIBS
9802 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9804 /* end confdefs.h. */
9806 /* Override any GCC internal prototype to avoid an error.
9807 Use char because int might match the return type of a GCC
9808 builtin and then its argument prototype would still apply. */
9812 char XRenderQueryExtension ();
9816 return XRenderQueryExtension ();
9821 if ac_fn_c_try_link
"$LINENO"; then :
9823 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9824 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'` ;;
9825 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9826 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9827 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9831 rm -f core conftest.err conftest.
$ac_objext \
9832 conftest
$ac_exeext conftest.
$ac_ext
9833 LIBS
=$ac_check_soname_save_LIBS
9835 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9837 $as_echo "not found" >&6; }
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
9841 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
9843 cat >>confdefs.h
<<_ACEOF
9844 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
9848 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
9849 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
9850 $as_echo_n "(cached) " >&6
9852 ac_check_lib_save_LIBS
=$LIBS
9853 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $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 XRenderSetPictureTransform ();
9867 return XRenderSetPictureTransform ();
9872 if ac_fn_c_try_link
"$LINENO"; then :
9873 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
9875 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
9877 rm -f core conftest.err conftest.
$ac_objext \
9878 conftest
$ac_exeext conftest.
$ac_ext
9879 LIBS
=$ac_check_lib_save_LIBS
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9882 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9883 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
9885 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
9890 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
9891 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
9892 $as_echo_n "(cached) " >&6
9894 ac_check_lib_save_LIBS
=$LIBS
9895 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9897 /* end confdefs.h. */
9899 /* Override any GCC internal prototype to avoid an error.
9900 Use char because int might match the return type of a GCC
9901 builtin and then its argument prototype would still apply. */
9905 char XRenderCreateLinearGradient ();
9909 return XRenderCreateLinearGradient ();
9914 if ac_fn_c_try_link
"$LINENO"; then :
9915 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
9917 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
9919 rm -f core conftest.err conftest.
$ac_objext \
9920 conftest
$ac_exeext conftest.
$ac_ext
9921 LIBS
=$ac_check_lib_save_LIBS
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
9924 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
9925 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
9927 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
9934 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
9935 case "x$with_xrender" in
9936 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
9938 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
9939 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9943 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9946 /* end confdefs.h. */
9947 #include <X11/Xlib.h>
9948 #include <X11/extensions/Xrandr.h>
9952 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9957 if ac_fn_c_try_compile
"$LINENO"; then :
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9959 $as_echo_n "checking for -lXrandr... " >&6; }
9960 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9961 $as_echo_n "(cached) " >&6
9963 ac_check_soname_save_LIBS
=$LIBS
9964 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
9965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9966 /* end confdefs.h. */
9968 /* Override any GCC internal prototype to avoid an error.
9969 Use char because int might match the return type of a GCC
9970 builtin and then its argument prototype would still apply. */
9974 char XRRQueryExtension ();
9978 return XRRQueryExtension ();
9983 if ac_fn_c_try_link
"$LINENO"; then :
9985 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9986 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'` ;;
9987 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9988 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9989 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9993 rm -f core conftest.err conftest.
$ac_objext \
9994 conftest
$ac_exeext conftest.
$ac_ext
9995 LIBS
=$ac_check_soname_save_LIBS
9997 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9999 $as_echo "not found" >&6; }
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10003 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10005 cat >>confdefs.h
<<_ACEOF
10006 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10010 /* end confdefs.h. */
10011 #include <X11/Xlib.h>
10012 #include <X11/extensions/Xrandr.h>
10016 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10021 if ac_fn_c_try_compile
"$LINENO"; then :
10023 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10029 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10031 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10032 case "x$with_xrandr" in
10033 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10035 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10036 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10040 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10043 /* end confdefs.h. */
10044 #include <X11/Xlib.h>
10045 #include <X11/extensions/Xinerama.h>
10049 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10054 if ac_fn_c_try_compile
"$LINENO"; then :
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10056 $as_echo_n "checking for -lXinerama... " >&6; }
10057 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10058 $as_echo_n "(cached) " >&6
10060 ac_check_soname_save_LIBS
=$LIBS
10061 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10063 /* end confdefs.h. */
10065 /* Override any GCC internal prototype to avoid an error.
10066 Use char because int might match the return type of a GCC
10067 builtin and then its argument prototype would still apply. */
10071 char XineramaQueryScreens ();
10075 return XineramaQueryScreens ();
10080 if ac_fn_c_try_link
"$LINENO"; then :
10082 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10083 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'` ;;
10084 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10085 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10086 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10090 rm -f core conftest.err conftest.
$ac_objext \
10091 conftest
$ac_exeext conftest.
$ac_ext
10092 LIBS
=$ac_check_soname_save_LIBS
10094 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10096 $as_echo "not found" >&6; }
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10100 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10102 cat >>confdefs.h
<<_ACEOF
10103 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10111 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10112 case "x$with_xinerama" in
10113 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10115 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10116 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10120 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10123 $as_echo_n "checking for -lXcomposite... " >&6; }
10124 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10125 $as_echo_n "(cached) " >&6
10127 ac_check_soname_save_LIBS
=$LIBS
10128 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10130 /* end confdefs.h. */
10132 /* Override any GCC internal prototype to avoid an error.
10133 Use char because int might match the return type of a GCC
10134 builtin and then its argument prototype would still apply. */
10138 char XCompositeRedirectWindow ();
10142 return XCompositeRedirectWindow ();
10147 if ac_fn_c_try_link
"$LINENO"; then :
10149 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10150 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'` ;;
10151 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10152 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10153 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10157 rm -f core conftest.err conftest.
$ac_objext \
10158 conftest
$ac_exeext conftest.
$ac_ext
10159 LIBS
=$ac_check_soname_save_LIBS
10161 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10163 $as_echo "not found" >&6; }
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10167 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10169 cat >>confdefs.h
<<_ACEOF
10170 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10176 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10177 case "x$with_xcomposite" in
10178 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10180 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10181 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10185 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10186 #include <X11/Xlib.h>
10189 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10191 cat >>confdefs.h
<<_ACEOF
10192 #define HAVE_XICCALLBACK_CALLBACK 1
10197 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10198 #include <X11/Xlib.h>
10201 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10203 cat >>confdefs.h
<<_ACEOF
10204 #define HAVE_XEVENT_XCOOKIE 1
10213 if test "x$with_opengl" != "xno"
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10216 $as_echo_n "checking for -lGL... " >&6; }
10217 if ${ac_cv_lib_soname_GL+:} false
; then :
10218 $as_echo_n "(cached) " >&6
10220 ac_check_soname_save_LIBS
=$LIBS
10221 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10223 /* end confdefs.h. */
10225 /* Override any GCC internal prototype to avoid an error.
10226 Use char because int might match the return type of a GCC
10227 builtin and then its argument prototype would still apply. */
10231 char glXCreateContext ();
10235 return glXCreateContext ();
10240 if ac_fn_c_try_link
"$LINENO"; then :
10242 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10243 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'` ;;
10244 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10245 if ${ac_cv_lib_soname_GL:+false} :; then :
10246 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10250 rm -f core conftest.err conftest.
$ac_objext \
10251 conftest
$ac_exeext conftest.
$ac_ext
10252 LIBS
=$ac_check_soname_save_LIBS
10254 if ${ac_cv_lib_soname_GL:+false} :; then :
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10256 $as_echo "not found" >&6; }
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10258 $as_echo_n "checking for -lGL... " >&6; }
10259 if ${ac_cv_lib_soname_GL+:} false
; then :
10260 $as_echo_n "(cached) " >&6
10262 ac_check_soname_save_LIBS
=$LIBS
10263 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
10264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10265 /* end confdefs.h. */
10267 /* Override any GCC internal prototype to avoid an error.
10268 Use char because int might match the return type of a GCC
10269 builtin and then its argument prototype would still apply. */
10273 char glXCreateContext ();
10277 return glXCreateContext ();
10282 if ac_fn_c_try_link
"$LINENO"; then :
10284 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10285 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'` ;;
10286 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10287 if ${ac_cv_lib_soname_GL:+false} :; then :
10288 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10292 rm -f core conftest.err conftest.
$ac_objext \
10293 conftest
$ac_exeext conftest.
$ac_ext
10294 LIBS
=$ac_check_soname_save_LIBS
10296 if ${ac_cv_lib_soname_GL:+false} :; then :
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10298 $as_echo "not found" >&6; }
10299 if test -f /usr
/X11R
6/lib
/libGL.a
10301 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10302 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10304 opengl_msg
="No OpenGL library found on this system."
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10308 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10310 cat >>confdefs.h
<<_ACEOF
10311 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10314 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"
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10318 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10320 cat >>confdefs.h
<<_ACEOF
10321 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10326 if test "x$with_glu" != "xno"
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10329 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10330 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10331 $as_echo_n "(cached) " >&6
10333 ac_check_lib_save_LIBS
=$LIBS
10334 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10336 /* end confdefs.h. */
10338 /* Override any GCC internal prototype to avoid an error.
10339 Use char because int might match the return type of a GCC
10340 builtin and then its argument prototype would still apply. */
10348 return gluLookAt ();
10353 if ac_fn_c_try_link
"$LINENO"; then :
10354 ac_cv_lib_GLU_gluLookAt
=yes
10356 ac_cv_lib_GLU_gluLookAt
=no
10358 rm -f core conftest.err conftest.
$ac_objext \
10359 conftest
$ac_exeext conftest.
$ac_ext
10360 LIBS
=$ac_check_lib_save_LIBS
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10363 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10364 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10368 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10369 case "x$with_glu" in
10370 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10372 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10373 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10378 if test "x$with_osmesa" != "xno"
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10381 $as_echo_n "checking for -lOSMesa... " >&6; }
10382 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10383 $as_echo_n "(cached) " >&6
10385 ac_check_soname_save_LIBS
=$LIBS
10386 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10388 /* end confdefs.h. */
10390 /* Override any GCC internal prototype to avoid an error.
10391 Use char because int might match the return type of a GCC
10392 builtin and then its argument prototype would still apply. */
10405 if ac_fn_c_try_link
"$LINENO"; then :
10407 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10408 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'` ;;
10409 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10410 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10411 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10415 rm -f core conftest.err conftest.
$ac_objext \
10416 conftest
$ac_exeext conftest.
$ac_ext
10417 LIBS
=$ac_check_soname_save_LIBS
10419 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10421 $as_echo "not found" >&6; }
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10425 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10427 cat >>confdefs.h
<<_ACEOF
10428 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10433 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10434 case "x$with_osmesa" in
10435 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10437 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10438 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10443 if test -n "$opengl_msg"; then :
10444 case "x$with_opengl" in
10445 x
) as_fn_append wine_warnings
"|$opengl_msg
10446 OpenGL and Direct3D won't be supported." ;;
10448 *) as_fn_error $?
"$opengl_msg
10449 OpenGL and Direct3D won't be supported.
10450 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10454 CPPFLAGS
="$ac_save_CPPFLAGS"
10458 enable_winex11_drv
=${enable_winex11_drv:-no}
10460 if test "x$X_LIBS" = "x"; then :
10463 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10464 without X support, which probably isn't what you want. You will need
10465 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10466 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10470 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10472 if test "$ac_cv_header_CL_cl_h" = "yes"
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10475 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10476 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10477 $as_echo_n "(cached) " >&6
10479 ac_check_lib_save_LIBS
=$LIBS
10480 LIBS
="-lOpenCL $LIBS"
10481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10482 /* end confdefs.h. */
10484 /* Override any GCC internal prototype to avoid an error.
10485 Use char because int might match the return type of a GCC
10486 builtin and then its argument prototype would still apply. */
10490 char clGetPlatformInfo ();
10494 return clGetPlatformInfo ();
10499 if ac_fn_c_try_link
"$LINENO"; then :
10500 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10502 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10504 rm -f core conftest.err conftest.
$ac_objext \
10505 conftest
$ac_exeext conftest.
$ac_ext
10506 LIBS
=$ac_check_lib_save_LIBS
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10509 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10510 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10511 OPENCL_LIBS
="-lOpenCL"
10516 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10517 case "x$with_opencl" in
10518 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10520 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10521 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10524 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10526 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10529 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10530 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10531 $as_echo_n "(cached) " >&6
10533 ac_check_lib_save_LIBS
=$LIBS
10534 LIBS
="-lpcap $LIBS"
10535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10536 /* end confdefs.h. */
10538 /* Override any GCC internal prototype to avoid an error.
10539 Use char because int might match the return type of a GCC
10540 builtin and then its argument prototype would still apply. */
10544 char pcap_create ();
10548 return pcap_create ();
10553 if ac_fn_c_try_link
"$LINENO"; then :
10554 ac_cv_lib_pcap_pcap_create
=yes
10556 ac_cv_lib_pcap_pcap_create
=no
10558 rm -f core conftest.err conftest.
$ac_objext \
10559 conftest
$ac_exeext conftest.
$ac_ext
10560 LIBS
=$ac_check_lib_save_LIBS
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10563 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10564 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10570 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10571 case "x$with_pcap" in
10572 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10574 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10575 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10578 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10581 if test "x$with_xml" != "xno"
10583 if ${XML2_CFLAGS:+false} :; then :
10584 if ${PKG_CONFIG+:} false
; then :
10585 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10588 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10589 if ${XML2_LIBS:+false} :; then :
10590 if ${PKG_CONFIG+:} false
; then :
10591 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10594 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10595 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10596 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10597 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10598 ac_save_CPPFLAGS
=$CPPFLAGS
10599 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10600 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10602 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10603 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10604 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10605 cat >>confdefs.h
<<_ACEOF
10606 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10613 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"
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10616 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10617 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10618 $as_echo_n "(cached) " >&6
10620 ac_check_lib_save_LIBS
=$LIBS
10621 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10623 /* end confdefs.h. */
10625 /* Override any GCC internal prototype to avoid an error.
10626 Use char because int might match the return type of a GCC
10627 builtin and then its argument prototype would still apply. */
10631 char xmlParseMemory ();
10635 return xmlParseMemory ();
10640 if ac_fn_c_try_link
"$LINENO"; then :
10641 ac_cv_lib_xml2_xmlParseMemory
=yes
10643 ac_cv_lib_xml2_xmlParseMemory
=no
10645 rm -f core conftest.err conftest.
$ac_objext \
10646 conftest
$ac_exeext conftest.
$ac_ext
10647 LIBS
=$ac_check_lib_save_LIBS
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10650 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10651 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10653 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10660 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10661 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10662 $as_echo_n "(cached) " >&6
10664 ac_check_lib_save_LIBS
=$LIBS
10665 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10667 /* end confdefs.h. */
10669 /* Override any GCC internal prototype to avoid an error.
10670 Use char because int might match the return type of a GCC
10671 builtin and then its argument prototype would still apply. */
10675 char xmlReadMemory ();
10679 return xmlReadMemory ();
10684 if ac_fn_c_try_link
"$LINENO"; then :
10685 ac_cv_lib_xml2_xmlReadMemory
=yes
10687 ac_cv_lib_xml2_xmlReadMemory
=no
10689 rm -f core conftest.err conftest.
$ac_objext \
10690 conftest
$ac_exeext conftest.
$ac_ext
10691 LIBS
=$ac_check_lib_save_LIBS
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10694 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10695 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10697 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10702 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10703 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10704 $as_echo_n "(cached) " >&6
10706 ac_check_lib_save_LIBS
=$LIBS
10707 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10709 /* end confdefs.h. */
10711 /* Override any GCC internal prototype to avoid an error.
10712 Use char because int might match the return type of a GCC
10713 builtin and then its argument prototype would still apply. */
10717 char xmlNewDocPI ();
10721 return xmlNewDocPI ();
10726 if ac_fn_c_try_link
"$LINENO"; then :
10727 ac_cv_lib_xml2_xmlNewDocPI
=yes
10729 ac_cv_lib_xml2_xmlNewDocPI
=no
10731 rm -f core conftest.err conftest.
$ac_objext \
10732 conftest
$ac_exeext conftest.
$ac_ext
10733 LIBS
=$ac_check_lib_save_LIBS
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10736 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10737 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10739 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10744 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10745 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10746 $as_echo_n "(cached) " >&6
10748 ac_check_lib_save_LIBS
=$LIBS
10749 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10751 /* end confdefs.h. */
10753 /* Override any GCC internal prototype to avoid an error.
10754 Use char because int might match the return type of a GCC
10755 builtin and then its argument prototype would still apply. */
10759 char xmlSchemaSetParserStructuredErrors ();
10763 return xmlSchemaSetParserStructuredErrors ();
10768 if ac_fn_c_try_link
"$LINENO"; then :
10769 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10771 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10773 rm -f core conftest.err conftest.
$ac_objext \
10774 conftest
$ac_exeext conftest.
$ac_ext
10775 LIBS
=$ac_check_lib_save_LIBS
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10778 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10779 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10781 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10786 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10787 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10788 $as_echo_n "(cached) " >&6
10790 ac_check_lib_save_LIBS
=$LIBS
10791 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10793 /* end confdefs.h. */
10795 /* Override any GCC internal prototype to avoid an error.
10796 Use char because int might match the return type of a GCC
10797 builtin and then its argument prototype would still apply. */
10801 char xmlSchemaSetValidStructuredErrors ();
10805 return xmlSchemaSetValidStructuredErrors ();
10810 if ac_fn_c_try_link
"$LINENO"; then :
10811 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10813 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10815 rm -f core conftest.err conftest.
$ac_objext \
10816 conftest
$ac_exeext conftest.
$ac_ext
10817 LIBS
=$ac_check_lib_save_LIBS
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10820 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10821 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10823 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10828 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10829 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
10830 $as_echo_n "(cached) " >&6
10832 ac_check_lib_save_LIBS
=$LIBS
10833 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10835 /* end confdefs.h. */
10837 /* Override any GCC internal prototype to avoid an error.
10838 Use char because int might match the return type of a GCC
10839 builtin and then its argument prototype would still apply. */
10843 char xmlFirstElementChild ();
10847 return xmlFirstElementChild ();
10852 if ac_fn_c_try_link
"$LINENO"; then :
10853 ac_cv_lib_xml2_xmlFirstElementChild
=yes
10855 ac_cv_lib_xml2_xmlFirstElementChild
=no
10857 rm -f core conftest.err conftest.
$ac_objext \
10858 conftest
$ac_exeext conftest.
$ac_ext
10859 LIBS
=$ac_check_lib_save_LIBS
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
10862 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
10863 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
10865 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
10869 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
10871 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
10873 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
10881 CPPFLAGS
=$ac_save_CPPFLAGS
10882 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10883 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10886 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
10887 case "x$with_xml" in
10888 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
10890 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
10891 This is an error since --with-xml was requested." "$LINENO" 5 ;;
10895 if test "x$with_xslt" != "xno"
10897 if ${XSLT_CFLAGS:+false} :; then :
10898 if ${PKG_CONFIG+:} false
; then :
10899 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
10902 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
10903 if ${XSLT_LIBS:+false} :; then :
10904 if ${PKG_CONFIG+:} false
; then :
10905 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10908 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10909 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10910 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
10911 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
10912 ac_save_CPPFLAGS
=$CPPFLAGS
10913 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
10914 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10916 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10917 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10918 # include <libxslt/pattern.h>
10921 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10922 cat >>confdefs.h
<<_ACEOF
10923 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10930 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10933 $as_echo_n "checking for -lxslt... " >&6; }
10934 if ${ac_cv_lib_soname_xslt+:} false
; then :
10935 $as_echo_n "(cached) " >&6
10937 ac_check_soname_save_LIBS
=$LIBS
10938 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10940 /* end confdefs.h. */
10942 /* Override any GCC internal prototype to avoid an error.
10943 Use char because int might match the return type of a GCC
10944 builtin and then its argument prototype would still apply. */
10948 char xsltCompilePattern ();
10952 return xsltCompilePattern ();
10957 if ac_fn_c_try_link
"$LINENO"; then :
10959 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10960 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'` ;;
10961 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10962 if ${ac_cv_lib_soname_xslt:+false} :; then :
10963 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10967 rm -f core conftest.err conftest.
$ac_objext \
10968 conftest
$ac_exeext conftest.
$ac_ext
10969 LIBS
=$ac_check_soname_save_LIBS
10971 if ${ac_cv_lib_soname_xslt:+false} :; then :
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10973 $as_echo "not found" >&6; }
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10977 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10979 cat >>confdefs.h
<<_ACEOF
10980 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10988 CPPFLAGS
=$ac_save_CPPFLAGS
10989 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
10990 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
10993 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10994 case "x$with_xslt" in
10995 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10997 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10998 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11002 if test "x$with_dbus" != "xno"
11004 if ${DBUS_CFLAGS:+false} :; then :
11005 if ${PKG_CONFIG+:} false
; then :
11006 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11010 if ${DBUS_LIBS:+false} :; then :
11011 if ${PKG_CONFIG+:} false
; then :
11012 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11017 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11018 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11019 ac_save_CPPFLAGS
=$CPPFLAGS
11020 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11021 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11022 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11024 $as_echo_n "checking for -ldbus-1... " >&6; }
11025 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11026 $as_echo_n "(cached) " >&6
11028 ac_check_soname_save_LIBS
=$LIBS
11029 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11031 /* end confdefs.h. */
11033 /* Override any GCC internal prototype to avoid an error.
11034 Use char because int might match the return type of a GCC
11035 builtin and then its argument prototype would still apply. */
11039 char dbus_connection_close ();
11043 return dbus_connection_close ();
11048 if ac_fn_c_try_link
"$LINENO"; then :
11050 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11051 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'` ;;
11052 *) 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'`
11053 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11054 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11058 rm -f core conftest.err conftest.
$ac_objext \
11059 conftest
$ac_exeext conftest.
$ac_ext
11060 LIBS
=$ac_check_soname_save_LIBS
11062 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11064 $as_echo "not found" >&6; }
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11068 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11070 cat >>confdefs.h
<<_ACEOF
11071 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11081 CPPFLAGS
=$ac_save_CPPFLAGS
11082 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11083 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11086 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11087 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11088 case "x$with_dbus" in
11089 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11091 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11092 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11096 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11098 if ${HAL_CFLAGS:+false} :; then :
11099 if ${PKG_CONFIG+:} false
; then :
11100 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11104 if ${HAL_LIBS:+false} :; then :
11105 if ${PKG_CONFIG+:} false
; then :
11106 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11110 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11111 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11112 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11113 ac_save_CPPFLAGS
=$CPPFLAGS
11114 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11115 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11116 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11118 $as_echo_n "checking for -lhal... " >&6; }
11119 if ${ac_cv_lib_soname_hal+:} false
; then :
11120 $as_echo_n "(cached) " >&6
11122 ac_check_soname_save_LIBS
=$LIBS
11123 LIBS
="-lhal $HAL_LIBS $LIBS"
11124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11125 /* end confdefs.h. */
11127 /* Override any GCC internal prototype to avoid an error.
11128 Use char because int might match the return type of a GCC
11129 builtin and then its argument prototype would still apply. */
11133 char libhal_ctx_new ();
11137 return libhal_ctx_new ();
11142 if ac_fn_c_try_link
"$LINENO"; then :
11144 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11145 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'` ;;
11146 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11147 if ${ac_cv_lib_soname_hal:+false} :; then :
11148 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11152 rm -f core conftest.err conftest.
$ac_objext \
11153 conftest
$ac_exeext conftest.
$ac_ext
11154 LIBS
=$ac_check_soname_save_LIBS
11156 if ${ac_cv_lib_soname_hal:+false} :; then :
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11158 $as_echo "not found" >&6; }
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11162 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11164 cat >>confdefs.h
<<_ACEOF
11165 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11175 CPPFLAGS
=$ac_save_CPPFLAGS
11176 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11177 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11179 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11180 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11181 case "x$with_hal" in
11182 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11184 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11185 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11190 if test "x$with_gnutls" != "xno"
11192 if ${GNUTLS_CFLAGS:+false} :; then :
11193 if ${PKG_CONFIG+:} false
; then :
11194 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11198 if ${GNUTLS_LIBS:+false} :; then :
11199 if ${PKG_CONFIG+:} false
; then :
11200 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11205 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11206 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11207 ac_save_CPPFLAGS
=$CPPFLAGS
11208 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11209 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11210 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11212 /* end confdefs.h. */
11213 #include <gnutls/gnutls.h>
11214 #include <gnutls/crypto.h>
11218 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11223 if ac_fn_c_try_compile
"$LINENO"; then :
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11225 $as_echo_n "checking for -lgnutls... " >&6; }
11226 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11227 $as_echo_n "(cached) " >&6
11229 ac_check_soname_save_LIBS
=$LIBS
11230 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11232 /* end confdefs.h. */
11234 /* Override any GCC internal prototype to avoid an error.
11235 Use char because int might match the return type of a GCC
11236 builtin and then its argument prototype would still apply. */
11240 char gnutls_global_init ();
11244 return gnutls_global_init ();
11249 if ac_fn_c_try_link
"$LINENO"; then :
11251 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11252 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'` ;;
11253 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11254 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11255 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11259 rm -f core conftest.err conftest.
$ac_objext \
11260 conftest
$ac_exeext conftest.
$ac_ext
11261 LIBS
=$ac_check_soname_save_LIBS
11263 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11265 $as_echo "not found" >&6; }
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11269 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11271 cat >>confdefs.h
<<_ACEOF
11272 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11278 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11284 CPPFLAGS
=$ac_save_CPPFLAGS
11285 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11286 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11289 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11290 case "x$with_gnutls" in
11291 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11293 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11294 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11299 if test "$ac_cv_header_ncurses_h" = "yes"
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11302 $as_echo_n "checking for -lncurses... " >&6; }
11303 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11304 $as_echo_n "(cached) " >&6
11306 ac_check_soname_save_LIBS
=$LIBS
11307 LIBS
="-lncurses $LIBS"
11308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11309 /* end confdefs.h. */
11311 /* Override any GCC internal prototype to avoid an error.
11312 Use char because int might match the return type of a GCC
11313 builtin and then its argument prototype would still apply. */
11326 if ac_fn_c_try_link
"$LINENO"; then :
11328 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11329 dylib
) ac_cv_lib_soname_ncurses
=`otool -L conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncursesw\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11330 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncursesw\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11331 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11332 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11336 rm -f core conftest.err conftest.
$ac_objext \
11337 conftest
$ac_exeext conftest.
$ac_ext
11338 LIBS
=$ac_check_soname_save_LIBS
11340 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11342 $as_echo "not found" >&6; }
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11346 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11348 cat >>confdefs.h
<<_ACEOF
11349 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11352 CURSES_LIBS
="-lncurses"
11354 elif test "$ac_cv_header_curses_h" = "yes"
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11357 $as_echo_n "checking for -lcurses... " >&6; }
11358 if ${ac_cv_lib_soname_curses+:} false
; then :
11359 $as_echo_n "(cached) " >&6
11361 ac_check_soname_save_LIBS
=$LIBS
11362 LIBS
="-lcurses $LIBS"
11363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11364 /* end confdefs.h. */
11366 /* Override any GCC internal prototype to avoid an error.
11367 Use char because int might match the return type of a GCC
11368 builtin and then its argument prototype would still apply. */
11381 if ac_fn_c_try_link
"$LINENO"; then :
11383 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11384 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'` ;;
11385 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11386 if ${ac_cv_lib_soname_curses:+false} :; then :
11387 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11391 rm -f core conftest.err conftest.
$ac_objext \
11392 conftest
$ac_exeext conftest.
$ac_ext
11393 LIBS
=$ac_check_soname_save_LIBS
11395 if ${ac_cv_lib_soname_curses:+false} :; then :
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11397 $as_echo "not found" >&6; }
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11401 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11403 cat >>confdefs.h
<<_ACEOF
11404 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11407 CURSES_LIBS
="-lcurses"
11410 ac_save_LIBS
="$LIBS"
11411 LIBS
="$LIBS $CURSES_LIBS"
11412 for ac_func
in mousemask
11414 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11415 if test "x$ac_cv_func_mousemask" = xyes
; then :
11416 cat >>confdefs.h
<<_ACEOF
11417 #define HAVE_MOUSEMASK 1
11423 LIBS
="$ac_save_LIBS"
11424 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11425 case "x$with_curses" in
11426 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11428 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11429 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11433 if test "x$with_sane" != "xno"
11435 if ${SANE_CFLAGS:+false} :; then :
11436 if ${PKG_CONFIG+:} false
; then :
11437 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11440 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11441 if ${SANE_LIBS:+false} :; then :
11442 if ${PKG_CONFIG+:} false
; then :
11443 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11446 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11448 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11449 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11450 ac_save_CPPFLAGS
=$CPPFLAGS
11451 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11452 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11453 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11455 $as_echo_n "checking for -lsane... " >&6; }
11456 if ${ac_cv_lib_soname_sane+:} false
; then :
11457 $as_echo_n "(cached) " >&6
11459 ac_check_soname_save_LIBS
=$LIBS
11460 LIBS
="-lsane $SANE_LIBS $LIBS"
11461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11462 /* end confdefs.h. */
11464 /* Override any GCC internal prototype to avoid an error.
11465 Use char because int might match the return type of a GCC
11466 builtin and then its argument prototype would still apply. */
11474 return sane_init ();
11479 if ac_fn_c_try_link
"$LINENO"; then :
11481 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11482 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'` ;;
11483 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11484 if ${ac_cv_lib_soname_sane:+false} :; then :
11485 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11489 rm -f core conftest.err conftest.
$ac_objext \
11490 conftest
$ac_exeext conftest.
$ac_ext
11491 LIBS
=$ac_check_soname_save_LIBS
11493 if ${ac_cv_lib_soname_sane:+false} :; then :
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11495 $as_echo "not found" >&6; }
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11499 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11501 cat >>confdefs.h
<<_ACEOF
11502 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11512 CPPFLAGS
=$ac_save_CPPFLAGS
11513 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11514 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11517 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11518 case "x$with_sane" in
11519 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11521 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11522 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11526 if test "x$with_v4l" != "xno"
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11529 $as_echo_n "checking for -lv4l1... " >&6; }
11530 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11531 $as_echo_n "(cached) " >&6
11533 ac_check_soname_save_LIBS
=$LIBS
11534 LIBS
="-lv4l1 $LIBS"
11535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11536 /* end confdefs.h. */
11538 /* Override any GCC internal prototype to avoid an error.
11539 Use char because int might match the return type of a GCC
11540 builtin and then its argument prototype would still apply. */
11548 return v4l1_open ();
11553 if ac_fn_c_try_link
"$LINENO"; then :
11555 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11556 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'` ;;
11557 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11558 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11559 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11563 rm -f core conftest.err conftest.
$ac_objext \
11564 conftest
$ac_exeext conftest.
$ac_ext
11565 LIBS
=$ac_check_soname_save_LIBS
11567 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11569 $as_echo "not found" >&6; }
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11573 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11575 cat >>confdefs.h
<<_ACEOF
11576 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11582 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11583 case "x$with_v4l" in
11584 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11586 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11587 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11591 if test "x$with_gphoto" != "xno"
11593 if ${GPHOTO2_CFLAGS:+false} :; then :
11594 if ${PKG_CONFIG+:} false
; then :
11595 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11598 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11599 if ${GPHOTO2_LIBS:+false} :; then :
11600 if ${PKG_CONFIG+:} false
; then :
11601 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11604 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11605 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11606 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11607 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11608 ac_save_CPPFLAGS
=$CPPFLAGS
11609 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11610 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11611 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11613 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11614 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11615 $as_echo_n "(cached) " >&6
11617 ac_check_lib_save_LIBS
=$LIBS
11618 LIBS
="-lgphoto2 $GPHOTO2_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. */
11628 char gp_camera_new ();
11632 return gp_camera_new ();
11637 if ac_fn_c_try_link
"$LINENO"; then :
11638 ac_cv_lib_gphoto2_gp_camera_new
=yes
11640 ac_cv_lib_gphoto2_gp_camera_new
=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_gphoto2_gp_camera_new" >&5
11647 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11648 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11650 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11653 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11657 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11661 CPPFLAGS
=$ac_save_CPPFLAGS
11662 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11663 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11665 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11666 if ${PKG_CONFIG+:} false
; then :
11667 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11670 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11671 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11672 if ${PKG_CONFIG+:} false
; then :
11673 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11676 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11677 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11678 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11679 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11680 ac_save_CPPFLAGS
=$CPPFLAGS
11681 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11682 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11683 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11685 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11686 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11687 $as_echo_n "(cached) " >&6
11689 ac_check_lib_save_LIBS
=$LIBS
11690 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11692 /* end confdefs.h. */
11694 /* Override any GCC internal prototype to avoid an error.
11695 Use char because int might match the return type of a GCC
11696 builtin and then its argument prototype would still apply. */
11700 char gp_port_info_list_new ();
11704 return gp_port_info_list_new ();
11709 if ac_fn_c_try_link
"$LINENO"; then :
11710 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11712 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11714 rm -f core conftest.err conftest.
$ac_objext \
11715 conftest
$ac_exeext conftest.
$ac_ext
11716 LIBS
=$ac_check_lib_save_LIBS
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11719 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11720 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11722 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11725 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11729 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11733 CPPFLAGS
=$ac_save_CPPFLAGS
11734 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11735 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11738 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11739 case "x$with_gphoto" in
11740 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11742 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11743 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11746 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11747 case "x$with_gphoto" in
11748 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11750 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11751 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11756 if test "$ac_cv_header_resolv_h" = "yes"
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11759 $as_echo_n "checking for resolver library... " >&6; }
11760 if ${ac_cv_have_resolv+:} false
; then :
11761 $as_echo_n "(cached) " >&6
11763 ac_save_LIBS
="$LIBS"
11764 for lib
in '' -lresolv
11766 LIBS
="$lib $ac_save_LIBS"
11767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11768 /* end confdefs.h. */
11769 #ifdef HAVE_NETINET_IN_H
11770 #include <netinet/in.h>
11772 #include <resolv.h>
11776 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11781 if ac_fn_c_try_link
"$LINENO"; then :
11782 ac_cv_have_resolv
=${lib:-"none required"}
11784 ac_cv_have_resolv
="not found"
11786 rm -f core conftest.err conftest.
$ac_objext \
11787 conftest
$ac_exeext conftest.
$ac_ext
11788 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11790 LIBS
="$ac_save_LIBS"
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11793 $as_echo "$ac_cv_have_resolv" >&6; }
11795 case "$ac_cv_have_resolv" in
11799 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11802 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11804 RESOLV_LIBS
=$ac_cv_have_resolv
11809 if test "x$with_lcms2" != "xno"
11811 if ${LCMS2_CFLAGS:+false} :; then :
11812 if ${PKG_CONFIG+:} false
; then :
11813 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11817 if ${LCMS2_LIBS:+false} :; then :
11818 if ${PKG_CONFIG+:} false
; then :
11819 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11823 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11824 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11825 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11826 ac_save_CPPFLAGS
=$CPPFLAGS
11827 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11828 for ac_header
in lcms2.h
11830 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
11831 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
11832 cat >>confdefs.h
<<_ACEOF
11833 #define HAVE_LCMS2_H 1
11840 if test "$ac_cv_header_lcms2_h" = "yes"
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
11843 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
11844 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
11845 $as_echo_n "(cached) " >&6
11847 ac_check_lib_save_LIBS
=$LIBS
11848 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
11849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11850 /* end confdefs.h. */
11852 /* Override any GCC internal prototype to avoid an error.
11853 Use char because int might match the return type of a GCC
11854 builtin and then its argument prototype would still apply. */
11858 char cmsOpenProfileFromFile ();
11862 return cmsOpenProfileFromFile ();
11867 if ac_fn_c_try_link
"$LINENO"; then :
11868 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
11870 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
11872 rm -f core conftest.err conftest.
$ac_objext \
11873 conftest
$ac_exeext conftest.
$ac_ext
11874 LIBS
=$ac_check_lib_save_LIBS
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
11877 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
11878 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
11880 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11890 CPPFLAGS
=$ac_save_CPPFLAGS
11891 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11892 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11895 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
11896 case "x$with_cms" in
11897 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
11899 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
11900 This is an error since --with-cms was requested." "$LINENO" 5 ;;
11904 if test "x$with_freetype" != "xno"
11906 if ${FREETYPE_CFLAGS:+false} :; then :
11907 if ${PKG_CONFIG+:} false
; then :
11908 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
11911 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
11912 if ${FREETYPE_LIBS:+false} :; then :
11913 if ${PKG_CONFIG+:} false
; then :
11914 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
11917 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
11918 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
11919 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
11920 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
11921 ac_save_CPPFLAGS
=$CPPFLAGS
11922 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
11923 for ac_header
in ft2build.h
11925 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
11926 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
11927 cat >>confdefs.h
<<_ACEOF
11928 #define HAVE_FT2BUILD_H 1
11935 if test "$ac_cv_header_ft2build_h" = "yes"
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
11938 $as_echo_n "checking for -lfreetype... " >&6; }
11939 if ${ac_cv_lib_soname_freetype+:} false
; then :
11940 $as_echo_n "(cached) " >&6
11942 ac_check_soname_save_LIBS
=$LIBS
11943 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
11944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11945 /* end confdefs.h. */
11947 /* Override any GCC internal prototype to avoid an error.
11948 Use char because int might match the return type of a GCC
11949 builtin and then its argument prototype would still apply. */
11953 char FT_Init_FreeType ();
11957 return FT_Init_FreeType ();
11962 if ac_fn_c_try_link
"$LINENO"; then :
11964 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11965 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'` ;;
11966 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11967 if ${ac_cv_lib_soname_freetype:+false} :; then :
11968 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11972 rm -f core conftest.err conftest.
$ac_objext \
11973 conftest
$ac_exeext conftest.
$ac_ext
11974 LIBS
=$ac_check_soname_save_LIBS
11976 if ${ac_cv_lib_soname_freetype:+false} :; then :
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11978 $as_echo "not found" >&6; }
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
11982 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
11984 cat >>confdefs.h
<<_ACEOF
11985 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
11989 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11991 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
11992 #include FT_MODULE_H
11994 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
11996 cat >>confdefs.h
<<_ACEOF
11997 #define HAVE_FT_TRUETYPEENGINETYPE 1
12008 CPPFLAGS
=$ac_save_CPPFLAGS
12009 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12010 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12013 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12014 case "x$with_freetype" in
12016 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12017 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12020 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12023 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12024 if ${ac_cv_c_ppdev+:} false
; then :
12025 $as_echo_n "(cached) " >&6
12027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12028 /* end confdefs.h. */
12029 #ifdef HAVE_SYS_IOCTL_H
12030 # include <sys/ioctl.h>
12032 #include <linux/ppdev.h>
12036 ioctl (1,PPCLAIM,0)
12041 if ac_fn_c_try_compile
"$LINENO"; then :
12042 ac_cv_c_ppdev
="yes"
12046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12049 $as_echo "$ac_cv_c_ppdev" >&6; }
12050 if test "$ac_cv_c_ppdev" = "yes"
12053 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12057 ac_wine_check_funcs_save_LIBS
="$LIBS"
12058 LIBS
="$LIBS $PTHREAD_LIBS"
12060 pthread_attr_get_np \
12061 pthread_getattr_np \
12062 pthread_getthreadid_np \
12063 pthread_get_stackaddr_np \
12064 pthread_get_stacksize_np
12066 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12067 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12068 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12069 cat >>confdefs.h
<<_ACEOF
12070 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12076 LIBS
="$ac_wine_check_funcs_save_LIBS"
12078 if test "$ac_cv_header_zlib_h" = "yes"
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12081 $as_echo_n "checking for inflate in -lz... " >&6; }
12082 if ${ac_cv_lib_z_inflate+:} false
; then :
12083 $as_echo_n "(cached) " >&6
12085 ac_check_lib_save_LIBS
=$LIBS
12087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12088 /* end confdefs.h. */
12090 /* Override any GCC internal prototype to avoid an error.
12091 Use char because int might match the return type of a GCC
12092 builtin and then its argument prototype would still apply. */
12105 if ac_fn_c_try_link
"$LINENO"; then :
12106 ac_cv_lib_z_inflate
=yes
12108 ac_cv_lib_z_inflate
=no
12110 rm -f core conftest.err conftest.
$ac_objext \
12111 conftest
$ac_exeext conftest.
$ac_ext
12112 LIBS
=$ac_check_lib_save_LIBS
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12115 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12116 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12118 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12125 if test "x$Z_LIBS" = "x"; then :
12126 case "x$with_zlib" in
12127 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12129 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12130 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12134 if test "x$enable_tools" != xno
12136 if test "$ac_cv_header_gettext_po_h" = "yes"
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12139 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12140 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12141 $as_echo_n "(cached) " >&6
12143 ac_check_lib_save_LIBS
=$LIBS
12144 LIBS
="-lgettextpo $LIBS"
12145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12146 /* end confdefs.h. */
12148 /* Override any GCC internal prototype to avoid an error.
12149 Use char because int might match the return type of a GCC
12150 builtin and then its argument prototype would still apply. */
12154 char po_message_msgctxt ();
12158 return po_message_msgctxt ();
12163 if ac_fn_c_try_link
"$LINENO"; then :
12164 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12166 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12168 rm -f core conftest.err conftest.
$ac_objext \
12169 conftest
$ac_exeext conftest.
$ac_ext
12170 LIBS
=$ac_check_lib_save_LIBS
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12173 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12174 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12176 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12178 GETTEXTPO_LIBS
="-lgettextpo"
12183 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12184 case "x$with_gettextpo" in
12185 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12187 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12188 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12193 if test "x$with_gstreamer" != "xno"
12195 if ${GSTREAMER_CFLAGS:+false} :; then :
12196 if ${PKG_CONFIG+:} false
; then :
12197 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12201 if ${GSTREAMER_LIBS:+false} :; then :
12202 if ${PKG_CONFIG+:} false
; then :
12203 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12208 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12209 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12210 ac_save_CPPFLAGS
=$CPPFLAGS
12211 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12213 for i
in $GSTREAMER_CFLAGS
12216 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12219 GSTREAMER_CFLAGS
=$ac_gst_incl
12220 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12221 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12222 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12223 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12224 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12226 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12228 /* end confdefs.h. */
12229 #include <gst/app/gstappsink.h>
12233 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12238 if ac_fn_c_try_compile
"$LINENO"; then :
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12240 $as_echo "yes" >&6; }
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12242 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12243 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12244 $as_echo_n "(cached) " >&6
12246 ac_check_lib_save_LIBS
=$LIBS
12247 LIBS
="-lgstreamer-0.10 $LIBS"
12248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12249 /* end confdefs.h. */
12251 /* Override any GCC internal prototype to avoid an error.
12252 Use char because int might match the return type of a GCC
12253 builtin and then its argument prototype would still apply. */
12257 char gst_pad_get_caps_reffed ();
12261 return gst_pad_get_caps_reffed ();
12266 if ac_fn_c_try_link
"$LINENO"; then :
12267 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12269 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12271 rm -f core conftest.err conftest.
$ac_objext \
12272 conftest
$ac_exeext conftest.
$ac_ext
12273 LIBS
=$ac_check_lib_save_LIBS
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12276 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12277 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12279 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12280 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12281 $as_echo_n "(cached) " >&6
12283 ac_check_lib_save_LIBS
=$LIBS
12284 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12286 /* end confdefs.h. */
12288 /* Override any GCC internal prototype to avoid an error.
12289 Use char because int might match the return type of a GCC
12290 builtin and then its argument prototype would still apply. */
12294 char gst_app_buffer_new ();
12298 return gst_app_buffer_new ();
12303 if ac_fn_c_try_link
"$LINENO"; then :
12304 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12306 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12308 rm -f core conftest.err conftest.
$ac_objext \
12309 conftest
$ac_exeext conftest.
$ac_ext
12310 LIBS
=$ac_check_lib_save_LIBS
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12313 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12314 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12322 $as_echo "no" >&6; }
12324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12329 GSTREAMER_CFLAGS
=""
12333 CPPFLAGS
=$ac_save_CPPFLAGS
12334 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12335 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12338 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12339 case "x$with_gstreamer" in
12340 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12342 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12343 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12346 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12350 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12353 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12354 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12355 $as_echo_n "(cached) " >&6
12357 ac_check_lib_save_LIBS
=$LIBS
12358 LIBS
="-lasound $LIBS"
12359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12360 /* end confdefs.h. */
12362 /* Override any GCC internal prototype to avoid an error.
12363 Use char because int might match the return type of a GCC
12364 builtin and then its argument prototype would still apply. */
12368 char snd_pcm_hw_params_get_access_mask ();
12372 return snd_pcm_hw_params_get_access_mask ();
12377 if ac_fn_c_try_link
"$LINENO"; then :
12378 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12380 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12382 rm -f core conftest.err conftest.
$ac_objext \
12383 conftest
$ac_exeext conftest.
$ac_ext
12384 LIBS
=$ac_check_lib_save_LIBS
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12387 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12388 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12390 /* end confdefs.h. */
12391 #ifdef HAVE_ALSA_ASOUNDLIB_H
12392 #include <alsa/asoundlib.h>
12393 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12394 #include <sys/asoundlib.h>
12399 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12404 if ac_fn_c_try_compile
"$LINENO"; then :
12405 ALSA_LIBS
="-lasound"
12407 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12412 if test "x$with_oss" != xno
12414 ac_save_CPPFLAGS
="$CPPFLAGS"
12415 if test -f /etc
/oss.conf
12419 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12420 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12421 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12422 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12423 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12425 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12427 cat >>confdefs.h
<<_ACEOF
12428 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12431 OSS4_CFLAGS
="$ac_oss_incl"
12438 CPPFLAGS
="$ac_save_CPPFLAGS"
12439 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12441 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12445 if test "x$with_capi" != "xno"
12447 if ${CAPI20_CFLAGS:+false} :; then :
12448 if ${PKG_CONFIG+:} false
; then :
12449 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12453 if ${CAPI20_LIBS:+false} :; then :
12454 if ${PKG_CONFIG+:} false
; then :
12455 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12460 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12461 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12462 ac_save_CPPFLAGS
=$CPPFLAGS
12463 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12464 for ac_header
in capi20.h linux
/capi.h
12466 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12467 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12469 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12470 cat >>confdefs.h
<<_ACEOF
12471 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12478 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12481 $as_echo_n "checking for -lcapi20... " >&6; }
12482 if ${ac_cv_lib_soname_capi20+:} false
; then :
12483 $as_echo_n "(cached) " >&6
12485 ac_check_soname_save_LIBS
=$LIBS
12486 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12488 /* end confdefs.h. */
12490 /* Override any GCC internal prototype to avoid an error.
12491 Use char because int might match the return type of a GCC
12492 builtin and then its argument prototype would still apply. */
12496 char capi20_register ();
12500 return capi20_register ();
12505 if ac_fn_c_try_link
"$LINENO"; then :
12507 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12508 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'` ;;
12509 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12510 if ${ac_cv_lib_soname_capi20:+false} :; then :
12511 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12515 rm -f core conftest.err conftest.
$ac_objext \
12516 conftest
$ac_exeext conftest.
$ac_ext
12517 LIBS
=$ac_check_soname_save_LIBS
12519 if ${ac_cv_lib_soname_capi20:+false} :; then :
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12521 $as_echo "not found" >&6; }
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12525 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12527 cat >>confdefs.h
<<_ACEOF
12528 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12534 CPPFLAGS
=$ac_save_CPPFLAGS
12535 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12536 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12539 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12540 case "x$with_capi" in
12541 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12543 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12544 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12550 if test "x$with_cups" != "xno"
12552 ac_save_CPPFLAGS
="$CPPFLAGS"
12553 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12554 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12555 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12556 for ac_header
in cups
/cups.h
12558 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12559 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12560 cat >>confdefs.h
<<_ACEOF
12561 #define HAVE_CUPS_CUPS_H 1
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12564 $as_echo_n "checking for -lcups... " >&6; }
12565 if ${ac_cv_lib_soname_cups+:} false
; then :
12566 $as_echo_n "(cached) " >&6
12568 ac_check_soname_save_LIBS
=$LIBS
12569 LIBS
="-lcups $ac_cups_libs $LIBS"
12570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12571 /* end confdefs.h. */
12573 /* Override any GCC internal prototype to avoid an error.
12574 Use char because int might match the return type of a GCC
12575 builtin and then its argument prototype would still apply. */
12579 char cupsGetDefault ();
12583 return cupsGetDefault ();
12588 if ac_fn_c_try_link
"$LINENO"; then :
12590 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12591 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'` ;;
12592 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12593 if ${ac_cv_lib_soname_cups:+false} :; then :
12594 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12598 rm -f core conftest.err conftest.
$ac_objext \
12599 conftest
$ac_exeext conftest.
$ac_ext
12600 LIBS
=$ac_check_soname_save_LIBS
12602 if ${ac_cv_lib_soname_cups:+false} :; then :
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12604 $as_echo "not found" >&6; }
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12608 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12610 cat >>confdefs.h
<<_ACEOF
12611 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12614 CUPS_CFLAGS
="$ac_cups_cflags"
12620 CPPFLAGS
="$ac_save_CPPFLAGS"
12622 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12623 case "x$with_cups" in
12624 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12626 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12627 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12631 if test "x$with_fontconfig" != "xno"
12633 if ${FONTCONFIG_CFLAGS:+false} :; then :
12634 if ${PKG_CONFIG+:} false
; then :
12635 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12638 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12639 if ${FONTCONFIG_LIBS:+false} :; then :
12640 if ${PKG_CONFIG+:} false
; then :
12641 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12644 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12646 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12647 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12648 ac_save_CPPFLAGS
=$CPPFLAGS
12649 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12650 for ac_header
in fontconfig
/fontconfig.h
12652 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12653 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12654 cat >>confdefs.h
<<_ACEOF
12655 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12662 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12665 $as_echo_n "checking for -lfontconfig... " >&6; }
12666 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12667 $as_echo_n "(cached) " >&6
12669 ac_check_soname_save_LIBS
=$LIBS
12670 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12672 /* end confdefs.h. */
12674 /* Override any GCC internal prototype to avoid an error.
12675 Use char because int might match the return type of a GCC
12676 builtin and then its argument prototype would still apply. */
12689 if ac_fn_c_try_link
"$LINENO"; then :
12691 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12692 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'` ;;
12693 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12694 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12695 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12699 rm -f core conftest.err conftest.
$ac_objext \
12700 conftest
$ac_exeext conftest.
$ac_ext
12701 LIBS
=$ac_check_soname_save_LIBS
12703 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12705 $as_echo "not found" >&6; }
12706 FONTCONFIG_CFLAGS
=""
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12709 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12711 cat >>confdefs.h
<<_ACEOF
12712 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12718 FONTCONFIG_CFLAGS
=""
12720 CPPFLAGS
=$ac_save_CPPFLAGS
12721 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12722 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12725 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12726 case "x$with_fontconfig" in
12727 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12729 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12730 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12734 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12737 $as_echo_n "checking for -lgsm... " >&6; }
12738 if ${ac_cv_lib_soname_gsm+:} false
; then :
12739 $as_echo_n "(cached) " >&6
12741 ac_check_soname_save_LIBS
=$LIBS
12743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12744 /* end confdefs.h. */
12746 /* Override any GCC internal prototype to avoid an error.
12747 Use char because int might match the return type of a GCC
12748 builtin and then its argument prototype would still apply. */
12752 char gsm_create ();
12756 return gsm_create ();
12761 if ac_fn_c_try_link
"$LINENO"; then :
12763 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12764 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'` ;;
12765 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12766 if ${ac_cv_lib_soname_gsm:+false} :; then :
12767 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12771 rm -f core conftest.err conftest.
$ac_objext \
12772 conftest
$ac_exeext conftest.
$ac_ext
12773 LIBS
=$ac_check_soname_save_LIBS
12775 if ${ac_cv_lib_soname_gsm:+false} :; then :
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12777 $as_echo "not found" >&6; }
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12781 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12783 cat >>confdefs.h
<<_ACEOF
12784 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12790 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12791 case "x$with_gsm" in
12792 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12794 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12795 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12799 if test "x$with_jpeg" != "xno"
12801 if ${JPEG_CFLAGS:+false} :; then :
12802 if ${PKG_CONFIG+:} false
; then :
12803 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12807 if ${JPEG_LIBS:+false} :; then :
12808 if ${PKG_CONFIG+:} false
; then :
12809 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12814 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12815 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12816 ac_save_CPPFLAGS
=$CPPFLAGS
12817 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12818 for ac_header
in jpeglib.h
12820 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12821 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12822 cat >>confdefs.h
<<_ACEOF
12823 #define HAVE_JPEGLIB_H 1
12830 if test "$ac_cv_header_jpeglib_h" = "yes"
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
12833 $as_echo_n "checking for -ljpeg... " >&6; }
12834 if ${ac_cv_lib_soname_jpeg+:} false
; then :
12835 $as_echo_n "(cached) " >&6
12837 ac_check_soname_save_LIBS
=$LIBS
12838 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
12839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12840 /* end confdefs.h. */
12842 /* Override any GCC internal prototype to avoid an error.
12843 Use char because int might match the return type of a GCC
12844 builtin and then its argument prototype would still apply. */
12848 char jpeg_start_decompress ();
12852 return jpeg_start_decompress ();
12857 if ac_fn_c_try_link
"$LINENO"; then :
12859 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12860 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'` ;;
12861 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12862 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12863 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12867 rm -f core conftest.err conftest.
$ac_objext \
12868 conftest
$ac_exeext conftest.
$ac_ext
12869 LIBS
=$ac_check_soname_save_LIBS
12871 if ${ac_cv_lib_soname_jpeg:+false} :; then :
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12873 $as_echo "not found" >&6; }
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
12877 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
12879 cat >>confdefs.h
<<_ACEOF
12880 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
12888 CPPFLAGS
=$ac_save_CPPFLAGS
12889 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12890 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12893 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
12894 case "x$with_jpeg" in
12895 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
12897 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
12898 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
12902 if test "x$with_png" != "xno"
12904 if ${PNG_CFLAGS:+false} :; then :
12905 if ${PKG_CONFIG+:} false
; then :
12906 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
12909 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
12910 if ${PNG_LIBS:+false} :; then :
12911 if ${PKG_CONFIG+:} false
; then :
12912 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
12915 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
12917 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
12918 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
12919 ac_save_CPPFLAGS
=$CPPFLAGS
12920 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
12921 for ac_header
in png.h
12923 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
12924 if test "x$ac_cv_header_png_h" = xyes
; then :
12925 cat >>confdefs.h
<<_ACEOF
12926 #define HAVE_PNG_H 1
12933 if test "$ac_cv_header_png_h" = "yes"
12935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12936 $as_echo_n "checking for -lpng... " >&6; }
12937 if ${ac_cv_lib_soname_png+:} false
; then :
12938 $as_echo_n "(cached) " >&6
12940 ac_check_soname_save_LIBS
=$LIBS
12941 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
12942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12943 /* end confdefs.h. */
12945 /* Override any GCC internal prototype to avoid an error.
12946 Use char because int might match the return type of a GCC
12947 builtin and then its argument prototype would still apply. */
12951 char png_create_read_struct ();
12955 return png_create_read_struct ();
12960 if ac_fn_c_try_link
"$LINENO"; then :
12962 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12963 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'` ;;
12964 *) 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'`
12965 if ${ac_cv_lib_soname_png:+false} :; then :
12966 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12970 rm -f core conftest.err conftest.
$ac_objext \
12971 conftest
$ac_exeext conftest.
$ac_ext
12972 LIBS
=$ac_check_soname_save_LIBS
12974 if ${ac_cv_lib_soname_png:+false} :; then :
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12976 $as_echo "not found" >&6; }
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12980 $as_echo "$ac_cv_lib_soname_png" >&6; }
12982 cat >>confdefs.h
<<_ACEOF
12983 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12987 /* end confdefs.h. */
12992 typeof(png_set_expand_gray_1_2_4_to_8) *p
12997 if ac_fn_c_try_compile
"$LINENO"; then :
12999 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13007 CPPFLAGS
=$ac_save_CPPFLAGS
13008 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13009 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13012 if test "x$ac_cv_lib_soname_png" = "x"; then :
13013 case "x$with_png" in
13014 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13016 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13017 This is an error since --with-png was requested." "$LINENO" 5 ;;
13021 if test "x$with_tiff" != "xno"
13023 if ${TIFF_CFLAGS:+false} :; then :
13024 if ${PKG_CONFIG+:} false
; then :
13025 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13029 if ${TIFF_LIBS:+false} :; then :
13030 if ${PKG_CONFIG+:} false
; then :
13031 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13036 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13037 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13038 ac_save_CPPFLAGS
=$CPPFLAGS
13039 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13040 for ac_header
in tiffio.h
13042 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13043 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13044 cat >>confdefs.h
<<_ACEOF
13045 #define HAVE_TIFFIO_H 1
13052 if test "$ac_cv_header_tiffio_h" = "yes"
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13055 $as_echo_n "checking for -ltiff... " >&6; }
13056 if ${ac_cv_lib_soname_tiff+:} false
; then :
13057 $as_echo_n "(cached) " >&6
13059 ac_check_soname_save_LIBS
=$LIBS
13060 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13062 /* end confdefs.h. */
13064 /* Override any GCC internal prototype to avoid an error.
13065 Use char because int might match the return type of a GCC
13066 builtin and then its argument prototype would still apply. */
13070 char TIFFClientOpen ();
13074 return TIFFClientOpen ();
13079 if ac_fn_c_try_link
"$LINENO"; then :
13081 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13082 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'` ;;
13083 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13084 if ${ac_cv_lib_soname_tiff:+false} :; then :
13085 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13089 rm -f core conftest.err conftest.
$ac_objext \
13090 conftest
$ac_exeext conftest.
$ac_ext
13091 LIBS
=$ac_check_soname_save_LIBS
13093 if ${ac_cv_lib_soname_tiff:+false} :; then :
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13095 $as_echo "not found" >&6; }
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13099 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13101 cat >>confdefs.h
<<_ACEOF
13102 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13108 CPPFLAGS
=$ac_save_CPPFLAGS
13109 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13110 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13113 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13114 case "x$with_tiff" in
13115 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13117 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13118 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13122 if test "x$with_mpg123" != "xno"
13124 if ${MPG123_CFLAGS:+false} :; then :
13125 if ${PKG_CONFIG+:} false
; then :
13126 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13130 if ${MPG123_LIBS:+false} :; then :
13131 if ${PKG_CONFIG+:} false
; then :
13132 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13136 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13137 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13138 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13139 ac_save_CPPFLAGS
=$CPPFLAGS
13140 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13141 for ac_header
in mpg123.h
13143 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13144 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13145 cat >>confdefs.h
<<_ACEOF
13146 #define HAVE_MPG123_H 1
13153 if test "$ac_cv_header_mpg123_h" = "yes"
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13156 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13157 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13158 $as_echo_n "(cached) " >&6
13160 ac_check_lib_save_LIBS
=$LIBS
13161 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13163 /* end confdefs.h. */
13165 /* Override any GCC internal prototype to avoid an error.
13166 Use char because int might match the return type of a GCC
13167 builtin and then its argument prototype would still apply. */
13171 char mpg123_feed ();
13175 return mpg123_feed ();
13180 if ac_fn_c_try_link
"$LINENO"; then :
13181 ac_cv_lib_mpg123_mpg123_feed
=yes
13183 ac_cv_lib_mpg123_mpg123_feed
=no
13185 rm -f core conftest.err conftest.
$ac_objext \
13186 conftest
$ac_exeext conftest.
$ac_ext
13187 LIBS
=$ac_check_lib_save_LIBS
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13190 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13191 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13201 CPPFLAGS
=$ac_save_CPPFLAGS
13202 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13203 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13206 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13207 case "x$with_mpg123" in
13208 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13210 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13211 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13214 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}
13216 if test "$ac_cv_header_AL_al_h" = "yes"
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13219 $as_echo_n "checking for -lopenal... " >&6; }
13220 if ${ac_cv_lib_soname_openal+:} false
; then :
13221 $as_echo_n "(cached) " >&6
13223 ac_check_soname_save_LIBS
=$LIBS
13224 LIBS
="-lopenal $LIBS"
13225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13226 /* end confdefs.h. */
13228 /* Override any GCC internal prototype to avoid an error.
13229 Use char because int might match the return type of a GCC
13230 builtin and then its argument prototype would still apply. */
13234 char alGetSource3i ();
13238 return alGetSource3i ();
13243 if ac_fn_c_try_link
"$LINENO"; then :
13245 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13246 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'` ;;
13247 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13248 if ${ac_cv_lib_soname_openal:+false} :; then :
13249 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13253 rm -f core conftest.err conftest.
$ac_objext \
13254 conftest
$ac_exeext conftest.
$ac_ext
13255 LIBS
=$ac_check_soname_save_LIBS
13257 if ${ac_cv_lib_soname_openal:+false} :; then :
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13259 $as_echo "not found" >&6; }
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13263 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13265 cat >>confdefs.h
<<_ACEOF
13266 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13269 OPENAL_LIBS
="-lopenal"
13271 ac_cv_lib_openal
=yes
13273 cat >>confdefs.h
<<_ACEOF
13274 #define HAVE_OPENAL 1
13279 if test "x$ac_cv_lib_openal" != xyes
; then :
13280 case "x$with_openal" in
13281 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13283 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13284 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13287 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13289 if test "$ac_cv_header_kstat_h" = "yes"
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13292 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13293 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13294 $as_echo_n "(cached) " >&6
13296 ac_check_lib_save_LIBS
=$LIBS
13297 LIBS
="-lkstat $LIBS"
13298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13299 /* end confdefs.h. */
13301 /* Override any GCC internal prototype to avoid an error.
13302 Use char because int might match the return type of a GCC
13303 builtin and then its argument prototype would still apply. */
13307 char kstat_open ();
13311 return kstat_open ();
13316 if ac_fn_c_try_link
"$LINENO"; then :
13317 ac_cv_lib_kstat_kstat_open
=yes
13319 ac_cv_lib_kstat_kstat_open
=no
13321 rm -f core conftest.err conftest.
$ac_objext \
13322 conftest
$ac_exeext conftest.
$ac_ext
13323 LIBS
=$ac_check_lib_save_LIBS
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13326 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13327 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13329 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13331 KSTAT_LIBS
="-lkstat"
13337 if test "$ac_cv_header_libprocstat_h" = "yes"
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13340 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13341 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13342 $as_echo_n "(cached) " >&6
13344 ac_check_lib_save_LIBS
=$LIBS
13345 LIBS
="-lprocstat $LIBS"
13346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13347 /* end confdefs.h. */
13349 /* Override any GCC internal prototype to avoid an error.
13350 Use char because int might match the return type of a GCC
13351 builtin and then its argument prototype would still apply. */
13355 char procstat_open_sysctl ();
13359 return procstat_open_sysctl ();
13364 if ac_fn_c_try_link
"$LINENO"; then :
13365 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13367 ac_cv_lib_procstat_procstat_open_sysctl
=no
13369 rm -f core conftest.err conftest.
$ac_objext \
13370 conftest
$ac_exeext conftest.
$ac_ext
13371 LIBS
=$ac_check_lib_save_LIBS
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13374 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13375 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13377 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13379 PROCSTAT_LIBS
="-lprocstat"
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13386 $as_echo_n "checking for -lodbc... " >&6; }
13387 if ${ac_cv_lib_soname_odbc+:} false
; then :
13388 $as_echo_n "(cached) " >&6
13390 ac_check_soname_save_LIBS
=$LIBS
13391 LIBS
="-lodbc $LIBS"
13392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13393 /* end confdefs.h. */
13395 /* Override any GCC internal prototype to avoid an error.
13396 Use char because int might match the return type of a GCC
13397 builtin and then its argument prototype would still apply. */
13401 char SQLConnect ();
13405 return SQLConnect ();
13410 if ac_fn_c_try_link
"$LINENO"; then :
13412 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13413 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'` ;;
13414 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13415 if ${ac_cv_lib_soname_odbc:+false} :; then :
13416 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13420 rm -f core conftest.err conftest.
$ac_objext \
13421 conftest
$ac_exeext conftest.
$ac_ext
13422 LIBS
=$ac_check_soname_save_LIBS
13424 if ${ac_cv_lib_soname_odbc:+false} :; then :
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13426 $as_echo "not found" >&6; }
13427 cat >>confdefs.h
<<_ACEOF
13428 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13433 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13435 cat >>confdefs.h
<<_ACEOF
13436 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13442 if test "x$with_netapi" != "xno"
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13445 $as_echo_n "checking for -lnetapi... " >&6; }
13446 if ${ac_cv_lib_soname_netapi+:} false
; then :
13447 $as_echo_n "(cached) " >&6
13449 ac_check_soname_save_LIBS
=$LIBS
13450 LIBS
="-lnetapi $LIBS"
13451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13452 /* end confdefs.h. */
13454 /* Override any GCC internal prototype to avoid an error.
13455 Use char because int might match the return type of a GCC
13456 builtin and then its argument prototype would still apply. */
13460 char libnetapi_init ();
13464 return libnetapi_init ();
13469 if ac_fn_c_try_link
"$LINENO"; then :
13471 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13472 dylib
) ac_cv_lib_soname_netapi
=`otool -L conftest$ac_exeext | grep "libnetapi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libnetapi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13473 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13474 if ${ac_cv_lib_soname_netapi:+false} :; then :
13475 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13479 rm -f core conftest.err conftest.
$ac_objext \
13480 conftest
$ac_exeext conftest.
$ac_ext
13481 LIBS
=$ac_check_soname_save_LIBS
13483 if ${ac_cv_lib_soname_netapi:+false} :; then :
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13485 $as_echo "not found" >&6; }
13486 cat >>confdefs.h
<<_ACEOF
13487 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13492 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13494 cat >>confdefs.h
<<_ACEOF
13495 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13502 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13503 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13504 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13505 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13507 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13508 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13509 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13511 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13517 if test "x${GCC}" = "xyes"
13519 EXTRACFLAGS
="-Wall -pipe"
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13522 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13523 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13524 $as_echo_n "(cached) " >&6
13526 if test "$cross_compiling" = yes; then :
13527 ac_cv_c_gcc_strength_bug
="yes"
13529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13530 /* end confdefs.h. */
13531 int L[4] = {0,1,2,3};
13535 static int Array[3];
13536 unsigned int B = 3;
13538 for(i=0; i<B; i++) Array[i] = i - 3;
13539 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13541 return (Array[1] != -2 || L[2] != 3)
13546 if ac_fn_c_try_run
"$LINENO"; then :
13547 ac_cv_c_gcc_strength_bug
="no"
13549 ac_cv_c_gcc_strength_bug
="yes"
13551 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13552 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13557 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13558 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13560 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13564 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13565 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13566 $as_echo_n "(cached) " >&6
13568 ac_wine_try_cflags_saved
=$CFLAGS
13569 CFLAGS
="$CFLAGS -fno-builtin"
13570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13571 /* end confdefs.h. */
13572 int main(int argc, char **argv) { return 0; }
13574 if ac_fn_c_try_link
"$LINENO"; then :
13575 ac_cv_cflags__fno_builtin
=yes
13577 ac_cv_cflags__fno_builtin
=no
13579 rm -f core conftest.err conftest.
$ac_objext \
13580 conftest
$ac_exeext conftest.
$ac_ext
13581 CFLAGS
=$ac_wine_try_cflags_saved
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13584 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13585 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13586 BUILTINFLAG
="-fno-builtin"
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13590 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13591 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13592 $as_echo_n "(cached) " >&6
13594 ac_wine_try_cflags_saved
=$CFLAGS
13595 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13597 /* end confdefs.h. */
13598 int main(int argc, char **argv) { return 0; }
13600 if ac_fn_c_try_link
"$LINENO"; then :
13601 ac_cv_cflags__fno_strict_aliasing
=yes
13603 ac_cv_cflags__fno_strict_aliasing
=no
13605 rm -f core conftest.err conftest.
$ac_objext \
13606 conftest
$ac_exeext conftest.
$ac_ext
13607 CFLAGS
=$ac_wine_try_cflags_saved
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13610 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13611 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13612 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13614 saved_CFLAGS
=$CFLAGS
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13616 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13617 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13618 $as_echo_n "(cached) " >&6
13620 ac_wine_try_cflags_saved
=$CFLAGS
13621 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13623 /* end confdefs.h. */
13624 int main(int argc, char **argv) { return 0; }
13626 if ac_fn_c_try_link
"$LINENO"; then :
13627 ac_cv_cflags__Werror_unknown_warning_option
=yes
13629 ac_cv_cflags__Werror_unknown_warning_option
=no
13631 rm -f core conftest.err conftest.
$ac_objext \
13632 conftest
$ac_exeext conftest.
$ac_ext
13633 CFLAGS
=$ac_wine_try_cflags_saved
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13636 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13637 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13638 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13641 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13642 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13643 $as_echo_n "(cached) " >&6
13645 ac_wine_try_cflags_saved
=$CFLAGS
13646 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13648 /* end confdefs.h. */
13649 int main(int argc, char **argv) { return 0; }
13651 if ac_fn_c_try_link
"$LINENO"; then :
13652 ac_cv_cflags__Wdeclaration_after_statement
=yes
13654 ac_cv_cflags__Wdeclaration_after_statement
=no
13656 rm -f core conftest.err conftest.
$ac_objext \
13657 conftest
$ac_exeext conftest.
$ac_ext
13658 CFLAGS
=$ac_wine_try_cflags_saved
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13661 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13662 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13663 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13666 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13667 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13668 $as_echo_n "(cached) " >&6
13670 ac_wine_try_cflags_saved
=$CFLAGS
13671 CFLAGS
="$CFLAGS -Wempty-body"
13672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13673 /* end confdefs.h. */
13674 int main(int argc, char **argv) { return 0; }
13676 if ac_fn_c_try_link
"$LINENO"; then :
13677 ac_cv_cflags__Wempty_body
=yes
13679 ac_cv_cflags__Wempty_body
=no
13681 rm -f core conftest.err conftest.
$ac_objext \
13682 conftest
$ac_exeext conftest.
$ac_ext
13683 CFLAGS
=$ac_wine_try_cflags_saved
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13686 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13687 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13688 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13691 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13692 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13693 $as_echo_n "(cached) " >&6
13695 ac_wine_try_cflags_saved
=$CFLAGS
13696 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13698 /* end confdefs.h. */
13699 int main(int argc, char **argv) { return 0; }
13701 if ac_fn_c_try_link
"$LINENO"; then :
13702 ac_cv_cflags__Wignored_qualifiers
=yes
13704 ac_cv_cflags__Wignored_qualifiers
=no
13706 rm -f core conftest.err conftest.
$ac_objext \
13707 conftest
$ac_exeext conftest.
$ac_ext
13708 CFLAGS
=$ac_wine_try_cflags_saved
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13711 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13712 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13713 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13716 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13717 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13718 $as_echo_n "(cached) " >&6
13720 ac_wine_try_cflags_saved
=$CFLAGS
13721 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13723 /* end confdefs.h. */
13724 int main(int argc, char **argv) { return 0; }
13726 if ac_fn_c_try_link
"$LINENO"; then :
13727 ac_cv_cflags__Wstrict_prototypes
=yes
13729 ac_cv_cflags__Wstrict_prototypes
=no
13731 rm -f core conftest.err conftest.
$ac_objext \
13732 conftest
$ac_exeext conftest.
$ac_ext
13733 CFLAGS
=$ac_wine_try_cflags_saved
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13736 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13737 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13738 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13741 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13742 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13743 $as_echo_n "(cached) " >&6
13745 ac_wine_try_cflags_saved
=$CFLAGS
13746 CFLAGS
="$CFLAGS -Wtype-limits"
13747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13748 /* end confdefs.h. */
13749 int main(int argc, char **argv) { return 0; }
13751 if ac_fn_c_try_link
"$LINENO"; then :
13752 ac_cv_cflags__Wtype_limits
=yes
13754 ac_cv_cflags__Wtype_limits
=no
13756 rm -f core conftest.err conftest.
$ac_objext \
13757 conftest
$ac_exeext conftest.
$ac_ext
13758 CFLAGS
=$ac_wine_try_cflags_saved
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13761 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13762 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13763 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13766 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13767 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13768 $as_echo_n "(cached) " >&6
13770 ac_wine_try_cflags_saved
=$CFLAGS
13771 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13773 /* end confdefs.h. */
13774 int main(int argc, char **argv) { return 0; }
13776 if ac_fn_c_try_link
"$LINENO"; then :
13777 ac_cv_cflags__Wunused_but_set_parameter
=yes
13779 ac_cv_cflags__Wunused_but_set_parameter
=no
13781 rm -f core conftest.err conftest.
$ac_objext \
13782 conftest
$ac_exeext conftest.
$ac_ext
13783 CFLAGS
=$ac_wine_try_cflags_saved
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13786 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13787 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13788 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13791 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13792 if ${ac_cv_cflags__Wvla+:} false
; then :
13793 $as_echo_n "(cached) " >&6
13795 ac_wine_try_cflags_saved
=$CFLAGS
13796 CFLAGS
="$CFLAGS -Wvla"
13797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13798 /* end confdefs.h. */
13799 int main(int argc, char **argv) { return 0; }
13801 if ac_fn_c_try_link
"$LINENO"; then :
13802 ac_cv_cflags__Wvla
=yes
13804 ac_cv_cflags__Wvla
=no
13806 rm -f core conftest.err conftest.
$ac_objext \
13807 conftest
$ac_exeext conftest.
$ac_ext
13808 CFLAGS
=$ac_wine_try_cflags_saved
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13811 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13812 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13813 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13816 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13817 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13818 $as_echo_n "(cached) " >&6
13820 ac_wine_try_cflags_saved
=$CFLAGS
13821 CFLAGS
="$CFLAGS -Wwrite-strings"
13822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13823 /* end confdefs.h. */
13824 int main(int argc, char **argv) { return 0; }
13826 if ac_fn_c_try_link
"$LINENO"; then :
13827 ac_cv_cflags__Wwrite_strings
=yes
13829 ac_cv_cflags__Wwrite_strings
=no
13831 rm -f core conftest.err conftest.
$ac_objext \
13832 conftest
$ac_exeext conftest.
$ac_ext
13833 CFLAGS
=$ac_wine_try_cflags_saved
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
13836 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
13837 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
13838 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
13842 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
13843 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
13844 $as_echo_n "(cached) " >&6
13846 ac_wine_try_cflags_saved
=$CFLAGS
13847 CFLAGS
="$CFLAGS -Wpointer-arith"
13848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13849 /* end confdefs.h. */
13850 int main(int argc, char **argv) { return 0; }
13852 if ac_fn_c_try_link
"$LINENO"; then :
13853 ac_cv_cflags__Wpointer_arith
=yes
13855 ac_cv_cflags__Wpointer_arith
=no
13857 rm -f core conftest.err conftest.
$ac_objext \
13858 conftest
$ac_exeext conftest.
$ac_ext
13859 CFLAGS
=$ac_wine_try_cflags_saved
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
13862 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
13863 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
13864 saved_string_h_CFLAGS
=$CFLAGS
13865 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
13867 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
13868 if ${ac_cv_c_string_h_warnings+:} false
; then :
13869 $as_echo_n "(cached) " >&6
13871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13872 /* end confdefs.h. */
13873 #include <string.h>
13882 if ac_fn_c_try_compile
"$LINENO"; then :
13883 ac_cv_c_string_h_warnings
=no
13885 ac_cv_c_string_h_warnings
=yes
13887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
13890 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
13891 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
13892 CFLAGS
=$saved_string_h_CFLAGS
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
13896 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
13897 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
13898 $as_echo_n "(cached) " >&6
13900 ac_wine_try_cflags_saved
=$CFLAGS
13901 CFLAGS
="$CFLAGS -Wlogical-op"
13902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13903 /* end confdefs.h. */
13904 int main(int argc, char **argv) { return 0; }
13906 if ac_fn_c_try_link
"$LINENO"; then :
13907 ac_cv_cflags__Wlogical_op
=yes
13909 ac_cv_cflags__Wlogical_op
=no
13911 rm -f core conftest.err conftest.
$ac_objext \
13912 conftest
$ac_exeext conftest.
$ac_ext
13913 CFLAGS
=$ac_wine_try_cflags_saved
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
13916 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
13917 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
13918 saved_string_h_CFLAGS
=$CFLAGS
13919 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
13921 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
13922 if ${ac_cv_c_logicalop_noisy+:} false
; then :
13923 $as_echo_n "(cached) " >&6
13925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13926 /* end confdefs.h. */
13927 #include <string.h>
13928 char*f(const char *h,char n) {return strchr(h,n);}
13937 if ac_fn_c_try_compile
"$LINENO"; then :
13938 ac_cv_c_logicalop_noisy
=no
13940 ac_cv_c_logicalop_noisy
=yes
13942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
13945 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
13946 CFLAGS
=$saved_string_h_CFLAGS
13947 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
13950 CFLAGS
=$saved_CFLAGS
13952 for ac_flag
in $CFLAGS; do
13954 -g) case $host_os in
13955 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
13956 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
13957 if ${ac_cv_cflags__gstabsp+:} false
; then :
13958 $as_echo_n "(cached) " >&6
13960 ac_wine_try_cflags_saved
=$CFLAGS
13961 CFLAGS
="$CFLAGS -gstabs+"
13962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13963 /* end confdefs.h. */
13964 int main(int argc, char **argv) { return 0; }
13966 if ac_fn_c_try_link
"$LINENO"; then :
13967 ac_cv_cflags__gstabsp
=yes
13969 ac_cv_cflags__gstabsp
=no
13971 rm -f core conftest.err conftest.
$ac_objext \
13972 conftest
$ac_exeext conftest.
$ac_ext
13973 CFLAGS
=$ac_wine_try_cflags_saved
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
13976 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
13977 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
13978 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
13980 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
13981 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
13982 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
13983 $as_echo_n "(cached) " >&6
13985 ac_wine_try_cflags_saved
=$CFLAGS
13986 CFLAGS
="$CFLAGS -gdwarf-2"
13987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13988 /* end confdefs.h. */
13989 int main(int argc, char **argv) { return 0; }
13991 if ac_fn_c_try_link
"$LINENO"; then :
13992 ac_cv_cflags__gdwarf_2
=yes
13994 ac_cv_cflags__gdwarf_2
=no
13996 rm -f core conftest.err conftest.
$ac_objext \
13997 conftest
$ac_exeext conftest.
$ac_ext
13998 CFLAGS
=$ac_wine_try_cflags_saved
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14001 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14002 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14003 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14006 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14007 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14008 $as_echo_n "(cached) " >&6
14010 ac_wine_try_cflags_saved
=$CFLAGS
14011 CFLAGS
="$CFLAGS -gstrict-dwarf"
14012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14013 /* end confdefs.h. */
14014 int main(int argc, char **argv) { return 0; }
14016 if ac_fn_c_try_link
"$LINENO"; then :
14017 ac_cv_cflags__gstrict_dwarf
=yes
14019 ac_cv_cflags__gstrict_dwarf
=no
14021 rm -f core conftest.err conftest.
$ac_objext \
14022 conftest
$ac_exeext conftest.
$ac_ext
14023 CFLAGS
=$ac_wine_try_cflags_saved
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14026 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14027 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14028 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14035 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14036 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14037 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14038 $as_echo_n "(cached) " >&6
14040 ac_wine_try_cflags_saved
=$CFLAGS
14041 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14043 /* end confdefs.h. */
14044 int main(int argc, char **argv) { return 0; }
14046 if ac_fn_c_try_link
"$LINENO"; then :
14047 ac_cv_cflags__fno_omit_frame_pointer
=yes
14049 ac_cv_cflags__fno_omit_frame_pointer
=no
14051 rm -f core conftest.err conftest.
$ac_objext \
14052 conftest
$ac_exeext conftest.
$ac_ext
14053 CFLAGS
=$ac_wine_try_cflags_saved
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14056 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14057 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14058 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14063 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14064 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14065 if ${ac_cv_cflags__Wno_format+:} false
; then :
14066 $as_echo_n "(cached) " >&6
14068 ac_wine_try_cflags_saved
=$CFLAGS
14069 CFLAGS
="$CFLAGS -Wno-format"
14070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14071 /* end confdefs.h. */
14072 int main(int argc, char **argv) { return 0; }
14074 if ac_fn_c_try_link
"$LINENO"; then :
14075 ac_cv_cflags__Wno_format
=yes
14077 ac_cv_cflags__Wno_format
=no
14079 rm -f core conftest.err conftest.
$ac_objext \
14080 conftest
$ac_exeext conftest.
$ac_ext
14081 CFLAGS
=$ac_wine_try_cflags_saved
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14084 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14085 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14086 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14090 if test "x$enable_maintainer_mode" = "xyes"
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14093 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14094 if ${ac_cv_cflags__Werror+:} false
; then :
14095 $as_echo_n "(cached) " >&6
14097 ac_wine_try_cflags_saved
=$CFLAGS
14098 CFLAGS
="$CFLAGS -Werror"
14099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14100 /* end confdefs.h. */
14101 int main(int argc, char **argv) { return 0; }
14103 if ac_fn_c_try_link
"$LINENO"; then :
14104 ac_cv_cflags__Werror
=yes
14106 ac_cv_cflags__Werror
=no
14108 rm -f core conftest.err conftest.
$ac_objext \
14109 conftest
$ac_exeext conftest.
$ac_ext
14110 CFLAGS
=$ac_wine_try_cflags_saved
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14113 $as_echo "$ac_cv_cflags__Werror" >&6; }
14114 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14115 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14119 saved_CFLAGS
="$CFLAGS"
14120 CFLAGS
="$CFLAGS -Werror"
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14122 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14123 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14124 $as_echo_n "(cached) " >&6
14126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14127 /* end confdefs.h. */
14128 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14137 if ac_fn_c_try_compile
"$LINENO"; then :
14138 ac_cv_have_ms_hook_prologue
="yes"
14140 ac_cv_have_ms_hook_prologue
="no"
14142 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14145 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14146 CFLAGS
="$saved_CFLAGS"
14147 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14150 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14153 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14160 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14161 if ${ac_cv_c_fortify_enabled+:} false
; then :
14162 $as_echo_n "(cached) " >&6
14164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14165 /* end confdefs.h. */
14166 #include <string.h>
14170 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14171 #error Fortify enabled
14177 if ac_fn_c_try_compile
"$LINENO"; then :
14178 ac_cv_c_fortify_enabled
=no
14180 ac_cv_c_fortify_enabled
=yes
14182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14185 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14186 if test "$ac_cv_c_fortify_enabled" = yes
14188 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14193 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14194 if ${ac_cv_c_extern_prefix+:} false
; then :
14195 $as_echo_n "(cached) " >&6
14197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14198 /* end confdefs.h. */
14199 extern int ac_test;
14203 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14208 if ac_fn_c_try_link
"$LINENO"; then :
14209 ac_cv_c_extern_prefix
="yes"
14211 ac_cv_c_extern_prefix
="no"
14213 rm -f core conftest.err conftest.
$ac_objext \
14214 conftest
$ac_exeext conftest.
$ac_ext
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14217 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14222 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14223 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14224 $as_echo_n "(cached) " >&6
14226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14227 /* end confdefs.h. */
14229 #define __stdcall __attribute__((__stdcall__))
14231 int __stdcall ac_test(int i) { return i; }
14235 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14240 if ac_fn_c_try_link
"$LINENO"; then :
14241 ac_cv_c_stdcall_suffix
="yes"
14243 ac_cv_c_stdcall_suffix
="no"
14245 rm -f core conftest.err conftest.
$ac_objext \
14246 conftest
$ac_exeext conftest.
$ac_ext
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14249 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14250 *) ac_cv_c_stdcall_suffix
="no" ;;
14254 if test "$ac_cv_c_extern_prefix" = "yes"
14256 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14258 asm_name_prefix
="_"
14260 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14266 if test "$ac_cv_c_stdcall_suffix" = "yes"
14268 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14271 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14277 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14278 if ${ac_cv_asm_func_def+:} false
; then :
14279 $as_echo_n "(cached) " >&6
14281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14282 /* end confdefs.h. */
14287 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14292 if ac_fn_c_try_link
"$LINENO"; then :
14293 ac_cv_asm_func_def
=".def"
14295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14296 /* end confdefs.h. */
14301 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14306 if ac_fn_c_try_link
"$LINENO"; then :
14307 ac_cv_asm_func_def
=".type @function"
14309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14310 /* end confdefs.h. */
14315 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14320 if ac_fn_c_try_link
"$LINENO"; then :
14321 ac_cv_asm_func_def
=".type 2"
14323 ac_cv_asm_func_def
="unknown"
14325 rm -f core conftest.err conftest.
$ac_objext \
14326 conftest
$ac_exeext conftest.
$ac_ext
14328 rm -f core conftest.err conftest.
$ac_objext \
14329 conftest
$ac_exeext conftest.
$ac_ext
14331 rm -f core conftest.err conftest.
$ac_objext \
14332 conftest
$ac_exeext conftest.
$ac_ext
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14335 $as_echo "$ac_cv_asm_func_def" >&6; }
14338 case "$ac_cv_asm_func_def" in
14340 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14342 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14344 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14346 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14348 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14350 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14352 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14354 asm_func_header
="" ;;
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14358 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14359 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14360 $as_echo_n "(cached) " >&6
14362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14363 /* end confdefs.h. */
14364 asm(".text\n\t.long 0");
14373 if ac_fn_c_try_compile
"$LINENO"; then :
14374 ac_cv_c_asm_outside_funcs
="yes"
14376 ac_cv_c_asm_outside_funcs
="no"
14378 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14381 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14384 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14385 if ${ac_cv_c_dot_previous+:} false
; then :
14386 $as_echo_n "(cached) " >&6
14388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14389 /* end confdefs.h. */
14394 asm(".text\nac_test:\t.long 0\n\t.previous");
14399 if ac_fn_c_try_link
"$LINENO"; then :
14400 ac_cv_c_dot_previous
="yes"
14402 ac_cv_c_dot_previous
="no"
14404 rm -f core conftest.err conftest.
$ac_objext \
14405 conftest
$ac_exeext conftest.
$ac_ext
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14408 $as_echo "$ac_cv_c_dot_previous" >&6; }
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14411 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14412 if ${ac_cv_c_cfi_support+:} false
; then :
14413 $as_echo_n "(cached) " >&6
14415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14416 /* end confdefs.h. */
14417 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14426 if ac_fn_c_try_compile
"$LINENO"; then :
14427 ac_cv_c_cfi_support
="yes"
14429 ac_cv_c_cfi_support
="no"
14431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14434 $as_echo "$ac_cv_c_cfi_support" >&6; }
14436 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14437 asm_func_trailer
=""
14438 if test "$ac_cv_c_dot_previous" = "yes"
14440 asm_func_trailer
="\\n\\t.previous"
14442 if test "$ac_cv_c_cfi_support" = "yes"
14444 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14445 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14447 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14449 UNWINDFLAGS
=-fasynchronous-unwind-tables
14452 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14456 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14459 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14461 cat >>confdefs.h
<<_ACEOF
14462 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14466 cat >>confdefs.h
<<_ACEOF
14467 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14472 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14475 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14480 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14487 *i
[3456789]86*|x86_64
*)
14488 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14489 loader_programs
="$loader_programs $wine_binary-preloader"
14490 as_fn_append LOADER_RULES
"
14491 $wine_binary-preloader: preloader.o
14492 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14494 install install-lib:: $wine_binary-preloader
14495 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14498 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14500 preloader_EXTRADEFS = $BUILTINFLAG
14505 as_fn_append LOADER_RULES
"
14506 PROGRAMS = $loader_programs
14510 ac_save_CFLAGS
="$CFLAGS"
14511 CFLAGS
="$CFLAGS $BUILTINFLAG"
14588 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14589 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14590 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14591 cat >>confdefs.h
<<_ACEOF
14592 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14598 CFLAGS
="$ac_save_CFLAGS"
14600 if test "$ac_cv_func_dlopen" = no
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14603 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14604 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14605 $as_echo_n "(cached) " >&6
14607 ac_check_lib_save_LIBS
=$LIBS
14609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14610 /* end confdefs.h. */
14612 /* Override any GCC internal prototype to avoid an error.
14613 Use char because int might match the return type of a GCC
14614 builtin and then its argument prototype would still apply. */
14627 if ac_fn_c_try_link
"$LINENO"; then :
14628 ac_cv_lib_dl_dlopen
=yes
14630 ac_cv_lib_dl_dlopen
=no
14632 rm -f core conftest.err conftest.
$ac_objext \
14633 conftest
$ac_exeext conftest.
$ac_ext
14634 LIBS
=$ac_check_lib_save_LIBS
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14637 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14638 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14639 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14645 ac_wine_check_funcs_save_LIBS
="$LIBS"
14646 LIBS
="$LIBS $DL_LIBS"
14647 for ac_func
in dladdr
14649 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14650 if test "x$ac_cv_func_dladdr" = xyes
; then :
14651 cat >>confdefs.h
<<_ACEOF
14652 #define HAVE_DLADDR 1
14658 LIBS
="$ac_wine_check_funcs_save_LIBS"
14660 if test "$ac_cv_func_poll" = no
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14663 $as_echo_n "checking for poll in -lpoll... " >&6; }
14664 if ${ac_cv_lib_poll_poll+:} false
; then :
14665 $as_echo_n "(cached) " >&6
14667 ac_check_lib_save_LIBS
=$LIBS
14668 LIBS
="-lpoll $LIBS"
14669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14670 /* end confdefs.h. */
14672 /* Override any GCC internal prototype to avoid an error.
14673 Use char because int might match the return type of a GCC
14674 builtin and then its argument prototype would still apply. */
14687 if ac_fn_c_try_link
"$LINENO"; then :
14688 ac_cv_lib_poll_poll
=yes
14690 ac_cv_lib_poll_poll
=no
14692 rm -f core conftest.err conftest.
$ac_objext \
14693 conftest
$ac_exeext conftest.
$ac_ext
14694 LIBS
=$ac_check_lib_save_LIBS
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14697 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14698 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14699 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14707 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14708 if ${ac_cv_search_gethostbyname+:} false
; then :
14709 $as_echo_n "(cached) " >&6
14711 ac_func_search_save_LIBS
=$LIBS
14712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14713 /* end confdefs.h. */
14715 /* Override any GCC internal prototype to avoid an error.
14716 Use char because int might match the return type of a GCC
14717 builtin and then its argument prototype would still apply. */
14721 char gethostbyname ();
14725 return gethostbyname ();
14730 for ac_lib
in '' nsl
; do
14731 if test -z "$ac_lib"; then
14732 ac_res
="none required"
14735 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14737 if ac_fn_c_try_link
"$LINENO"; then :
14738 ac_cv_search_gethostbyname
=$ac_res
14740 rm -f core conftest.err conftest.
$ac_objext \
14742 if ${ac_cv_search_gethostbyname+:} false
; then :
14746 if ${ac_cv_search_gethostbyname+:} false
; then :
14749 ac_cv_search_gethostbyname
=no
14751 rm conftest.
$ac_ext
14752 LIBS
=$ac_func_search_save_LIBS
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14755 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14756 ac_res
=$ac_cv_search_gethostbyname
14757 if test "$ac_res" != no
; then :
14758 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14764 $as_echo_n "checking for library containing connect... " >&6; }
14765 if ${ac_cv_search_connect+:} false
; then :
14766 $as_echo_n "(cached) " >&6
14768 ac_func_search_save_LIBS
=$LIBS
14769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14770 /* end confdefs.h. */
14772 /* Override any GCC internal prototype to avoid an error.
14773 Use char because int might match the return type of a GCC
14774 builtin and then its argument prototype would still apply. */
14787 for ac_lib
in '' socket
; do
14788 if test -z "$ac_lib"; then
14789 ac_res
="none required"
14792 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14794 if ac_fn_c_try_link
"$LINENO"; then :
14795 ac_cv_search_connect
=$ac_res
14797 rm -f core conftest.err conftest.
$ac_objext \
14799 if ${ac_cv_search_connect+:} false
; then :
14803 if ${ac_cv_search_connect+:} false
; then :
14806 ac_cv_search_connect
=no
14808 rm conftest.
$ac_ext
14809 LIBS
=$ac_func_search_save_LIBS
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14812 $as_echo "$ac_cv_search_connect" >&6; }
14813 ac_res
=$ac_cv_search_connect
14814 if test "$ac_res" != no
; then :
14815 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14821 $as_echo_n "checking for library containing inet_aton... " >&6; }
14822 if ${ac_cv_search_inet_aton+:} false
; then :
14823 $as_echo_n "(cached) " >&6
14825 ac_func_search_save_LIBS
=$LIBS
14826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14827 /* end confdefs.h. */
14829 /* Override any GCC internal prototype to avoid an error.
14830 Use char because int might match the return type of a GCC
14831 builtin and then its argument prototype would still apply. */
14839 return inet_aton ();
14844 for ac_lib
in '' resolv
; do
14845 if test -z "$ac_lib"; then
14846 ac_res
="none required"
14849 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14851 if ac_fn_c_try_link
"$LINENO"; then :
14852 ac_cv_search_inet_aton
=$ac_res
14854 rm -f core conftest.err conftest.
$ac_objext \
14856 if ${ac_cv_search_inet_aton+:} false
; then :
14860 if ${ac_cv_search_inet_aton+:} false
; then :
14863 ac_cv_search_inet_aton
=no
14865 rm conftest.
$ac_ext
14866 LIBS
=$ac_func_search_save_LIBS
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
14869 $as_echo "$ac_cv_search_inet_aton" >&6; }
14870 ac_res
=$ac_cv_search_inet_aton
14871 if test "$ac_res" != no
; then :
14872 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14892 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14893 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14894 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14895 cat >>confdefs.h
<<_ACEOF
14896 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
14905 $as_echo_n "checking for library containing clock_gettime... " >&6; }
14906 if ${ac_cv_search_clock_gettime+:} false
; then :
14907 $as_echo_n "(cached) " >&6
14909 ac_func_search_save_LIBS
=$LIBS
14910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14911 /* end confdefs.h. */
14913 /* Override any GCC internal prototype to avoid an error.
14914 Use char because int might match the return type of a GCC
14915 builtin and then its argument prototype would still apply. */
14919 char clock_gettime ();
14923 return clock_gettime ();
14928 for ac_lib
in '' rt
; do
14929 if test -z "$ac_lib"; then
14930 ac_res
="none required"
14933 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14935 if ac_fn_c_try_link
"$LINENO"; then :
14936 ac_cv_search_clock_gettime
=$ac_res
14938 rm -f core conftest.err conftest.
$ac_objext \
14940 if ${ac_cv_search_clock_gettime+:} false
; then :
14944 if ${ac_cv_search_clock_gettime+:} false
; then :
14947 ac_cv_search_clock_gettime
=no
14949 rm conftest.
$ac_ext
14950 LIBS
=$ac_func_search_save_LIBS
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
14953 $as_echo "$ac_cv_search_clock_gettime" >&6; }
14954 ac_res
=$ac_cv_search_clock_gettime
14955 if test "$ac_res" != no
; then :
14956 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14958 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
14960 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
14968 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
14970 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
14972 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
14974 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
14975 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
14976 $as_echo_n "(cached) " >&6
14978 ac_check_lib_save_LIBS
=$LIBS
14979 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
14980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14981 /* end confdefs.h. */
14983 /* Override any GCC internal prototype to avoid an error.
14984 Use char because int might match the return type of a GCC
14985 builtin and then its argument prototype would still apply. */
14989 char ldap_initialize ();
14993 return ldap_initialize ();
14998 if ac_fn_c_try_link
"$LINENO"; then :
14999 ac_cv_lib_ldap_r_ldap_initialize
=yes
15001 ac_cv_lib_ldap_r_ldap_initialize
=no
15003 rm -f core conftest.err conftest.
$ac_objext \
15004 conftest
$ac_exeext conftest.
$ac_ext
15005 LIBS
=$ac_check_lib_save_LIBS
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15008 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15009 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15011 $as_echo_n "checking for ber_init in -llber... " >&6; }
15012 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15013 $as_echo_n "(cached) " >&6
15015 ac_check_lib_save_LIBS
=$LIBS
15016 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15018 /* end confdefs.h. */
15020 /* Override any GCC internal prototype to avoid an error.
15021 Use char because int might match the return type of a GCC
15022 builtin and then its argument prototype would still apply. */
15030 return ber_init ();
15035 if ac_fn_c_try_link
"$LINENO"; then :
15036 ac_cv_lib_lber_ber_init
=yes
15038 ac_cv_lib_lber_ber_init
=no
15040 rm -f core conftest.err conftest.
$ac_objext \
15041 conftest
$ac_exeext conftest.
$ac_ext
15042 LIBS
=$ac_check_lib_save_LIBS
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15045 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15046 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15048 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15050 LDAP_LIBS
="-lldap_r -llber"
15057 ac_wine_check_funcs_save_LIBS
="$LIBS"
15058 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15060 ldap_count_references \
15061 ldap_first_reference \
15062 ldap_next_reference \
15063 ldap_parse_reference \
15064 ldap_parse_sort_control \
15065 ldap_parse_sortresponse_control \
15066 ldap_parse_vlv_control \
15067 ldap_parse_vlvresponse_control
15069 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15070 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15071 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15072 cat >>confdefs.h
<<_ACEOF
15073 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15079 LIBS
="$ac_wine_check_funcs_save_LIBS"
15081 if test "x$LDAP_LIBS" = "x"; then :
15082 case "x$with_ldap" in
15083 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15085 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15086 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15091 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15092 if ${wine_cv_one_arg_mkdir+:} false
; then :
15093 $as_echo_n "(cached) " >&6
15095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15096 /* end confdefs.h. */
15097 #include <sys/stat.h>
15106 if ac_fn_c_try_compile
"$LINENO"; then :
15107 wine_cv_one_arg_mkdir
=yes
15109 wine_cv_one_arg_mkdir
=no
15111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15114 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15115 if test "$wine_cv_one_arg_mkdir" = "yes"
15118 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15123 $as_echo_n "checking for sched_setaffinity... " >&6; }
15124 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15125 $as_echo_n "(cached) " >&6
15127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15128 /* end confdefs.h. */
15129 #define _GNU_SOURCE
15134 sched_setaffinity(0, 0, 0);
15139 if ac_fn_c_try_link
"$LINENO"; then :
15140 wine_cv_have_sched_setaffinity
=yes
15142 wine_cv_have_sched_setaffinity
=no
15144 rm -f core conftest.err conftest.
$ac_objext \
15145 conftest
$ac_exeext conftest.
$ac_ext
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15148 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15149 if test "$wine_cv_have_sched_setaffinity" = "yes"
15152 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15157 $as_echo_n "checking for fallocate... " >&6; }
15158 if ${wine_cv_have_fallocate+:} false
; then :
15159 $as_echo_n "(cached) " >&6
15161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15162 /* end confdefs.h. */
15163 #define _GNU_SOURCE
15168 fallocate(-1, 0, 0, 0);
15173 if ac_fn_c_try_link
"$LINENO"; then :
15174 wine_cv_have_fallocate
=yes
15176 wine_cv_have_fallocate
=no
15178 rm -f core conftest.err conftest.
$ac_objext \
15179 conftest
$ac_exeext conftest.
$ac_ext
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15182 $as_echo "$wine_cv_have_fallocate" >&6; }
15183 if test "$wine_cv_have_fallocate" = "yes"
15186 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15192 $as_echo_n "checking for inline... " >&6; }
15193 if ${ac_cv_c_inline+:} false
; then :
15194 $as_echo_n "(cached) " >&6
15197 for ac_kw
in inline __inline__ __inline
; do
15198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15199 /* end confdefs.h. */
15200 #ifndef __cplusplus
15202 static $ac_kw foo_t static_foo () {return 0; }
15203 $ac_kw foo_t foo () {return 0; }
15207 if ac_fn_c_try_compile
"$LINENO"; then :
15208 ac_cv_c_inline
=$ac_kw
15210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15211 test "$ac_cv_c_inline" != no
&& break
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15216 $as_echo "$ac_cv_c_inline" >&6; }
15218 case $ac_cv_c_inline in
15221 case $ac_cv_c_inline in
15223 *) ac_val
=$ac_cv_c_inline;;
15225 cat >>confdefs.h
<<_ACEOF
15226 #ifndef __cplusplus
15227 #define inline $ac_val
15233 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15234 if test "x$ac_cv_type_mode_t" = xyes
; then :
15236 cat >>confdefs.h
<<_ACEOF
15237 #define HAVE_MODE_T 1
15242 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15243 if test "x$ac_cv_type_off_t" = xyes
; then :
15245 cat >>confdefs.h
<<_ACEOF
15246 #define HAVE_OFF_T 1
15251 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15252 if test "x$ac_cv_type_pid_t" = xyes
; then :
15254 cat >>confdefs.h
<<_ACEOF
15255 #define HAVE_PID_T 1
15260 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15261 if test "x$ac_cv_type_size_t" = xyes
; then :
15263 cat >>confdefs.h
<<_ACEOF
15264 #define HAVE_SIZE_T 1
15269 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15270 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15272 cat >>confdefs.h
<<_ACEOF
15273 #define HAVE_SSIZE_T 1
15278 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15279 if test "x$ac_cv_type_long_long" = xyes
; then :
15281 cat >>confdefs.h
<<_ACEOF
15282 #define HAVE_LONG_LONG 1
15287 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15288 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15290 cat >>confdefs.h
<<_ACEOF
15291 #define HAVE_FSBLKCNT_T 1
15296 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15297 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15299 cat >>confdefs.h
<<_ACEOF
15300 #define HAVE_FSFILCNT_T 1
15306 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15307 #include <signal.h>
15309 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15311 cat >>confdefs.h
<<_ACEOF
15312 #define HAVE_SIGSET_T 1
15318 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15320 if test "x$ac_cv_type_request_sense" = xyes
; then :
15322 cat >>confdefs.h
<<_ACEOF
15323 #define HAVE_REQUEST_SENSE 1
15330 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15331 #ifdef HAVE_SYS_SOCKET_H
15332 #include <sys/socket.h>
15334 #ifdef HAVE_SYS_SOCKETVAR_H
15335 #include <sys/socketvar.h>
15337 #ifdef HAVE_NET_ROUTE_H
15338 #include <net/route.h>
15340 #ifdef HAVE_NETINET_IN_H
15341 #include <netinet/in.h>
15343 #ifdef HAVE_NETINET_IN_SYSTM_H
15344 #include <netinet/in_systm.h>
15346 #ifdef HAVE_NETINET_IP_H
15347 #include <netinet/ip.h>
15349 #ifdef HAVE_NETINET_IN_PCB_H
15350 #include <netinet/in_pcb.h>
15353 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15355 cat >>confdefs.h
<<_ACEOF
15356 #define HAVE_STRUCT_XINPGEN 1
15363 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15366 #ifdef HAVE_SYS_LINK_H
15367 #include <sys/link.h>
15370 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15372 cat >>confdefs.h
<<_ACEOF
15373 #define HAVE_STRUCT_R_DEBUG 1
15378 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15381 #ifdef HAVE_SYS_LINK_H
15382 #include <sys/link.h>
15385 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15387 cat >>confdefs.h
<<_ACEOF
15388 #define HAVE_STRUCT_LINK_MAP 1
15395 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15396 #include <linux/input.h>
15399 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15401 cat >>confdefs.h
<<_ACEOF
15402 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15410 $as_echo_n "checking for sigaddset... " >&6; }
15411 if ${wine_cv_have_sigaddset+:} false
; then :
15412 $as_echo_n "(cached) " >&6
15414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15415 /* end confdefs.h. */
15416 #include <signal.h>
15420 sigset_t set; sigaddset(&set,SIGTERM);
15425 if ac_fn_c_try_link
"$LINENO"; then :
15426 wine_cv_have_sigaddset
=yes
15428 wine_cv_have_sigaddset
=no
15430 rm -f core conftest.err conftest.
$ac_objext \
15431 conftest
$ac_exeext conftest.
$ac_ext
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15434 $as_echo "$wine_cv_have_sigaddset" >&6; }
15435 if test "$wine_cv_have_sigaddset" = "yes"
15438 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15444 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15445 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15446 $as_echo_n "(cached) " >&6
15448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15449 /* end confdefs.h. */
15457 struct hostent *result;
15464 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15465 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15471 if ac_fn_c_try_link
"$LINENO"; then :
15472 wine_cv_linux_gethostbyname_r_6
=yes
15474 wine_cv_linux_gethostbyname_r_6
=no
15477 rm -f core conftest.err conftest.
$ac_objext \
15478 conftest
$ac_exeext conftest.
$ac_ext
15481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15482 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15483 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15486 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15490 if test "$ac_cv_header_linux_joystick_h" = "yes"
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15493 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15494 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15495 $as_echo_n "(cached) " >&6
15497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15498 /* end confdefs.h. */
15500 #include <sys/ioctl.h>
15501 #include <sys/types.h>
15502 #include <linux/joystick.h>
15504 struct js_event blub;
15505 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15506 #error "no 2.2 header"
15517 if ac_fn_c_try_compile
"$LINENO"; then :
15518 wine_cv_linux_joystick_22_api
=yes
15520 wine_cv_linux_joystick_22_api
=no
15522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15526 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15527 if test "$wine_cv_linux_joystick_22_api" = "yes"
15530 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15536 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15537 #ifdef HAVE_SYS_PARAM_H
15538 # include <sys/param.h>
15540 #ifdef HAVE_SYS_MOUNT_H
15541 # include <sys/mount.h>
15543 #ifdef HAVE_SYS_VFS_H
15544 # include <sys/vfs.h>
15546 #ifdef HAVE_SYS_STATFS_H
15547 # include <sys/statfs.h>
15550 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15552 cat >>confdefs.h
<<_ACEOF
15553 #define HAVE_STRUCT_STATFS_F_BFREE 1
15558 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15559 #ifdef HAVE_SYS_PARAM_H
15560 # include <sys/param.h>
15562 #ifdef HAVE_SYS_MOUNT_H
15563 # include <sys/mount.h>
15565 #ifdef HAVE_SYS_VFS_H
15566 # include <sys/vfs.h>
15568 #ifdef HAVE_SYS_STATFS_H
15569 # include <sys/statfs.h>
15572 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15574 cat >>confdefs.h
<<_ACEOF
15575 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15580 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15581 #ifdef HAVE_SYS_PARAM_H
15582 # include <sys/param.h>
15584 #ifdef HAVE_SYS_MOUNT_H
15585 # include <sys/mount.h>
15587 #ifdef HAVE_SYS_VFS_H
15588 # include <sys/vfs.h>
15590 #ifdef HAVE_SYS_STATFS_H
15591 # include <sys/statfs.h>
15594 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15596 cat >>confdefs.h
<<_ACEOF
15597 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15602 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15603 #ifdef HAVE_SYS_PARAM_H
15604 # include <sys/param.h>
15606 #ifdef HAVE_SYS_MOUNT_H
15607 # include <sys/mount.h>
15609 #ifdef HAVE_SYS_VFS_H
15610 # include <sys/vfs.h>
15612 #ifdef HAVE_SYS_STATFS_H
15613 # include <sys/statfs.h>
15616 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15618 cat >>confdefs.h
<<_ACEOF
15619 #define HAVE_STRUCT_STATFS_F_FFREE 1
15624 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15625 #ifdef HAVE_SYS_PARAM_H
15626 # include <sys/param.h>
15628 #ifdef HAVE_SYS_MOUNT_H
15629 # include <sys/mount.h>
15631 #ifdef HAVE_SYS_VFS_H
15632 # include <sys/vfs.h>
15634 #ifdef HAVE_SYS_STATFS_H
15635 # include <sys/statfs.h>
15638 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15640 cat >>confdefs.h
<<_ACEOF
15641 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15646 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15647 #ifdef HAVE_SYS_PARAM_H
15648 # include <sys/param.h>
15650 #ifdef HAVE_SYS_MOUNT_H
15651 # include <sys/mount.h>
15653 #ifdef HAVE_SYS_VFS_H
15654 # include <sys/vfs.h>
15656 #ifdef HAVE_SYS_STATFS_H
15657 # include <sys/statfs.h>
15660 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15662 cat >>confdefs.h
<<_ACEOF
15663 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15670 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15671 #include <sys/statvfs.h>
15674 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15676 cat >>confdefs.h
<<_ACEOF
15677 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15684 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15685 #include <dirent.h>
15688 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15690 cat >>confdefs.h
<<_ACEOF
15691 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15698 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15699 #ifdef HAVE_SYS_SOCKET_H
15700 # include <sys/socket.h>
15702 #ifdef HAVE_SYS_UN_H
15703 # include <sys/un.h>
15706 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15708 cat >>confdefs.h
<<_ACEOF
15709 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15714 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15715 #ifdef HAVE_SYS_SOCKET_H
15716 # include <sys/socket.h>
15718 #ifdef HAVE_SYS_UN_H
15719 # include <sys/un.h>
15722 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15724 cat >>confdefs.h
<<_ACEOF
15725 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15730 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15731 #ifdef HAVE_SYS_SOCKET_H
15732 # include <sys/socket.h>
15734 #ifdef HAVE_SYS_UN_H
15735 # include <sys/un.h>
15738 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15740 cat >>confdefs.h
<<_ACEOF
15741 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15748 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15749 #ifdef HAVE_SCSI_SG_H
15750 #include <scsi/sg.h>
15753 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15755 cat >>confdefs.h
<<_ACEOF
15756 #define HAVE_SCSIREQ_T_CMD 1
15761 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>
15762 #ifdef HAVE_SCSI_SG_H
15763 #include <scsi/sg.h>
15766 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15768 cat >>confdefs.h
<<_ACEOF
15769 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15776 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15778 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15780 cat >>confdefs.h
<<_ACEOF
15781 #define HAVE_SIGINFO_T_SI_FD 1
15788 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15789 #ifdef HAVE_SYS_MTIO_H
15790 #include <sys/mtio.h>
15793 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15795 cat >>confdefs.h
<<_ACEOF
15796 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15801 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15802 #ifdef HAVE_SYS_MTIO_H
15803 #include <sys/mtio.h>
15806 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15808 cat >>confdefs.h
<<_ACEOF
15809 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15814 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15815 #ifdef HAVE_SYS_MTIO_H
15816 #include <sys/mtio.h>
15819 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15821 cat >>confdefs.h
<<_ACEOF
15822 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
15829 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
15830 #include <getopt.h>
15833 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
15835 cat >>confdefs.h
<<_ACEOF
15836 #define HAVE_STRUCT_OPTION_NAME 1
15843 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15844 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
15846 cat >>confdefs.h
<<_ACEOF
15847 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15852 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
15853 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
15855 cat >>confdefs.h
<<_ACEOF
15856 #define HAVE_STRUCT_STAT_ST_MTIM 1
15861 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
15862 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
15864 cat >>confdefs.h
<<_ACEOF
15865 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
15870 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
15871 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
15873 cat >>confdefs.h
<<_ACEOF
15874 #define HAVE_STRUCT_STAT_ST_CTIM 1
15879 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
15880 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
15882 cat >>confdefs.h
<<_ACEOF
15883 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
15888 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
15889 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
15891 cat >>confdefs.h
<<_ACEOF
15892 #define HAVE_STRUCT_STAT_ST_ATIM 1
15897 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
15898 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
15900 cat >>confdefs.h
<<_ACEOF
15901 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
15906 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
15907 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
15909 cat >>confdefs.h
<<_ACEOF
15910 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
15915 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
15916 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
15918 cat >>confdefs.h
<<_ACEOF
15919 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
15924 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
15925 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
15927 cat >>confdefs.h
<<_ACEOF
15928 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
15933 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
15934 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
15936 cat >>confdefs.h
<<_ACEOF
15937 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
15942 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
15943 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
15945 cat >>confdefs.h
<<_ACEOF
15946 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
15953 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
15954 #include <sys/types.h>
15956 #ifdef HAVE_NETINET_IN_H
15957 #include <netinet/in.h>
15960 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
15962 cat >>confdefs.h
<<_ACEOF
15963 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
15970 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
15971 #include <resolv.h>
15974 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
15976 cat >>confdefs.h
<<_ACEOF
15977 #define HAVE_STRUCT___RES_STATE 1
15984 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
15985 #include <resolv.h>
15988 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
15990 cat >>confdefs.h
<<_ACEOF
15991 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
15998 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
15999 #include <sys/types.h>
16001 #ifdef HAVE_NETINET_IN_H
16002 # include <netinet/in.h>
16004 #ifdef HAVE_ARPA_NAMESER_H
16005 # include <arpa/nameser.h>
16008 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16010 cat >>confdefs.h
<<_ACEOF
16011 #define HAVE_NS_MSG__MSG_PTR 1
16018 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16019 #include <sys/types.h>
16021 #ifdef HAVE_NETINET_IP_H
16022 #include <netinet/ip.h>
16024 #ifdef HAVE_NETINET_IP_ICMP_H
16025 #include <netinet/ip_icmp.h>
16027 #ifdef HAVE_NETINET_ICMP_VAR_H
16028 #include <netinet/icmp_var.h>
16031 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16033 cat >>confdefs.h
<<_ACEOF
16034 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16041 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16042 #include <sys/types.h>
16044 #ifdef HAVE_ALIAS_H
16047 #ifdef HAVE_SYS_SOCKET_H
16048 #include <sys/socket.h>
16050 #ifdef HAVE_SYS_SOCKETVAR_H
16051 #include <sys/socketvar.h>
16053 #ifdef HAVE_SYS_TIMEOUT_H
16054 #include <sys/timeout.h>
16056 #ifdef HAVE_NETINET_IN_H
16057 #include <netinet/in.h>
16059 #ifdef HAVE_NETINET_IN_SYSTM_H
16060 #include <netinet/in_systm.h>
16062 #ifdef HAVE_NETINET_IP_H
16063 #include <netinet/ip.h>
16065 #ifdef HAVE_NETINET_IP_VAR_H
16066 #include <netinet/ip_var.h>
16068 #ifdef HAVE_NETINET_IP_ICMP_H
16069 #include <netinet/ip_icmp.h>
16071 #ifdef HAVE_NETINET_ICMP_VAR_H
16072 #include <netinet/icmp_var.h>
16075 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16077 cat >>confdefs.h
<<_ACEOF
16078 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16085 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16086 #include <sys/types.h>
16088 #ifdef HAVE_SYS_SOCKETVAR_H
16089 #include <sys/socketvar.h>
16091 #ifdef HAVE_NETINET_IN_H
16092 #include <netinet/in.h>
16094 #ifdef HAVE_NETINET_IP_VAR_H
16095 #include <netinet/ip_var.h>
16098 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16100 cat >>confdefs.h
<<_ACEOF
16101 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16108 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
16109 #include <netinet/ip_var.h>
16112 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16114 cat >>confdefs.h
<<_ACEOF
16115 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16122 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16123 #include <sys/types.h>
16125 #ifdef HAVE_SYS_SOCKETVAR_H
16126 #include <sys/socketvar.h>
16128 #ifdef HAVE_NETINET_IN_H
16129 #include <netinet/in.h>
16131 #ifdef HAVE_NETINET_TCP_H
16132 #include <netinet/tcp.h>
16134 #ifdef HAVE_NETINET_TCP_VAR_H
16135 #include <netinet/tcp_var.h>
16138 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16140 cat >>confdefs.h
<<_ACEOF
16141 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16148 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
16149 #include <netinet/tcp_var.h>
16152 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16154 cat >>confdefs.h
<<_ACEOF
16155 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16162 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16163 #include <sys/types.h>
16165 #ifdef HAVE_NETINET_IN_H
16166 #include <netinet/in.h>
16168 #ifdef HAVE_NETINET_IP_VAR_H
16169 #include <netinet/ip_var.h>
16171 #ifdef HAVE_NETINET_UDP_H
16172 #include <netinet/udp.h>
16174 #ifdef HAVE_NETINET_UDP_VAR_H
16175 #include <netinet/udp_var.h>
16178 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16180 cat >>confdefs.h
<<_ACEOF
16181 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16188 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16189 #include <sys/types.h>
16191 #ifdef HAVE_NET_IF_H
16192 # include <net/if.h>
16195 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16197 cat >>confdefs.h
<<_ACEOF
16198 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16206 $as_echo_n "checking for timezone variable... " >&6; }
16207 if ${ac_cv_have_timezone+:} false
; then :
16208 $as_echo_n "(cached) " >&6
16210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16211 /* end confdefs.h. */
16221 if ac_fn_c_try_link
"$LINENO"; then :
16222 ac_cv_have_timezone
="yes"
16224 ac_cv_have_timezone
="no"
16226 rm -f core conftest.err conftest.
$ac_objext \
16227 conftest
$ac_exeext conftest.
$ac_ext
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16230 $as_echo "$ac_cv_have_timezone" >&6; }
16231 if test "$ac_cv_have_timezone" = "yes"
16234 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16238 $as_echo_n "checking for daylight variable... " >&6; }
16239 if ${ac_cv_have_daylight+:} false
; then :
16240 $as_echo_n "(cached) " >&6
16242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16243 /* end confdefs.h. */
16253 if ac_fn_c_try_link
"$LINENO"; then :
16254 ac_cv_have_daylight
="yes"
16256 ac_cv_have_daylight
="no"
16258 rm -f core conftest.err conftest.
$ac_objext \
16259 conftest
$ac_exeext conftest.
$ac_ext
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16262 $as_echo "$ac_cv_have_daylight" >&6; }
16263 if test "$ac_cv_have_daylight" = "yes"
16266 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16270 ac_save_LIBS
="$LIBS"
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16273 $as_echo_n "checking for isfinite... " >&6; }
16274 if ${ac_cv_have_isfinite+:} false
; then :
16275 $as_echo_n "(cached) " >&6
16277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16278 /* end confdefs.h. */
16279 #define _GNU_SOURCE
16284 float f = 0.0; return isfinite(f)
16289 if ac_fn_c_try_link
"$LINENO"; then :
16290 ac_cv_have_isfinite
="yes"
16292 ac_cv_have_isfinite
="no"
16294 rm -f core conftest.err conftest.
$ac_objext \
16295 conftest
$ac_exeext conftest.
$ac_ext
16297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16298 $as_echo "$ac_cv_have_isfinite" >&6; }
16299 if test "$ac_cv_have_isfinite" = "yes"
16302 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16306 ac_save_LIBS
="$LIBS"
16308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16309 $as_echo_n "checking for isinf... " >&6; }
16310 if ${ac_cv_have_isinf+:} false
; then :
16311 $as_echo_n "(cached) " >&6
16313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16314 /* end confdefs.h. */
16319 float f = 0.0; return isinf(f)
16324 if ac_fn_c_try_link
"$LINENO"; then :
16325 ac_cv_have_isinf
="yes"
16327 ac_cv_have_isinf
="no"
16329 rm -f core conftest.err conftest.
$ac_objext \
16330 conftest
$ac_exeext conftest.
$ac_ext
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16333 $as_echo "$ac_cv_have_isinf" >&6; }
16334 if test "$ac_cv_have_isinf" = "yes"
16337 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16342 $as_echo_n "checking for isnan... " >&6; }
16343 if ${ac_cv_have_isnan+:} false
; then :
16344 $as_echo_n "(cached) " >&6
16346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16347 /* end confdefs.h. */
16352 float f = 0.0; return isnan(f)
16357 if ac_fn_c_try_link
"$LINENO"; then :
16358 ac_cv_have_isnan
="yes"
16360 ac_cv_have_isnan
="no"
16362 rm -f core conftest.err conftest.
$ac_objext \
16363 conftest
$ac_exeext conftest.
$ac_ext
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16366 $as_echo "$ac_cv_have_isnan" >&6; }
16367 if test "$ac_cv_have_isnan" = "yes"
16370 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16373 LIBS
="$ac_save_LIBS"
16377 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16378 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16379 if ${ac_cv_cpp_def___i386__+:} false
; then :
16380 $as_echo_n "(cached) " >&6
16382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16383 /* end confdefs.h. */
16388 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16389 $EGREP "yes" >/dev
/null
2>&1; then :
16390 ac_cv_cpp_def___i386__
=yes
16392 ac_cv_cpp_def___i386__
=no
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16398 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16399 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16400 CFLAGS
="$CFLAGS -D__i386__"
16401 LINTFLAGS
="$LINTFLAGS -D__i386__"
16403 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16404 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16405 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16406 $as_echo_n "(cached) " >&6
16408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16409 /* end confdefs.h. */
16414 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16415 $EGREP "yes" >/dev
/null
2>&1; then :
16416 ac_cv_cpp_def___x86_64__
=yes
16418 ac_cv_cpp_def___x86_64__
=no
16423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16424 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16425 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16426 CFLAGS
="$CFLAGS -D__x86_64__"
16427 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16429 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16430 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16431 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16432 $as_echo_n "(cached) " >&6
16434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16435 /* end confdefs.h. */
16436 #ifndef __sparc64__
16440 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16441 $EGREP "yes" >/dev
/null
2>&1; then :
16442 ac_cv_cpp_def___sparc64__
=yes
16444 ac_cv_cpp_def___sparc64__
=no
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16450 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16451 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16452 CFLAGS
="$CFLAGS -D__sparc64__"
16453 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16455 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16456 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16457 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16458 $as_echo_n "(cached) " >&6
16460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16461 /* end confdefs.h. */
16466 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16467 $EGREP "yes" >/dev
/null
2>&1; then :
16468 ac_cv_cpp_def___sparc__
=yes
16470 ac_cv_cpp_def___sparc__
=no
16475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16476 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16477 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16478 CFLAGS
="$CFLAGS -D__sparc__"
16479 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16481 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16482 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16483 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16484 $as_echo_n "(cached) " >&6
16486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16487 /* end confdefs.h. */
16488 #ifndef __powerpc64__
16492 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16493 $EGREP "yes" >/dev
/null
2>&1; then :
16494 ac_cv_cpp_def___powerpc64__
=yes
16496 ac_cv_cpp_def___powerpc64__
=no
16501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16502 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16503 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16504 CFLAGS
="$CFLAGS -D__powerpc64__"
16505 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16507 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16508 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16509 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16510 $as_echo_n "(cached) " >&6
16512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16513 /* end confdefs.h. */
16514 #ifndef __powerpc__
16518 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16519 $EGREP "yes" >/dev
/null
2>&1; then :
16520 ac_cv_cpp_def___powerpc__
=yes
16522 ac_cv_cpp_def___powerpc__
=no
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16528 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16529 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16530 CFLAGS
="$CFLAGS -D__powerpc__"
16531 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16533 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16534 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16535 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16536 $as_echo_n "(cached) " >&6
16538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16539 /* end confdefs.h. */
16540 #ifndef __aarch64__
16544 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16545 $EGREP "yes" >/dev
/null
2>&1; then :
16546 ac_cv_cpp_def___aarch64__
=yes
16548 ac_cv_cpp_def___aarch64__
=no
16553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16554 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16555 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16556 CFLAGS
="$CFLAGS -D__aarch64__"
16557 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16559 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16560 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16561 if ${ac_cv_cpp_def___arm__+:} false
; then :
16562 $as_echo_n "(cached) " >&6
16564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16565 /* end confdefs.h. */
16570 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16571 $EGREP "yes" >/dev
/null
2>&1; then :
16572 ac_cv_cpp_def___arm__
=yes
16574 ac_cv_cpp_def___arm__
=no
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16580 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16581 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16582 CFLAGS
="$CFLAGS -D__arm__"
16583 LINTFLAGS
="$LINTFLAGS -D__arm__"
16587 case $host_vendor in
16588 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16589 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16590 if ${ac_cv_cpp_def___sun__+:} false
; then :
16591 $as_echo_n "(cached) " >&6
16593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16594 /* end confdefs.h. */
16599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16600 $EGREP "yes" >/dev
/null
2>&1; then :
16601 ac_cv_cpp_def___sun__
=yes
16603 ac_cv_cpp_def___sun__
=no
16608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16609 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16610 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16611 CFLAGS
="$CFLAGS -D__sun__"
16612 LINTFLAGS
="$LINTFLAGS -D__sun__"
16620 ac_config_commands
="$ac_config_commands include/stamp-h"
16622 $as_echo_n "creating Makefile rules..." >&6
16624 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16625 SOCKET_LIBS = $SOCKET_LIBS
16626 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16627 IOKIT_LIBS = $IOKIT_LIBS
16628 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16629 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16630 CORESERVICES_LIBS = $CORESERVICES_LIBS
16631 APPKIT_LIBS = $APPKIT_LIBS
16632 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16633 SECURITY_LIBS = $SECURITY_LIBS
16634 COREAUDIO_LIBS = $COREAUDIO_LIBS
16635 OPENAL_LIBS = $OPENAL_LIBS
16636 OPENCL_LIBS = $OPENCL_LIBS
16637 QUICKTIME_LIBS = $QUICKTIME_LIBS
16638 CARBON_LIBS = $CARBON_LIBS
16639 PTHREAD_LIBS = $PTHREAD_LIBS
16640 X_CFLAGS = $X_CFLAGS
16641 X_PRE_LIBS = $X_PRE_LIBS
16643 X_EXTRA_LIBS = $X_EXTRA_LIBS
16644 XML2_CFLAGS = $XML2_CFLAGS
16645 XML2_LIBS = $XML2_LIBS
16646 XSLT_CFLAGS = $XSLT_CFLAGS
16647 XSLT_LIBS = $XSLT_LIBS
16648 DBUS_CFLAGS = $DBUS_CFLAGS
16649 DBUS_LIBS = $DBUS_LIBS
16650 HAL_CFLAGS = $HAL_CFLAGS
16651 HAL_LIBS = $HAL_LIBS
16652 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16653 GNUTLS_LIBS = $GNUTLS_LIBS
16654 SANE_CFLAGS = $SANE_CFLAGS
16655 SANE_LIBS = $SANE_LIBS
16656 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16657 GPHOTO2_LIBS = $GPHOTO2_LIBS
16658 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16659 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16660 RESOLV_LIBS = $RESOLV_LIBS
16661 LCMS2_CFLAGS = $LCMS2_CFLAGS
16662 LCMS2_LIBS = $LCMS2_LIBS
16663 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16664 FREETYPE_LIBS = $FREETYPE_LIBS
16666 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16667 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16668 GSTREAMER_LIBS = $GSTREAMER_LIBS
16669 ALSA_LIBS = $ALSA_LIBS
16670 OSS4_CFLAGS = $OSS4_CFLAGS
16671 CAPI20_CFLAGS = $CAPI20_CFLAGS
16672 CAPI20_LIBS = $CAPI20_LIBS
16673 CUPS_CFLAGS = $CUPS_CFLAGS
16674 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16675 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16676 JPEG_CFLAGS = $JPEG_CFLAGS
16677 JPEG_LIBS = $JPEG_LIBS
16678 PNG_CFLAGS = $PNG_CFLAGS
16679 PNG_LIBS = $PNG_LIBS
16680 TIFF_CFLAGS = $TIFF_CFLAGS
16681 TIFF_LIBS = $TIFF_LIBS
16682 MPG123_CFLAGS = $MPG123_CFLAGS
16683 MPG123_LIBS = $MPG123_LIBS
16684 KSTAT_LIBS = $KSTAT_LIBS
16685 PROCSTAT_LIBS = $PROCSTAT_LIBS
16687 POLL_LIBS = $POLL_LIBS
16689 LDAP_LIBS = $LDAP_LIBS
16694 wine_fn_append_rule
"
16695 # Rules automatically generated by configure
16697 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16702 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16703 @./config.status Make.tmp Makefile"
16705 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16706 .gitignore: config.status
16707 @./config.status .gitignore"
16709 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16710 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16712 if test "x$enable_fonts" != xno
; then
16713 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16714 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16715 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16716 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16717 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16719 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16720 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16721 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16722 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16723 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16724 wine_fn_config_symlink wine
16725 if test "x$enable_win64" != xno
; then
16726 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16727 wine_fn_config_symlink wine64
16730 wine_fn_config_dll acledit enable_acledit
16731 wine_fn_config_dll aclui enable_aclui implib
16732 wine_fn_config_dll activeds enable_activeds implib
16733 wine_fn_config_dll actxprxy enable_actxprxy clean
16734 wine_fn_config_lib adsiid
16735 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16736 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16737 wine_fn_config_dll advpack enable_advpack implib
16738 wine_fn_config_test dlls
/advpack
/tests advpack_test
16739 wine_fn_config_dll amstream enable_amstream clean
16740 wine_fn_config_test dlls
/amstream
/tests amstream_test
16741 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16742 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16743 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16744 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16745 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16746 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16747 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16748 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16749 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16750 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16751 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16752 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16753 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16754 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
16755 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
16756 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
16757 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
16758 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
16759 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
16760 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
16761 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
16762 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
16763 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
16764 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
16765 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
16766 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
16767 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
16768 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
16769 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
16770 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
16771 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
16772 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
16773 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
16774 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
16775 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
16776 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
16777 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
16778 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
16779 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
16780 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
16781 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
16782 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
16783 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
16784 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
16785 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
16786 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
16787 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
16788 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
16789 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
16790 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
16791 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
16792 wine_fn_config_dll apphelp enable_apphelp
16793 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
16794 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
16795 wine_fn_config_dll atl enable_atl clean
,implib
16796 wine_fn_config_test dlls
/atl
/tests atl_test
16797 wine_fn_config_dll atl100 enable_atl100 clean
,implib
16798 wine_fn_config_test dlls
/atl100
/tests atl100_test
16799 wine_fn_config_dll atl110 enable_atl110 clean
16800 wine_fn_config_dll atl80 enable_atl80 clean
,implib
16801 wine_fn_config_test dlls
/atl80
/tests atl80_test
16802 wine_fn_config_dll atl90 enable_atl90 clean
16803 wine_fn_config_dll authz enable_authz
16804 wine_fn_config_dll avicap32 enable_avicap32 implib
16805 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
16806 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
16807 wine_fn_config_dll avifile.dll16 enable_win16
16808 wine_fn_config_dll avrt enable_avrt implib
16809 wine_fn_config_dll bcrypt enable_bcrypt
16810 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
16811 wine_fn_config_dll browseui enable_browseui clean
,po
16812 wine_fn_config_test dlls
/browseui
/tests browseui_test
16813 wine_fn_config_dll cabinet enable_cabinet implib
16814 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
16815 wine_fn_config_dll capi2032 enable_capi2032 implib
16816 wine_fn_config_dll cards enable_cards implib
16817 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
16818 wine_fn_config_dll clusapi enable_clusapi implib
16819 wine_fn_config_dll comcat enable_comcat
16820 wine_fn_config_test dlls
/comcat
/tests comcat_test
16821 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
16822 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
16823 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
16824 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
16825 wine_fn_config_dll
comm.drv16 enable_win16
16826 wine_fn_config_dll commdlg.dll16 enable_win16
16827 wine_fn_config_dll compobj.dll16 enable_win16
16828 wine_fn_config_dll compstui enable_compstui implib
16829 wine_fn_config_dll comsvcs enable_comsvcs implib
16830 wine_fn_config_dll credui enable_credui implib
,po
16831 wine_fn_config_test dlls
/credui
/tests credui_test
16832 wine_fn_config_dll crtdll enable_crtdll implib
16833 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
16834 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
16835 wine_fn_config_dll cryptdlg enable_cryptdlg po
16836 wine_fn_config_dll cryptdll enable_cryptdll implib
16837 wine_fn_config_dll cryptnet enable_cryptnet implib
16838 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
16839 wine_fn_config_dll cryptui enable_cryptui implib
,po
16840 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
16841 wine_fn_config_dll ctapi32 enable_ctapi32
16842 wine_fn_config_dll ctl3d.dll16 enable_win16
16843 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
16844 wine_fn_config_dll ctl3dv2.dll16 enable_win16
16845 wine_fn_config_dll d2d1 enable_d2d1 implib
16846 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
16847 wine_fn_config_dll d3d10 enable_d3d10 implib
16848 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
16849 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
16850 wine_fn_config_dll d3d10core enable_d3d10core implib
16851 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
16852 wine_fn_config_dll d3d11 enable_d3d11
16853 wine_fn_config_dll d3d8 enable_d3d8 implib
16854 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
16855 wine_fn_config_dll d3d9 enable_d3d9 implib
16856 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
16857 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
16858 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
16859 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
16860 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
16861 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
16862 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
16863 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
16864 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
16865 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
16866 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
16867 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
16868 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
16869 wine_fn_config_dll d3dim enable_d3dim implib
16870 wine_fn_config_dll d3drm enable_d3drm implib
16871 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
16872 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
16873 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
16874 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
16875 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
16876 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
16877 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
16878 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
16879 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
16880 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
16881 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
16882 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
16883 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
16884 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
16885 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
16886 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
16887 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
16888 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
16889 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
16890 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
16891 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
16892 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
16893 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
16894 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
16895 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
16896 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
16897 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
16898 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
16899 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
16900 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
16901 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
16902 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
16903 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
16904 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
16905 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
16906 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
16907 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
16908 wine_fn_config_dll dbgeng enable_dbgeng implib
16909 wine_fn_config_dll dbghelp enable_dbghelp implib
16910 wine_fn_config_dll dciman32 enable_dciman32 implib
16911 wine_fn_config_dll ddeml.dll16 enable_win16
16912 wine_fn_config_dll ddraw enable_ddraw clean
,implib
16913 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
16914 wine_fn_config_dll ddrawex enable_ddrawex clean
16915 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
16916 wine_fn_config_dll devenum enable_devenum clean
,po
16917 wine_fn_config_test dlls
/devenum
/tests devenum_test
16918 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
16919 wine_fn_config_dll difxapi enable_difxapi
16920 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
16921 wine_fn_config_test dlls
/dinput
/tests dinput_test
16922 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
16923 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
16924 wine_fn_config_dll dispdib.dll16 enable_win16
16925 wine_fn_config_dll dispex enable_dispex clean
16926 wine_fn_config_test dlls
/dispex
/tests dispex_test
16927 wine_fn_config_dll display.drv16 enable_win16
16928 wine_fn_config_dll dmband enable_dmband clean
16929 wine_fn_config_test dlls
/dmband
/tests dmband_test
16930 wine_fn_config_dll dmcompos enable_dmcompos clean
16931 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
16932 wine_fn_config_dll dmime enable_dmime clean
16933 wine_fn_config_test dlls
/dmime
/tests dmime_test
16934 wine_fn_config_dll dmloader enable_dmloader clean
16935 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
16936 wine_fn_config_dll dmscript enable_dmscript clean
16937 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
16938 wine_fn_config_dll dmstyle enable_dmstyle clean
16939 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
16940 wine_fn_config_dll dmsynth enable_dmsynth clean
16941 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
16942 wine_fn_config_dll dmusic enable_dmusic clean
16943 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
16944 wine_fn_config_dll dmusic32 enable_dmusic32 implib
16945 wine_fn_config_dll dnsapi enable_dnsapi implib
16946 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
16947 wine_fn_config_dll dplay enable_dplay implib
16948 wine_fn_config_dll dplayx enable_dplayx clean
,implib
16949 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16950 wine_fn_config_dll dpnaddr enable_dpnaddr
16951 wine_fn_config_dll dpnet enable_dpnet clean
,implib
16952 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16953 wine_fn_config_dll dpnhpast enable_dpnhpast
16954 wine_fn_config_dll dpnlobby enable_dpnlobby
16955 wine_fn_config_dll dpvoice enable_dpvoice clean
16956 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
16957 wine_fn_config_dll dpwsockx enable_dpwsockx
16958 wine_fn_config_dll drmclien enable_drmclien
16959 wine_fn_config_dll dsound enable_dsound clean
,implib
16960 wine_fn_config_test dlls
/dsound
/tests dsound_test
16961 wine_fn_config_dll dssenh enable_dssenh
16962 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16963 wine_fn_config_dll dswave enable_dswave clean
16964 wine_fn_config_test dlls
/dswave
/tests dswave_test
16965 wine_fn_config_dll dwmapi enable_dwmapi implib
16966 wine_fn_config_dll dwrite enable_dwrite implib
16967 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16968 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
16969 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16970 wine_fn_config_lib dxerr8
16971 wine_fn_config_lib dxerr9
16972 wine_fn_config_dll dxgi enable_dxgi implib
16973 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16974 wine_fn_config_lib dxguid
16975 wine_fn_config_dll dxva2 enable_dxva2
16976 wine_fn_config_dll explorerframe enable_explorerframe clean
16977 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16978 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
16979 wine_fn_config_dll faultrep enable_faultrep implib
16980 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16981 wine_fn_config_dll fltlib enable_fltlib
16982 wine_fn_config_dll fntcache enable_fntcache
16983 wine_fn_config_dll fontsub enable_fontsub
16984 wine_fn_config_dll fusion enable_fusion
16985 wine_fn_config_test dlls
/fusion
/tests fusion_test
16986 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16987 wine_fn_config_dll gameux enable_gameux clean
16988 wine_fn_config_test dlls
/gameux
/tests gameux_test
16989 wine_fn_config_dll gdi.exe16 enable_win16
16990 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
16991 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16992 wine_fn_config_dll gdiplus enable_gdiplus implib
16993 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16994 wine_fn_config_dll glu32 enable_glu32 implib
16995 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16996 wine_fn_config_dll gpkcsp enable_gpkcsp
16997 wine_fn_config_dll hal enable_hal
16998 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
16999 wine_fn_config_dll hid enable_hid implib
17000 wine_fn_config_dll hlink enable_hlink clean
,implib
17001 wine_fn_config_test dlls
/hlink
/tests hlink_test
17002 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17003 wine_fn_config_dll httpapi enable_httpapi
17004 wine_fn_config_dll iccvid enable_iccvid po
17005 wine_fn_config_dll icmp enable_icmp
17006 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17007 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17008 wine_fn_config_dll ifsmgr.vxd enable_win16
17009 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17010 wine_fn_config_dll imagehlp enable_imagehlp implib
17011 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17012 wine_fn_config_dll imm.dll16 enable_win16
17013 wine_fn_config_dll imm32 enable_imm32 implib
17014 wine_fn_config_test dlls
/imm32
/tests imm32_test
17015 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17016 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17017 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17018 wine_fn_config_dll inetmib1 enable_inetmib1
17019 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17020 wine_fn_config_dll infosoft enable_infosoft clean
17021 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17022 wine_fn_config_dll initpki enable_initpki
17023 wine_fn_config_dll inkobj enable_inkobj
17024 wine_fn_config_dll inseng enable_inseng clean
17025 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17026 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17027 wine_fn_config_dll itircl enable_itircl
17028 wine_fn_config_dll itss enable_itss clean
17029 wine_fn_config_test dlls
/itss
/tests itss_test
17030 wine_fn_config_dll joy.cpl enable_joy_cpl po
17031 wine_fn_config_dll jscript enable_jscript clean
,po
17032 wine_fn_config_test dlls
/jscript
/tests jscript_test
17033 wine_fn_config_dll jsproxy enable_jsproxy implib
17034 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17035 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17036 wine_fn_config_dll keyboard.drv16 enable_win16
17037 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17038 wine_fn_config_dll ksuser enable_ksuser
17039 wine_fn_config_dll ktmw32 enable_ktmw32
17040 wine_fn_config_dll loadperf enable_loadperf implib
17041 wine_fn_config_dll localspl enable_localspl po
17042 wine_fn_config_test dlls
/localspl
/tests localspl_test
17043 wine_fn_config_dll localui enable_localui po
17044 wine_fn_config_test dlls
/localui
/tests localui_test
17045 wine_fn_config_dll lz32 enable_lz32 implib
17046 wine_fn_config_test dlls
/lz32
/tests lz32_test
17047 wine_fn_config_dll lzexpand.dll16 enable_win16
17048 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17049 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17050 wine_fn_config_dll mapistub enable_mapistub
17051 wine_fn_config_dll mciavi32 enable_mciavi32
17052 wine_fn_config_dll mcicda enable_mcicda
17053 wine_fn_config_dll mciqtz32 enable_mciqtz32
17054 wine_fn_config_dll mciseq enable_mciseq
17055 wine_fn_config_dll mciwave enable_mciwave
17056 wine_fn_config_dll mgmtapi enable_mgmtapi
17057 wine_fn_config_dll midimap enable_midimap
17058 wine_fn_config_dll mlang enable_mlang clean
,implib
17059 wine_fn_config_test dlls
/mlang
/tests mlang_test
17060 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17061 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17062 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17063 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17064 wine_fn_config_dll mmdevldr.vxd enable_win16
17065 wine_fn_config_dll mmsystem.dll16 enable_win16
17066 wine_fn_config_dll monodebg.vxd enable_win16
17067 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17068 wine_fn_config_dll mouse.drv16 enable_win16
17069 wine_fn_config_dll mpr enable_mpr implib
,po
17070 wine_fn_config_test dlls
/mpr
/tests mpr_test
17071 wine_fn_config_dll mprapi enable_mprapi implib
17072 wine_fn_config_dll msacm.dll16 enable_win16
17073 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17074 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17075 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17076 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17077 wine_fn_config_dll msasn1 enable_msasn1 implib
17078 wine_fn_config_dll mscat32 enable_mscat32
17079 wine_fn_config_dll mscms enable_mscms implib
17080 wine_fn_config_test dlls
/mscms
/tests mscms_test
17081 wine_fn_config_dll mscoree enable_mscoree clean
17082 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17083 wine_fn_config_dll msctf enable_msctf clean
17084 wine_fn_config_test dlls
/msctf
/tests msctf_test
17085 wine_fn_config_dll msdaps enable_msdaps clean
17086 wine_fn_config_dll msdmo enable_msdmo implib
17087 wine_fn_config_dll msftedit enable_msftedit
17088 wine_fn_config_dll msg711.acm enable_msg711_acm
17089 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17090 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17091 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17092 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17093 wine_fn_config_dll msi enable_msi clean
,implib
,po
17094 wine_fn_config_test dlls
/msi
/tests msi_test
17095 wine_fn_config_dll msident enable_msident clean
17096 wine_fn_config_dll msimg32 enable_msimg32 implib
17097 wine_fn_config_dll msimsg enable_msimsg
17098 wine_fn_config_dll msimtf enable_msimtf clean
17099 wine_fn_config_dll msisip enable_msisip
17100 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17101 wine_fn_config_dll msls31 enable_msls31
17102 wine_fn_config_dll msnet32 enable_msnet32
17103 wine_fn_config_dll mspatcha enable_mspatcha
17104 wine_fn_config_dll msrle32 enable_msrle32 po
17105 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17106 wine_fn_config_dll mssign32 enable_mssign32
17107 wine_fn_config_dll mssip32 enable_mssip32
17108 wine_fn_config_dll mstask enable_mstask clean
17109 wine_fn_config_test dlls
/mstask
/tests mstask_test
17110 wine_fn_config_dll msvcirt enable_msvcirt
17111 wine_fn_config_dll msvcm80 enable_msvcm80
17112 wine_fn_config_dll msvcm90 enable_msvcm90
17113 wine_fn_config_dll msvcp100 enable_msvcp100
17114 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17115 wine_fn_config_dll msvcp110 enable_msvcp110
17116 wine_fn_config_dll msvcp60 enable_msvcp60
17117 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17118 wine_fn_config_dll msvcp70 enable_msvcp70
17119 wine_fn_config_dll msvcp71 enable_msvcp71
17120 wine_fn_config_dll msvcp80 enable_msvcp80
17121 wine_fn_config_dll msvcp90 enable_msvcp90
17122 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17123 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17124 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17125 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17126 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17127 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17128 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17129 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17130 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17131 wine_fn_config_dll msvcrt enable_msvcrt implib
17132 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17133 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17134 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17135 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17136 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17137 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17138 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17139 wine_fn_config_dll msvidc32 enable_msvidc32 po
17140 wine_fn_config_dll msvideo.dll16 enable_win16
17141 wine_fn_config_dll mswsock enable_mswsock implib
17142 wine_fn_config_dll msxml enable_msxml clean
17143 wine_fn_config_dll msxml2 enable_msxml2 clean
17144 wine_fn_config_dll msxml3 enable_msxml3 clean
17145 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17146 wine_fn_config_dll msxml4 enable_msxml4 clean
17147 wine_fn_config_dll msxml6 enable_msxml6 clean
17148 wine_fn_config_dll nddeapi enable_nddeapi implib
17149 wine_fn_config_dll netapi32 enable_netapi32 implib
17150 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17151 wine_fn_config_dll netcfgx enable_netcfgx clean
17152 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17153 wine_fn_config_dll netprofm enable_netprofm clean
17154 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17155 wine_fn_config_dll newdev enable_newdev implib
17156 wine_fn_config_dll normaliz enable_normaliz implib
17157 wine_fn_config_dll npmshtml enable_npmshtml
17158 wine_fn_config_dll npptools enable_npptools
17159 wine_fn_config_dll ntdll enable_ntdll implib
17160 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17161 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17162 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17163 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17164 wine_fn_config_dll ntprint enable_ntprint
17165 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17166 wine_fn_config_dll objsel enable_objsel clean
17167 wine_fn_config_dll odbc32 enable_odbc32 implib
17168 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17169 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17170 wine_fn_config_dll odbccu32 enable_odbccu32
17171 wine_fn_config_dll ole2.dll16 enable_win16
17172 wine_fn_config_dll ole2conv.dll16 enable_win16
17173 wine_fn_config_dll ole2disp.dll16 enable_win16
17174 wine_fn_config_dll ole2nls.dll16 enable_win16
17175 wine_fn_config_dll ole2prox.dll16 enable_win16
17176 wine_fn_config_dll ole2thk.dll16 enable_win16
17177 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17178 wine_fn_config_test dlls
/ole32
/tests ole32_test
17179 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17180 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17181 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17182 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17183 wine_fn_config_dll olecli.dll16 enable_win16
17184 wine_fn_config_dll olecli32 enable_olecli32 implib
17185 wine_fn_config_dll oledb32 enable_oledb32 clean
17186 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17187 wine_fn_config_dll oledlg enable_oledlg implib
,po
17188 wine_fn_config_dll olepro32 enable_olepro32 implib
17189 wine_fn_config_dll olesvr.dll16 enable_win16
17190 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17191 wine_fn_config_dll olethk32 enable_olethk32
17192 wine_fn_config_dll openal32 enable_openal32
17193 wine_fn_config_dll opencl enable_opencl
17194 wine_fn_config_dll opengl32 enable_opengl32 implib
17195 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17196 wine_fn_config_dll packager enable_packager clean
17197 wine_fn_config_test dlls
/packager
/tests packager_test
17198 wine_fn_config_dll pdh enable_pdh implib
17199 wine_fn_config_test dlls
/pdh
/tests pdh_test
17200 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17201 wine_fn_config_dll pidgen enable_pidgen
17202 wine_fn_config_dll powrprof enable_powrprof implib
17203 wine_fn_config_dll printui enable_printui
17204 wine_fn_config_dll propsys enable_propsys clean
,implib
17205 wine_fn_config_test dlls
/propsys
/tests propsys_test
17206 wine_fn_config_dll psapi enable_psapi implib
17207 wine_fn_config_test dlls
/psapi
/tests psapi_test
17208 wine_fn_config_dll pstorec enable_pstorec clean
17209 wine_fn_config_dll qcap enable_qcap
17210 wine_fn_config_test dlls
/qcap
/tests qcap_test
17211 wine_fn_config_dll qedit enable_qedit clean
17212 wine_fn_config_test dlls
/qedit
/tests qedit_test
17213 wine_fn_config_dll qmgr enable_qmgr clean
17214 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17215 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17216 wine_fn_config_dll quartz enable_quartz clean
,implib
17217 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17218 wine_fn_config_dll query enable_query
17219 wine_fn_config_dll rasapi16.dll16 enable_win16
17220 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17221 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17222 wine_fn_config_dll rasdlg enable_rasdlg implib
17223 wine_fn_config_dll regapi enable_regapi
17224 wine_fn_config_dll resutils enable_resutils implib
17225 wine_fn_config_dll riched20 enable_riched20 implib
17226 wine_fn_config_test dlls
/riched20
/tests riched20_test
17227 wine_fn_config_dll riched32 enable_riched32
17228 wine_fn_config_test dlls
/riched32
/tests riched32_test
17229 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17230 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17231 wine_fn_config_dll rsabase enable_rsabase
17232 wine_fn_config_dll rsaenh enable_rsaenh implib
17233 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17234 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17235 wine_fn_config_dll rtutils enable_rtutils implib
17236 wine_fn_config_dll samlib enable_samlib
17237 wine_fn_config_dll sane.ds enable_sane_ds po
17238 wine_fn_config_dll scarddlg enable_scarddlg
17239 wine_fn_config_dll sccbase enable_sccbase
17240 wine_fn_config_dll schannel enable_schannel
17241 wine_fn_config_test dlls
/schannel
/tests schannel_test
17242 wine_fn_config_dll schedsvc enable_schedsvc clean
17243 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17244 wine_fn_config_dll scrrun enable_scrrun clean
17245 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17246 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17247 wine_fn_config_dll secur32 enable_secur32 implib
17248 wine_fn_config_test dlls
/secur32
/tests secur32_test
17249 wine_fn_config_dll security enable_security
17250 wine_fn_config_dll sensapi enable_sensapi implib
17251 wine_fn_config_dll serialui enable_serialui implib
,po
17252 wine_fn_config_test dlls
/serialui
/tests serialui_test
17253 wine_fn_config_dll setupapi enable_setupapi implib
,po
17254 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17255 wine_fn_config_dll setupx.dll16 enable_win16
17256 wine_fn_config_dll sfc enable_sfc implib
17257 wine_fn_config_dll sfc_os enable_sfc_os implib
17258 wine_fn_config_dll shdoclc enable_shdoclc po
17259 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17260 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17261 wine_fn_config_dll shell.dll16 enable_win16
17262 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17263 wine_fn_config_test dlls
/shell32
/tests shell32_test
17264 wine_fn_config_dll shfolder enable_shfolder implib
17265 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17266 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17267 wine_fn_config_dll slbcsp enable_slbcsp
17268 wine_fn_config_dll slc enable_slc implib
17269 wine_fn_config_dll snmpapi enable_snmpapi implib
17270 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17271 wine_fn_config_dll softpub enable_softpub
17272 wine_fn_config_dll sound.drv16 enable_win16
17273 wine_fn_config_dll spoolss enable_spoolss implib
17274 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17275 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17276 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17277 wine_fn_config_dll sti enable_sti clean
,implib
17278 wine_fn_config_test dlls
/sti
/tests sti_test
17279 wine_fn_config_dll storage.dll16 enable_win16
17280 wine_fn_config_dll stress.dll16 enable_win16
17281 wine_fn_config_lib strmbase
17282 wine_fn_config_lib strmiids
17283 wine_fn_config_dll svrapi enable_svrapi
17284 wine_fn_config_dll sxs enable_sxs implib
17285 wine_fn_config_test dlls
/sxs
/tests sxs_test
17286 wine_fn_config_dll system.drv16 enable_win16
17287 wine_fn_config_dll t2embed enable_t2embed
17288 wine_fn_config_dll tapi32 enable_tapi32 implib
17289 wine_fn_config_dll taskschd enable_taskschd clean
17290 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17291 wine_fn_config_dll toolhelp.dll16 enable_win16
17292 wine_fn_config_dll traffic enable_traffic
17293 wine_fn_config_dll twain.dll16 enable_win16
17294 wine_fn_config_dll twain_32 enable_twain_32
17295 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17296 wine_fn_config_dll typelib.dll16 enable_win16
17297 wine_fn_config_dll unicows enable_unicows implib
17298 wine_fn_config_dll updspapi enable_updspapi
17299 wine_fn_config_dll url enable_url implib
17300 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17301 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17302 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17303 wine_fn_config_dll user.exe16 enable_win16
17304 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17305 wine_fn_config_test dlls
/user32
/tests user32_test
17306 wine_fn_config_dll userenv enable_userenv implib
17307 wine_fn_config_test dlls
/userenv
/tests userenv_test
17308 wine_fn_config_dll usp10 enable_usp10 implib
17309 wine_fn_config_test dlls
/usp10
/tests usp10_test
17310 wine_fn_config_lib uuid
17311 wine_fn_config_dll uxtheme enable_uxtheme implib
17312 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17313 wine_fn_config_dll vbscript enable_vbscript clean
17314 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17315 wine_fn_config_dll vcomp enable_vcomp
17316 wine_fn_config_dll vcomp100 enable_vcomp100
17317 wine_fn_config_dll vcomp90 enable_vcomp90
17318 wine_fn_config_dll vdhcp.vxd enable_win16
17319 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17320 wine_fn_config_dll ver.dll16 enable_win16
17321 wine_fn_config_dll version enable_version implib
17322 wine_fn_config_test dlls
/version
/tests version_test
17323 wine_fn_config_dll vmm.vxd enable_win16
17324 wine_fn_config_dll vnbt.vxd enable_win16
17325 wine_fn_config_dll vnetbios.vxd enable_win16
17326 wine_fn_config_dll vtdapi.vxd enable_win16
17327 wine_fn_config_dll vwin32.vxd enable_win16
17328 wine_fn_config_dll w32skrnl enable_win16
17329 wine_fn_config_dll w32sys.dll16 enable_win16
17330 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17331 wine_fn_config_dll wbemprox enable_wbemprox clean
17332 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17333 wine_fn_config_dll webservices enable_webservices implib
17334 wine_fn_config_dll wer enable_wer implib
17335 wine_fn_config_test dlls
/wer
/tests wer_test
17336 wine_fn_config_dll wevtapi enable_wevtapi
17337 wine_fn_config_dll wiaservc enable_wiaservc clean
17338 wine_fn_config_dll win32s16.dll16 enable_win16
17339 wine_fn_config_dll win87em.dll16 enable_win16
17340 wine_fn_config_dll winaspi.dll16 enable_win16
17341 wine_fn_config_dll windebug.dll16 enable_win16
17342 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17343 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17344 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17345 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17346 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17347 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17348 wine_fn_config_lib winecrt0
17349 wine_fn_config_dll wined3d enable_wined3d implib
17350 wine_fn_config_dll winegstreamer enable_winegstreamer
17351 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17352 wine_fn_config_dll winemac.drv enable_winemac_drv
17353 wine_fn_config_dll winemapi enable_winemapi
17354 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17355 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17356 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17357 wine_fn_config_dll wineps16.drv16 enable_win16
17358 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17359 wine_fn_config_dll winex11.drv enable_winex11_drv
17360 wine_fn_config_dll wing.dll16 enable_win16
17361 wine_fn_config_dll wing32 enable_wing32
17362 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17363 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17364 wine_fn_config_dll wininet enable_wininet implib
,po
17365 wine_fn_config_test dlls
/wininet
/tests wininet_test
17366 wine_fn_config_dll winmm enable_winmm implib
,po
17367 wine_fn_config_test dlls
/winmm
/tests winmm_test
17368 wine_fn_config_dll winnls.dll16 enable_win16
17369 wine_fn_config_dll winnls32 enable_winnls32 implib
17370 wine_fn_config_dll winscard enable_winscard implib
17371 wine_fn_config_dll winsock.dll16 enable_win16
17372 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17373 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17374 wine_fn_config_dll winsta enable_winsta
17375 wine_fn_config_dll wintab.dll16 enable_win16
17376 wine_fn_config_dll wintab32 enable_wintab32 implib
17377 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17378 wine_fn_config_dll wintrust enable_wintrust implib
17379 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17380 wine_fn_config_dll wlanapi enable_wlanapi
17381 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17382 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17383 wine_fn_config_dll wmi enable_wmi
17384 wine_fn_config_dll wmiutils enable_wmiutils clean
17385 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17386 wine_fn_config_dll wmp enable_wmp clean
17387 wine_fn_config_test dlls
/wmp
/tests wmp_test
17388 wine_fn_config_dll wmvcore enable_wmvcore
17389 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17390 wine_fn_config_dll wow32 enable_win16 implib
17391 wine_fn_config_dll wpcap enable_wpcap
17392 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17393 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17394 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17395 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17396 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17397 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17398 wine_fn_config_dll wsock32 enable_wsock32 implib
17399 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17400 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17401 wine_fn_config_dll wuapi enable_wuapi clean
17402 wine_fn_config_dll wuaueng enable_wuaueng
17403 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17404 wine_fn_config_dll xinput1_1 enable_xinput1_1
17405 wine_fn_config_dll xinput1_2 enable_xinput1_2
17406 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17407 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17408 wine_fn_config_dll xinput1_4 enable_xinput1_4
17409 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17410 wine_fn_config_dll xmllite enable_xmllite implib
17411 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17412 wine_fn_config_dll xolehlp enable_xolehlp
17413 wine_fn_config_dll xpsprint enable_xpsprint
17414 wine_fn_config_dll xpssvcs enable_xpssvcs
17415 wine_fn_config_makefile documentation enable_documentation clean
17416 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17417 wine_fn_config_makefile include enable_include clean
,install-dev
17418 wine_fn_config_makefile libs
/port enable_libs_port
17419 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17420 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17421 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17422 wine_fn_config_program arp enable_arp
install
17423 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17424 wine_fn_config_program attrib enable_attrib
install,po
17425 wine_fn_config_program cabarc enable_cabarc
install
17426 wine_fn_config_program cacls enable_cacls
install
17427 wine_fn_config_program
clock enable_clock
install,po
17428 wine_fn_config_program cmd enable_cmd
install,po
17429 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17430 wine_fn_config_program conhost enable_conhost
install
17431 wine_fn_config_program control enable_control
install
17432 wine_fn_config_program cscript enable_cscript clean
,install
17433 wine_fn_config_program dpnsvr enable_dpnsvr
install
17434 wine_fn_config_program dxdiag enable_dxdiag
install,po
17435 wine_fn_config_program eject enable_eject
install
17436 wine_fn_config_program
expand enable_expand
install
17437 wine_fn_config_program explorer enable_explorer
install,po
17438 wine_fn_config_program extrac32 enable_extrac32
install
17439 wine_fn_config_program findstr enable_findstr
install
17440 wine_fn_config_program hh enable_hh
install
17441 wine_fn_config_program hostname enable_hostname
install,po
17442 wine_fn_config_program icinfo enable_icinfo
install
17443 wine_fn_config_program iexplore enable_iexplore
install
17444 wine_fn_config_program ipconfig enable_ipconfig
install,po
17445 wine_fn_config_program lodctr enable_lodctr
install
17446 wine_fn_config_program mofcomp enable_mofcomp
install
17447 wine_fn_config_program mshta enable_mshta
install
17448 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17449 wine_fn_config_program net enable_net
install,po
17450 wine_fn_config_program netsh enable_netsh
install
17451 wine_fn_config_program netstat enable_netstat
install,po
17452 wine_fn_config_program ngen enable_ngen
install
17453 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17454 wine_fn_config_program oleview enable_oleview
install,po
17455 wine_fn_config_program
ping enable_ping
install
17456 wine_fn_config_program plugplay enable_plugplay
install
17457 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17458 wine_fn_config_program progman enable_progman
install,po
17459 wine_fn_config_program reg enable_reg
install,po
17460 wine_fn_config_test programs
/reg
/tests reg.exe_test
17461 wine_fn_config_program regasm enable_regasm
install
17462 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17463 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17464 wine_fn_config_program regsvcs enable_regsvcs
install
17465 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17466 wine_fn_config_program rpcss enable_rpcss clean
,install
17467 wine_fn_config_program rundll.exe16 enable_win16
install
17468 wine_fn_config_program rundll32 enable_rundll32
install
17469 wine_fn_config_program sc enable_sc
install
17470 wine_fn_config_program schtasks enable_schtasks
install
17471 wine_fn_config_program sdbinst enable_sdbinst
install
17472 wine_fn_config_program secedit enable_secedit
install
17473 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17474 wine_fn_config_program services enable_services clean
,install
17475 wine_fn_config_test programs
/services
/tests services.exe_test
17476 wine_fn_config_program spoolsv enable_spoolsv
install
17477 wine_fn_config_program start enable_start
install,po
17478 wine_fn_config_program svchost enable_svchost
install
17479 wine_fn_config_program taskkill enable_taskkill
install,po
17480 wine_fn_config_program tasklist enable_tasklist
install
17481 wine_fn_config_program taskmgr enable_taskmgr
install,po
17482 wine_fn_config_program termsv enable_termsv
install
17483 wine_fn_config_program uninstaller enable_uninstaller
install,po
17484 wine_fn_config_program unlodctr enable_unlodctr
install
17485 wine_fn_config_program view enable_view
install,po
17486 wine_fn_config_program wevtutil enable_wevtutil
install
17487 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17488 wine_fn_config_program winebrowser enable_winebrowser
install
17489 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17490 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17491 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17492 wine_fn_config_program winedevice enable_winedevice
install
17493 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17494 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17495 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17496 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17497 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17498 wine_fn_config_program winetest enable_winetest clean
17499 wine_fn_config_program winevdm enable_win16
install
17500 wine_fn_config_program winhelp.exe16 enable_win16
install
17501 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17502 wine_fn_config_program winoldap.mod16 enable_win16
install
17503 wine_fn_config_program winver enable_winver
install
17504 wine_fn_config_program wmic enable_wmic
install,po
17505 wine_fn_config_program wordpad enable_wordpad
install,po
17506 wine_fn_config_program
write enable_write
install,po
17507 wine_fn_config_program wscript enable_wscript clean
,install
17508 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17509 wine_fn_config_program wusa enable_wusa
install
17510 wine_fn_config_program xcopy enable_xcopy
install,po
17511 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17512 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17513 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17514 wine_fn_config_tool tools
/sfnt2fon clean
17515 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17516 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17517 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17518 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17519 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17520 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17572 wine_fn_ignore_file
".gitignore"
17573 wine_fn_ignore_file
"Makefile"
17574 wine_fn_ignore_file
"TAGS"
17575 wine_fn_ignore_file
"tags"
17576 wine_fn_ignore_file
"autom4te.cache"
17577 wine_fn_ignore_file
"config.cache"
17578 wine_fn_ignore_file
"config.log"
17579 wine_fn_ignore_file
"config.status"
17580 wine_fn_ignore_file
"configure.lineno"
17581 wine_fn_ignore_file
"include/config.h"
17582 wine_fn_ignore_file
"include/stamp-h"
17583 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17585 if test "x$enable_tools" != xno
17587 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17588 ac_config_commands
="$ac_config_commands tools/makedep"
17592 ac_config_commands
="$ac_config_commands Makefile"
17595 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17599 if test "x$enable_maintainer_mode" = xyes
17601 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17602 autoconf --warnings=all
17603 include/config.h.in: include/stamp-h.in
17604 include/stamp-h.in: configure.ac aclocal.m4
17605 autoheader --warnings=all
17606 @echo timestamp > \$@"
17609 if test "x$with_gettextpo" = xyes
17611 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17612 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17613 \$(LINGUAS:%=po/%.po): po/wine.pot
17614 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17615 po/wine.pot: \$(ALL_POT_FILES)
17616 msgcat -o \$@ \$(ALL_POT_FILES)"
17619 if test "$MSGFMT" != false
17621 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17623 \$(RM) \$(LINGUAS:%=po/%.mo)"
17626 test "$srcdir" = . || posrc
="$srcdir/po"
17629 wine_fn_ignore_file
"po/$i.mo"
17630 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17631 \$(MSGFMT) -o \$@ $posrc/$i.po"
17637 if test "x$enable_tools" != xno
17639 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17640 @./config.status tools/makedep
17641 Makefile: tools/makedep$ac_exeext
17643 \$(RM) tools/makedep$ac_exeext"
17645 wine_fn_append_rule
"\$(MAKEDEP):
17646 @echo \"You need to run make in $TOOLSDIR first\" && false"
17649 if test -n "$with_wine64"
17651 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17652 fonts server tools:
17653 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17654 $with_wine64/loader/wine:
17655 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17656 $with_wine64/loader/wine-preloader:
17657 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17659 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17661 as_fn_append LOADER_RULES
"
17662 install install-lib:: wine.inf install-man-pages
17663 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17664 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17667 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17671 if test "$srcdir" = .
17673 ac_config_commands
="$ac_config_commands .gitignore"
17677 $as_echo " done" >&6
17678 cat >confcache
<<\_ACEOF
17679 # This file is a shell script that caches the results of configure
17680 # tests run on this system so they can be shared between configure
17681 # scripts and configure runs, see configure's option --config-cache.
17682 # It is not useful on other systems. If it contains results you don't
17683 # want to keep, you may remove or edit it.
17685 # config.status only pays attention to the cache file if you give it
17686 # the --recheck option to rerun configure.
17688 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17689 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17690 # following values.
17694 # The following way of writing the cache mishandles newlines in values,
17695 # but we know of no workaround that is simple, portable, and efficient.
17696 # So, we kill variables containing newlines.
17697 # Ultrix sh set writes to stderr and can't be redirected directly,
17698 # and sets the high bit in the cache file unless we assign to the vars.
17700 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17701 eval ac_val
=\$
$ac_var
17705 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17706 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17709 _ | IFS | as_nl
) ;; #(
17710 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17711 *) { eval $ac_var=; unset $ac_var;} ;;
17717 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17718 *${as_nl}ac_space
=\
*)
17719 # `set' does not quote correctly, so add quotes: double-quote
17720 # substitution turns \\\\ into \\, and sed turns \\ into \.
17723 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17726 # `set' quotes correctly as required by POSIX, so do not add quotes.
17727 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17736 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17738 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17740 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17741 if test -w "$cache_file"; then
17742 if test "x$cache_file" != "x/dev/null"; then
17743 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17744 $as_echo "$as_me: updating cache $cache_file" >&6;}
17745 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
17746 cat confcache
>"$cache_file"
17748 case $cache_file in #(
17750 mv -f confcache
"$cache_file"$$
&&
17751 mv -f "$cache_file"$$
"$cache_file" ;; #(
17753 mv -f confcache
"$cache_file" ;;
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17759 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17764 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17765 # Let make expand exec_prefix.
17766 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17768 DEFS
=-DHAVE_CONFIG_H
17773 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17774 # 1. Remove the extension, and $U if already installed.
17775 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17776 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17777 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17778 # will be set to the directory where LIBOBJS objects are built.
17779 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17780 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
17782 LIBOBJS
=$ac_libobjs
17784 LTLIBOBJS
=$ac_ltlibobjs
17788 : "${CONFIG_STATUS=./config.status}"
17790 ac_clean_files_save
=$ac_clean_files
17791 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17792 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17793 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17795 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17797 # Generated by $as_me.
17798 # Run this file to recreate the current configuration.
17799 # Compiler output produced by configure, useful for debugging
17800 # configure, is in config.log if it exists.
17803 ac_cs_recheck=false
17806 SHELL=\${CONFIG_SHELL-$SHELL}
17809 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
17810 ## -------------------- ##
17811 ## M4sh Initialization. ##
17812 ## -------------------- ##
17814 # Be more Bourne compatible
17815 DUALCASE
=1; export DUALCASE
# for MKS sh
17816 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
17819 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17820 # is contrary to our usage. Disable this feature.
17821 alias -g '${1+"$@"}'='"$@"'
17822 setopt NO_GLOB_SUBST
17824 case `(set -o) 2>/dev/null` in #(
17836 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17837 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17838 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17839 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17840 # Prefer a ksh shell builtin over an external printf program on Solaris,
17841 # but without wasting forks for bash or zsh.
17842 if test -z "$BASH_VERSION$ZSH_VERSION" \
17843 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17844 as_echo='print
-r --'
17845 as_echo_n='print
-rn --'
17846 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17847 as_echo='printf %s
\n'
17848 as_echo_n='printf %s
'
17850 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17851 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17852 as_echo_n='/usr
/ucb
/echo -n'
17854 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17855 as_echo_n_body='eval
17859 expr "X$arg" : "X\\(.*\\)$as_nl";
17860 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17862 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17864 export as_echo_n_body
17865 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17867 export as_echo_body
17868 as_echo='sh
-c $as_echo_body as_echo
'
17871 # The user is always right.
17872 if test "${PATH_SEPARATOR+set}" != set; then
17874 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17875 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17882 # We need space, tab and new line, in precisely that order. Quoting is
17883 # there to prevent editors from complaining about space-tab.
17884 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17885 # splitting by setting IFS to empty value.)
17888 # Find who we are. Look in the path if we contain no directory separator.
17891 *[\\/]* ) as_myself=$0 ;;
17892 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17893 for as_dir in $PATH
17896 test -z "$as_dir" && as_dir=.
17897 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17903 # We did not find ourselves, most probably we were run as `sh COMMAND'
17904 # in which case we are not to be found in the path.
17905 if test "x$as_myself" = x
; then
17908 if test ! -f "$as_myself"; then
17909 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17913 # Unset variables that we do not need and which cause bugs (e.g. in
17914 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17915 # suppresses any "Segmentation fault" message there. '((' could
17916 # trigger a bug in pdksh 5.2.14.
17917 for as_var
in BASH_ENV ENV MAIL MAILPATH
17918 do eval test x\
${$as_var+set} = xset \
17919 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17932 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17935 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17936 # ----------------------------------------
17937 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17938 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17939 # script with STATUS, using 1 if that was 0.
17942 as_status
=$1; test $as_status -eq 0 && as_status
=1
17944 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17945 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17947 $as_echo "$as_me: error: $2" >&2
17948 as_fn_exit
$as_status
17952 # as_fn_set_status STATUS
17953 # -----------------------
17954 # Set $? to STATUS, without forking.
17955 as_fn_set_status
()
17958 } # as_fn_set_status
17960 # as_fn_exit STATUS
17961 # -----------------
17962 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17966 as_fn_set_status
$1
17972 # Portably unset VAR.
17975 { eval $1=; unset $1;}
17977 as_unset
=as_fn_unset
17978 # as_fn_append VAR VALUE
17979 # ----------------------
17980 # Append the text in VALUE to the end of the definition contained in VAR. Take
17981 # advantage of any shell optimizations that allow amortized linear growth over
17982 # repeated appends, instead of the typical quadratic growth present in naive
17984 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17985 eval 'as_fn_append ()
17996 # as_fn_arith ARG...
17997 # ------------------
17998 # Perform arithmetic evaluation on the ARGs, and store the result in the
17999 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18000 # must be portable across $(()) and expr.
18001 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18002 eval 'as_fn_arith ()
18009 as_val
=`expr "$@" || test $? -eq 1`
18014 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18015 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18021 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18022 as_basename
=basename
18027 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18033 as_me
=`$as_basename -- "$0" ||
18034 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18035 X"$0" : 'X\(//\)$' \| \
18036 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18038 sed '/^.*\/\([^/][^/]*\)\/*$/{
18052 # Avoid depending upon Character Ranges.
18053 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18054 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18055 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18056 as_cr_digits
='0123456789'
18057 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18059 ECHO_C
= ECHO_N
= ECHO_T
=
18060 case `echo -n x` in #(((((
18062 case `echo 'xy\c'` in
18063 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18065 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18072 rm -f conf$$ conf$$.exe conf$$.
file
18073 if test -d conf$$.dir
; then
18074 rm -f conf$$.dir
/conf$$.
file
18077 mkdir conf$$.dir
2>/dev
/null
18079 if (echo >conf$$.
file) 2>/dev
/null
; then
18080 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18082 # ... but there are two gotchas:
18083 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18084 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18085 # In both cases, we have to default to `cp -pR'.
18086 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18088 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18096 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18097 rmdir conf$$.dir
2>/dev
/null
18102 # Create "$as_dir" as a directory, including parents if necessary.
18107 -*) as_dir
=.
/$as_dir;;
18109 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18113 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18114 *) as_qdir
=$as_dir;;
18116 as_dirs
="'$as_qdir' $as_dirs"
18117 as_dir
=`$as_dirname -- "$as_dir" ||
18118 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18119 X"$as_dir" : 'X\(//\)[^/]' \| \
18120 X"$as_dir" : 'X\(//\)$' \| \
18121 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18122 $as_echo X"$as_dir" |
18123 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18127 /^X\(\/\/\)[^/].*/{
18140 test -d "$as_dir" && break
18142 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18143 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18147 if mkdir
-p .
2>/dev
/null
; then
18148 as_mkdir_p
='mkdir -p "$as_dir"'
18150 test -d .
/-p && rmdir .
/-p
18155 # as_fn_executable_p FILE
18156 # -----------------------
18157 # Test if FILE is an executable regular file.
18158 as_fn_executable_p
()
18160 test -f "$1" && test -x "$1"
18161 } # as_fn_executable_p
18162 as_test_x
='test -x'
18163 as_executable_p
=as_fn_executable_p
18165 # Sed expression to map a string onto a valid CPP name.
18166 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18168 # Sed expression to map a string onto a valid variable name.
18169 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18173 ## ----------------------------------- ##
18174 ## Main body of $CONFIG_STATUS script. ##
18175 ## ----------------------------------- ##
18177 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18180 # Save the log message, to keep $0 and so on meaningful, and to
18181 # report actual input values of CONFIG_FILES etc. instead of their
18182 # values after options handling.
18184 This file was extended by Wine $as_me 1.7.28, which was
18185 generated by GNU Autoconf 2.69. Invocation command line was
18187 CONFIG_FILES = $CONFIG_FILES
18188 CONFIG_HEADERS = $CONFIG_HEADERS
18189 CONFIG_LINKS = $CONFIG_LINKS
18190 CONFIG_COMMANDS = $CONFIG_COMMANDS
18193 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18198 case $ac_config_files in *"
18199 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18202 case $ac_config_headers in *"
18203 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18207 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18208 # Files that config.status was made for.
18209 config_files="$ac_config_files"
18210 config_headers="$ac_config_headers"
18211 config_links="$ac_config_links"
18212 config_commands="$ac_config_commands"
18216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18218 \`$as_me' instantiates files and other configuration actions
18219 from templates according to the current configuration. Unless the files
18220 and actions are specified as TAGs, all are instantiated by default.
18222 Usage: $0 [OPTION]... [TAG]...
18224 -h, --help print this help, then exit
18225 -V, --version print version number and configuration settings, then exit
18226 --config print configuration, then exit
18227 -q, --quiet, --silent
18228 do not print progress messages
18229 -d, --debug don't remove temporary files
18230 --recheck update $as_me by reconfiguring in the same conditions
18231 --file=FILE[:TEMPLATE]
18232 instantiate the configuration file FILE
18233 --header=FILE[:TEMPLATE]
18234 instantiate the configuration header FILE
18236 Configuration files:
18239 Configuration headers:
18242 Configuration links:
18245 Configuration commands:
18248 Report bugs to <wine-devel@winehq.org>.
18249 Wine home page: <http://www.winehq.org>."
18252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18253 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18255 Wine config.status 1.7.28
18256 configured by $0, generated by GNU Autoconf 2.69,
18257 with options \\"\$ac_cs_config\\"
18259 Copyright (C) 2012 Free Software Foundation, Inc.
18260 This config.status script is free software; the Free Software Foundation
18261 gives unlimited permission to copy, distribute and modify it."
18265 test -n "\$AWK" || AWK=awk
18268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18269 # The default lists apply if the user does not specify any file.
18275 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18276 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18280 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18292 # Handling of the options.
18293 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18295 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18296 $as_echo "$ac_cs_version"; exit ;;
18297 --config |
--confi |
--conf |
--con |
--co |
--c )
18298 $as_echo "$ac_cs_config"; exit ;;
18299 --debug |
--debu |
--deb |
--de |
--d |
-d )
18301 --file |
--fil |
--fi |
--f )
18304 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18305 '') as_fn_error $?
"missing file argument" ;;
18307 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18308 ac_need_defaults
=false
;;
18309 --header |
--heade |
--head |
--hea )
18312 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18314 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18315 ac_need_defaults
=false
;;
18317 # Conflict between --help and --header
18318 as_fn_error $?
"ambiguous option: \`$1'
18319 Try \`$0 --help' for more information.";;
18320 --help |
--hel |
-h )
18321 $as_echo "$ac_cs_usage"; exit ;;
18322 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18323 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18326 # This is an error.
18327 -*) as_fn_error $?
"unrecognized option: \`$1'
18328 Try \`$0 --help' for more information." ;;
18330 *) as_fn_append ac_config_targets
" $1"
18331 ac_need_defaults
=false
;;
18337 ac_configure_extra_args
=
18339 if $ac_cs_silent; then
18341 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18345 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18346 if \$ac_cs_recheck; then
18347 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18349 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18350 CONFIG_SHELL='$SHELL'
18351 export CONFIG_SHELL
18356 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18360 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18361 ## Running $as_me. ##
18367 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18371 wine_fn_output_makedep ()
18373 as_dir=tools; as_fn_mkdir_p
18374 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18376 wine_fn_output_makefile ()
18378 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18379 `cat $wine_rules_file`
18381 as_fn_error $? "could not create Makefile" "$LINENO" 5
18383 wine_fn_output_gitignore ()
18385 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18388 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18395 # Handling of arguments.
18396 for ac_config_target
in $ac_config_targets
18398 case $ac_config_target in
18399 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18400 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18401 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18402 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18403 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18404 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18405 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18406 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18407 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18408 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18409 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18410 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18411 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18412 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18414 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18419 # If the user did not use the arguments to specify the items to instantiate,
18420 # then the envvar interface is used. Set only those that are not.
18421 # We use the long form for the default assignment because of an extremely
18422 # bizarre bug on SunOS 4.1.3.
18423 if $ac_need_defaults; then
18424 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18425 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18426 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18427 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18430 # Have a temporary directory for convenience. Make it in the build tree
18431 # simply because there is no reason against having it here, and in addition,
18432 # creating and moving files from /tmp can sometimes cause problems.
18433 # Hook for its removal unless debugging.
18434 # Note that there is a small window in which the directory will not be cleaned:
18435 # after its creation but before its name has been assigned to `$tmp'.
18439 trap 'exit_status=$?
18440 : "${ac_tmp:=$tmp}"
18441 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18443 trap 'as_fn_exit 1' 1 2 13 15
18445 # Create a (secure) tmp directory for tmp files.
18448 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18452 tmp
=.
/conf$$
-$RANDOM
18453 (umask 077 && mkdir
"$tmp")
18454 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18457 # Set up the scripts for CONFIG_FILES section.
18458 # No need to generate them if there are no CONFIG_FILES.
18459 # This happens for instance with `./config.status config.h'.
18460 if test -n "$CONFIG_FILES"; then
18463 ac_cr
=`echo X | tr X '\015'`
18464 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18465 # But we know of no other shell where ac_cr would be empty at this
18466 # point, so we can use a bashism as a fallback.
18467 if test "x$ac_cr" = x
; then
18468 eval ac_cr
=\$
\'\\r
\'
18470 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18471 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18474 ac_cs_awk_cr
=$ac_cr
18477 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18482 echo "cat >conf$$subs.awk <<_ACEOF" &&
18483 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18485 } >conf$$subs.sh ||
18486 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18487 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18489 for ac_last_try in false false false false false :; do
18490 . ./conf$$subs.sh ||
18491 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18493 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18494 if test $ac_delim_n = $ac_delim_num; then
18496 elif $ac_last_try; then
18497 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18499 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18502 rm -f conf$$subs.sh
18504 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18505 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18509 s/^/S["/; s
/!.
*/"]=/
18519 s/\(.\{148\}\)..*/\1/
18521 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18526 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18533 s/\(.\{148\}\)..*/\1/
18535 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18539 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18544 ' <conf$$subs.awk | sed '
18549 ' >>$CONFIG_STATUS || ac_write_fail=1
18550 rm -f conf$$subs.awk
18551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18553 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18554 for (key in S) S_is_set[key] = 1
18560 nfields = split(line, field, "@
")
18562 len = length(field[1])
18563 for (i = 2; i < nfields; i++) {
18565 keylen = length(key)
18566 if (S_is_set[key]) {
18568 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18569 len += length(value) + length(field[++i])
18580 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18581 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18582 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18585 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18586 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18589 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18590 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18591 # trailing colons and then remove the whole line if VPATH becomes empty
18592 # (actually we leave an empty line to preserve line numbers).
18593 if test "x
$srcdir" = x.; then
18594 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18613 fi # test -n "$CONFIG_FILES"
18615 # Set up the scripts for CONFIG_HEADERS section.
18616 # No need to generate them if there are no CONFIG_HEADERS.
18617 # This happens for instance with `./config.status Makefile'.
18618 if test -n "$CONFIG_HEADERS"; then
18619 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18623 # Transform confdefs.h into an awk script `defines.awk', embedded as
18624 # here-document in config.status, that substitutes the proper values into
18625 # config.h.in to produce config.h.
18627 # Create a delimiter string that does not exist in confdefs.h, to ease
18628 # handling of long lines.
18630 for ac_last_try in false false :; do
18631 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18632 if test -z "$ac_tt"; then
18634 elif $ac_last_try; then
18635 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18637 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18641 # For the awk script, D is an array of macro values keyed by name,
18642 # likewise P contains macro parameters if any. Preserve backslash
18643 # newline sequences.
18645 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18647 s/.\{148\}/&'"$ac_delim"'/g
18650 s/^[ ]*#[ ]*define[ ][ ]*/ /
18657 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18659 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18663 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18664 D["\
1"]=" \
3\\\\\\n
"\\/p
18666 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18671 s/.\{148\}/&'"$ac_delim"'/g
18676 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18679 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18681 ' <confdefs.h | sed '
18682 s/'"$ac_delim"'/"\\\
18683 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18686 for (key in D) D_is_set[key] = 1
18689 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18691 split(line, arg, " ")
18692 if (arg[1] == "#") {
18696 defundef
= substr
(arg
[1], 2)
18699 split(mac1
, mac2
, "(") #)
18701 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18702 if (D_is_set
[macro
]) {
18703 # Preserve the white space surrounding the "#".
18704 print prefix
"define", macro P
[macro
] D
[macro
]
18707 # Replace #undef with comments. This is necessary, for example,
18708 # in the case of _POSIX_SOURCE, which is predefined and required
18709 # on some systems where configure will not decide to define it.
18710 if (defundef
== "undef") {
18711 print
"/*", prefix defundef
, macro
, "*/"
18719 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18720 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18721 fi # test -n "$CONFIG_HEADERS"
18724 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18729 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18731 case $ac_mode$ac_tag in
18733 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
18734 :[FH
]-) ac_tag
=-:-;;
18735 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18752 -) ac_f
="$ac_tmp/stdin";;
18753 *) # Look for the file first in the build tree, then in the source tree
18754 # (if the path is not absolute). The absolute path cannot be DOS-style,
18755 # because $ac_f cannot contain `:'.
18759 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18761 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18763 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18764 as_fn_append ac_file_inputs
" '$ac_f'"
18767 # Let's still pretend it is `configure' which instantiates (i.e., don't
18768 # use $as_me), people would be surprised to read:
18769 # /* config.h. Generated by config.status. */
18770 configure_input
='Generated from '`
18771 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18773 if test x
"$ac_file" != x-
; then
18774 configure_input
="$ac_file. $configure_input"
18775 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18776 $as_echo "$as_me: creating $ac_file" >&6;}
18778 # Neutralize special characters interpreted by sed in replacement strings.
18779 case $configure_input in #(
18780 *\
&* |
*\|
* |
*\\* )
18781 ac_sed_conf_input
=`$as_echo "$configure_input" |
18782 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18783 *) ac_sed_conf_input
=$configure_input;;
18787 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
18788 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
18793 ac_dir
=`$as_dirname -- "$ac_file" ||
18794 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18795 X"$ac_file" : 'X\(//\)[^/]' \| \
18796 X"$ac_file" : 'X\(//\)$' \| \
18797 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18798 $as_echo X"$ac_file" |
18799 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18803 /^X\(\/\/\)[^/].*/{
18816 as_dir
="$ac_dir"; as_fn_mkdir_p
18820 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18822 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18823 # A ".." for each directory in $ac_dir_suffix.
18824 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18825 case $ac_top_builddir_sub in
18826 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18827 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18830 ac_abs_top_builddir
=$ac_pwd
18831 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18832 # for backward compatibility:
18833 ac_top_builddir
=$ac_top_build_prefix
18836 .
) # We are building in place.
18838 ac_top_srcdir
=$ac_top_builddir_sub
18839 ac_abs_top_srcdir
=$ac_pwd ;;
18840 [\\/]* | ?
:[\\/]* ) # Absolute name.
18841 ac_srcdir
=$srcdir$ac_dir_suffix;
18842 ac_top_srcdir
=$srcdir
18843 ac_abs_top_srcdir
=$srcdir ;;
18844 *) # Relative name.
18845 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18846 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18847 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18849 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18861 # If the template does not know about datarootdir, expand it.
18862 # FIXME: This hack should be removed a few years after 2.60.
18863 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18874 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18875 *datarootdir
*) ac_datarootdir_seen
=yes;;
18876 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18878 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18881 ac_datarootdir_hack='
18882 s&@datadir@&$datadir&g
18883 s&@docdir@&$docdir&g
18884 s&@infodir@&$infodir&g
18885 s&@localedir@&$localedir&g
18886 s&@mandir@&$mandir&g
18887 s&\\\${datarootdir}&$datarootdir&g' ;;
18891 # Neutralize VPATH when `$srcdir' = `.'.
18892 # Shell code in configure.ac might set extrasub.
18893 # FIXME: do we really want to maintain this feature?
18894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18895 ac_sed_extra="$ac_vpsub
18898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18900 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18901 s|@configure_input@|
$ac_sed_conf_input|
;t t
18902 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18903 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18904 s
&@srcdir@
&$ac_srcdir&;t t
18905 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18906 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18907 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18908 s
&@builddir@
&$ac_builddir&;t t
18909 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18910 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18911 $ac_datarootdir_hack
18913 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18914 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18916 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18917 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18918 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18919 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18921 which seems to be undefined. Please make sure it is defined" >&5
18922 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18923 which seems to be undefined. Please make sure it is defined" >&2;}
18925 rm -f "$ac_tmp/stdin"
18927 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18928 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18930 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18936 if test x"$ac_file" != x-; then
18938 $as_echo "/* $configure_input */" \
18939 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18940 } >"$ac_tmp/config.h" \
18941 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18942 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18943 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18944 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18947 mv "$ac_tmp/config.h" "$ac_file" \
18948 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18951 $as_echo "/* $configure_input */" \
18952 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18953 || as_fn_error $? "could not create -" "$LINENO" 5
18961 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
18964 # Prefer the file from the source tree if names are identical.
18965 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18966 ac_source=$srcdir/$ac_source
18969 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18970 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18972 if test ! -r "$ac_source"; then
18973 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
18977 # Try a relative symlink, then a hard link, then a copy.
18979 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18980 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18982 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18983 ln "$ac_source" "$ac_file" 2>/dev/null ||
18984 cp -p "$ac_source" "$ac_file" ||
18985 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18988 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18989 $as_echo "$as_me: executing $ac_file commands" >&6;}
18994 case $ac_file$ac_mode in
18995 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18996 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
18997 "Makefile":C) wine_fn_output_makefile Makefile ;;
18998 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19006 ac_clean_files=$ac_clean_files_save
19008 test $ac_write_fail = 0 ||
19009 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19012 # configure is writing to config.log, and then calls config.status.
19013 # config.status does its own redirection, appending to config.log.
19014 # Unfortunately, on DOS this fails, as config.log is still kept open
19015 # by configure, so config.status won't be able to
write to it
; its
19016 # output is simply discarded. So we exec the FD to /dev/null,
19017 # effectively closing config.log, so it can be properly (re)opened and
19018 # appended to by config.status. When coming back to configure, we
19019 # need to make the FD available again.
19020 if test "$no_create" != yes; then
19022 ac_config_status_args
=
19023 test "$silent" = yes &&
19024 ac_config_status_args
="$ac_config_status_args --quiet"
19026 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19028 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19029 # would make configure fail if this is the last instruction.
19030 $ac_cs_success || as_fn_exit
1
19032 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19034 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19038 if test "$no_create" = "yes"
19044 if test "x$wine_notices != "x
; then
19047 for msg
in $wine_notices; do
19049 if ${msg:+false} :; then :
19052 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19053 $as_echo "$as_me: $msg" >&6;}
19058 for msg
in $wine_warnings; do
19060 if ${msg:+false} :; then :
19064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19065 $as_echo "$as_me: WARNING: $msg" >&2;}
19071 $as_me: Finished. Do '${ac_make}' to compile Wine.