2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.35.
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.35'
584 PACKAGE_STRING
='Wine 1.7.35'
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
783 program_transform_name
796 enable_option_checking
800 enable_maintainer_mode
857 enable_api_ms_win_core_com_l1_1_0
858 enable_api_ms_win_core_console_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_0
860 enable_api_ms_win_core_datetime_l1_1_1
861 enable_api_ms_win_core_debug_l1_1_1
862 enable_api_ms_win_core_errorhandling_l1_1_1
863 enable_api_ms_win_core_errorhandling_l1_1_2
864 enable_api_ms_win_core_fibers_l1_1_0
865 enable_api_ms_win_core_fibers_l1_1_1
866 enable_api_ms_win_core_file_l1_2_0
867 enable_api_ms_win_core_file_l2_1_0
868 enable_api_ms_win_core_file_l2_1_1
869 enable_api_ms_win_core_handle_l1_1_0
870 enable_api_ms_win_core_heap_l1_2_0
871 enable_api_ms_win_core_heap_obsolete_l1_1_0
872 enable_api_ms_win_core_interlocked_l1_2_0
873 enable_api_ms_win_core_io_l1_1_1
874 enable_api_ms_win_core_kernel32_legacy_l1_1_0
875 enable_api_ms_win_core_libraryloader_l1_1_1
876 enable_api_ms_win_core_localization_l1_2_0
877 enable_api_ms_win_core_localization_l1_2_1
878 enable_api_ms_win_core_localization_obsolete_l1_1_0
879 enable_api_ms_win_core_localregistry_l1_1_0
880 enable_api_ms_win_core_memory_l1_1_1
881 enable_api_ms_win_core_namedpipe_l1_2_0
882 enable_api_ms_win_core_processenvironment_l1_2_0
883 enable_api_ms_win_core_processthreads_l1_1_0
884 enable_api_ms_win_core_processthreads_l1_1_1
885 enable_api_ms_win_core_processthreads_l1_1_2
886 enable_api_ms_win_core_profile_l1_1_0
887 enable_api_ms_win_core_psapi_l1_1_0
888 enable_api_ms_win_core_registry_l1_1_0
889 enable_api_ms_win_core_rtlsupport_l1_2_0
890 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
891 enable_api_ms_win_core_string_l1_1_0
892 enable_api_ms_win_core_synch_l1_2_0
893 enable_api_ms_win_core_sysinfo_l1_2_0
894 enable_api_ms_win_core_sysinfo_l1_2_1
895 enable_api_ms_win_core_threadpool_legacy_l1_1_0
896 enable_api_ms_win_core_timezone_l1_1_0
897 enable_api_ms_win_core_url_l1_1_0
898 enable_api_ms_win_core_util_l1_1_0
899 enable_api_ms_win_core_winrt_error_l1_1_0
900 enable_api_ms_win_core_winrt_error_l1_1_1
901 enable_api_ms_win_core_winrt_l1_1_0
902 enable_api_ms_win_core_winrt_string_l1_1_0
903 enable_api_ms_win_core_xstate_l2_1_0
904 enable_api_ms_win_downlevel_advapi32_l1_1_0
905 enable_api_ms_win_downlevel_advapi32_l2_1_0
906 enable_api_ms_win_downlevel_normaliz_l1_1_0
907 enable_api_ms_win_downlevel_ole32_l1_1_0
908 enable_api_ms_win_downlevel_shell32_l1_1_0
909 enable_api_ms_win_downlevel_shlwapi_l1_1_0
910 enable_api_ms_win_downlevel_shlwapi_l2_1_0
911 enable_api_ms_win_downlevel_user32_l1_1_0
912 enable_api_ms_win_downlevel_version_l1_1_0
913 enable_api_ms_win_eventing_provider_l1_1_0
914 enable_api_ms_win_ntuser_dc_access_l1_1_0
915 enable_api_ms_win_security_base_l1_1_0
916 enable_api_ms_win_security_base_l1_2_0
917 enable_api_ms_win_security_sddl_l1_1_0
918 enable_api_ms_win_service_core_l1_1_1
919 enable_api_ms_win_service_management_l1_1_0
920 enable_api_ms_win_service_winsvc_l1_2_0
962 enable_d3dcompiler_33
963 enable_d3dcompiler_34
964 enable_d3dcompiler_35
965 enable_d3dcompiler_36
966 enable_d3dcompiler_37
967 enable_d3dcompiler_38
968 enable_d3dcompiler_39
969 enable_d3dcompiler_40
970 enable_d3dcompiler_41
971 enable_d3dcompiler_42
972 enable_d3dcompiler_43
1047 enable_explorerframe
1048 enable_ext_ms_win_gdi_devcaps_l1_1_0
1202 enable_photometadatahandler
1284 enable_windowscodecs
1285 enable_windowscodecsext
1287 enable_winecoreaudio_drv
1289 enable_winegstreamer
1290 enable_winejoystick_drv
1296 enable_wineqtdecoder
1335 enable_documentation
1343 enable_aspnet_regiis
1376 enable_presentationfontcache
1389 enable_servicemodelreg
1410 enable_winemenubuilder
1412 enable_winemsibuilder
1426 ac_precious_vars
='build_alias
1475 # Initialize some variables set by options.
1477 ac_init_version
=false
1478 ac_unrecognized_opts
=
1479 ac_unrecognized_sep
=
1480 # The variables have the same names as the options, with
1481 # dashes changed to underlines.
1482 cache_file
=/dev
/null
1489 program_transform_name
=s
,x
,x
,
1497 # Installation directory options.
1498 # These are left unexpanded so users can "make install exec_prefix=/foo"
1499 # and all the variables that are supposed to be based on exec_prefix
1500 # by default will actually change.
1501 # Use braces instead of parens because sh, perl, etc. also accept them.
1502 # (The list follows the same order as the GNU Coding Standards.)
1503 bindir
='${exec_prefix}/bin'
1504 sbindir
='${exec_prefix}/sbin'
1505 libexecdir
='${exec_prefix}/libexec'
1506 datarootdir
='${prefix}/share'
1507 datadir
='${datarootdir}'
1508 sysconfdir
='${prefix}/etc'
1509 sharedstatedir
='${prefix}/com'
1510 localstatedir
='${prefix}/var'
1511 includedir
='${prefix}/include'
1512 oldincludedir
='/usr/include'
1513 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1514 infodir
='${datarootdir}/info'
1519 libdir
='${exec_prefix}/lib'
1520 localedir
='${datarootdir}/locale'
1521 mandir
='${datarootdir}/man'
1527 # If the previous option needs an argument, assign it.
1528 if test -n "$ac_prev"; then
1529 eval $ac_prev=\
$ac_option
1535 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1540 # Accept the important Cygnus configure options, so we can diagnose typos.
1542 case $ac_dashdash$ac_option in
1546 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1548 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1549 bindir
=$ac_optarg ;;
1551 -build |
--build |
--buil |
--bui |
--bu)
1552 ac_prev
=build_alias
;;
1553 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1554 build_alias
=$ac_optarg ;;
1556 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1557 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1558 ac_prev
=cache_file
;;
1559 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1560 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1561 cache_file
=$ac_optarg ;;
1563 --config-cache |
-C)
1564 cache_file
=config.cache
;;
1566 -datadir |
--datadir |
--datadi |
--datad)
1568 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1569 datadir
=$ac_optarg ;;
1571 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1572 |
--dataroo |
--dataro |
--datar)
1573 ac_prev
=datarootdir
;;
1574 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1575 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1576 datarootdir
=$ac_optarg ;;
1578 -disable-* |
--disable-*)
1579 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1580 # Reject names that are not valid shell variable names.
1581 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1582 as_fn_error $?
"invalid feature name: $ac_useropt"
1583 ac_useropt_orig
=$ac_useropt
1584 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1585 case $ac_user_opts in
1587 "enable_
$ac_useropt"
1589 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1590 ac_unrecognized_sep
=', ';;
1592 eval enable_
$ac_useropt=no
;;
1594 -docdir |
--docdir |
--docdi |
--doc |
--do)
1596 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1597 docdir
=$ac_optarg ;;
1599 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1601 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1602 dvidir
=$ac_optarg ;;
1604 -enable-* |
--enable-*)
1605 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1606 # Reject names that are not valid shell variable names.
1607 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1608 as_fn_error $?
"invalid feature name: $ac_useropt"
1609 ac_useropt_orig
=$ac_useropt
1610 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1611 case $ac_user_opts in
1613 "enable_
$ac_useropt"
1615 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1616 ac_unrecognized_sep
=', ';;
1618 eval enable_
$ac_useropt=\
$ac_optarg ;;
1620 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1621 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1622 |
--exec |
--exe |
--ex)
1623 ac_prev
=exec_prefix
;;
1624 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1625 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1626 |
--exec=* |
--exe=* |
--ex=*)
1627 exec_prefix
=$ac_optarg ;;
1629 -gas |
--gas |
--ga |
--g)
1630 # Obsolete; use --with-gas.
1633 -help |
--help |
--hel |
--he |
-h)
1634 ac_init_help
=long
;;
1635 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1636 ac_init_help
=recursive
;;
1637 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1638 ac_init_help
=short
;;
1640 -host |
--host |
--hos |
--ho)
1641 ac_prev
=host_alias
;;
1642 -host=* |
--host=* |
--hos=* |
--ho=*)
1643 host_alias
=$ac_optarg ;;
1645 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1647 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1649 htmldir
=$ac_optarg ;;
1651 -includedir |
--includedir |
--includedi |
--included |
--include \
1652 |
--includ |
--inclu |
--incl |
--inc)
1653 ac_prev
=includedir
;;
1654 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1655 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1656 includedir
=$ac_optarg ;;
1658 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1660 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1661 infodir
=$ac_optarg ;;
1663 -libdir |
--libdir |
--libdi |
--libd)
1665 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1666 libdir
=$ac_optarg ;;
1668 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1669 |
--libexe |
--libex |
--libe)
1670 ac_prev
=libexecdir
;;
1671 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1672 |
--libexe=* |
--libex=* |
--libe=*)
1673 libexecdir
=$ac_optarg ;;
1675 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1676 ac_prev
=localedir
;;
1677 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1678 localedir
=$ac_optarg ;;
1680 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1681 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1682 ac_prev
=localstatedir
;;
1683 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1684 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1685 localstatedir
=$ac_optarg ;;
1687 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1689 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1690 mandir
=$ac_optarg ;;
1692 -nfp |
--nfp |
--nf)
1693 # Obsolete; use --without-fp.
1696 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1697 |
--no-cr |
--no-c |
-n)
1700 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1701 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1704 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1705 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1706 |
--oldin |
--oldi |
--old |
--ol |
--o)
1707 ac_prev
=oldincludedir
;;
1708 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1709 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1710 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1711 oldincludedir
=$ac_optarg ;;
1713 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1715 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1716 prefix
=$ac_optarg ;;
1718 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1719 |
--program-pre |
--program-pr |
--program-p)
1720 ac_prev
=program_prefix
;;
1721 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1722 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1723 program_prefix
=$ac_optarg ;;
1725 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1726 |
--program-suf |
--program-su |
--program-s)
1727 ac_prev
=program_suffix
;;
1728 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1729 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1730 program_suffix
=$ac_optarg ;;
1732 -program-transform-name |
--program-transform-name \
1733 |
--program-transform-nam |
--program-transform-na \
1734 |
--program-transform-n |
--program-transform- \
1735 |
--program-transform |
--program-transfor \
1736 |
--program-transfo |
--program-transf \
1737 |
--program-trans |
--program-tran \
1738 |
--progr-tra |
--program-tr |
--program-t)
1739 ac_prev
=program_transform_name
;;
1740 -program-transform-name=* |
--program-transform-name=* \
1741 |
--program-transform-nam=* |
--program-transform-na=* \
1742 |
--program-transform-n=* |
--program-transform-=* \
1743 |
--program-transform=* |
--program-transfor=* \
1744 |
--program-transfo=* |
--program-transf=* \
1745 |
--program-trans=* |
--program-tran=* \
1746 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1747 program_transform_name
=$ac_optarg ;;
1749 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1751 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1752 pdfdir
=$ac_optarg ;;
1754 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1756 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1759 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1760 |
-silent |
--silent |
--silen |
--sile |
--sil)
1763 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1765 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1767 sbindir
=$ac_optarg ;;
1769 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1770 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1771 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1773 ac_prev
=sharedstatedir
;;
1774 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1775 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1776 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1778 sharedstatedir
=$ac_optarg ;;
1780 -site |
--site |
--sit)
1782 -site=* |
--site=* |
--sit=*)
1785 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1787 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1788 srcdir
=$ac_optarg ;;
1790 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1791 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1792 ac_prev
=sysconfdir
;;
1793 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1794 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1795 sysconfdir
=$ac_optarg ;;
1797 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1798 ac_prev
=target_alias
;;
1799 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1800 target_alias
=$ac_optarg ;;
1802 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1805 -version |
--version |
--versio |
--versi |
--vers |
-V)
1806 ac_init_version
=: ;;
1809 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1810 # Reject names that are not valid shell variable names.
1811 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1812 as_fn_error $?
"invalid package name: $ac_useropt"
1813 ac_useropt_orig
=$ac_useropt
1814 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1815 case $ac_user_opts in
1819 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1820 ac_unrecognized_sep
=', ';;
1822 eval with_
$ac_useropt=\
$ac_optarg ;;
1824 -without-* |
--without-*)
1825 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1826 # Reject names that are not valid shell variable names.
1827 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1828 as_fn_error $?
"invalid package name: $ac_useropt"
1829 ac_useropt_orig
=$ac_useropt
1830 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1831 case $ac_user_opts in
1835 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1836 ac_unrecognized_sep
=', ';;
1838 eval with_
$ac_useropt=no
;;
1841 # Obsolete; use --with-x.
1844 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1845 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1846 ac_prev
=x_includes
;;
1847 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1848 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1849 x_includes
=$ac_optarg ;;
1851 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1852 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1853 ac_prev
=x_libraries
;;
1854 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1855 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1856 x_libraries
=$ac_optarg ;;
1858 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1859 Try \`$0 --help' for more information"
1863 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1864 # Reject names that are not valid shell variable names.
1865 case $ac_envvar in #(
1866 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1867 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1869 eval $ac_envvar=\
$ac_optarg
1870 export $ac_envvar ;;
1873 # FIXME: should be removed in autoconf 3.0.
1874 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1875 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1876 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1877 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1883 if test -n "$ac_prev"; then
1884 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1885 as_fn_error $?
"missing argument to $ac_option"
1888 if test -n "$ac_unrecognized_opts"; then
1889 case $enable_option_checking in
1891 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1892 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1896 # Check all directory arguments for consistency.
1897 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1898 datadir sysconfdir sharedstatedir localstatedir includedir \
1899 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1900 libdir localedir mandir
1902 eval ac_val
=\$
$ac_var
1903 # Remove trailing slashes.
1906 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1907 eval $ac_var=\
$ac_val;;
1909 # Be sure to have absolute directory names.
1911 [\\/$
]* | ?
:[\\/]* ) continue;;
1912 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1914 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1917 # There might be people who depend on the old broken behavior: `$host'
1918 # used to hold the argument of --host etc.
1919 # FIXME: To remove some day.
1922 target
=$target_alias
1924 # FIXME: To remove some day.
1925 if test "x$host_alias" != x
; then
1926 if test "x$build_alias" = x
; then
1927 cross_compiling
=maybe
1928 elif test "x$build_alias" != "x$host_alias"; then
1934 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1936 test "$silent" = yes && exec 6>/dev
/null
1939 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1940 ac_ls_di
=`ls -di .` &&
1941 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1942 as_fn_error $?
"working directory cannot be determined"
1943 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1944 as_fn_error $?
"pwd does not report name of working directory"
1947 # Find the source files, if location was not specified.
1948 if test -z "$srcdir"; then
1949 ac_srcdir_defaulted
=yes
1950 # Try the directory containing this script, then the parent directory.
1951 ac_confdir
=`$as_dirname -- "$as_myself" ||
1952 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1953 X"$as_myself" : 'X\(//\)[^/]' \| \
1954 X"$as_myself" : 'X\(//\)$' \| \
1955 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1956 $as_echo X"$as_myself" |
1957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1975 if test ! -r "$srcdir/$ac_unique_file"; then
1979 ac_srcdir_defaulted
=no
1981 if test ! -r "$srcdir/$ac_unique_file"; then
1982 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1983 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1985 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1987 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1989 # When building in place, set srcdir=.
1990 if test "$ac_abs_confdir" = "$ac_pwd"; then
1993 # Remove unnecessary trailing slashes from srcdir.
1994 # Double slashes in file names in object file debugging info
1995 # mess up M-x gdb in Emacs.
1997 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1999 for ac_var
in $ac_precious_vars; do
2000 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2001 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2002 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2003 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2007 # Report the --help message.
2009 if test "$ac_init_help" = "long"; then
2010 # Omit some internal or obsolete options to make the list less imposing.
2011 # This message is too long to be a string in the A/UX 3.1 sh.
2013 \`configure' configures Wine 1.7.35 to adapt to many kinds of systems.
2015 Usage: $0 [OPTION]... [VAR=VALUE]...
2017 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2018 VAR=VALUE. See below for descriptions of some of the useful variables.
2020 Defaults for the options are specified in brackets.
2023 -h, --help display this help and exit
2024 --help=short display options specific to this package
2025 --help=recursive display the short help of all the included packages
2026 -V, --version display version information and exit
2027 -q, --quiet, --silent do not print \`checking ...' messages
2028 --cache-file=FILE cache test results in FILE [disabled]
2029 -C, --config-cache alias for \`--cache-file=config.cache'
2030 -n, --no-create do not create output files
2031 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2033 Installation directories:
2034 --prefix=PREFIX install architecture-independent files in PREFIX
2035 [$ac_default_prefix]
2036 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2039 By default, \`make install' will install all the files in
2040 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2041 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2042 for instance \`--prefix=\$HOME'.
2044 For better control, use the options below.
2046 Fine tuning of the installation directories:
2047 --bindir=DIR user executables [EPREFIX/bin]
2048 --sbindir=DIR system admin executables [EPREFIX/sbin]
2049 --libexecdir=DIR program executables [EPREFIX/libexec]
2050 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2051 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2052 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2053 --libdir=DIR object code libraries [EPREFIX/lib]
2054 --includedir=DIR C header files [PREFIX/include]
2055 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2056 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2057 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2058 --infodir=DIR info documentation [DATAROOTDIR/info]
2059 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2060 --mandir=DIR man documentation [DATAROOTDIR/man]
2061 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2062 --htmldir=DIR html documentation [DOCDIR]
2063 --dvidir=DIR dvi documentation [DOCDIR]
2064 --pdfdir=DIR pdf documentation [DOCDIR]
2065 --psdir=DIR ps documentation [DOCDIR]
2071 --x-includes=DIR X include files are
in DIR
2072 --x-libraries=DIR X library files are
in DIR
2075 --build=BUILD configure
for building on BUILD
[guessed
]
2076 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2080 if test -n "$ac_init_help"; then
2081 case $ac_init_help in
2082 short | recursive
) echo "Configuration of Wine 1.7.35:";;
2087 --disable-option-checking ignore unrecognized
--enable/--with options
2088 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2089 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2090 --disable-win16 do not include Win16 support
2091 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2093 --disable-tests do not build the regression tests
2094 --enable-maintainer-mode
2095 enable maintainer-specific build rules
2096 --disable-largefile omit support for large files
2099 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2100 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2101 --without-alsa do not use the Alsa sound support
2102 --without-capi do not use CAPI (ISDN support)
2103 --without-cms do not use CMS (color management support)
2104 --without-coreaudio do not use the CoreAudio sound support
2105 --without-cups do not use CUPS
2106 --without-curses do not use (n)curses
2107 --without-dbus do not use DBus (dynamic device support)
2108 --without-fontconfig do not use fontconfig
2109 --without-freetype do not use the FreeType library
2110 --without-gettext do not use gettext
2111 --with-gettextpo use the GetTextPO library to rebuild po files
2112 --without-gphoto do not use gphoto (Digital Camera support)
2113 --without-glu do not use the GLU library
2114 --without-gnutls do not use GnuTLS (schannel support)
2115 --without-gsm do not use libgsm (GSM 06.10 codec support)
2116 --without-gstreamer do not use GStreamer (codecs support)
2117 --without-hal do not use HAL (dynamic device support)
2118 --without-jpeg do not use JPEG
2119 --without-ldap do not use LDAP
2120 --without-mpg123 do not use the mpg123 library
2121 --without-netapi do not use the Samba NetAPI library
2122 --without-openal do not use OpenAL
2123 --without-opencl do not use OpenCL
2124 --without-opengl do not use OpenGL
2125 --without-osmesa do not use the OSMesa library
2126 --without-oss do not use the OSS sound support
2127 --without-pcap do not use the Packet Capture library
2128 --without-png do not use PNG
2129 --without-pthread do not use the pthread library
2130 --without-sane do not use SANE (scanner support)
2131 --without-tiff do not use TIFF
2132 --without-v4l do not use v4l1 (v4l support)
2133 --without-xcomposite do not use the Xcomposite extension
2134 --without-xcursor do not use the Xcursor extension
2135 --without-xinerama do not use Xinerama (multi-monitor support)
2136 --without-xinput do not use the Xinput extension
2137 --without-xinput2 do not use the Xinput 2 extension
2138 --without-xml do not use XML
2139 --without-xrandr do not use Xrandr (resolution changes)
2140 --without-xrender do not use the Xrender extension
2141 --without-xshape do not use the Xshape extension
2142 --without-xshm do not use XShm (shared memory extension)
2143 --without-xslt do not use XSLT
2144 --without-xxf86vm do not use XFree video mode extension
2145 --without-zlib do not use Zlib (data compression)
2146 --with-wine-tools=DIR use Wine tools from directory DIR
2147 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2148 --with-x use the X Window System
2150 Some influential environment variables:
2151 CC C compiler command
2152 CFLAGS C compiler flags
2153 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2154 nonstandard directory <lib dir>
2155 LIBS libraries to pass to the linker, e.g. -l<library>
2156 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2157 you have headers in a nonstandard directory <include dir>
2158 CXX C++ compiler command
2159 CXXFLAGS C++ compiler flags
2161 XMKMF Path to xmkmf, Makefile generator for X Window System
2162 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2163 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2164 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2165 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2166 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2167 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2168 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2169 HAL_LIBS Linker flags for hal, overriding pkg-config
2171 C compiler flags for gnutls, overriding pkg-config
2172 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2173 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2174 SANE_LIBS Linker flags for libsane, overriding pkg-config
2176 C compiler flags for libgphoto2, overriding pkg-config
2178 Linker flags for libgphoto2, overriding pkg-config
2180 C compiler flags for libgphoto2_port, overriding pkg-config
2182 Linker flags for libgphoto2_port, overriding pkg-config
2184 C compiler flags for lcms2, overriding pkg-config
2185 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2187 C compiler flags for freetype2, overriding pkg-config
2189 Linker flags for freetype2, overriding pkg-config
2191 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2193 Linker flags for gstreamer-app-0.10, overriding pkg-config
2195 C compiler flags for capi20, overriding pkg-config
2196 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2198 C compiler flags for fontconfig, overriding pkg-config
2200 Linker flags for fontconfig, overriding pkg-config
2201 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2202 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2203 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2204 PNG_LIBS Linker flags for libpng, overriding pkg-config
2205 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2206 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2208 C compiler flags for libmpg123, overriding pkg-config
2209 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2211 Use these variables to override the choices made by `configure' or to
help
2212 it to
find libraries and programs with nonstandard names
/locations.
2214 Report bugs to
<wine-devel@winehq.org
>.
2215 Wine home page
: <http
://www.winehq.org
>.
2220 if test "$ac_init_help" = "recursive"; then
2221 # If there are subdirs, report their specific --help.
2222 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2223 test -d "$ac_dir" ||
2224 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2229 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2231 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2232 # A ".." for each directory in $ac_dir_suffix.
2233 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2234 case $ac_top_builddir_sub in
2235 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2236 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2239 ac_abs_top_builddir
=$ac_pwd
2240 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2241 # for backward compatibility:
2242 ac_top_builddir
=$ac_top_build_prefix
2245 .
) # We are building in place.
2247 ac_top_srcdir
=$ac_top_builddir_sub
2248 ac_abs_top_srcdir
=$ac_pwd ;;
2249 [\\/]* | ?
:[\\/]* ) # Absolute name.
2250 ac_srcdir
=$srcdir$ac_dir_suffix;
2251 ac_top_srcdir
=$srcdir
2252 ac_abs_top_srcdir
=$srcdir ;;
2254 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2255 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2256 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2258 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2260 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2261 # Check for guested configure.
2262 if test -f "$ac_srcdir/configure.gnu"; then
2264 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2265 elif test -f "$ac_srcdir/configure"; then
2267 $SHELL "$ac_srcdir/configure" --help=recursive
2269 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2271 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2275 test -n "$ac_init_help" && exit $ac_status
2276 if $ac_init_version; then
2278 Wine configure
1.7.35
2279 generated by GNU Autoconf
2.69
2281 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2282 This configure
script is free software
; the Free Software Foundation
2283 gives unlimited permission to copy
, distribute and modify it.
2288 ## ------------------------ ##
2289 ## Autoconf initialization. ##
2290 ## ------------------------ ##
2292 # ac_fn_c_try_compile LINENO
2293 # --------------------------
2294 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2295 ac_fn_c_try_compile
()
2297 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2298 rm -f conftest.
$ac_objext
2299 if { { ac_try
="$ac_compile"
2301 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2302 *) ac_try_echo=$ac_try;;
2304 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2305 $as_echo "$ac_try_echo"; } >&5
2306 (eval "$ac_compile") 2>conftest.err
2308 if test -s conftest.err; then
2309 grep -v '^ *+' conftest.err >conftest.er1
2310 cat conftest.er1 >&5
2311 mv -f conftest.er1 conftest.err
2313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2314 test $ac_status = 0; } && {
2315 test -z "$ac_c_werror_flag" ||
2316 test ! -s conftest.err
2317 } && test -s conftest.$ac_objext; then :
2320 $as_echo "$as_me: failed program was:" >&5
2321 sed 's/^/| /' conftest.$ac_ext >&5
2325 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2326 as_fn_set_status $ac_retval
2328 } # ac_fn_c_try_compile
2330 # ac_fn_cxx_try_compile LINENO
2331 # ----------------------------
2332 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2333 ac_fn_cxx_try_compile ()
2335 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2336 rm -f conftest.$ac_objext
2337 if { { ac_try="$ac_compile"
2339 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2340 *) ac_try_echo
=$ac_try;;
2342 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2343 $as_echo "$ac_try_echo"; } >&5
2344 (eval "$ac_compile") 2>conftest.err
2346 if test -s conftest.err
; then
2347 grep -v '^ *+' conftest.err
>conftest.er1
2348 cat conftest.er1
>&5
2349 mv -f conftest.er1 conftest.err
2351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2352 test $ac_status = 0; } && {
2353 test -z "$ac_cxx_werror_flag" ||
2354 test ! -s conftest.err
2355 } && test -s conftest.
$ac_objext; then :
2358 $as_echo "$as_me: failed program was:" >&5
2359 sed 's/^/| /' conftest.
$ac_ext >&5
2363 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2364 as_fn_set_status
$ac_retval
2366 } # ac_fn_cxx_try_compile
2368 # ac_fn_c_try_link LINENO
2369 # -----------------------
2370 # Try to link conftest.$ac_ext, and return whether this succeeded.
2373 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2374 rm -f conftest.
$ac_objext conftest
$ac_exeext
2375 if { { ac_try
="$ac_link"
2377 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2378 *) ac_try_echo=$ac_try;;
2380 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2381 $as_echo "$ac_try_echo"; } >&5
2382 (eval "$ac_link") 2>conftest.err
2384 if test -s conftest.err; then
2385 grep -v '^ *+' conftest.err >conftest.er1
2386 cat conftest.er1 >&5
2387 mv -f conftest.er1 conftest.err
2389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2390 test $ac_status = 0; } && {
2391 test -z "$ac_c_werror_flag" ||
2392 test ! -s conftest.err
2393 } && test -s conftest$ac_exeext && {
2394 test "$cross_compiling" = yes ||
2395 test -x conftest$ac_exeext
2399 $as_echo "$as_me: failed program was:" >&5
2400 sed 's/^/| /' conftest.$ac_ext >&5
2404 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2405 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2406 # interfere with the next link command; also delete a directory that is
2407 # left behind by Apple's compiler. We do this before executing the actions.
2408 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2409 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2410 as_fn_set_status $ac_retval
2412 } # ac_fn_c_try_link
2414 # ac_fn_c_try_cpp LINENO
2415 # ----------------------
2416 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2419 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2420 if { { ac_try="$ac_cpp conftest.$ac_ext"
2422 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2423 *) ac_try_echo
=$ac_try;;
2425 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2426 $as_echo "$ac_try_echo"; } >&5
2427 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2429 if test -s conftest.err
; then
2430 grep -v '^ *+' conftest.err
>conftest.er1
2431 cat conftest.er1
>&5
2432 mv -f conftest.er1 conftest.err
2434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2435 test $ac_status = 0; } > conftest.i
&& {
2436 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2437 test ! -s conftest.err
2441 $as_echo "$as_me: failed program was:" >&5
2442 sed 's/^/| /' conftest.
$ac_ext >&5
2446 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2447 as_fn_set_status
$ac_retval
2451 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2452 # -------------------------------------------------------
2453 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2454 # the include files in INCLUDES and setting the cache variable VAR
2456 ac_fn_c_check_header_mongrel
()
2458 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2459 if eval \
${$3+:} false
; then :
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2461 $as_echo_n "checking for $2... " >&6; }
2462 if eval \
${$3+:} false
; then :
2463 $as_echo_n "(cached) " >&6
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2467 $as_echo "$ac_res" >&6; }
2469 # Is the header compilable?
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2471 $as_echo_n "checking $2 usability... " >&6; }
2472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2473 /* end confdefs.h. */
2477 if ac_fn_c_try_compile
"$LINENO"; then :
2478 ac_header_compiler
=yes
2480 ac_header_compiler
=no
2482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2484 $as_echo "$ac_header_compiler" >&6; }
2486 # Is the header present?
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2488 $as_echo_n "checking $2 presence... " >&6; }
2489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2490 /* end confdefs.h. */
2493 if ac_fn_c_try_cpp
"$LINENO"; then :
2494 ac_header_preproc
=yes
2496 ac_header_preproc
=no
2498 rm -f conftest.err conftest.i conftest.
$ac_ext
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2500 $as_echo "$ac_header_preproc" >&6; }
2502 # So? What about this header?
2503 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2506 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2508 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2512 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2514 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2516 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2518 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2520 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2521 ( $as_echo "## ------------------------------------ ##
2522 ## Report this to wine-devel@winehq.org ##
2523 ## ------------------------------------ ##"
2524 ) |
sed "s/^/$as_me: WARNING: /" >&2
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2528 $as_echo_n "checking for $2... " >&6; }
2529 if eval \
${$3+:} false
; then :
2530 $as_echo_n "(cached) " >&6
2532 eval "$3=\$ac_header_compiler"
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2536 $as_echo "$ac_res" >&6; }
2538 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2540 } # ac_fn_c_check_header_mongrel
2542 # ac_fn_c_try_run LINENO
2543 # ----------------------
2544 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2545 # that executables *can* be run.
2548 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2549 if { { ac_try
="$ac_link"
2551 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2552 *) ac_try_echo=$ac_try;;
2554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2555 $as_echo "$ac_try_echo"; } >&5
2556 (eval "$ac_link") 2>&5
2558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2559 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2560 { { case "(($ac_try" in
2561 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2562 *) ac_try_echo
=$ac_try;;
2564 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2565 $as_echo "$ac_try_echo"; } >&5
2566 (eval "$ac_try") 2>&5
2568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2569 test $ac_status = 0; }; }; then :
2572 $as_echo "$as_me: program exited with status $ac_status" >&5
2573 $as_echo "$as_me: failed program was:" >&5
2574 sed 's/^/| /' conftest.
$ac_ext >&5
2576 ac_retval
=$ac_status
2578 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2579 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2580 as_fn_set_status
$ac_retval
2584 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2585 # -------------------------------------------------------
2586 # Tests whether HEADER exists and can be compiled using the include files in
2587 # INCLUDES, setting the cache variable VAR accordingly.
2588 ac_fn_c_check_header_compile
()
2590 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2592 $as_echo_n "checking for $2... " >&6; }
2593 if eval \
${$3+:} false
; then :
2594 $as_echo_n "(cached) " >&6
2596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2597 /* end confdefs.h. */
2601 if ac_fn_c_try_compile
"$LINENO"; then :
2606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2610 $as_echo "$ac_res" >&6; }
2611 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2613 } # ac_fn_c_check_header_compile
2615 # ac_fn_c_check_func LINENO FUNC VAR
2616 # ----------------------------------
2617 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2618 ac_fn_c_check_func
()
2620 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2622 $as_echo_n "checking for $2... " >&6; }
2623 if eval \
${$3+:} false
; then :
2624 $as_echo_n "(cached) " >&6
2626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2627 /* end confdefs.h. */
2628 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2630 #define $2 innocuous_$2
2632 /* System header to define __stub macros and hopefully few prototypes,
2633 which can conflict with char $2 (); below.
2634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2635 <limits.h> exists even on freestanding compilers. */
2638 # include <limits.h>
2640 # include <assert.h>
2645 /* Override any GCC internal prototype to avoid an error.
2646 Use char because int might match the return type of a GCC
2647 builtin and then its argument prototype would still apply. */
2652 /* The GNU C library defines this for functions which it implements
2653 to always fail with ENOSYS. Some functions are actually named
2654 something starting with __ and the normal name is an alias. */
2655 #if defined __stub_$2 || defined __stub___$2
2667 if ac_fn_c_try_link
"$LINENO"; then :
2672 rm -f core conftest.err conftest.
$ac_objext \
2673 conftest
$ac_exeext conftest.
$ac_ext
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2677 $as_echo "$ac_res" >&6; }
2678 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2680 } # ac_fn_c_check_func
2682 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2683 # ----------------------------------------------------
2684 # Tries to find if the field MEMBER exists in type AGGR, after including
2685 # INCLUDES, setting cache variable VAR accordingly.
2686 ac_fn_c_check_member
()
2688 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2690 $as_echo_n "checking for $2.$3... " >&6; }
2691 if eval \
${$4+:} false
; then :
2692 $as_echo_n "(cached) " >&6
2694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2695 /* end confdefs.h. */
2707 if ac_fn_c_try_compile
"$LINENO"; then :
2710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2711 /* end confdefs.h. */
2717 if (sizeof ac_aggr.$3)
2723 if ac_fn_c_try_compile
"$LINENO"; then :
2728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2730 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2734 $as_echo "$ac_res" >&6; }
2735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2737 } # ac_fn_c_check_member
2739 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2740 # -------------------------------------------
2741 # Tests whether TYPE exists after having included INCLUDES, setting cache
2742 # variable VAR accordingly.
2743 ac_fn_c_check_type
()
2745 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2747 $as_echo_n "checking for $2... " >&6; }
2748 if eval \
${$3+:} false
; then :
2749 $as_echo_n "(cached) " >&6
2752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2753 /* end confdefs.h. */
2764 if ac_fn_c_try_compile
"$LINENO"; then :
2765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2766 /* end confdefs.h. */
2777 if ac_fn_c_try_compile
"$LINENO"; then :
2782 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2788 $as_echo "$ac_res" >&6; }
2789 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2791 } # ac_fn_c_check_type
2792 cat >config.log
<<_ACEOF
2793 This file contains any messages produced by compilers while
2794 running configure, to aid debugging if configure makes a mistake.
2796 It was created by Wine $as_me 1.7.35, which was
2797 generated by GNU Autoconf 2.69. Invocation command line was
2809 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2810 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2811 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2812 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2813 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2815 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2816 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2818 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2819 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2820 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2821 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2822 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2823 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2824 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2832 test -z "$as_dir" && as_dir
=.
2833 $as_echo "PATH: $as_dir"
2849 # Keep a trace of the command line.
2850 # Strip out --no-create and --no-recursion so they do not pile up.
2851 # Strip out --silent because we don't want to record it for future runs.
2852 # Also quote any args containing shell meta-characters.
2853 # Make two passes to allow for proper duplicate-argument suppression.
2857 ac_must_keep_next
=false
2863 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2864 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2865 |
-silent |
--silent |
--silen |
--sile |
--sil)
2868 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2871 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2873 as_fn_append ac_configure_args1
" '$ac_arg'"
2874 if test $ac_must_keep_next = true
; then
2875 ac_must_keep_next
=false
# Got value, back to normal.
2878 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2879 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2880 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2881 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2882 case "$ac_configure_args0 " in
2883 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2886 -* ) ac_must_keep_next
=true
;;
2889 as_fn_append ac_configure_args
" '$ac_arg'"
2894 { ac_configure_args0
=; unset ac_configure_args0
;}
2895 { ac_configure_args1
=; unset ac_configure_args1
;}
2897 # When interrupted or exit'd, cleanup temporary files, and complete
2898 # config.log. We remove comments because anyway the quotes in there
2899 # would cause problems or look ugly.
2900 # WARNING: Use '\'' to represent an apostrophe within the trap.
2901 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2902 trap 'exit_status=$?
2903 # Save into config.log some information that might help in debugging.
2907 $as_echo "## ---------------- ##
2908 ## Cache variables. ##
2909 ## ---------------- ##"
2911 # The following way of writing the cache mishandles newlines in values,
2913 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2914 eval ac_val=\$$ac_var
2918 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2919 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2922 _ | IFS | as_nl) ;; #(
2923 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2924 *) { eval $ac_var=; unset $ac_var;} ;;
2929 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2930 *${as_nl}ac_space=\ *)
2932 "s/'\''/'\''\\\\'\'''\''/g;
2933 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2936 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2943 $as_echo "## ----------------- ##
2944 ## Output variables. ##
2945 ## ----------------- ##"
2947 for ac_var in $ac_subst_vars
2949 eval ac_val=\$$ac_var
2951 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2953 $as_echo "$ac_var='\''$ac_val'\''"
2957 if test -n "$ac_subst_files"; then
2958 $as_echo "## ------------------- ##
2959 ## File substitutions. ##
2960 ## ------------------- ##"
2962 for ac_var
in $ac_subst_files
2964 eval ac_val
=\$
$ac_var
2966 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2968 $as_echo "$ac_var='\''$ac_val'\''"
2973 if test -s confdefs.h; then
2974 $as_echo "## ----------- ##
2981 test "$ac_signal" != 0 &&
2982 $as_echo "$as_me: caught signal $ac_signal"
2983 $as_echo "$as_me: exit $exit_status"
2985 rm -f core *.core core.conftest.* &&
2986 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2989 for ac_signal
in 1 2 13 15; do
2990 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2994 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2995 rm -f -r conftest
* confdefs.h
2997 $as_echo "/* confdefs.h */" > confdefs.h
2999 # Predefined preprocessor variables.
3001 cat >>confdefs.h
<<_ACEOF
3002 #define PACKAGE_NAME "$PACKAGE_NAME"
3005 cat >>confdefs.h
<<_ACEOF
3006 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3009 cat >>confdefs.h
<<_ACEOF
3010 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3013 cat >>confdefs.h
<<_ACEOF
3014 #define PACKAGE_STRING "$PACKAGE_STRING"
3017 cat >>confdefs.h
<<_ACEOF
3018 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3021 cat >>confdefs.h
<<_ACEOF
3022 #define PACKAGE_URL "$PACKAGE_URL"
3026 # Let the site file select an alternate cache file if it wants to.
3027 # Prefer an explicitly selected file to automatically selected ones.
3030 if test -n "$CONFIG_SITE"; then
3031 # We do not want a PATH search for config.site.
3032 case $CONFIG_SITE in #((
3033 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3034 */*) ac_site_file1
=$CONFIG_SITE;;
3035 *) ac_site_file1
=.
/$CONFIG_SITE;;
3037 elif test "x$prefix" != xNONE
; then
3038 ac_site_file1
=$prefix/share
/config.site
3039 ac_site_file2
=$prefix/etc
/config.site
3041 ac_site_file1
=$ac_default_prefix/share
/config.site
3042 ac_site_file2
=$ac_default_prefix/etc
/config.site
3044 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3046 test "x$ac_site_file" = xNONE
&& continue
3047 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3049 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3050 sed 's/^/| /' "$ac_site_file" >&5
3052 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3053 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3054 as_fn_error $?
"failed to load site script $ac_site_file
3055 See \`config.log' for more details" "$LINENO" 5; }
3059 if test -r "$cache_file"; then
3060 # Some versions of bash will fail to source /dev/null (special files
3061 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3062 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3064 $as_echo "$as_me: loading cache $cache_file" >&6;}
3066 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3067 *) .
"./$cache_file";;
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3072 $as_echo "$as_me: creating cache $cache_file" >&6;}
3076 # Check that the precious variables saved in the cache have kept the same
3078 ac_cache_corrupted
=false
3079 for ac_var
in $ac_precious_vars; do
3080 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3081 eval ac_new_set
=\
$ac_env_${ac_var}_set
3082 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3083 eval ac_new_val
=\
$ac_env_${ac_var}_value
3084 case $ac_old_set,$ac_new_set in
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3087 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3088 ac_cache_corrupted
=: ;;
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3091 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3092 ac_cache_corrupted
=: ;;
3095 if test "x$ac_old_val" != "x$ac_new_val"; then
3096 # differences in whitespace do not lead to failure.
3097 ac_old_val_w
=`echo x $ac_old_val`
3098 ac_new_val_w
=`echo x $ac_new_val`
3099 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3101 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3102 ac_cache_corrupted
=:
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3105 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3106 eval $ac_var=\
$ac_old_val
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3109 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3111 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3114 # Pass precious variables to config.status.
3115 if test "$ac_new_set" = set; then
3117 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3118 *) ac_arg
=$ac_var=$ac_new_val ;;
3120 case " $ac_configure_args " in
3121 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3122 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3126 if $ac_cache_corrupted; then
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3130 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3131 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3133 ## -------------------- ##
3134 ## Main body of script. ##
3135 ## -------------------- ##
3138 ac_cpp
='$CPP $CPPFLAGS'
3139 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3140 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3141 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3145 ac_config_headers
="$ac_config_headers include/config.h"
3148 for ac_dir
in tools
"$srcdir"/tools
; do
3149 if test -f "$ac_dir/install-sh"; then
3151 ac_install_sh
="$ac_aux_dir/install-sh -c"
3153 elif test -f "$ac_dir/install.sh"; then
3155 ac_install_sh
="$ac_aux_dir/install.sh -c"
3157 elif test -f "$ac_dir/shtool"; then
3159 ac_install_sh
="$ac_aux_dir/shtool install -c"
3163 if test -z "$ac_aux_dir"; then
3164 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3167 # These three variables are undocumented and unsupported,
3168 # and are intended to be withdrawn in a future Autoconf release.
3169 # They can cause serious problems if a builder's source tree is in a directory
3170 # whose full name contains unusual characters.
3171 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3172 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3173 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3177 libwine_version
="1.0"
3181 # Check whether --enable-win16 was given.
3182 if test "${enable_win16+set}" = set; then :
3183 enableval
=$enable_win16;
3186 # Check whether --enable-win64 was given.
3187 if test "${enable_win64+set}" = set; then :
3188 enableval
=$enable_win64;
3191 # Check whether --enable-tests was given.
3192 if test "${enable_tests+set}" = set; then :
3193 enableval
=$enable_tests;
3196 # Check whether --enable-maintainer-mode was given.
3197 if test "${enable_maintainer_mode+set}" = set; then :
3198 enableval
=$enable_maintainer_mode;
3203 # Check whether --with-alsa was given.
3204 if test "${with_alsa+set}" = set; then :
3205 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3209 # Check whether --with-capi was given.
3210 if test "${with_capi+set}" = set; then :
3215 # Check whether --with-cms was given.
3216 if test "${with_cms+set}" = set; then :
3221 # Check whether --with-coreaudio was given.
3222 if test "${with_coreaudio+set}" = set; then :
3223 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3227 # Check whether --with-cups was given.
3228 if test "${with_cups+set}" = set; then :
3233 # Check whether --with-curses was given.
3234 if test "${with_curses+set}" = set; then :
3235 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3239 # Check whether --with-dbus was given.
3240 if test "${with_dbus+set}" = set; then :
3245 # Check whether --with-fontconfig was given.
3246 if test "${with_fontconfig+set}" = set; then :
3247 withval
=$with_fontconfig;
3251 # Check whether --with-freetype was given.
3252 if test "${with_freetype+set}" = set; then :
3253 withval
=$with_freetype;
3257 # Check whether --with-gettext was given.
3258 if test "${with_gettext+set}" = set; then :
3259 withval
=$with_gettext;
3263 # Check whether --with-gettextpo was given.
3264 if test "${with_gettextpo+set}" = set; then :
3265 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3269 # Check whether --with-gphoto was given.
3270 if test "${with_gphoto+set}" = set; then :
3271 withval
=$with_gphoto;
3275 # Check whether --with-glu was given.
3276 if test "${with_glu+set}" = set; then :
3281 # Check whether --with-gnutls was given.
3282 if test "${with_gnutls+set}" = set; then :
3283 withval
=$with_gnutls;
3287 # Check whether --with-gsm was given.
3288 if test "${with_gsm+set}" = set; then :
3289 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3293 # Check whether --with-gstreamer was given.
3294 if test "${with_gstreamer+set}" = set; then :
3295 withval
=$with_gstreamer;
3299 # Check whether --with-hal was given.
3300 if test "${with_hal+set}" = set; then :
3305 # Check whether --with-jpeg was given.
3306 if test "${with_jpeg+set}" = set; then :
3311 # Check whether --with-ldap was given.
3312 if test "${with_ldap+set}" = set; then :
3313 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3317 # Check whether --with-mpg123 was given.
3318 if test "${with_mpg123+set}" = set; then :
3319 withval
=$with_mpg123;
3323 # Check whether --with-netapi was given.
3324 if test "${with_netapi+set}" = set; then :
3325 withval
=$with_netapi;
3329 # Check whether --with-openal was given.
3330 if test "${with_openal+set}" = set; then :
3331 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3335 # Check whether --with-opencl was given.
3336 if test "${with_opencl+set}" = set; then :
3337 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3341 # Check whether --with-opengl was given.
3342 if test "${with_opengl+set}" = set; then :
3343 withval
=$with_opengl;
3347 # Check whether --with-osmesa was given.
3348 if test "${with_osmesa+set}" = set; then :
3349 withval
=$with_osmesa;
3353 # Check whether --with-oss was given.
3354 if test "${with_oss+set}" = set; then :
3359 # Check whether --with-pcap was given.
3360 if test "${with_pcap+set}" = set; then :
3361 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3365 # Check whether --with-png was given.
3366 if test "${with_png+set}" = set; then :
3371 # Check whether --with-pthread was given.
3372 if test "${with_pthread+set}" = set; then :
3373 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3377 # Check whether --with-sane was given.
3378 if test "${with_sane+set}" = set; then :
3383 # Check whether --with-tiff was given.
3384 if test "${with_tiff+set}" = set; then :
3389 # Check whether --with-v4l was given.
3390 if test "${with_v4l+set}" = set; then :
3395 # Check whether --with-xcomposite was given.
3396 if test "${with_xcomposite+set}" = set; then :
3397 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3401 # Check whether --with-xcursor was given.
3402 if test "${with_xcursor+set}" = set; then :
3403 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3407 # Check whether --with-xinerama was given.
3408 if test "${with_xinerama+set}" = set; then :
3409 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3413 # Check whether --with-xinput was given.
3414 if test "${with_xinput+set}" = set; then :
3415 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3419 # Check whether --with-xinput2 was given.
3420 if test "${with_xinput2+set}" = set; then :
3421 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3425 # Check whether --with-xml was given.
3426 if test "${with_xml+set}" = set; then :
3431 # Check whether --with-xrandr was given.
3432 if test "${with_xrandr+set}" = set; then :
3433 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3437 # Check whether --with-xrender was given.
3438 if test "${with_xrender+set}" = set; then :
3439 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3443 # Check whether --with-xshape was given.
3444 if test "${with_xshape+set}" = set; then :
3445 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3449 # Check whether --with-xshm was given.
3450 if test "${with_xshm+set}" = set; then :
3451 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3455 # Check whether --with-xslt was given.
3456 if test "${with_xslt+set}" = set; then :
3461 # Check whether --with-xxf86vm was given.
3462 if test "${with_xxf86vm+set}" = set; then :
3463 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
3467 # Check whether --with-zlib was given.
3468 if test "${with_zlib+set}" = set; then :
3469 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3474 # Check whether --with-wine-tools was given.
3475 if test "${with_wine_tools+set}" = set; then :
3476 withval
=$with_wine_tools;
3480 # Check whether --with-wine64 was given.
3481 if test "${with_wine64+set}" = set; then :
3482 withval
=$with_wine64;
3486 # Make sure we can run config.sub.
3487 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3488 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3491 $as_echo_n "checking build system type... " >&6; }
3492 if ${ac_cv_build+:} false
; then :
3493 $as_echo_n "(cached) " >&6
3495 ac_build_alias
=$build_alias
3496 test "x$ac_build_alias" = x
&&
3497 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3498 test "x$ac_build_alias" = x
&&
3499 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3500 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3501 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3505 $as_echo "$ac_cv_build" >&6; }
3506 case $ac_cv_build in
3508 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3511 ac_save_IFS
=$IFS; IFS
='-'
3517 # Remember, the first character of IFS is used to create $*,
3518 # except with old shells:
3521 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3525 $as_echo_n "checking host system type... " >&6; }
3526 if ${ac_cv_host+:} false
; then :
3527 $as_echo_n "(cached) " >&6
3529 if test "x$host_alias" = x
; then
3530 ac_cv_host
=$ac_cv_build
3532 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3533 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3538 $as_echo "$ac_cv_host" >&6; }
3541 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3544 ac_save_IFS
=$IFS; IFS
='-'
3550 # Remember, the first character of IFS is used to create $*,
3551 # except with old shells:
3554 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3560 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3561 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3562 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3568 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3570 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3571 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3572 $as_echo_n "(cached) " >&6
3574 cat >conftest.
make <<\_ACEOF
3577 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3579 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3580 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3582 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3584 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3588 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3590 $as_echo "yes" >&6; }
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3594 $as_echo "no" >&6; }
3595 SET_MAKE
="MAKE=${MAKE-make}"
3599 ac_cpp
='$CPP $CPPFLAGS'
3600 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3601 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3602 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3603 if test -n "$ac_tool_prefix"; then
3604 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3605 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3607 $as_echo_n "checking for $ac_word... " >&6; }
3608 if ${ac_cv_prog_CC+:} false
; then :
3609 $as_echo_n "(cached) " >&6
3611 if test -n "$CC"; then
3612 ac_cv_prog_CC
="$CC" # Let the user override the test.
3614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3618 test -z "$as_dir" && as_dir
=.
3619 for ac_exec_ext
in '' $ac_executable_extensions; do
3620 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3621 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3632 if test -n "$CC"; then
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3634 $as_echo "$CC" >&6; }
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3637 $as_echo "no" >&6; }
3642 if test -z "$ac_cv_prog_CC"; then
3644 # Extract the first word of "gcc", so it can be a program name with args.
3645 set dummy gcc
; ac_word
=$2
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3647 $as_echo_n "checking for $ac_word... " >&6; }
3648 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3649 $as_echo_n "(cached) " >&6
3651 if test -n "$ac_ct_CC"; then
3652 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3658 test -z "$as_dir" && as_dir
=.
3659 for ac_exec_ext
in '' $ac_executable_extensions; do
3660 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3661 ac_cv_prog_ac_ct_CC
="gcc"
3662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3671 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3672 if test -n "$ac_ct_CC"; then
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3674 $as_echo "$ac_ct_CC" >&6; }
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3677 $as_echo "no" >&6; }
3680 if test "x$ac_ct_CC" = x
; then
3683 case $cross_compiling:$ac_tool_warned in
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3687 ac_tool_warned
=yes ;;
3695 if test -z "$CC"; then
3696 if test -n "$ac_tool_prefix"; then
3697 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3698 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3700 $as_echo_n "checking for $ac_word... " >&6; }
3701 if ${ac_cv_prog_CC+:} false
; then :
3702 $as_echo_n "(cached) " >&6
3704 if test -n "$CC"; then
3705 ac_cv_prog_CC
="$CC" # Let the user override the test.
3707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3711 test -z "$as_dir" && as_dir
=.
3712 for ac_exec_ext
in '' $ac_executable_extensions; do
3713 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3714 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3725 if test -n "$CC"; then
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3727 $as_echo "$CC" >&6; }
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3730 $as_echo "no" >&6; }
3736 if test -z "$CC"; then
3737 # Extract the first word of "cc", so it can be a program name with args.
3738 set dummy cc
; ac_word
=$2
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3740 $as_echo_n "checking for $ac_word... " >&6; }
3741 if ${ac_cv_prog_CC+:} false
; then :
3742 $as_echo_n "(cached) " >&6
3744 if test -n "$CC"; then
3745 ac_cv_prog_CC
="$CC" # Let the user override the test.
3748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3752 test -z "$as_dir" && as_dir
=.
3753 for ac_exec_ext
in '' $ac_executable_extensions; do
3754 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3755 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3756 ac_prog_rejected
=yes
3760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3767 if test $ac_prog_rejected = yes; then
3768 # We found a bogon in the path, so make sure we never use it.
3769 set dummy
$ac_cv_prog_CC
3771 if test $# != 0; then
3772 # We chose a different compiler from the bogus one.
3773 # However, it has the same basename, so the bogon will be chosen
3774 # first if we set CC to just the basename; use the full file name.
3776 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3782 if test -n "$CC"; then
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3784 $as_echo "$CC" >&6; }
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3787 $as_echo "no" >&6; }
3792 if test -z "$CC"; then
3793 if test -n "$ac_tool_prefix"; then
3794 for ac_prog
in cl.exe
3796 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3797 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3799 $as_echo_n "checking for $ac_word... " >&6; }
3800 if ${ac_cv_prog_CC+:} false
; then :
3801 $as_echo_n "(cached) " >&6
3803 if test -n "$CC"; then
3804 ac_cv_prog_CC
="$CC" # Let the user override the test.
3806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3810 test -z "$as_dir" && as_dir
=.
3811 for ac_exec_ext
in '' $ac_executable_extensions; do
3812 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3813 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3824 if test -n "$CC"; then
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3826 $as_echo "$CC" >&6; }
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3829 $as_echo "no" >&6; }
3833 test -n "$CC" && break
3836 if test -z "$CC"; then
3838 for ac_prog
in cl.exe
3840 # Extract the first word of "$ac_prog", so it can be a program name with args.
3841 set dummy
$ac_prog; ac_word
=$2
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3843 $as_echo_n "checking for $ac_word... " >&6; }
3844 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3845 $as_echo_n "(cached) " >&6
3847 if test -n "$ac_ct_CC"; then
3848 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3854 test -z "$as_dir" && as_dir
=.
3855 for ac_exec_ext
in '' $ac_executable_extensions; do
3856 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3857 ac_cv_prog_ac_ct_CC
="$ac_prog"
3858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3867 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3868 if test -n "$ac_ct_CC"; then
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3870 $as_echo "$ac_ct_CC" >&6; }
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3873 $as_echo "no" >&6; }
3877 test -n "$ac_ct_CC" && break
3880 if test "x$ac_ct_CC" = x
; then
3883 case $cross_compiling:$ac_tool_warned in
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3886 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3887 ac_tool_warned
=yes ;;
3896 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3897 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3898 as_fn_error $?
"no acceptable C compiler found in \$PATH
3899 See \`config.log' for more details" "$LINENO" 5; }
3901 # Provide some information about the compiler.
3902 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3905 for ac_option
in --version -v -V -qversion; do
3906 { { ac_try
="$ac_compiler $ac_option >&5"
3908 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3909 *) ac_try_echo=$ac_try;;
3911 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3912 $as_echo "$ac_try_echo"; } >&5
3913 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3915 if test -s conftest.err; then
3917 ... rest of stderr output deleted ...
3918 10q' conftest.err >conftest.er1
3919 cat conftest.er1 >&5
3921 rm -f conftest.er1 conftest.err
3922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3923 test $ac_status = 0; }
3926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3927 /* end confdefs.h. */
3937 ac_clean_files_save=$ac_clean_files
3938 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3939 # Try to create an executable without -o first, disregard a.out.
3940 # It will help us diagnose broken compilers, and finding out an intuition
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3943 $as_echo_n "checking whether the C compiler works... " >&6; }
3944 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3946 # The possible output files:
3947 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3950 for ac_file in $ac_files
3953 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3954 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3959 if { { ac_try="$ac_link_default"
3961 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3962 *) ac_try_echo
=$ac_try;;
3964 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3965 $as_echo "$ac_try_echo"; } >&5
3966 (eval "$ac_link_default") 2>&5
3968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3969 test $ac_status = 0; }; then :
3970 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3971 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3972 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3973 # so that the user can short-circuit this test for compilers unknown to
3975 for ac_file
in $ac_files ''
3977 test -f "$ac_file" ||
continue
3979 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3982 # We found the default executable, but exeext='' is most
3986 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3988 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3990 # We set ac_cv_exeext here because the later test for it is not
3991 # safe: cross compilers may not add the suffix if given an `-o'
3992 # argument, so we may need to know it at that point already.
3993 # Even if this section looks crufty: it has the advantage of
4000 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4005 if test -z "$ac_file"; then :
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4007 $as_echo "no" >&6; }
4008 $as_echo "$as_me: failed program was:" >&5
4009 sed 's/^/| /' conftest.
$ac_ext >&5
4011 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4013 as_fn_error
77 "C compiler cannot create executables
4014 See \`config.log' for more details" "$LINENO" 5; }
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4017 $as_echo "yes" >&6; }
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4020 $as_echo_n "checking for C compiler default output file name... " >&6; }
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4022 $as_echo "$ac_file" >&6; }
4023 ac_exeext
=$ac_cv_exeext
4025 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4026 ac_clean_files
=$ac_clean_files_save
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4028 $as_echo_n "checking for suffix of executables... " >&6; }
4029 if { { ac_try
="$ac_link"
4031 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4032 *) ac_try_echo=$ac_try;;
4034 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4035 $as_echo "$ac_try_echo"; } >&5
4036 (eval "$ac_link") 2>&5
4038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4039 test $ac_status = 0; }; then :
4040 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4041 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4042 # work properly (i.e., refer to `conftest.exe'), while it won't with
4044 for ac_file
in conftest.exe conftest conftest.
*; do
4045 test -f "$ac_file" ||
continue
4047 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4048 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4054 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4056 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4057 See \`config.log' for more details" "$LINENO" 5; }
4059 rm -f conftest conftest
$ac_cv_exeext
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4061 $as_echo "$ac_cv_exeext" >&6; }
4063 rm -f conftest.
$ac_ext
4064 EXEEXT
=$ac_cv_exeext
4066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4067 /* end confdefs.h. */
4072 FILE *f = fopen ("conftest.out", "w");
4073 return ferror (f) || fclose (f) != 0;
4079 ac_clean_files
="$ac_clean_files conftest.out"
4080 # Check that the compiler produces executables we can run. If not, either
4081 # the compiler is broken, or we cross compile.
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4083 $as_echo_n "checking whether we are cross compiling... " >&6; }
4084 if test "$cross_compiling" != yes; then
4085 { { ac_try
="$ac_link"
4087 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4088 *) ac_try_echo=$ac_try;;
4090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4091 $as_echo "$ac_try_echo"; } >&5
4092 (eval "$ac_link") 2>&5
4094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4095 test $ac_status = 0; }
4096 if { ac_try='./conftest$ac_cv_exeext'
4097 { { case "(($ac_try" in
4098 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4099 *) ac_try_echo
=$ac_try;;
4101 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4102 $as_echo "$ac_try_echo"; } >&5
4103 (eval "$ac_try") 2>&5
4105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4106 test $ac_status = 0; }; }; then
4109 if test "$cross_compiling" = maybe
; then
4112 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4113 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4114 as_fn_error $?
"cannot run C compiled programs.
4115 If you meant to cross compile, use \`--host'.
4116 See \`config.log' for more details" "$LINENO" 5; }
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4121 $as_echo "$cross_compiling" >&6; }
4123 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4124 ac_clean_files
=$ac_clean_files_save
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4126 $as_echo_n "checking for suffix of object files... " >&6; }
4127 if ${ac_cv_objext+:} false
; then :
4128 $as_echo_n "(cached) " >&6
4130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4131 /* end confdefs.h. */
4141 rm -f conftest.o conftest.obj
4142 if { { ac_try
="$ac_compile"
4144 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4145 *) ac_try_echo=$ac_try;;
4147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4148 $as_echo "$ac_try_echo"; } >&5
4149 (eval "$ac_compile") 2>&5
4151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4152 test $ac_status = 0; }; then :
4153 for ac_file in conftest.o conftest.obj conftest.*; do
4154 test -f "$ac_file" || continue;
4156 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4157 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4162 $as_echo "$as_me: failed program was:" >&5
4163 sed 's/^/| /' conftest.$ac_ext >&5
4165 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4167 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4168 See \
`config.log' for more details" "$LINENO" 5; }
4170 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4173 $as_echo "$ac_cv_objext" >&6; }
4174 OBJEXT=$ac_cv_objext
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4177 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4178 if ${ac_cv_c_compiler_gnu+:} false; then :
4179 $as_echo_n "(cached) " >&6
4181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4182 /* end confdefs.h. */
4195 if ac_fn_c_try_compile "$LINENO"; then :
4200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4201 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4205 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4206 if test $ac_compiler_gnu = yes; then
4211 ac_test_CFLAGS=${CFLAGS+set}
4212 ac_save_CFLAGS=$CFLAGS
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4214 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4215 if ${ac_cv_prog_cc_g+:} false; then :
4216 $as_echo_n "(cached) " >&6
4218 ac_save_c_werror_flag=$ac_c_werror_flag
4219 ac_c_werror_flag=yes
4222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4223 /* end confdefs.h. */
4233 if ac_fn_c_try_compile "$LINENO"; then :
4237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4238 /* end confdefs.h. */
4248 if ac_fn_c_try_compile "$LINENO"; then :
4251 ac_c_werror_flag=$ac_save_c_werror_flag
4253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254 /* end confdefs.h. */
4264 if ac_fn_c_try_compile "$LINENO"; then :
4267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4272 ac_c_werror_flag=$ac_save_c_werror_flag
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4275 $as_echo "$ac_cv_prog_cc_g" >&6; }
4276 if test "$ac_test_CFLAGS" = set; then
4277 CFLAGS=$ac_save_CFLAGS
4278 elif test $ac_cv_prog_cc_g = yes; then
4279 if test "$GCC" = yes; then
4285 if test "$GCC" = yes; then
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4292 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4293 if ${ac_cv_prog_cc_c89+:} false; then :
4294 $as_echo_n "(cached) " >&6
4296 ac_cv_prog_cc_c89=no
4298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4299 /* end confdefs.h. */
4303 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4304 struct buf { int x; };
4305 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4306 static char *e (p, i)
4312 static char *f (char * (*g) (char **, int), char **p, ...)
4317 s = g (p, va_arg (v,int));
4322 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4323 function prototypes and stuff, but not '\xHH' hex character constants.
4324 These don't provoke an error unfortunately, instead are silently treated
4325 as 'x'. The following induces an error, until -std is added to get
4326 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4327 array size at least. It's necessary to write '\x00'==0 to get something
4328 that's true only with -std. */
4329 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4331 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4332 inside strings and character constants. */
4334 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4336 int test (int i, double x);
4337 struct s1 {int (*f) (int a);};
4338 struct s2 {int (*f) (double a);};
4339 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4345 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4350 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4351 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4353 CC="$ac_save_CC $ac_arg"
4354 if ac_fn_c_try_compile "$LINENO"; then :
4355 ac_cv_prog_cc_c89=$ac_arg
4357 rm -f core conftest.err conftest.$ac_objext
4358 test "x$ac_cv_prog_cc_c89" != "xno" && break
4360 rm -f conftest.$ac_ext
4365 case "x$ac_cv_prog_cc_c89" in
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4368 $as_echo "none needed" >&6; } ;;
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4371 $as_echo "unsupported" >&6; } ;;
4373 CC="$CC $ac_cv_prog_cc_c89"
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4375 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4377 if test "x$ac_cv_prog_cc_c89" != xno; then :
4382 ac_cpp='$CPP $CPPFLAGS'
4383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4388 ac_cpp='$CXXCPP $CPPFLAGS'
4389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4392 if test -z "$CXX"; then
4393 if test -n "$CCC"; then
4396 if test -n "$ac_tool_prefix"; then
4397 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4399 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4400 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4402 $as_echo_n "checking for $ac_word... " >&6; }
4403 if ${ac_cv_prog_CXX+:} false; then :
4404 $as_echo_n "(cached) " >&6
4406 if test -n "$CXX"; then
4407 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4413 test -z "$as_dir" && as_dir=.
4414 for ac_exec_ext in '' $ac_executable_extensions; do
4415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4416 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4427 if test -n "$CXX"; then
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4429 $as_echo "$CXX" >&6; }
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4432 $as_echo "no" >&6; }
4436 test -n "$CXX" && break
4439 if test -z "$CXX"; then
4441 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4443 # Extract the first word of "$ac_prog", so it can be a program name with args.
4444 set dummy $ac_prog; ac_word=$2
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4446 $as_echo_n "checking for $ac_word... " >&6; }
4447 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4448 $as_echo_n "(cached) " >&6
4450 if test -n "$ac_ct_CXX"; then
4451 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4457 test -z "$as_dir" && as_dir=.
4458 for ac_exec_ext in '' $ac_executable_extensions; do
4459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4460 ac_cv_prog_ac_ct_CXX="$ac_prog"
4461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4470 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4471 if test -n "$ac_ct_CXX"; then
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4473 $as_echo "$ac_ct_CXX" >&6; }
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4476 $as_echo "no" >&6; }
4480 test -n "$ac_ct_CXX" && break
4483 if test "x$ac_ct_CXX" = x; then
4486 case $cross_compiling:$ac_tool_warned in
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4490 ac_tool_warned=yes ;;
4498 # Provide some information about the compiler.
4499 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4502 for ac_option in --version -v -V -qversion; do
4503 { { ac_try="$ac_compiler $ac_option >&5"
4505 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4506 *) ac_try_echo
=$ac_try;;
4508 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4509 $as_echo "$ac_try_echo"; } >&5
4510 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4512 if test -s conftest.err
; then
4514 ... rest of stderr output deleted ...
4515 10q' conftest.err
>conftest.er1
4516 cat conftest.er1
>&5
4518 rm -f conftest.er1 conftest.err
4519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4520 test $ac_status = 0; }
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4524 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4525 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4526 $as_echo_n "(cached) " >&6
4528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4529 /* end confdefs.h. */
4542 if ac_fn_cxx_try_compile
"$LINENO"; then :
4547 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4548 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4552 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4553 if test $ac_compiler_gnu = yes; then
4558 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4559 ac_save_CXXFLAGS
=$CXXFLAGS
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4561 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4562 if ${ac_cv_prog_cxx_g+:} false
; then :
4563 $as_echo_n "(cached) " >&6
4565 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4566 ac_cxx_werror_flag
=yes
4569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4570 /* end confdefs.h. */
4580 if ac_fn_cxx_try_compile
"$LINENO"; then :
4581 ac_cv_prog_cxx_g
=yes
4584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4585 /* end confdefs.h. */
4595 if ac_fn_cxx_try_compile
"$LINENO"; then :
4598 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4601 /* end confdefs.h. */
4611 if ac_fn_cxx_try_compile
"$LINENO"; then :
4612 ac_cv_prog_cxx_g
=yes
4614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4619 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4622 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4623 if test "$ac_test_CXXFLAGS" = set; then
4624 CXXFLAGS
=$ac_save_CXXFLAGS
4625 elif test $ac_cv_prog_cxx_g = yes; then
4626 if test "$GXX" = yes; then
4632 if test "$GXX" = yes; then
4639 ac_cpp
='$CPP $CPPFLAGS'
4640 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4641 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4642 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4644 if test -n "$ac_tool_prefix"; then
4645 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4646 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4648 $as_echo_n "checking for $ac_word... " >&6; }
4649 if ${ac_cv_prog_CPPBIN+:} false
; then :
4650 $as_echo_n "(cached) " >&6
4652 if test -n "$CPPBIN"; then
4653 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4659 test -z "$as_dir" && as_dir
=.
4660 for ac_exec_ext
in '' $ac_executable_extensions; do
4661 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4662 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4672 CPPBIN
=$ac_cv_prog_CPPBIN
4673 if test -n "$CPPBIN"; then
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4675 $as_echo "$CPPBIN" >&6; }
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4678 $as_echo "no" >&6; }
4683 if test -z "$ac_cv_prog_CPPBIN"; then
4684 ac_ct_CPPBIN
=$CPPBIN
4685 # Extract the first word of "cpp", so it can be a program name with args.
4686 set dummy cpp
; ac_word
=$2
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4688 $as_echo_n "checking for $ac_word... " >&6; }
4689 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4690 $as_echo_n "(cached) " >&6
4692 if test -n "$ac_ct_CPPBIN"; then
4693 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4699 test -z "$as_dir" && as_dir
=.
4700 for ac_exec_ext
in '' $ac_executable_extensions; do
4701 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4702 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4712 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4713 if test -n "$ac_ct_CPPBIN"; then
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4715 $as_echo "$ac_ct_CPPBIN" >&6; }
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4718 $as_echo "no" >&6; }
4721 if test "x$ac_ct_CPPBIN" = x
; then
4724 case $cross_compiling:$ac_tool_warned in
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4727 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4728 ac_tool_warned
=yes ;;
4730 CPPBIN
=$ac_ct_CPPBIN
4733 CPPBIN
="$ac_cv_prog_CPPBIN"
4737 cat >>confdefs.h
<<_ACEOF
4738 #define EXEEXT "$ac_exeext"
4741 if test -n "$ac_tool_prefix"; then
4742 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4743 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4745 $as_echo_n "checking for $ac_word... " >&6; }
4746 if ${ac_cv_prog_LD+:} false
; then :
4747 $as_echo_n "(cached) " >&6
4749 if test -n "$LD"; then
4750 ac_cv_prog_LD
="$LD" # Let the user override the test.
4752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4756 test -z "$as_dir" && as_dir
=.
4757 for ac_exec_ext
in '' $ac_executable_extensions; do
4758 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4759 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4770 if test -n "$LD"; then
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4772 $as_echo "$LD" >&6; }
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4775 $as_echo "no" >&6; }
4780 if test -z "$ac_cv_prog_LD"; then
4782 # Extract the first word of "ld", so it can be a program name with args.
4783 set dummy ld
; ac_word
=$2
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4785 $as_echo_n "checking for $ac_word... " >&6; }
4786 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4787 $as_echo_n "(cached) " >&6
4789 if test -n "$ac_ct_LD"; then
4790 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4792 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4796 test -z "$as_dir" && as_dir
=.
4797 for ac_exec_ext
in '' $ac_executable_extensions; do
4798 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4799 ac_cv_prog_ac_ct_LD
="ld"
4800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4809 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4810 if test -n "$ac_ct_LD"; then
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4812 $as_echo "$ac_ct_LD" >&6; }
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4815 $as_echo "no" >&6; }
4818 if test "x$ac_ct_LD" = x
; then
4821 case $cross_compiling:$ac_tool_warned in
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4825 ac_tool_warned
=yes ;;
4836 if test "x$enable_win64" = "xyes"
4841 notice_platform
="64-bit "
4848 notice_platform
="32-bit "
4851 enable_win16
=${enable_win16:-yes}
4853 with_fontconfig
=${with_fontconfig:-no}
4856 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4861 $as_echo_n "checking whether $CC works... " >&6; }
4863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4864 /* end confdefs.h. */
4874 if ac_fn_c_try_link
"$LINENO"; then :
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4876 $as_echo "yes" >&6; }
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4879 $as_echo "no" >&6; }
4880 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4882 rm -f core conftest.err conftest.
$ac_objext \
4883 conftest
$ac_exeext conftest.
$ac_ext
4885 notice_platform
="32-bit "
4888 enable_win16
=${enable_win16:-yes}
4890 if test "x${GCC}" = "xyes"
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4893 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4895 /* end confdefs.h. */
4900 void func(__builtin_ms_va_list *args);
4905 if ac_fn_c_try_compile
"$LINENO"; then :
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4907 $as_echo "yes" >&6; }
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4910 $as_echo "no" >&6; }
4911 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4921 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4923 /* end confdefs.h. */
4924 int ac_test(int i) { return i; }
4928 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4933 if ac_fn_c_try_link
"$LINENO"; then :
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4935 $as_echo "yes" >&6; }
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4938 $as_echo "no" >&6; }
4939 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4941 rm -f core conftest.err conftest.
$ac_objext \
4942 conftest
$ac_exeext conftest.
$ac_ext
4943 CFLAGS
="$CFLAGS -marm"
4947 *-mingw32*|
*-cygwin*)
4948 enable_win16
=${enable_win16:-no}
4949 CFLAGS
="$CFLAGS -D_WIN32"
4952 enable_win16
=${enable_win16:-yes}
4956 enable_win16
=${enable_win16:-no}
4957 enable_win64
=${enable_win64:-no}
4959 enable_winetest
=${enable_winetest:-$enable_tests}
4961 if test -n "$with_wine64"
4963 if test "x$enable_win64" = "xyes"
4965 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4966 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4968 enable_fonts
=${enable_fonts:-no}
4969 enable_server
=${enable_server:-no}
4970 elif test "x$enable_win64" = "xyes"
4972 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4976 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4977 if ${wine_cv_toolsdir+:} false
; then :
4978 $as_echo_n "(cached) " >&6
4980 wine_cv_toolsdir
="$with_wine_tools"
4981 if test -z "$with_wine_tools"; then
4982 if test "$cross_compiling" = "yes"; then
4983 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4984 elif test -n "$with_wine64"; then
4985 wine_cv_toolsdir
="$with_wine64"
4988 if test -z "$wine_cv_toolsdir"; then
4989 wine_makedep
=tools
/makedep
4990 wine_cv_toolsdir
="\$(top_builddir)"
4991 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4992 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4993 case "$wine_cv_toolsdir" in
4995 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4997 enable_tools
=${enable_tools:-no}
4998 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5000 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5004 $as_echo "$wine_cv_toolsdir" >&6; }
5005 TOOLSDIR
=$wine_cv_toolsdir
5007 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5009 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5015 # Extract the first word of "$ac_prog", so it can be a program name with args.
5016 set dummy
$ac_prog; ac_word
=$2
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5018 $as_echo_n "checking for $ac_word... " >&6; }
5019 if ${ac_cv_prog_FLEX+:} false
; then :
5020 $as_echo_n "(cached) " >&6
5022 if test -n "$FLEX"; then
5023 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5029 test -z "$as_dir" && as_dir
=.
5030 for ac_exec_ext
in '' $ac_executable_extensions; do
5031 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5032 ac_cv_prog_FLEX
="$ac_prog"
5033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5042 FLEX
=$ac_cv_prog_FLEX
5043 if test -n "$FLEX"; then
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5045 $as_echo "$FLEX" >&6; }
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5048 $as_echo "no" >&6; }
5052 test -n "$FLEX" && break
5054 test -n "$FLEX" || FLEX
="none"
5056 if test "$FLEX" = "none"
5058 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5061 $as_echo_n "checking whether flex is recent enough... " >&6; }
5062 cat >conftest.l
<<EOF
5064 #include "prediluvian.h"
5068 if $FLEX -t conftest.l
>/dev
/null
2>&5
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5071 $as_echo "yes" >&6; }
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5074 $as_echo "no" >&6; }
5075 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5078 for ac_prog
in bison
5080 # Extract the first word of "$ac_prog", so it can be a program name with args.
5081 set dummy
$ac_prog; ac_word
=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5084 if ${ac_cv_prog_BISON+:} false
; then :
5085 $as_echo_n "(cached) " >&6
5087 if test -n "$BISON"; then
5088 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5094 test -z "$as_dir" && as_dir
=.
5095 for ac_exec_ext
in '' $ac_executable_extensions; do
5096 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5097 ac_cv_prog_BISON
="$ac_prog"
5098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5107 BISON
=$ac_cv_prog_BISON
5108 if test -n "$BISON"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5110 $as_echo "$BISON" >&6; }
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5117 test -n "$BISON" && break
5119 test -n "$BISON" || BISON
="none"
5121 if test "$BISON" = "none"
5123 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5126 if test -n "$ac_tool_prefix"; then
5127 for ac_prog
in ar gar
5129 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5130 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5132 $as_echo_n "checking for $ac_word... " >&6; }
5133 if ${ac_cv_prog_AR+:} false
; then :
5134 $as_echo_n "(cached) " >&6
5136 if test -n "$AR"; then
5137 ac_cv_prog_AR
="$AR" # Let the user override the test.
5139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5143 test -z "$as_dir" && as_dir
=.
5144 for ac_exec_ext
in '' $ac_executable_extensions; do
5145 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5146 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5157 if test -n "$AR"; then
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5159 $as_echo "$AR" >&6; }
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5162 $as_echo "no" >&6; }
5166 test -n "$AR" && break
5169 if test -z "$AR"; then
5171 for ac_prog
in ar gar
5173 # Extract the first word of "$ac_prog", so it can be a program name with args.
5174 set dummy
$ac_prog; ac_word
=$2
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5176 $as_echo_n "checking for $ac_word... " >&6; }
5177 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5178 $as_echo_n "(cached) " >&6
5180 if test -n "$ac_ct_AR"; then
5181 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5187 test -z "$as_dir" && as_dir
=.
5188 for ac_exec_ext
in '' $ac_executable_extensions; do
5189 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5190 ac_cv_prog_ac_ct_AR
="$ac_prog"
5191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5200 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5201 if test -n "$ac_ct_AR"; then
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5203 $as_echo "$ac_ct_AR" >&6; }
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5206 $as_echo "no" >&6; }
5210 test -n "$ac_ct_AR" && break
5213 if test "x$ac_ct_AR" = x
; then
5216 case $cross_compiling:$ac_tool_warned in
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5220 ac_tool_warned
=yes ;;
5226 if test -n "$ac_tool_prefix"; then
5227 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5228 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5230 $as_echo_n "checking for $ac_word... " >&6; }
5231 if ${ac_cv_prog_STRIP+:} false
; then :
5232 $as_echo_n "(cached) " >&6
5234 if test -n "$STRIP"; then
5235 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5241 test -z "$as_dir" && as_dir
=.
5242 for ac_exec_ext
in '' $ac_executable_extensions; do
5243 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5244 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5254 STRIP
=$ac_cv_prog_STRIP
5255 if test -n "$STRIP"; then
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5257 $as_echo "$STRIP" >&6; }
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5260 $as_echo "no" >&6; }
5265 if test -z "$ac_cv_prog_STRIP"; then
5267 # Extract the first word of "strip", so it can be a program name with args.
5268 set dummy strip
; ac_word
=$2
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5270 $as_echo_n "checking for $ac_word... " >&6; }
5271 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5272 $as_echo_n "(cached) " >&6
5274 if test -n "$ac_ct_STRIP"; then
5275 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5281 test -z "$as_dir" && as_dir
=.
5282 for ac_exec_ext
in '' $ac_executable_extensions; do
5283 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5284 ac_cv_prog_ac_ct_STRIP
="strip"
5285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5294 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5295 if test -n "$ac_ct_STRIP"; then
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5297 $as_echo "$ac_ct_STRIP" >&6; }
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5300 $as_echo "no" >&6; }
5303 if test "x$ac_ct_STRIP" = x
; then
5306 case $cross_compiling:$ac_tool_warned in
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5310 ac_tool_warned
=yes ;;
5315 STRIP
="$ac_cv_prog_STRIP"
5320 if test -n "$ac_tool_prefix"; then
5321 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5322 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5324 $as_echo_n "checking for $ac_word... " >&6; }
5325 if ${ac_cv_prog_RANLIB+:} false
; then :
5326 $as_echo_n "(cached) " >&6
5328 if test -n "$RANLIB"; then
5329 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5335 test -z "$as_dir" && as_dir
=.
5336 for ac_exec_ext
in '' $ac_executable_extensions; do
5337 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5338 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5348 RANLIB
=$ac_cv_prog_RANLIB
5349 if test -n "$RANLIB"; then
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5351 $as_echo "$RANLIB" >&6; }
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5354 $as_echo "no" >&6; }
5359 if test -z "$ac_cv_prog_RANLIB"; then
5360 ac_ct_RANLIB
=$RANLIB
5361 # Extract the first word of "ranlib", so it can be a program name with args.
5362 set dummy ranlib
; ac_word
=$2
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5364 $as_echo_n "checking for $ac_word... " >&6; }
5365 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5366 $as_echo_n "(cached) " >&6
5368 if test -n "$ac_ct_RANLIB"; then
5369 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5375 test -z "$as_dir" && as_dir
=.
5376 for ac_exec_ext
in '' $ac_executable_extensions; do
5377 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5378 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5388 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5389 if test -n "$ac_ct_RANLIB"; then
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5391 $as_echo "$ac_ct_RANLIB" >&6; }
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5394 $as_echo "no" >&6; }
5397 if test "x$ac_ct_RANLIB" = x
; then
5400 case $cross_compiling:$ac_tool_warned in
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5403 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5404 ac_tool_warned
=yes ;;
5406 RANLIB
=$ac_ct_RANLIB
5409 RANLIB
="$ac_cv_prog_RANLIB"
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5413 $as_echo_n "checking whether ln -s works... " >&6; }
5415 if test "$LN_S" = "ln -s"; then
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5417 $as_echo "yes" >&6; }
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5420 $as_echo "no, using $LN_S" >&6; }
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5424 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5425 if ${ac_cv_path_GREP+:} false
; then :
5426 $as_echo_n "(cached) " >&6
5428 if test -z "$GREP"; then
5429 ac_path_GREP_found
=false
5430 # Loop through the user's path and test for each of PROGNAME-LIST
5431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5432 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5435 test -z "$as_dir" && as_dir
=.
5436 for ac_prog
in grep ggrep
; do
5437 for ac_exec_ext
in '' $ac_executable_extensions; do
5438 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5439 as_fn_executable_p
"$ac_path_GREP" ||
continue
5440 # Check for GNU ac_path_GREP and select it if it is found.
5441 # Check for GNU $ac_path_GREP
5442 case `"$ac_path_GREP" --version 2>&1` in
5444 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5447 $as_echo_n 0123456789 >"conftest.in"
5450 cat "conftest.in" "conftest.in" >"conftest.tmp"
5451 mv "conftest.tmp" "conftest.in"
5452 cp "conftest.in" "conftest.nl"
5453 $as_echo 'GREP' >> "conftest.nl"
5454 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5455 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5456 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5457 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5458 # Best one so far, save it but keep looking for a better one
5459 ac_cv_path_GREP
="$ac_path_GREP"
5460 ac_path_GREP_max
=$ac_count
5462 # 10*(2^10) chars as input seems more than enough
5463 test $ac_count -gt 10 && break
5465 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5468 $ac_path_GREP_found && break 3
5473 if test -z "$ac_cv_path_GREP"; then
5474 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5477 ac_cv_path_GREP
=$GREP
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5482 $as_echo "$ac_cv_path_GREP" >&6; }
5483 GREP
="$ac_cv_path_GREP"
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5487 $as_echo_n "checking for egrep... " >&6; }
5488 if ${ac_cv_path_EGREP+:} false
; then :
5489 $as_echo_n "(cached) " >&6
5491 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5492 then ac_cv_path_EGREP
="$GREP -E"
5494 if test -z "$EGREP"; then
5495 ac_path_EGREP_found
=false
5496 # Loop through the user's path and test for each of PROGNAME-LIST
5497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5498 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5501 test -z "$as_dir" && as_dir
=.
5502 for ac_prog
in egrep; do
5503 for ac_exec_ext
in '' $ac_executable_extensions; do
5504 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5505 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5506 # Check for GNU ac_path_EGREP and select it if it is found.
5507 # Check for GNU $ac_path_EGREP
5508 case `"$ac_path_EGREP" --version 2>&1` in
5510 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5513 $as_echo_n 0123456789 >"conftest.in"
5516 cat "conftest.in" "conftest.in" >"conftest.tmp"
5517 mv "conftest.tmp" "conftest.in"
5518 cp "conftest.in" "conftest.nl"
5519 $as_echo 'EGREP' >> "conftest.nl"
5520 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5521 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5522 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5523 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5524 # Best one so far, save it but keep looking for a better one
5525 ac_cv_path_EGREP
="$ac_path_EGREP"
5526 ac_path_EGREP_max
=$ac_count
5528 # 10*(2^10) chars as input seems more than enough
5529 test $ac_count -gt 10 && break
5531 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5534 $ac_path_EGREP_found && break 3
5539 if test -z "$ac_cv_path_EGREP"; then
5540 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5543 ac_cv_path_EGREP
=$EGREP
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5549 $as_echo "$ac_cv_path_EGREP" >&6; }
5550 EGREP
="$ac_cv_path_EGREP"
5553 # Extract the first word of "ldconfig", so it can be a program name with args.
5554 set dummy ldconfig
; ac_word
=$2
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5556 $as_echo_n "checking for $ac_word... " >&6; }
5557 if ${ac_cv_path_LDCONFIG+:} false
; then :
5558 $as_echo_n "(cached) " >&6
5562 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5566 for as_dir
in /sbin
/usr
/sbin
$PATH
5569 test -z "$as_dir" && as_dir
=.
5570 for ac_exec_ext
in '' $ac_executable_extensions; do
5571 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5572 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5580 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5584 LDCONFIG
=$ac_cv_path_LDCONFIG
5585 if test -n "$LDCONFIG"; then
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5587 $as_echo "$LDCONFIG" >&6; }
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5590 $as_echo "no" >&6; }
5594 for ac_prog
in msgfmt
5596 # Extract the first word of "$ac_prog", so it can be a program name with args.
5597 set dummy
$ac_prog; ac_word
=$2
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5599 $as_echo_n "checking for $ac_word... " >&6; }
5600 if ${ac_cv_prog_MSGFMT+:} false
; then :
5601 $as_echo_n "(cached) " >&6
5603 if test -n "$MSGFMT"; then
5604 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5610 test -z "$as_dir" && as_dir
=.
5611 for ac_exec_ext
in '' $ac_executable_extensions; do
5612 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5613 ac_cv_prog_MSGFMT
="$ac_prog"
5614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5623 MSGFMT
=$ac_cv_prog_MSGFMT
5624 if test -n "$MSGFMT"; then
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5626 $as_echo "$MSGFMT" >&6; }
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5629 $as_echo "no" >&6; }
5633 test -n "$MSGFMT" && break
5635 test -n "$MSGFMT" || MSGFMT
="false"
5637 if ${ac_tool_prefix+:} false
; then :
5638 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5639 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5641 $as_echo_n "checking for $ac_word... " >&6; }
5642 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5643 $as_echo_n "(cached) " >&6
5645 if test -n "$PKG_CONFIG"; then
5646 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5652 test -z "$as_dir" && as_dir
=.
5653 for ac_exec_ext
in '' $ac_executable_extensions; do
5654 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5655 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5665 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5666 if test -n "$PKG_CONFIG"; then
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5668 $as_echo "$PKG_CONFIG" >&6; }
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5671 $as_echo "no" >&6; }
5676 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5677 if test "x$cross_compiling" = xyes
; then :
5680 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5681 # Extract the first word of "pkg-config", so it can be a program name with args.
5682 set dummy pkg-config
; ac_word
=$2
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5684 $as_echo_n "checking for $ac_word... " >&6; }
5685 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5686 $as_echo_n "(cached) " >&6
5688 if test -n "$PKG_CONFIG"; then
5689 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5695 test -z "$as_dir" && as_dir
=.
5696 for ac_exec_ext
in '' $ac_executable_extensions; do
5697 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5698 ac_cv_prog_PKG_CONFIG
="pkg-config"
5699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5708 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5709 if test -n "$PKG_CONFIG"; then
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5711 $as_echo "$PKG_CONFIG" >&6; }
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5714 $as_echo "no" >&6; }
5720 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5723 if test "x$enable_maintainer_mode" != "xyes"
5730 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5731 for ac_prog
in fontforge
5733 # Extract the first word of "$ac_prog", so it can be a program name with args.
5734 set dummy
$ac_prog; ac_word
=$2
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5736 $as_echo_n "checking for $ac_word... " >&6; }
5737 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5738 $as_echo_n "(cached) " >&6
5740 if test -n "$FONTFORGE"; then
5741 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5747 test -z "$as_dir" && as_dir
=.
5748 for ac_exec_ext
in '' $ac_executable_extensions; do
5749 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5750 ac_cv_prog_FONTFORGE
="$ac_prog"
5751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5760 FONTFORGE
=$ac_cv_prog_FONTFORGE
5761 if test -n "$FONTFORGE"; then
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5763 $as_echo "$FONTFORGE" >&6; }
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5766 $as_echo "no" >&6; }
5770 test -n "$FONTFORGE" && break
5772 test -n "$FONTFORGE" || FONTFORGE
="false"
5774 for ac_prog
in rsvg-convert rsvg
5776 # Extract the first word of "$ac_prog", so it can be a program name with args.
5777 set dummy
$ac_prog; ac_word
=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779 $as_echo_n "checking for $ac_word... " >&6; }
5780 if ${ac_cv_prog_RSVG+:} false
; then :
5781 $as_echo_n "(cached) " >&6
5783 if test -n "$RSVG"; then
5784 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5790 test -z "$as_dir" && as_dir
=.
5791 for ac_exec_ext
in '' $ac_executable_extensions; do
5792 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5793 ac_cv_prog_RSVG
="$ac_prog"
5794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5803 RSVG
=$ac_cv_prog_RSVG
5804 if test -n "$RSVG"; then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5806 $as_echo "$RSVG" >&6; }
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809 $as_echo "no" >&6; }
5813 test -n "$RSVG" && break
5815 test -n "$RSVG" || RSVG
="false"
5817 for ac_prog
in convert
5819 # Extract the first word of "$ac_prog", so it can be a program name with args.
5820 set dummy
$ac_prog; ac_word
=$2
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5822 $as_echo_n "checking for $ac_word... " >&6; }
5823 if ${ac_cv_prog_CONVERT+:} false
; then :
5824 $as_echo_n "(cached) " >&6
5826 if test -n "$CONVERT"; then
5827 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5833 test -z "$as_dir" && as_dir
=.
5834 for ac_exec_ext
in '' $ac_executable_extensions; do
5835 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5836 ac_cv_prog_CONVERT
="$ac_prog"
5837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5846 CONVERT
=$ac_cv_prog_CONVERT
5847 if test -n "$CONVERT"; then
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5849 $as_echo "$CONVERT" >&6; }
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5852 $as_echo "no" >&6; }
5856 test -n "$CONVERT" && break
5858 test -n "$CONVERT" || CONVERT
="false"
5860 for ac_prog
in icotool
5862 # Extract the first word of "$ac_prog", so it can be a program name with args.
5863 set dummy
$ac_prog; ac_word
=$2
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5865 $as_echo_n "checking for $ac_word... " >&6; }
5866 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5867 $as_echo_n "(cached) " >&6
5869 if test -n "$ICOTOOL"; then
5870 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5876 test -z "$as_dir" && as_dir
=.
5877 for ac_exec_ext
in '' $ac_executable_extensions; do
5878 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5879 ac_cv_prog_ICOTOOL
="$ac_prog"
5880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5889 ICOTOOL
=$ac_cv_prog_ICOTOOL
5890 if test -n "$ICOTOOL"; then
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5892 $as_echo "$ICOTOOL" >&6; }
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5895 $as_echo "no" >&6; }
5899 test -n "$ICOTOOL" && break
5901 test -n "$ICOTOOL" || ICOTOOL
="false"
5903 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5904 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5906 if test "$CONVERT" = false
5908 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5911 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5912 convert_version
=`convert --version | head -n1`
5913 if test "x$convert_version" != "x"
5915 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5916 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5917 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5922 if test "$CONVERT" = false
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5925 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5926 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5929 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5933 if test "$ICOTOOL" = false
5935 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5938 $as_echo_n "checking for recent enough icotool... " >&6; }
5939 icotool_version
=`icotool --version | head -n1`
5940 if test "x$icotool_version" != "x"
5942 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5943 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5944 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5947 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5950 if test "$ICOTOOL" = false
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5953 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5954 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5957 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5963 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5966 test "x$with_gettext" != xno || MSGFMT
=false
5967 if test "$MSGFMT" != "false"
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5970 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5971 cat >conftest.po
<<EOF
5977 if $MSGFMT -o /dev
/null conftest.po
2>&5
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5980 $as_echo "yes" >&6; }
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5983 $as_echo "no" >&6; }
5987 if test "$MSGFMT" = false
; then :
5988 case "x$with_gettext" in
5989 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5991 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5992 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5998 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5999 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6000 $as_echo_n "(cached) " >&6
6002 ac_check_lib_save_LIBS
=$LIBS
6004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6005 /* end confdefs.h. */
6007 /* Override any GCC internal prototype to avoid an error.
6008 Use char because int might match the return type of a GCC
6009 builtin and then its argument prototype would still apply. */
6013 char i386_set_ldt ();
6017 return i386_set_ldt ();
6022 if ac_fn_c_try_link
"$LINENO"; then :
6023 ac_cv_lib_i386_i386_set_ldt
=yes
6025 ac_cv_lib_i386_i386_set_ldt
=no
6027 rm -f core conftest.err conftest.
$ac_objext \
6028 conftest
$ac_exeext conftest.
$ac_ext
6029 LIBS
=$ac_check_lib_save_LIBS
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6032 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6033 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6034 cat >>confdefs.h
<<_ACEOF
6035 #define HAVE_LIBI386 1
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6043 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6044 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6045 $as_echo_n "(cached) " >&6
6047 ac_check_lib_save_LIBS
=$LIBS
6048 LIBS
="-lossaudio $LIBS"
6049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6050 /* end confdefs.h. */
6052 /* Override any GCC internal prototype to avoid an error.
6053 Use char because int might match the return type of a GCC
6054 builtin and then its argument prototype would still apply. */
6062 return _oss_ioctl ();
6067 if ac_fn_c_try_link
"$LINENO"; then :
6068 ac_cv_lib_ossaudio__oss_ioctl
=yes
6070 ac_cv_lib_ossaudio__oss_ioctl
=no
6072 rm -f core conftest.err conftest.
$ac_objext \
6073 conftest
$ac_exeext conftest.
$ac_ext
6074 LIBS
=$ac_check_lib_save_LIBS
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6077 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6078 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6079 cat >>confdefs.h
<<_ACEOF
6080 #define HAVE_LIBOSSAUDIO 1
6083 LIBS
="-lossaudio $LIBS"
6092 # Check whether --enable-largefile was given.
6093 if test "${enable_largefile+set}" = set; then :
6094 enableval
=$enable_largefile;
6097 if test "$enable_largefile" != no
; then
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6100 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6101 if ${ac_cv_sys_largefile_CC+:} false
; then :
6102 $as_echo_n "(cached) " >&6
6104 ac_cv_sys_largefile_CC
=no
6105 if test "$GCC" != yes; then
6108 # IRIX 6.2 and later do not support large files by default,
6109 # so use the C compiler's -n32 option if that helps.
6110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6111 /* end confdefs.h. */
6112 #include <sys/types.h>
6113 /* Check that off_t can represent 2**63 - 1 correctly.
6114 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6115 since some C++ compilers masquerading as C compilers
6116 incorrectly reject 9223372036854775807. */
6117 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6118 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6119 && LARGE_OFF_T % 2147483647 == 1)
6129 if ac_fn_c_try_compile
"$LINENO"; then :
6132 rm -f core conftest.err conftest.
$ac_objext
6134 if ac_fn_c_try_compile
"$LINENO"; then :
6135 ac_cv_sys_largefile_CC
=' -n32'; break
6137 rm -f core conftest.err conftest.
$ac_objext
6141 rm -f conftest.
$ac_ext
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6145 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6146 if test "$ac_cv_sys_largefile_CC" != no
; then
6147 CC
=$CC$ac_cv_sys_largefile_CC
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6151 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6152 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6153 $as_echo_n "(cached) " >&6
6156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6157 /* end confdefs.h. */
6158 #include <sys/types.h>
6159 /* Check that off_t can represent 2**63 - 1 correctly.
6160 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6161 since some C++ compilers masquerading as C compilers
6162 incorrectly reject 9223372036854775807. */
6163 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6164 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6165 && LARGE_OFF_T % 2147483647 == 1)
6175 if ac_fn_c_try_compile
"$LINENO"; then :
6176 ac_cv_sys_file_offset_bits
=no
; break
6178 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6180 /* end confdefs.h. */
6181 #define _FILE_OFFSET_BITS 64
6182 #include <sys/types.h>
6183 /* Check that off_t can represent 2**63 - 1 correctly.
6184 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6185 since some C++ compilers masquerading as C compilers
6186 incorrectly reject 9223372036854775807. */
6187 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6188 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6189 && LARGE_OFF_T % 2147483647 == 1)
6199 if ac_fn_c_try_compile
"$LINENO"; then :
6200 ac_cv_sys_file_offset_bits
=64; break
6202 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6203 ac_cv_sys_file_offset_bits
=unknown
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6208 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6209 case $ac_cv_sys_file_offset_bits in #(
6212 cat >>confdefs.h
<<_ACEOF
6213 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6218 if test $ac_cv_sys_file_offset_bits = unknown
; then
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6220 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6221 if ${ac_cv_sys_large_files+:} false
; then :
6222 $as_echo_n "(cached) " >&6
6225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6226 /* end confdefs.h. */
6227 #include <sys/types.h>
6228 /* Check that off_t can represent 2**63 - 1 correctly.
6229 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6230 since some C++ compilers masquerading as C compilers
6231 incorrectly reject 9223372036854775807. */
6232 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6233 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6234 && LARGE_OFF_T % 2147483647 == 1)
6244 if ac_fn_c_try_compile
"$LINENO"; then :
6245 ac_cv_sys_large_files
=no
; break
6247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6249 /* end confdefs.h. */
6250 #define _LARGE_FILES 1
6251 #include <sys/types.h>
6252 /* Check that off_t can represent 2**63 - 1 correctly.
6253 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6254 since some C++ compilers masquerading as C compilers
6255 incorrectly reject 9223372036854775807. */
6256 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6257 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6258 && LARGE_OFF_T % 2147483647 == 1)
6268 if ac_fn_c_try_compile
"$LINENO"; then :
6269 ac_cv_sys_large_files
=1; break
6271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6272 ac_cv_sys_large_files
=unknown
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6277 $as_echo "$ac_cv_sys_large_files" >&6; }
6278 case $ac_cv_sys_large_files in #(
6281 cat >>confdefs.h
<<_ACEOF
6282 #define _LARGE_FILES $ac_cv_sys_large_files
6294 ac_cpp
='$CPP $CPPFLAGS'
6295 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6296 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6297 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6299 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6300 # On Suns, sometimes $CPP names a directory.
6301 if test -n "$CPP" && test -d "$CPP"; then
6304 if test -z "$CPP"; then
6305 if ${ac_cv_prog_CPP+:} false
; then :
6306 $as_echo_n "(cached) " >&6
6308 # Double quotes because CPP needs to be expanded
6309 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6312 for ac_c_preproc_warn_flag
in '' yes
6314 # Use a header file that comes with gcc, so configuring glibc
6315 # with a fresh cross-compiler works.
6316 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6317 # <limits.h> exists even on freestanding compilers.
6318 # On the NeXT, cc -E runs the code through the compiler's parser,
6319 # not just through cpp. "Syntax error" is here to catch this case.
6320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6321 /* end confdefs.h. */
6323 # include <limits.h>
6325 # include <assert.h>
6329 if ac_fn_c_try_cpp
"$LINENO"; then :
6332 # Broken: fails on valid input.
6335 rm -f conftest.err conftest.i conftest.
$ac_ext
6337 # OK, works on sane cases. Now check whether nonexistent headers
6338 # can be detected and how.
6339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6340 /* end confdefs.h. */
6341 #include <ac_nonexistent.h>
6343 if ac_fn_c_try_cpp
"$LINENO"; then :
6344 # Broken: success on invalid input.
6347 # Passes both tests.
6351 rm -f conftest.err conftest.i conftest.
$ac_ext
6354 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6355 rm -f conftest.i conftest.err conftest.
$ac_ext
6356 if $ac_preproc_ok; then :
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6369 $as_echo "$CPP" >&6; }
6371 for ac_c_preproc_warn_flag
in '' yes
6373 # Use a header file that comes with gcc, so configuring glibc
6374 # with a fresh cross-compiler works.
6375 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6376 # <limits.h> exists even on freestanding compilers.
6377 # On the NeXT, cc -E runs the code through the compiler's parser,
6378 # not just through cpp. "Syntax error" is here to catch this case.
6379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6380 /* end confdefs.h. */
6382 # include <limits.h>
6384 # include <assert.h>
6388 if ac_fn_c_try_cpp
"$LINENO"; then :
6391 # Broken: fails on valid input.
6394 rm -f conftest.err conftest.i conftest.
$ac_ext
6396 # OK, works on sane cases. Now check whether nonexistent headers
6397 # can be detected and how.
6398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6399 /* end confdefs.h. */
6400 #include <ac_nonexistent.h>
6402 if ac_fn_c_try_cpp
"$LINENO"; then :
6403 # Broken: success on invalid input.
6406 # Passes both tests.
6410 rm -f conftest.err conftest.i conftest.
$ac_ext
6413 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6414 rm -f conftest.i conftest.err conftest.
$ac_ext
6415 if $ac_preproc_ok; then :
6418 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6420 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6421 See \`config.log' for more details" "$LINENO" 5; }
6425 ac_cpp
='$CPP $CPPFLAGS'
6426 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6427 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6428 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6432 $as_echo_n "checking for ANSI C header files... " >&6; }
6433 if ${ac_cv_header_stdc+:} false
; then :
6434 $as_echo_n "(cached) " >&6
6436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6437 /* end confdefs.h. */
6451 if ac_fn_c_try_compile
"$LINENO"; then :
6452 ac_cv_header_stdc
=yes
6454 ac_cv_header_stdc
=no
6456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6458 if test $ac_cv_header_stdc = yes; then
6459 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6461 /* end confdefs.h. */
6465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6466 $EGREP "memchr" >/dev
/null
2>&1; then :
6469 ac_cv_header_stdc
=no
6475 if test $ac_cv_header_stdc = yes; then
6476 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6478 /* end confdefs.h. */
6482 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6483 $EGREP "free" >/dev
/null
2>&1; then :
6486 ac_cv_header_stdc
=no
6492 if test $ac_cv_header_stdc = yes; then
6493 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6494 if test "$cross_compiling" = yes; then :
6497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6498 /* end confdefs.h. */
6501 #if ((' ' & 0x0FF) == 0x020)
6502 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6503 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6505 # define ISLOWER(c) \
6506 (('a' <= (c) && (c) <= 'i') \
6507 || ('j' <= (c) && (c) <= 'r') \
6508 || ('s' <= (c) && (c) <= 'z'))
6509 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6512 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6517 for (i = 0; i < 256; i++)
6518 if (XOR (islower (i), ISLOWER (i))
6519 || toupper (i) != TOUPPER (i))
6524 if ac_fn_c_try_run
"$LINENO"; then :
6527 ac_cv_header_stdc
=no
6529 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6530 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6536 $as_echo "$ac_cv_header_stdc" >&6; }
6537 if test $ac_cv_header_stdc = yes; then
6539 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6543 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6544 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6545 inttypes.h stdint.h unistd.h
6547 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6548 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6550 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6551 cat >>confdefs.h
<<_ACEOF
6552 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6562 ApplicationServices
/ApplicationServices.h \
6563 AudioToolbox
/AudioConverter.h \
6564 AudioUnit
/AudioUnit.h \
6565 AudioUnit
/AudioComponent.h \
6568 CoreAudio
/CoreAudio.h \
6569 CoreServices
/CoreServices.h \
6570 DiskArbitration
/DiskArbitration.h \
6572 IOKit
/hid
/IOHIDLib.h \
6575 QuickTime
/ImageCompression.h \
6576 Security
/Security.h \
6627 netinet
/in_systm.h \
6689 valgrind
/memcheck.h \
6690 valgrind
/valgrind.h \
6694 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6695 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6696 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6697 cat >>confdefs.h
<<_ACEOF
6698 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6706 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6707 if ${ac_cv_header_stat_broken+:} false
; then :
6708 $as_echo_n "(cached) " >&6
6710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6711 /* end confdefs.h. */
6712 #include <sys/types.h>
6713 #include <sys/stat.h>
6715 #if defined S_ISBLK && defined S_IFDIR
6716 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6719 #if defined S_ISBLK && defined S_IFCHR
6720 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6723 #if defined S_ISLNK && defined S_IFREG
6724 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6727 #if defined S_ISSOCK && defined S_IFREG
6728 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6732 if ac_fn_c_try_compile
"$LINENO"; then :
6733 ac_cv_header_stat_broken
=no
6735 ac_cv_header_stat_broken
=yes
6737 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6740 $as_echo "$ac_cv_header_stat_broken" >&6; }
6741 if test $ac_cv_header_stat_broken = yes; then
6743 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6749 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.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_SYS_PARAM_H
6754 # include <sys/param.h>
6757 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6758 cat >>confdefs.h
<<_ACEOF
6759 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6774 netinet
/if_ether.h \
6775 netinet
/if_inarp.h \
6784 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6785 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6786 #ifdef HAVE_SYS_SOCKET_H
6787 # include <sys/socket.h>
6789 #ifdef HAVE_SYS_SOCKETVAR_H
6790 # include <sys/socketvar.h>
6792 #ifdef HAVE_NET_ROUTE_H
6793 # include <net/route.h>
6795 #ifdef HAVE_NETINET_IN_H
6796 # include <netinet/in.h>
6798 #ifdef HAVE_NETINET_IN_SYSTM_H
6799 # include <netinet/in_systm.h>
6801 #ifdef HAVE_NET_IF_H
6802 # include <net/if.h>
6804 #ifdef HAVE_NETINET_IP_H
6805 # include <netinet/ip.h>
6808 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6809 cat >>confdefs.h
<<_ACEOF
6810 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6818 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6820 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6821 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6825 #ifdef HAVE_SYS_SOCKET_H
6826 # include <sys/socket.h>
6828 #ifdef HAVE_SYS_SOCKETVAR_H
6829 # include <sys/socketvar.h>
6831 #ifdef HAVE_SYS_TIMEOUT_H
6832 # include <sys/timeout.h>
6834 #ifdef HAVE_NETINET_IN_H
6835 # include <netinet/in.h>
6837 #ifdef HAVE_NETINET_IN_SYSTM_H
6838 # include <netinet/in_systm.h>
6840 #ifdef HAVE_NETINET_IP_H
6841 # include <netinet/ip.h>
6843 #ifdef HAVE_NETINET_IP_VAR_H
6844 # include <netinet/ip_var.h>
6846 #ifdef HAVE_NETINET_IP_ICMP_H
6847 # include <netinet/ip_icmp.h>
6849 #ifdef HAVE_NETINET_UDP_H
6850 # include <netinet/udp.h>
6852 #ifdef HAVE_NETINET_TCP_H
6853 # include <netinet/tcp.h>
6855 #ifdef HAVE_NETINET_TCP_TIMER_H
6856 #include <netinet/tcp_timer.h>
6859 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6860 cat >>confdefs.h
<<_ACEOF
6861 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6869 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6871 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6872 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6873 #ifdef HAVE_ASM_TYPES_H
6874 # include <asm/types.h>
6876 #ifdef HAVE_SYS_SOCKET_H
6877 # include <sys/socket.h>
6879 #ifdef HAVE_LINUX_TYPES_H
6880 # include <linux/types.h>
6883 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6884 cat >>confdefs.h
<<_ACEOF
6885 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6893 for ac_header
in mach-o
/dyld_images.h
6895 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6896 # include <stdbool.h>
6898 #ifdef HAVE_STDINT_H
6899 # include <stdint.h>
6902 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6903 cat >>confdefs.h
<<_ACEOF
6904 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6912 for ac_header
in resolv.h
6914 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6915 #ifdef HAVE_SYS_SOCKET_H
6916 # include <sys/socket.h>
6918 #ifdef HAVE_NETINET_IN_H
6919 # include <netinet/in.h>
6921 #ifdef HAVE_ARPA_NAMESER_H
6922 # include <arpa/nameser.h>
6925 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6926 cat >>confdefs.h
<<_ACEOF
6927 #define HAVE_RESOLV_H 1
6935 for ac_header
in ifaddrs.h
6937 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6939 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6940 cat >>confdefs.h
<<_ACEOF
6941 #define HAVE_IFADDRS_H 1
6949 for ac_header
in sys
/ucontext.h
6951 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6953 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6954 cat >>confdefs.h
<<_ACEOF
6955 #define HAVE_SYS_UCONTEXT_H 1
6963 for ac_header
in sys
/thr.h
6965 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6966 #ifdef HAVE_SYS_UCONTEXT_H
6967 #include <sys/ucontext.h>
6970 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6971 cat >>confdefs.h
<<_ACEOF
6972 #define HAVE_SYS_THR_H 1
6980 for ac_header
in pthread_np.h
6982 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6983 #include <pthread.h>
6986 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6987 cat >>confdefs.h
<<_ACEOF
6988 #define HAVE_PTHREAD_NP_H 1
6996 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6998 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6999 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7000 #include <sys/time.h>
7002 #include <sys/types.h>
7003 #ifdef HAVE_ASM_TYPES_H
7004 #include <asm/types.h>
7007 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7008 cat >>confdefs.h
<<_ACEOF
7009 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7017 for ac_header
in libprocstat.h
7019 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7020 #include <sys/param.h>
7022 #ifdef HAVE_SYS_QUEUE_H
7023 #include <sys/queue.h>
7025 #ifdef HAVE_SYS_SOCKET_H
7026 #include <sys/socket.h>
7029 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7030 cat >>confdefs.h
<<_ACEOF
7031 #define HAVE_LIBPROCSTAT_H 1
7040 dlldir
="\${libdir}/wine"
7044 DLLFLAGS
="-D_REENTRANT"
7053 STATIC_IMPLIBEXT
="def.a"
7054 # Extract the first word of "ldd", so it can be a program name with args.
7055 set dummy ldd
; ac_word
=$2
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7057 $as_echo_n "checking for $ac_word... " >&6; }
7058 if ${ac_cv_path_LDD+:} false
; then :
7059 $as_echo_n "(cached) " >&6
7063 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7067 as_dummy
="/sbin:/usr/sbin:$PATH"
7068 for as_dir
in $as_dummy
7071 test -z "$as_dir" && as_dir
=.
7072 for ac_exec_ext
in '' $ac_executable_extensions; do
7073 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7074 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7082 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7087 if test -n "$LDD"; then
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7089 $as_echo "$LDD" >&6; }
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7092 $as_echo "no" >&6; }
7096 if test -n "$ac_tool_prefix"; then
7097 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7098 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7100 $as_echo_n "checking for $ac_word... " >&6; }
7101 if ${ac_cv_prog_READELF+:} false
; then :
7102 $as_echo_n "(cached) " >&6
7104 if test -n "$READELF"; then
7105 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7111 test -z "$as_dir" && as_dir
=.
7112 for ac_exec_ext
in '' $ac_executable_extensions; do
7113 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7114 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7124 READELF
=$ac_cv_prog_READELF
7125 if test -n "$READELF"; then
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7127 $as_echo "$READELF" >&6; }
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7130 $as_echo "no" >&6; }
7135 if test -z "$ac_cv_prog_READELF"; then
7136 ac_ct_READELF
=$READELF
7137 # Extract the first word of "readelf", so it can be a program name with args.
7138 set dummy readelf
; ac_word
=$2
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7140 $as_echo_n "checking for $ac_word... " >&6; }
7141 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7142 $as_echo_n "(cached) " >&6
7144 if test -n "$ac_ct_READELF"; then
7145 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7151 test -z "$as_dir" && as_dir
=.
7152 for ac_exec_ext
in '' $ac_executable_extensions; do
7153 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7154 ac_cv_prog_ac_ct_READELF
="readelf"
7155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7164 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7165 if test -n "$ac_ct_READELF"; then
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7167 $as_echo "$ac_ct_READELF" >&6; }
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7170 $as_echo "no" >&6; }
7173 if test "x$ac_ct_READELF" = x
; then
7176 case $cross_compiling:$ac_tool_warned in
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7179 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7180 ac_tool_warned
=yes ;;
7182 READELF
=$ac_ct_READELF
7185 READELF
="$ac_cv_prog_READELF"
7188 wine_rules_file
=conf$
$rules.
make
7189 rm -f $wine_rules_file
7191 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7192 ALL_TEST_RESOURCES
=""
7195 wine_fn_append_file
()
7197 as_fn_append
$1 " \\$as_nl $2"
7200 wine_fn_ignore_file
()
7203 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7204 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7205 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7209 wine_fn_append_rule
()
7211 $as_echo "$1" >>$wine_rules_file
7216 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7219 wine_fn_depend_rules
()
7221 wine_fn_append_rule \
7222 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7223 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7224 depend: $ac_dir/depend
7225 .PHONY: $ac_dir/depend
7226 $ac_dir/depend: \$(MAKEDEP) dummy
7227 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7230 wine_fn_pot_rules
()
7232 test "x$with_gettextpo" = xyes ||
return
7234 if wine_fn_has_flag mc
7236 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7237 wine_fn_append_rule \
7238 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7239 @cd $ac_dir && \$(MAKE) msg.pot
7240 $ac_dir/msg.pot: tools/wmc include"
7242 if wine_fn_has_flag po
7244 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7245 wine_fn_append_rule \
7246 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7247 @cd $ac_dir && \$(MAKE) rsrc.pot
7248 $ac_dir/rsrc.pot: tools/wrc include"
7252 wine_fn_all_rules
()
7254 wine_fn_depend_rules
7255 wine_fn_append_rule \
7258 $ac_dir: $ac_dir/Makefile dummy
7259 @cd $ac_dir && \$(MAKE)"
7262 wine_fn_install_rules
()
7264 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7266 wine_fn_append_rule \
7267 ".PHONY: $ac_dir/install $ac_dir/uninstall
7268 $ac_dir/install:: $ac_dir
7269 @cd $ac_dir && \$(MAKE) install
7270 $ac_dir/uninstall:: $ac_dir/Makefile
7271 @cd $ac_dir && \$(MAKE) uninstall
7272 install:: $ac_dir/install
7273 __uninstall__: $ac_dir/uninstall"
7275 if wine_fn_has_flag install-lib
7277 wine_fn_append_rule \
7278 ".PHONY: $ac_dir/install-lib
7279 $ac_dir/install-lib:: $ac_dir
7280 @cd $ac_dir && \$(MAKE) install-lib
7281 install-lib:: $ac_dir/install-lib"
7284 if wine_fn_has_flag install-dev
7286 wine_fn_append_rule \
7287 ".PHONY: $ac_dir/install-dev
7288 $ac_dir/install-dev:: $ac_dir
7289 @cd $ac_dir && \$(MAKE) install-dev
7290 install-dev:: $ac_dir/install-dev"
7294 wine_fn_clean_rules
()
7297 ac_extraclean
="$ac_dir/Makefile"
7298 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7300 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7303 if wine_fn_has_flag clean
7305 wine_fn_append_rule \
7306 "__clean__: $ac_dir/clean
7307 .PHONY: $ac_dir/clean
7308 $ac_dir/clean: $ac_dir/Makefile
7309 @cd $ac_dir && \$(MAKE) clean
7310 \$(RM) $ac_extraclean"
7312 wine_fn_append_rule \
7313 "__clean__: $ac_dir/clean
7314 .PHONY: $ac_dir/clean
7315 $ac_dir/clean: dummy
7316 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7320 wine_fn_disabled_rules
()
7323 ac_extraclean
="$ac_dir/Makefile"
7324 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7326 wine_fn_append_rule \
7327 "__clean__: $ac_dir/clean
7328 .PHONY: $ac_dir/clean
7329 $ac_dir/clean: dummy
7330 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7333 wine_fn_config_makefile
()
7339 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7340 wine_fn_disabled_rules
; return
7343 wine_fn_install_rules
7347 wine_fn_config_lib
()
7351 ac_dir
=dlls
/$ac_name
7354 if test "x$enable_tools" = xno
; then :
7357 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7362 wine_fn_append_rule \
7363 ".PHONY: $ac_dir/install $ac_dir/uninstall
7364 $ac_dir/install:: $ac_dir
7365 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7367 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7368 install install-dev:: $ac_dir/install
7369 __uninstall__: $ac_dir/uninstall
7370 __builddeps__: $ac_dir
7374 wine_fn_config_dll
()
7377 ac_dir
=dlls
/$ac_name
7380 ac_implib
=${4:-$ac_name}
7381 ac_file
=$ac_dir/lib
$ac_implib
7386 if test "x$enable_tools" = xno
; then :
7389 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7392 *16) ac_implibflags
=" -m16" ;;
7394 *) ac_dll
=$ac_dll.dll
;;
7398 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7399 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7400 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7401 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7403 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7404 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7406 wine_fn_depend_rules
7407 wine_fn_clean_rules
$ac_clean
7409 wine_fn_disabled_rules
$ac_clean
7414 wine_fn_clean_rules
$ac_clean
7415 wine_fn_append_rule \
7416 "$ac_dir: __builddeps__
7417 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7418 @cd $ac_dir && \$(MAKE) \$@
7419 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7420 install install-lib:: $ac_dir/install-lib
7421 __uninstall__: $ac_dir/uninstall"
7422 if test -n "$DLLEXT"
7424 wine_fn_append_rule \
7425 "$ac_dir/install-lib:: $ac_dir
7426 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7427 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7429 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7431 wine_fn_append_rule \
7432 "$ac_dir/install-lib:: $ac_dir
7433 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7435 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7441 if wine_fn_has_flag staticimplib
7443 wine_fn_append_rule \
7444 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7445 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7446 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7447 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7448 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7449 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7450 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7451 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7452 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7454 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7455 install install-dev:: $ac_dir/install-dev
7456 __uninstall__: $ac_dir/uninstall"
7458 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7460 wine_fn_append_rule \
7461 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7462 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7464 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7467 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7469 wine_fn_append_rule \
7470 "__builddeps__: $ac_file.cross.a
7471 $ac_file.cross.a: $ac_dir/Makefile dummy
7472 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7475 elif wine_fn_has_flag implib
7477 wine_fn_append_rule \
7478 "__builddeps__: $ac_file.$IMPLIBEXT
7479 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7480 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7481 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7482 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7483 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7484 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7485 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7487 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7488 install install-dev:: $ac_dir/install-dev
7489 __uninstall__: $ac_dir/uninstall"
7490 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7492 wine_fn_append_rule \
7493 "__builddeps__: $ac_file.cross.a
7494 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7495 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7498 if test "$ac_name" != "$ac_implib"
7500 wine_fn_append_rule \
7501 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7502 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7503 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7505 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7506 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7507 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7509 wine_fn_append_rule \
7510 "__builddeps__: dlls/lib$ac_implib.cross.a
7511 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7512 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7514 \$(RM) dlls/lib$ac_implib.cross.a"
7515 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7521 wine_fn_config_program
()
7524 ac_dir
=programs
/$ac_name
7531 *) ac_program
=$ac_program.exe
;;
7535 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7536 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7537 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7538 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7540 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7541 wine_fn_disabled_rules
$ac_clean; return
7545 wine_fn_clean_rules
$ac_clean
7546 wine_fn_append_rule
"$ac_dir: __builddeps__"
7549 wine_fn_has_flag
install ||
return
7550 wine_fn_append_rule \
7551 ".PHONY: $ac_dir/install $ac_dir/uninstall
7552 install install-lib:: $ac_dir/install
7553 __uninstall__: $ac_dir/uninstall"
7555 if test -n "$DLLEXT"
7557 wine_fn_append_rule \
7558 "$ac_dir/install:: $ac_dir
7559 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7560 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7562 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7564 if test -z "$with_wine64" && wine_fn_has_flag installbin
7566 wine_fn_append_rule \
7567 "$ac_dir/install:: __tooldeps__
7568 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7570 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7573 wine_fn_append_rule \
7574 "$ac_dir/install:: $ac_dir
7575 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7577 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7580 if test -z "$with_wine64" && wine_fn_has_flag manpage
7582 wine_fn_append_rule \
7583 "$ac_dir/install:: $ac_dir
7584 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7586 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7590 wine_fn_config_test
()
7597 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7598 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7600 if test "x$enable_tests" = xno
; then :
7601 wine_fn_disabled_rules
$ac_clean; return
7604 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7606 wine_fn_clean_rules
$ac_clean
7608 wine_fn_append_rule \
7609 "$ac_dir: programs/winetest/Makefile __builddeps__
7610 programs/winetest: $ac_dir
7611 check test: $ac_dir/test
7612 .PHONY: $ac_dir/test
7614 @cd $ac_dir && \$(MAKE) test
7616 \$(RM) $ac_dir/*.ok"
7618 if test -n "$CROSSTARGET"
7620 wine_fn_append_rule \
7621 "crosstest: $ac_dir/crosstest
7622 .PHONY: $ac_dir/crosstest
7623 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7624 @cd $ac_dir && \$(MAKE) crosstest"
7628 wine_fn_config_tool
()
7632 if test "x$enable_tools" = xno
; then :
7637 wine_fn_install_rules
7640 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7641 wine_fn_append_rule
"$ac_dir: libs/port"
7643 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7647 wine_fn_config_symlink
()
7650 if test "x$1" = "x-d"
7656 wine_fn_append_rule \
7658 @./config.status \$@
7661 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7662 test -n "$ac_linkdir" ||
return
7663 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7667 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7668 loader_programs
="$wine_binary wine-installed"
7669 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7674 install install-lib:: wine-installed
7675 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7678 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7684 if test -n "$ac_tool_prefix"; then
7685 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7686 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7688 $as_echo_n "checking for $ac_word... " >&6; }
7689 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7690 $as_echo_n "(cached) " >&6
7692 if test -n "$DLLTOOL"; then
7693 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7699 test -z "$as_dir" && as_dir
=.
7700 for ac_exec_ext
in '' $ac_executable_extensions; do
7701 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7702 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7712 DLLTOOL
=$ac_cv_prog_DLLTOOL
7713 if test -n "$DLLTOOL"; then
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7715 $as_echo "$DLLTOOL" >&6; }
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7718 $as_echo "no" >&6; }
7723 if test -z "$ac_cv_prog_DLLTOOL"; then
7724 ac_ct_DLLTOOL
=$DLLTOOL
7725 # Extract the first word of "dlltool", so it can be a program name with args.
7726 set dummy dlltool
; ac_word
=$2
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7728 $as_echo_n "checking for $ac_word... " >&6; }
7729 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7730 $as_echo_n "(cached) " >&6
7732 if test -n "$ac_ct_DLLTOOL"; then
7733 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7739 test -z "$as_dir" && as_dir
=.
7740 for ac_exec_ext
in '' $ac_executable_extensions; do
7741 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7742 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7752 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7753 if test -n "$ac_ct_DLLTOOL"; then
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7755 $as_echo "$ac_ct_DLLTOOL" >&6; }
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7758 $as_echo "no" >&6; }
7761 if test "x$ac_ct_DLLTOOL" = x
; then
7764 case $cross_compiling:$ac_tool_warned in
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7767 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7768 ac_tool_warned
=yes ;;
7770 DLLTOOL
=$ac_ct_DLLTOOL
7773 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7779 STATIC_IMPLIBEXT
="a"
7780 enable_iphlpapi
=${enable_iphlpapi:-no}
7781 enable_kernel32
=${enable_kernel32:-no}
7782 enable_msvcrt
=${enable_msvcrt:-no}
7783 enable_ntdll
=${enable_ntdll:-no}
7784 enable_ws2_32
=${enable_ws2_32:-no}
7785 enable_loader
=${enable_loader:-no}
7786 enable_server
=${enable_server:-no}
7787 with_x
=${with_x:-no}
7788 with_pthread
=${with_pthread:-no}
7794 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7798 libwine_targets
="libwine.dll libwine.a"
7800 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7802 all: libwine.dll libwine.a
7804 libwine.a: \$(srcdir)/wine.def
7805 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7807 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7808 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7810 install install-lib:: libwine.dll
7811 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7813 install install-dev:: libwine.a
7814 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7817 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7824 DLLFLAGS
="$DLLFLAGS -fPIC"
7825 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7826 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7827 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7828 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7830 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7832 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7834 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7836 CORESERVICES_LIBS
="-framework CoreServices"
7838 APPKIT_LIBS
="-framework AppKit"
7840 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7842 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7843 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7844 $as_echo_n "(cached) " >&6
7846 ac_wine_try_cflags_saved
=$CFLAGS
7847 CFLAGS
="$CFLAGS -Wl,-no_pie"
7848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7849 /* end confdefs.h. */
7850 int main(int argc, char **argv) { return 0; }
7852 if ac_fn_c_try_link
"$LINENO"; then :
7853 ac_cv_cflags__Wl__no_pie
=yes
7855 ac_cv_cflags__Wl__no_pie
=no
7857 rm -f core conftest.err conftest.
$ac_objext \
7858 conftest
$ac_exeext conftest.
$ac_ext
7859 CFLAGS
=$ac_wine_try_cflags_saved
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7862 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7863 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7864 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7866 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7868 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7871 if test "$ac_cv_header_Security_Security_h" = "yes"
7873 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7875 ac_save_LIBS
="$LIBS"
7876 LIBS
="$LIBS $SECURITY_LIBS"
7877 for ac_func
in SSLCopyPeerCertificates
7879 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7880 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7881 cat >>confdefs.h
<<_ACEOF
7882 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7888 LIBS
="$ac_save_LIBS"
7889 with_gnutls
=${with_gnutls:-no}
7891 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7893 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7895 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7898 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7901 ac_save_LIBS
="$LIBS"
7902 LIBS
="$LIBS $COREAUDIO_LIBS"
7903 for ac_func
in AUGraphAddNode
7905 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7906 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7907 cat >>confdefs.h
<<_ACEOF
7908 #define HAVE_AUGRAPHADDNODE 1
7914 LIBS
="$ac_save_LIBS"
7916 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7918 OPENAL_LIBS
="-framework OpenAL"
7921 cat >>confdefs.h
<<_ACEOF
7922 #define HAVE_OPENAL 1
7925 ac_cv_lib_openal
=yes
7927 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7929 OPENCL_LIBS
="-framework OpenCL"
7931 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7933 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7935 ac_save_LIBS
="$LIBS"
7936 LIBS
="$LIBS $IOKIT_LIBS"
7937 for ac_func
in IOHIDManagerCreate
7939 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7940 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7941 cat >>confdefs.h
<<_ACEOF
7942 #define HAVE_IOHIDMANAGERCREATE 1
7948 LIBS
="$ac_save_LIBS"
7950 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7952 ac_save_LIBS
="$LIBS"
7953 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7955 $as_echo_n "checking for the QuickTime framework... " >&6; }
7956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7957 /* end confdefs.h. */
7958 #include <QuickTime/ImageCompression.h>
7962 CodecManagerVersion(NULL);
7967 if ac_fn_c_try_link
"$LINENO"; then :
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7969 $as_echo "yes" >&6; }
7970 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7972 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7975 $as_echo "no" >&6; }
7976 ac_cv_header_QuickTime_ImageCompression_h
=no
7978 rm -f core conftest.err conftest.
$ac_objext \
7979 conftest
$ac_exeext conftest.
$ac_ext
7980 LIBS
="$ac_save_LIBS"
7982 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
7984 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7986 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7988 CARBON_LIBS
="-framework Carbon"
7992 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7994 ac_save_LIBS
="$LIBS"
7995 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7996 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
7997 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
7998 enable_winemac_drv
=${enable_winemac_drv:-yes}
8001 LIBS
="$ac_save_LIBS"
8004 if test "x$enable_win16" = "xyes"
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8007 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8008 if test "$cross_compiling" = yes; then :
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8010 $as_echo "cross-compiling, assuming yes" >&6; }
8012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8013 /* end confdefs.h. */
8016 "good:\tnop;nop\n\t"
8017 ".globl _testfunc\n"
8018 "_testfunc:\tcallw good");
8019 extern void testfunc();
8023 unsigned short *p = (unsigned short *)testfunc;
8024 return p[0] != 0xe866 || p[1] != 0xfffa
8029 if ac_fn_c_try_run
"$LINENO"; then :
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8031 $as_echo "yes" >&6; }
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8034 $as_echo "no" >&6; }
8035 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
8037 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8038 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8043 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8045 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8049 libwine.$libwine_version.dylib: \$(OBJS)
8050 \$(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 \$@
8052 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8053 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8055 libwine.dylib: libwine.$libwine_soversion.dylib
8056 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8058 install install-lib:: libwine.$libwine_version.dylib
8059 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8060 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8062 install install-dev::
8063 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8066 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8070 as_fn_append LOADER_RULES
"
8071 $wine_binary: main.o wine_info.plist
8072 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8074 wine-installed: main.o wine_info.plist
8075 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8080 DLLFLAGS
="$DLLFLAGS -fPIC"
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8085 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8086 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8087 $as_echo_n "(cached) " >&6
8089 ac_wine_try_cflags_saved
=$CFLAGS
8090 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8092 /* end confdefs.h. */
8093 int main(int argc, char **argv) { return 0; }
8095 if ac_fn_c_try_link
"$LINENO"; then :
8096 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8098 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8100 rm -f core conftest.err conftest.
$ac_objext \
8101 conftest
$ac_exeext conftest.
$ac_ext
8102 CFLAGS
=$ac_wine_try_cflags_saved
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8105 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8106 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8107 LDEXECFLAGS
="-Wl,--export-dynamic"
8109 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8111 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8112 if eval \
${$as_ac_var+:} false
; then :
8113 $as_echo_n "(cached) " >&6
8115 ac_wine_try_cflags_saved
=$CFLAGS
8116 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8118 /* end confdefs.h. */
8119 int main(int argc, char **argv) { return 0; }
8121 if ac_fn_c_try_link
"$LINENO"; then :
8122 eval "$as_ac_var=yes"
8124 eval "$as_ac_var=no"
8126 rm -f core conftest.err conftest.
$ac_objext \
8127 conftest
$ac_exeext conftest.
$ac_ext
8128 CFLAGS
=$ac_wine_try_cflags_saved
8130 eval ac_res
=\$
$as_ac_var
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8132 $as_echo "$ac_res" >&6; }
8133 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8134 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8135 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8137 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8139 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8140 if eval \
${$as_ac_var+:} false
; then :
8141 $as_echo_n "(cached) " >&6
8143 ac_wine_try_cflags_saved
=$CFLAGS
8144 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8146 /* end confdefs.h. */
8147 int main(int argc, char **argv) { return 0; }
8149 if ac_fn_c_try_link
"$LINENO"; then :
8150 eval "$as_ac_var=yes"
8152 eval "$as_ac_var=no"
8154 rm -f core conftest.err conftest.
$ac_objext \
8155 conftest
$ac_exeext conftest.
$ac_ext
8156 CFLAGS
=$ac_wine_try_cflags_saved
8158 eval ac_res
=\$
$as_ac_var
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8160 $as_echo "$ac_res" >&6; }
8161 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8162 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8163 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8168 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8169 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8170 $as_echo_n "(cached) " >&6
8172 ac_wine_try_cflags_saved
=$CFLAGS
8173 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8175 /* end confdefs.h. */
8176 int main(int argc, char **argv) { return 0; }
8178 if ac_fn_c_try_link
"$LINENO"; then :
8179 ac_cv_cflags__Wl___enable_new_dtags
=yes
8181 ac_cv_cflags__Wl___enable_new_dtags
=no
8183 rm -f core conftest.err conftest.
$ac_objext \
8184 conftest
$ac_exeext conftest.
$ac_ext
8185 CFLAGS
=$ac_wine_try_cflags_saved
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8188 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8189 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8190 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8194 *i
[3456789]86* | x86_64
)
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8196 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8197 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8198 $as_echo_n "(cached) " >&6
8200 ac_wine_try_cflags_saved
=$CFLAGS
8201 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8203 /* end confdefs.h. */
8204 int main(int argc, char **argv) { return 0; }
8206 if ac_fn_c_try_link
"$LINENO"; then :
8207 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8209 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8211 rm -f core conftest.err conftest.
$ac_objext \
8212 conftest
$ac_exeext conftest.
$ac_ext
8213 CFLAGS
=$ac_wine_try_cflags_saved
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8216 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8217 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8218 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8223 libwine_targets
="libwine.so"
8225 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8229 libwine.so: \$(OBJS)
8230 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8232 install install-lib:: libwine.so
8233 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8236 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8240 as_fn_append LOADER_RULES
"
8241 $wine_binary: main.o
8242 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8244 wine-installed: main.o
8245 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8250 DLLFLAGS
="$DLLFLAGS -fPIC"
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8253 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8254 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8255 $as_echo_n "(cached) " >&6
8257 ac_wine_try_cflags_saved
=$CFLAGS
8258 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8260 /* end confdefs.h. */
8263 if ac_fn_c_try_link
"$LINENO"; then :
8264 ac_cv_c_dll_gnuelf
="yes"
8266 ac_cv_c_dll_gnuelf
="no"
8268 rm -f core conftest.err conftest.
$ac_objext \
8269 conftest
$ac_exeext conftest.
$ac_ext
8270 CFLAGS
=$ac_wine_try_cflags_saved
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8273 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8274 if test "$ac_cv_c_dll_gnuelf" = "yes"
8276 LDSHARED
="\$(CC) -shared"
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8278 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8279 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8280 $as_echo_n "(cached) " >&6
8282 ac_wine_try_cflags_saved
=$CFLAGS
8283 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8285 /* end confdefs.h. */
8286 int main(int argc, char **argv) { return 0; }
8288 if ac_fn_c_try_link
"$LINENO"; then :
8289 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8291 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8293 rm -f core conftest.err conftest.
$ac_objext \
8294 conftest
$ac_exeext conftest.
$ac_ext
8295 CFLAGS
=$ac_wine_try_cflags_saved
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8298 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8299 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8300 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8303 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8304 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8305 $as_echo_n "(cached) " >&6
8307 ac_wine_try_cflags_saved
=$CFLAGS
8308 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8310 /* end confdefs.h. */
8311 int main(int argc, char **argv) { return 0; }
8313 if ac_fn_c_try_link
"$LINENO"; then :
8314 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8316 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8318 rm -f core conftest.err conftest.
$ac_objext \
8319 conftest
$ac_exeext conftest.
$ac_ext
8320 CFLAGS
=$ac_wine_try_cflags_saved
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8323 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8324 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8325 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8329 echo '{ global: *; };' >conftest.map
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8331 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8332 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8333 $as_echo_n "(cached) " >&6
8335 ac_wine_try_cflags_saved
=$CFLAGS
8336 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8338 /* end confdefs.h. */
8339 int main(int argc, char **argv) { return 0; }
8341 if ac_fn_c_try_link
"$LINENO"; then :
8342 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8344 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8346 rm -f core conftest.err conftest.
$ac_objext \
8347 conftest
$ac_exeext conftest.
$ac_ext
8348 CFLAGS
=$ac_wine_try_cflags_saved
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8351 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8352 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8353 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8358 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8359 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8360 $as_echo_n "(cached) " >&6
8362 ac_wine_try_cflags_saved
=$CFLAGS
8363 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8365 /* end confdefs.h. */
8366 int main(int argc, char **argv) { return 0; }
8368 if ac_fn_c_try_link
"$LINENO"; then :
8369 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8371 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8373 rm -f core conftest.err conftest.
$ac_objext \
8374 conftest
$ac_exeext conftest.
$ac_ext
8375 CFLAGS
=$ac_wine_try_cflags_saved
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8378 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8379 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8380 LDEXECFLAGS
="-Wl,--export-dynamic"
8383 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8385 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8386 if eval \
${$as_ac_var+:} false
; then :
8387 $as_echo_n "(cached) " >&6
8389 ac_wine_try_cflags_saved
=$CFLAGS
8390 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8392 /* end confdefs.h. */
8393 int main(int argc, char **argv) { return 0; }
8395 if ac_fn_c_try_link
"$LINENO"; then :
8396 eval "$as_ac_var=yes"
8398 eval "$as_ac_var=no"
8400 rm -f core conftest.err conftest.
$ac_objext \
8401 conftest
$ac_exeext conftest.
$ac_ext
8402 CFLAGS
=$ac_wine_try_cflags_saved
8404 eval ac_res
=\$
$as_ac_var
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8406 $as_echo "$ac_res" >&6; }
8407 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8408 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8409 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8411 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8413 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8414 if eval \
${$as_ac_var+:} false
; then :
8415 $as_echo_n "(cached) " >&6
8417 ac_wine_try_cflags_saved
=$CFLAGS
8418 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8420 /* end confdefs.h. */
8421 int main(int argc, char **argv) { return 0; }
8423 if ac_fn_c_try_link
"$LINENO"; then :
8424 eval "$as_ac_var=yes"
8426 eval "$as_ac_var=no"
8428 rm -f core conftest.err conftest.
$ac_objext \
8429 conftest
$ac_exeext conftest.
$ac_ext
8430 CFLAGS
=$ac_wine_try_cflags_saved
8432 eval ac_res
=\$
$as_ac_var
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8434 $as_echo "$ac_res" >&6; }
8435 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8436 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8437 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8442 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8443 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8444 $as_echo_n "(cached) " >&6
8446 ac_wine_try_cflags_saved
=$CFLAGS
8447 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8449 /* end confdefs.h. */
8450 int main(int argc, char **argv) { return 0; }
8452 if ac_fn_c_try_link
"$LINENO"; then :
8453 ac_cv_cflags__Wl___enable_new_dtags
=yes
8455 ac_cv_cflags__Wl___enable_new_dtags
=no
8457 rm -f core conftest.err conftest.
$ac_objext \
8458 conftest
$ac_exeext conftest.
$ac_ext
8459 CFLAGS
=$ac_wine_try_cflags_saved
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8462 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8463 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8464 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8468 *i
[3456789]86* | x86_64
)
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8470 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8471 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8472 $as_echo_n "(cached) " >&6
8474 ac_wine_try_cflags_saved
=$CFLAGS
8475 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8477 /* end confdefs.h. */
8478 int main(int argc, char **argv) { return 0; }
8480 if ac_fn_c_try_link
"$LINENO"; then :
8481 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8483 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8485 rm -f core conftest.err conftest.
$ac_objext \
8486 conftest
$ac_exeext conftest.
$ac_ext
8487 CFLAGS
=$ac_wine_try_cflags_saved
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8490 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8491 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8493 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8494 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8498 # Extract the first word of "prelink", so it can be a program name with args.
8499 set dummy prelink
; ac_word
=$2
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8501 $as_echo_n "checking for $ac_word... " >&6; }
8502 if ${ac_cv_path_PRELINK+:} false
; then :
8503 $as_echo_n "(cached) " >&6
8507 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8511 for as_dir
in /sbin
/usr
/sbin
$PATH
8514 test -z "$as_dir" && as_dir
=.
8515 for ac_exec_ext
in '' $ac_executable_extensions; do
8516 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8517 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8525 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8529 PRELINK
=$ac_cv_path_PRELINK
8530 if test -n "$PRELINK"; then
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8532 $as_echo "$PRELINK" >&6; }
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8535 $as_echo "no" >&6; }
8539 if test "x$PRELINK" = xfalse
8541 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8548 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8549 if ${ac_cv_c_dll_unixware+:} false
; then :
8550 $as_echo_n "(cached) " >&6
8552 ac_wine_try_cflags_saved
=$CFLAGS
8553 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8555 /* end confdefs.h. */
8558 if ac_fn_c_try_link
"$LINENO"; then :
8559 ac_cv_c_dll_unixware
="yes"
8561 ac_cv_c_dll_unixware
="no"
8563 rm -f core conftest.err conftest.
$ac_objext \
8564 conftest
$ac_exeext conftest.
$ac_ext
8565 CFLAGS
=$ac_wine_try_cflags_saved
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8568 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8569 if test "$ac_cv_c_dll_unixware" = "yes"
8571 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8574 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8576 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8580 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8581 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8583 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8584 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8586 libwine.so: libwine.so.$libwine_soversion
8587 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8589 install install-lib:: libwine.so.$libwine_version
8590 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8591 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8593 install install-dev::
8594 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8597 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8601 as_fn_append LOADER_RULES
"
8602 $wine_binary: main.o
8603 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8605 wine-installed: main.o
8606 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8611 as_fn_append LIBWINE_RULES
"
8612 EXTRA_TARGETS = $libwine_targets
8615 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8616 enable_winemac_drv
=${enable_winemac_drv:-no}
8620 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8624 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
8627 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 " ;;
8629 ac_prefix_list
="" ;;
8631 for ac_prog
in $ac_prefix_list
8633 # Extract the first word of "$ac_prog", so it can be a program name with args.
8634 set dummy
$ac_prog; ac_word
=$2
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8636 $as_echo_n "checking for $ac_word... " >&6; }
8637 if ${ac_cv_prog_CROSSCC+:} false
; then :
8638 $as_echo_n "(cached) " >&6
8640 if test -n "$CROSSCC"; then
8641 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8647 test -z "$as_dir" && as_dir
=.
8648 for ac_exec_ext
in '' $ac_executable_extensions; do
8649 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8650 ac_cv_prog_CROSSCC
="$ac_prog"
8651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8660 CROSSCC
=$ac_cv_prog_CROSSCC
8661 if test -n "$CROSSCC"; then
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8663 $as_echo "$CROSSCC" >&6; }
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8666 $as_echo "no" >&6; }
8670 test -n "$CROSSCC" && break
8672 test -n "$CROSSCC" || CROSSCC
="false"
8674 if test "$CROSSCC" != "false"
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8679 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8681 /* end confdefs.h. */
8691 if ac_fn_c_try_compile
"$LINENO"; then :
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8693 $as_echo "yes" >&6; }
8699 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8705 $as_echo "no" >&6; }
8707 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8713 if test "$ac_cv_header_pthread_h" = "yes"
8715 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8716 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8720 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8721 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8722 $as_echo_n "(cached) " >&6
8724 ac_check_lib_save_LIBS
=$LIBS
8725 LIBS
="-lpthread $LIBS"
8726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8727 /* end confdefs.h. */
8729 /* Override any GCC internal prototype to avoid an error.
8730 Use char because int might match the return type of a GCC
8731 builtin and then its argument prototype would still apply. */
8735 char pthread_create ();
8739 return pthread_create ();
8744 if ac_fn_c_try_link
"$LINENO"; then :
8745 ac_cv_lib_pthread_pthread_create
=yes
8747 ac_cv_lib_pthread_pthread_create
=no
8749 rm -f core conftest.err conftest.
$ac_objext \
8750 conftest
$ac_exeext conftest.
$ac_ext
8751 LIBS
=$ac_check_lib_save_LIBS
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8754 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8755 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8756 PTHREAD_LIBS
="-lpthread"
8763 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8764 case "x$with_pthread" in
8766 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8767 Wine cannot support threads without libpthread.
8768 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8774 $as_echo_n "checking for X... " >&6; }
8777 # Check whether --with-x was given.
8778 if test "${with_x+set}" = set; then :
8782 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8783 if test "x$with_x" = xno
; then
8784 # The user explicitly disabled X.
8787 case $x_includes,$x_libraries in #(
8788 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8789 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8790 $as_echo_n "(cached) " >&6
8792 # One or both of the vars are not set, and there is no cached value.
8793 ac_x_includes
=no ac_x_libraries
=no
8794 rm -f -r conftest.dir
8795 if mkdir conftest.dir
; then
8797 cat >Imakefile
<<'_ACEOF'
8799 @echo incroot='${INCROOT}'
8801 @echo usrlibdir='${USRLIBDIR}'
8803 @echo libdir='${LIBDIR}'
8805 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8806 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8807 for ac_var
in incroot usrlibdir libdir
; do
8808 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8810 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8811 for ac_extension
in a so sl dylib la dll
; do
8812 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8813 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8814 ac_im_usrlibdir
=$ac_im_libdir; break
8817 # Screen out bogus values from the imake configuration. They are
8818 # bogus both because they are the default anyway, and because
8819 # using them would break gcc on systems where it needs fixed includes.
8820 case $ac_im_incroot in
8821 /usr
/include
) ac_x_includes
= ;;
8822 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8824 case $ac_im_usrlibdir in
8825 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8826 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8830 rm -f -r conftest.dir
8833 # Standard set of common directories for X headers.
8834 # Check X11 before X11Rn because it is often a symlink to the current release.
8848 /usr/local/X11/include
8849 /usr/local/X11R7/include
8850 /usr/local/X11R6/include
8851 /usr/local/X11R5/include
8852 /usr/local/X11R4/include
8854 /usr/local/include/X11
8855 /usr/local/include/X11R7
8856 /usr/local/include/X11R6
8857 /usr/local/include/X11R5
8858 /usr/local/include/X11R4
8862 /usr/XFree86/include/X11
8866 /usr/unsupported/include
8868 /usr/local/x11r5/include
8869 /usr/lpp/Xamples/include
8871 /usr/openwin/include
8872 /usr/openwin/share/include'
8874 if test "$ac_x_includes" = no
; then
8875 # Guess where to find include files, by looking for Xlib.h.
8876 # First, try using that file with no special directory specified.
8877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8878 /* end confdefs.h. */
8879 #include <X11/Xlib.h>
8881 if ac_fn_c_try_cpp
"$LINENO"; then :
8882 # We can compile using X headers with no special include directory.
8885 for ac_dir
in $ac_x_header_dirs; do
8886 if test -r "$ac_dir/X11/Xlib.h"; then
8887 ac_x_includes
=$ac_dir
8892 rm -f conftest.err conftest.i conftest.
$ac_ext
8893 fi # $ac_x_includes = no
8895 if test "$ac_x_libraries" = no
; then
8896 # Check for the libraries.
8897 # See if we find them without any special options.
8898 # Don't add to $LIBS permanently.
8901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8902 /* end confdefs.h. */
8903 #include <X11/Xlib.h>
8912 if ac_fn_c_try_link
"$LINENO"; then :
8914 # We can link X programs with no special library path.
8918 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8920 # Don't even attempt the hair of trying to link an X program!
8921 for ac_extension
in a so sl dylib la dll
; do
8922 if test -r "$ac_dir/libX11.$ac_extension"; then
8923 ac_x_libraries
=$ac_dir
8929 rm -f core conftest.err conftest.
$ac_objext \
8930 conftest
$ac_exeext conftest.
$ac_ext
8931 fi # $ac_x_libraries = no
8933 case $ac_x_includes,$ac_x_libraries in #(
8935 # Didn't find X, or a directory has "'" in its name.
8936 ac_cv_have_x
="have_x=no";; #(
8938 # Record where we found X for the cache.
8939 ac_cv_have_x
="have_x=yes\
8940 ac_x_includes='$ac_x_includes'\
8941 ac_x_libraries='$ac_x_libraries'"
8947 eval "$ac_cv_have_x"
8950 if test "$have_x" != yes; then
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8952 $as_echo "$have_x" >&6; }
8955 # If each of the values was on the command line, it overrides each guess.
8956 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8957 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8958 # Update the cache value to reflect the command line values.
8959 ac_cv_have_x
="have_x=yes\
8960 ac_x_includes='$x_includes'\
8961 ac_x_libraries='$x_libraries'"
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8963 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8966 if test "$no_x" = yes; then
8967 # Not all programs may use this symbol, but it does not hurt to define it.
8969 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8971 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8973 if test -n "$x_includes"; then
8974 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8977 # It would also be nice to do this for all -L options, not just this one.
8978 if test -n "$x_libraries"; then
8979 X_LIBS
="$X_LIBS -L$x_libraries"
8980 # For Solaris; some versions of Sun CC require a space after -R and
8981 # others require no space. Words are not sufficient . . . .
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8983 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8984 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8985 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8986 ac_c_werror_flag
=yes
8987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8988 /* end confdefs.h. */
8998 if ac_fn_c_try_link
"$LINENO"; then :
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9000 $as_echo "no" >&6; }
9001 X_LIBS
="$X_LIBS -R$x_libraries"
9003 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9005 /* end confdefs.h. */
9015 if ac_fn_c_try_link
"$LINENO"; then :
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9017 $as_echo "yes" >&6; }
9018 X_LIBS
="$X_LIBS -R $x_libraries"
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9021 $as_echo "neither works" >&6; }
9023 rm -f core conftest.err conftest.
$ac_objext \
9024 conftest
$ac_exeext conftest.
$ac_ext
9026 rm -f core conftest.err conftest.
$ac_objext \
9027 conftest
$ac_exeext conftest.
$ac_ext
9028 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9032 # Check for system-dependent libraries X programs must link with.
9033 # Do this before checking for the system-independent R6 libraries
9034 # (-lICE), since we may need -lsocket or whatever for X linking.
9036 if test "$ISC" = yes; then
9037 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9039 # Martyn Johnson says this is needed for Ultrix, if the X
9040 # libraries were built with DECnet support. And Karl Berry says
9041 # the Alpha needs dnet_stub (dnet does not exist).
9042 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
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 XOpenDisplay ();
9056 return XOpenDisplay ();
9061 if ac_fn_c_try_link
"$LINENO"; then :
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9065 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9066 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9067 $as_echo_n "(cached) " >&6
9069 ac_check_lib_save_LIBS
=$LIBS
9071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9072 /* end confdefs.h. */
9074 /* Override any GCC internal prototype to avoid an error.
9075 Use char because int might match the return type of a GCC
9076 builtin and then its argument prototype would still apply. */
9084 return dnet_ntoa ();
9089 if ac_fn_c_try_link
"$LINENO"; then :
9090 ac_cv_lib_dnet_dnet_ntoa
=yes
9092 ac_cv_lib_dnet_dnet_ntoa
=no
9094 rm -f core conftest.err conftest.
$ac_objext \
9095 conftest
$ac_exeext conftest.
$ac_ext
9096 LIBS
=$ac_check_lib_save_LIBS
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9099 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9100 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9101 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9104 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9106 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9107 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9108 $as_echo_n "(cached) " >&6
9110 ac_check_lib_save_LIBS
=$LIBS
9111 LIBS
="-ldnet_stub $LIBS"
9112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9113 /* end confdefs.h. */
9115 /* Override any GCC internal prototype to avoid an error.
9116 Use char because int might match the return type of a GCC
9117 builtin and then its argument prototype would still apply. */
9125 return dnet_ntoa ();
9130 if ac_fn_c_try_link
"$LINENO"; then :
9131 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9133 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9135 rm -f core conftest.err conftest.
$ac_objext \
9136 conftest
$ac_exeext conftest.
$ac_ext
9137 LIBS
=$ac_check_lib_save_LIBS
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9140 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9141 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9142 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9147 rm -f core conftest.err conftest.
$ac_objext \
9148 conftest
$ac_exeext conftest.
$ac_ext
9149 LIBS
="$ac_xsave_LIBS"
9151 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9152 # to get the SysV transport functions.
9153 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9155 # The nsl library prevents programs from opening the X display
9156 # on Irix 5.2, according to T.E. Dickey.
9157 # The functions gethostbyname, getservbyname, and inet_addr are
9158 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9159 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9160 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9164 if test $ac_cv_func_gethostbyname = no
; then
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9166 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9167 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9168 $as_echo_n "(cached) " >&6
9170 ac_check_lib_save_LIBS
=$LIBS
9172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9173 /* end confdefs.h. */
9175 /* Override any GCC internal prototype to avoid an error.
9176 Use char because int might match the return type of a GCC
9177 builtin and then its argument prototype would still apply. */
9181 char gethostbyname ();
9185 return gethostbyname ();
9190 if ac_fn_c_try_link
"$LINENO"; then :
9191 ac_cv_lib_nsl_gethostbyname
=yes
9193 ac_cv_lib_nsl_gethostbyname
=no
9195 rm -f core conftest.err conftest.
$ac_objext \
9196 conftest
$ac_exeext conftest.
$ac_ext
9197 LIBS
=$ac_check_lib_save_LIBS
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9200 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9201 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9202 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9205 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9207 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9208 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9209 $as_echo_n "(cached) " >&6
9211 ac_check_lib_save_LIBS
=$LIBS
9213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9214 /* end confdefs.h. */
9216 /* Override any GCC internal prototype to avoid an error.
9217 Use char because int might match the return type of a GCC
9218 builtin and then its argument prototype would still apply. */
9222 char gethostbyname ();
9226 return gethostbyname ();
9231 if ac_fn_c_try_link
"$LINENO"; then :
9232 ac_cv_lib_bsd_gethostbyname
=yes
9234 ac_cv_lib_bsd_gethostbyname
=no
9236 rm -f core conftest.err conftest.
$ac_objext \
9237 conftest
$ac_exeext conftest.
$ac_ext
9238 LIBS
=$ac_check_lib_save_LIBS
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9241 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9242 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9243 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9249 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9250 # socket/setsockopt and other routines are undefined under SCO ODT
9251 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9252 # on later versions), says Simon Leinen: it contains gethostby*
9253 # variants that don't use the name server (or something). -lsocket
9254 # must be given before -lnsl if both are needed. We assume that
9255 # if connect needs -lnsl, so does gethostbyname.
9256 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9257 if test "x$ac_cv_func_connect" = xyes
; then :
9261 if test $ac_cv_func_connect = no
; then
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9263 $as_echo_n "checking for connect in -lsocket... " >&6; }
9264 if ${ac_cv_lib_socket_connect+:} false
; then :
9265 $as_echo_n "(cached) " >&6
9267 ac_check_lib_save_LIBS
=$LIBS
9268 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9270 /* end confdefs.h. */
9272 /* Override any GCC internal prototype to avoid an error.
9273 Use char because int might match the return type of a GCC
9274 builtin and then its argument prototype would still apply. */
9287 if ac_fn_c_try_link
"$LINENO"; then :
9288 ac_cv_lib_socket_connect
=yes
9290 ac_cv_lib_socket_connect
=no
9292 rm -f core conftest.err conftest.
$ac_objext \
9293 conftest
$ac_exeext conftest.
$ac_ext
9294 LIBS
=$ac_check_lib_save_LIBS
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9297 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9298 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9299 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9304 # Guillermo Gomez says -lposix is necessary on A/UX.
9305 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9306 if test "x$ac_cv_func_remove" = xyes
; then :
9310 if test $ac_cv_func_remove = no
; then
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9312 $as_echo_n "checking for remove in -lposix... " >&6; }
9313 if ${ac_cv_lib_posix_remove+:} false
; then :
9314 $as_echo_n "(cached) " >&6
9316 ac_check_lib_save_LIBS
=$LIBS
9317 LIBS
="-lposix $LIBS"
9318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9319 /* end confdefs.h. */
9321 /* Override any GCC internal prototype to avoid an error.
9322 Use char because int might match the return type of a GCC
9323 builtin and then its argument prototype would still apply. */
9336 if ac_fn_c_try_link
"$LINENO"; then :
9337 ac_cv_lib_posix_remove
=yes
9339 ac_cv_lib_posix_remove
=no
9341 rm -f core conftest.err conftest.
$ac_objext \
9342 conftest
$ac_exeext conftest.
$ac_ext
9343 LIBS
=$ac_check_lib_save_LIBS
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9346 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9347 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9348 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9353 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9354 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9355 if test "x$ac_cv_func_shmat" = xyes
; then :
9359 if test $ac_cv_func_shmat = no
; then
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9361 $as_echo_n "checking for shmat in -lipc... " >&6; }
9362 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9363 $as_echo_n "(cached) " >&6
9365 ac_check_lib_save_LIBS
=$LIBS
9367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9368 /* end confdefs.h. */
9370 /* Override any GCC internal prototype to avoid an error.
9371 Use char because int might match the return type of a GCC
9372 builtin and then its argument prototype would still apply. */
9385 if ac_fn_c_try_link
"$LINENO"; then :
9386 ac_cv_lib_ipc_shmat
=yes
9388 ac_cv_lib_ipc_shmat
=no
9390 rm -f core conftest.err conftest.
$ac_objext \
9391 conftest
$ac_exeext conftest.
$ac_ext
9392 LIBS
=$ac_check_lib_save_LIBS
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9395 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9396 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9397 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9403 # Check for libraries that X11R6 Xt/Xaw programs need.
9404 ac_save_LDFLAGS
=$LDFLAGS
9405 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9406 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9407 # check for ICE first), but we must link in the order -lSM -lICE or
9408 # we get undefined symbols. So assume we have SM if we have ICE.
9409 # These have to be linked with before -lX11, unlike the other
9410 # libraries we check for below, so use a different variable.
9411 # John Interrante, Karl Berry
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9413 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9414 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9415 $as_echo_n "(cached) " >&6
9417 ac_check_lib_save_LIBS
=$LIBS
9418 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9420 /* end confdefs.h. */
9422 /* Override any GCC internal prototype to avoid an error.
9423 Use char because int might match the return type of a GCC
9424 builtin and then its argument prototype would still apply. */
9428 char IceConnectionNumber ();
9432 return IceConnectionNumber ();
9437 if ac_fn_c_try_link
"$LINENO"; then :
9438 ac_cv_lib_ICE_IceConnectionNumber
=yes
9440 ac_cv_lib_ICE_IceConnectionNumber
=no
9442 rm -f core conftest.err conftest.
$ac_objext \
9443 conftest
$ac_exeext conftest.
$ac_ext
9444 LIBS
=$ac_check_lib_save_LIBS
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9447 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9448 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9449 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9452 LDFLAGS
=$ac_save_LDFLAGS
9457 if test "$have_x" = "yes"
9459 ac_save_CPPFLAGS
="$CPPFLAGS"
9460 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9463 $as_echo_n "checking for -lX11... " >&6; }
9464 if ${ac_cv_lib_soname_X11+:} false
; then :
9465 $as_echo_n "(cached) " >&6
9467 ac_check_soname_save_LIBS
=$LIBS
9468 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9470 /* end confdefs.h. */
9472 /* Override any GCC internal prototype to avoid an error.
9473 Use char because int might match the return type of a GCC
9474 builtin and then its argument prototype would still apply. */
9478 char XCreateWindow ();
9482 return XCreateWindow ();
9487 if ac_fn_c_try_link
"$LINENO"; then :
9489 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9490 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'` ;;
9491 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9492 if ${ac_cv_lib_soname_X11:+false} :; then :
9493 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9497 rm -f core conftest.err conftest.
$ac_objext \
9498 conftest
$ac_exeext conftest.
$ac_ext
9499 LIBS
=$ac_check_soname_save_LIBS
9501 if ${ac_cv_lib_soname_X11:+false} :; then :
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9503 $as_echo "not found" >&6; }
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9507 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9509 cat >>confdefs.h
<<_ACEOF
9510 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9516 $as_echo_n "checking for -lXext... " >&6; }
9517 if ${ac_cv_lib_soname_Xext+:} false
; then :
9518 $as_echo_n "(cached) " >&6
9520 ac_check_soname_save_LIBS
=$LIBS
9521 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9523 /* end confdefs.h. */
9525 /* Override any GCC internal prototype to avoid an error.
9526 Use char because int might match the return type of a GCC
9527 builtin and then its argument prototype would still apply. */
9531 char XextCreateExtension ();
9535 return XextCreateExtension ();
9540 if ac_fn_c_try_link
"$LINENO"; then :
9542 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9543 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'` ;;
9544 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9545 if ${ac_cv_lib_soname_Xext:+false} :; then :
9546 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9550 rm -f core conftest.err conftest.
$ac_objext \
9551 conftest
$ac_exeext conftest.
$ac_ext
9552 LIBS
=$ac_check_soname_save_LIBS
9554 if ${ac_cv_lib_soname_Xext:+false} :; then :
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9556 $as_echo "not found" >&6; }
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9560 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9562 cat >>confdefs.h
<<_ACEOF
9563 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9566 X_LIBS
="$X_LIBS -lXext"
9568 X_LIBS
="$X_LIBS -lX11"
9570 for ac_header
in X11
/Xlib.h \
9573 X11
/Xcursor
/Xcursor.h \
9574 X11
/extensions
/shape.h \
9575 X11
/extensions
/XInput.h \
9576 X11
/extensions
/XInput2.h \
9577 X11
/extensions
/XShm.h \
9578 X11
/extensions
/Xcomposite.h \
9579 X11
/extensions
/Xinerama.h \
9580 X11
/extensions
/Xrandr.h \
9581 X11
/extensions
/Xrender.h \
9582 X11
/extensions
/xf86vmode.h \
9583 X11
/extensions
/xf86vmproto.h
9585 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9586 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9587 # include <X11/Xlib.h>
9589 #ifdef HAVE_X11_XUTIL_H
9590 # include <X11/Xutil.h>
9593 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9594 cat >>confdefs.h
<<_ACEOF
9595 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9603 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9606 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9607 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9608 $as_echo_n "(cached) " >&6
9610 ac_check_lib_save_LIBS
=$LIBS
9611 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9613 /* end confdefs.h. */
9615 /* Override any GCC internal prototype to avoid an error.
9616 Use char because int might match the return type of a GCC
9617 builtin and then its argument prototype would still apply. */
9621 char XkbQueryExtension ();
9625 return XkbQueryExtension ();
9630 if ac_fn_c_try_link
"$LINENO"; then :
9631 ac_cv_lib_X11_XkbQueryExtension
=yes
9633 ac_cv_lib_X11_XkbQueryExtension
=no
9635 rm -f core conftest.err conftest.
$ac_objext \
9636 conftest
$ac_exeext conftest.
$ac_ext
9637 LIBS
=$ac_check_lib_save_LIBS
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9640 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9641 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9643 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9649 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9652 $as_echo_n "checking for -lXcursor... " >&6; }
9653 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9654 $as_echo_n "(cached) " >&6
9656 ac_check_soname_save_LIBS
=$LIBS
9657 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9659 /* end confdefs.h. */
9661 /* Override any GCC internal prototype to avoid an error.
9662 Use char because int might match the return type of a GCC
9663 builtin and then its argument prototype would still apply. */
9667 char XcursorImageLoadCursor ();
9671 return XcursorImageLoadCursor ();
9676 if ac_fn_c_try_link
"$LINENO"; then :
9678 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9679 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'` ;;
9680 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9681 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9682 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9686 rm -f core conftest.err conftest.
$ac_objext \
9687 conftest
$ac_exeext conftest.
$ac_ext
9688 LIBS
=$ac_check_soname_save_LIBS
9690 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9692 $as_echo "not found" >&6; }
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9696 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9698 cat >>confdefs.h
<<_ACEOF
9699 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9705 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9706 case "x$with_xcursor" in
9707 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9709 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9710 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9714 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9717 $as_echo_n "checking for -lXi... " >&6; }
9718 if ${ac_cv_lib_soname_Xi+:} false
; then :
9719 $as_echo_n "(cached) " >&6
9721 ac_check_soname_save_LIBS
=$LIBS
9722 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9724 /* end confdefs.h. */
9726 /* Override any GCC internal prototype to avoid an error.
9727 Use char because int might match the return type of a GCC
9728 builtin and then its argument prototype would still apply. */
9732 char XOpenDevice ();
9736 return XOpenDevice ();
9741 if ac_fn_c_try_link
"$LINENO"; then :
9743 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9744 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'` ;;
9745 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9746 if ${ac_cv_lib_soname_Xi:+false} :; then :
9747 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9751 rm -f core conftest.err conftest.
$ac_objext \
9752 conftest
$ac_exeext conftest.
$ac_ext
9753 LIBS
=$ac_check_soname_save_LIBS
9755 if ${ac_cv_lib_soname_Xi:+false} :; then :
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9757 $as_echo "not found" >&6; }
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9761 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9763 cat >>confdefs.h
<<_ACEOF
9764 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9770 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9771 case "x$with_xinput" in
9772 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9774 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9775 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9779 if test "x$ac_cv_lib_soname_Xi" != x
9781 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9782 case "x$with_xinput2" in
9783 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9785 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9786 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9791 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9794 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9795 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9796 $as_echo_n "(cached) " >&6
9798 ac_check_lib_save_LIBS
=$LIBS
9799 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9801 /* end confdefs.h. */
9803 /* Override any GCC internal prototype to avoid an error.
9804 Use char because int might match the return type of a GCC
9805 builtin and then its argument prototype would still apply. */
9809 char XShmQueryExtension ();
9813 return XShmQueryExtension ();
9818 if ac_fn_c_try_link
"$LINENO"; then :
9819 ac_cv_lib_Xext_XShmQueryExtension
=yes
9821 ac_cv_lib_Xext_XShmQueryExtension
=no
9823 rm -f core conftest.err conftest.
$ac_objext \
9824 conftest
$ac_exeext conftest.
$ac_ext
9825 LIBS
=$ac_check_lib_save_LIBS
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9828 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9829 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9831 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9836 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9837 case "x$with_xshm" in
9838 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9840 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9841 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9845 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9848 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9849 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9850 $as_echo_n "(cached) " >&6
9852 ac_check_lib_save_LIBS
=$LIBS
9853 LIBS
="-lXext $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 XShapeQueryExtension ();
9867 return XShapeQueryExtension ();
9872 if ac_fn_c_try_link
"$LINENO"; then :
9873 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9875 ac_cv_lib_Xext_XShapeQueryExtension
=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_Xext_XShapeQueryExtension" >&5
9882 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9883 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9885 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9890 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9891 case "x$with_xshape" in
9892 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9894 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9895 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9899 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9902 $as_echo_n "checking for -lXxf86vm... " >&6; }
9903 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9904 $as_echo_n "(cached) " >&6
9906 ac_check_soname_save_LIBS
=$LIBS
9907 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9909 /* end confdefs.h. */
9911 /* Override any GCC internal prototype to avoid an error.
9912 Use char because int might match the return type of a GCC
9913 builtin and then its argument prototype would still apply. */
9917 char XF86VidModeQueryExtension ();
9921 return XF86VidModeQueryExtension ();
9926 if ac_fn_c_try_link
"$LINENO"; then :
9928 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9929 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'` ;;
9930 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9931 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9932 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9936 rm -f core conftest.err conftest.
$ac_objext \
9937 conftest
$ac_exeext conftest.
$ac_ext
9938 LIBS
=$ac_check_soname_save_LIBS
9940 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9942 $as_echo "not found" >&6; }
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9946 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9948 cat >>confdefs.h
<<_ACEOF
9949 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9955 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9956 case "x$with_xxf86vm" in
9957 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9959 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9960 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9964 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9967 $as_echo_n "checking for -lXrender... " >&6; }
9968 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9969 $as_echo_n "(cached) " >&6
9971 ac_check_soname_save_LIBS
=$LIBS
9972 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9974 /* end confdefs.h. */
9976 /* Override any GCC internal prototype to avoid an error.
9977 Use char because int might match the return type of a GCC
9978 builtin and then its argument prototype would still apply. */
9982 char XRenderQueryExtension ();
9986 return XRenderQueryExtension ();
9991 if ac_fn_c_try_link
"$LINENO"; then :
9993 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9994 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'` ;;
9995 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9996 if ${ac_cv_lib_soname_Xrender:+false} :; then :
9997 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10001 rm -f core conftest.err conftest.
$ac_objext \
10002 conftest
$ac_exeext conftest.
$ac_ext
10003 LIBS
=$ac_check_soname_save_LIBS
10005 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10007 $as_echo "not found" >&6; }
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10011 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10013 cat >>confdefs.h
<<_ACEOF
10014 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10018 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10019 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10020 $as_echo_n "(cached) " >&6
10022 ac_check_lib_save_LIBS
=$LIBS
10023 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10025 /* end confdefs.h. */
10027 /* Override any GCC internal prototype to avoid an error.
10028 Use char because int might match the return type of a GCC
10029 builtin and then its argument prototype would still apply. */
10033 char XRenderSetPictureTransform ();
10037 return XRenderSetPictureTransform ();
10042 if ac_fn_c_try_link
"$LINENO"; then :
10043 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10045 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10047 rm -f core conftest.err conftest.
$ac_objext \
10048 conftest
$ac_exeext conftest.
$ac_ext
10049 LIBS
=$ac_check_lib_save_LIBS
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10052 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10053 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10055 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10060 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10061 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10062 $as_echo_n "(cached) " >&6
10064 ac_check_lib_save_LIBS
=$LIBS
10065 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10067 /* end confdefs.h. */
10069 /* Override any GCC internal prototype to avoid an error.
10070 Use char because int might match the return type of a GCC
10071 builtin and then its argument prototype would still apply. */
10075 char XRenderCreateLinearGradient ();
10079 return XRenderCreateLinearGradient ();
10084 if ac_fn_c_try_link
"$LINENO"; then :
10085 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10087 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10089 rm -f core conftest.err conftest.
$ac_objext \
10090 conftest
$ac_exeext conftest.
$ac_ext
10091 LIBS
=$ac_check_lib_save_LIBS
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10094 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10095 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10097 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10104 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10105 case "x$with_xrender" in
10106 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10108 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10109 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10113 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10116 /* end confdefs.h. */
10117 #include <X11/Xlib.h>
10118 #include <X11/extensions/Xrandr.h>
10122 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10127 if ac_fn_c_try_compile
"$LINENO"; then :
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10129 $as_echo_n "checking for -lXrandr... " >&6; }
10130 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10131 $as_echo_n "(cached) " >&6
10133 ac_check_soname_save_LIBS
=$LIBS
10134 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10136 /* end confdefs.h. */
10138 /* Override any GCC internal prototype to avoid an error.
10139 Use char because int might match the return type of a GCC
10140 builtin and then its argument prototype would still apply. */
10144 char XRRQueryExtension ();
10148 return XRRQueryExtension ();
10153 if ac_fn_c_try_link
"$LINENO"; then :
10155 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10156 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'` ;;
10157 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10158 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10159 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10163 rm -f core conftest.err conftest.
$ac_objext \
10164 conftest
$ac_exeext conftest.
$ac_ext
10165 LIBS
=$ac_check_soname_save_LIBS
10167 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10169 $as_echo "not found" >&6; }
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10173 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10175 cat >>confdefs.h
<<_ACEOF
10176 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10180 /* end confdefs.h. */
10181 #include <X11/Xlib.h>
10182 #include <X11/extensions/Xrandr.h>
10186 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10191 if ac_fn_c_try_compile
"$LINENO"; then :
10193 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10199 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10201 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10202 case "x$with_xrandr" in
10203 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10205 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10206 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10210 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10213 /* end confdefs.h. */
10214 #include <X11/Xlib.h>
10215 #include <X11/extensions/Xinerama.h>
10219 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10224 if ac_fn_c_try_compile
"$LINENO"; then :
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10226 $as_echo_n "checking for -lXinerama... " >&6; }
10227 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10228 $as_echo_n "(cached) " >&6
10230 ac_check_soname_save_LIBS
=$LIBS
10231 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10233 /* end confdefs.h. */
10235 /* Override any GCC internal prototype to avoid an error.
10236 Use char because int might match the return type of a GCC
10237 builtin and then its argument prototype would still apply. */
10241 char XineramaQueryScreens ();
10245 return XineramaQueryScreens ();
10250 if ac_fn_c_try_link
"$LINENO"; then :
10252 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10253 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'` ;;
10254 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10255 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10256 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10260 rm -f core conftest.err conftest.
$ac_objext \
10261 conftest
$ac_exeext conftest.
$ac_ext
10262 LIBS
=$ac_check_soname_save_LIBS
10264 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10266 $as_echo "not found" >&6; }
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10270 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10272 cat >>confdefs.h
<<_ACEOF
10273 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10279 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10281 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10282 case "x$with_xinerama" in
10283 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10285 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10286 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10290 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10293 $as_echo_n "checking for -lXcomposite... " >&6; }
10294 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10295 $as_echo_n "(cached) " >&6
10297 ac_check_soname_save_LIBS
=$LIBS
10298 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10300 /* end confdefs.h. */
10302 /* Override any GCC internal prototype to avoid an error.
10303 Use char because int might match the return type of a GCC
10304 builtin and then its argument prototype would still apply. */
10308 char XCompositeRedirectWindow ();
10312 return XCompositeRedirectWindow ();
10317 if ac_fn_c_try_link
"$LINENO"; then :
10319 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10320 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'` ;;
10321 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10322 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10323 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10327 rm -f core conftest.err conftest.
$ac_objext \
10328 conftest
$ac_exeext conftest.
$ac_ext
10329 LIBS
=$ac_check_soname_save_LIBS
10331 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10333 $as_echo "not found" >&6; }
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10337 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10339 cat >>confdefs.h
<<_ACEOF
10340 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10346 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10347 case "x$with_xcomposite" in
10348 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10350 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10351 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10355 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10356 #include <X11/Xlib.h>
10359 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10361 cat >>confdefs.h
<<_ACEOF
10362 #define HAVE_XICCALLBACK_CALLBACK 1
10367 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10368 #include <X11/Xlib.h>
10371 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10373 cat >>confdefs.h
<<_ACEOF
10374 #define HAVE_XEVENT_XCOOKIE 1
10383 if test "x$with_opengl" != "xno"
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10386 $as_echo_n "checking for -lGL... " >&6; }
10387 if ${ac_cv_lib_soname_GL+:} false
; then :
10388 $as_echo_n "(cached) " >&6
10390 ac_check_soname_save_LIBS
=$LIBS
10391 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10393 /* end confdefs.h. */
10395 /* Override any GCC internal prototype to avoid an error.
10396 Use char because int might match the return type of a GCC
10397 builtin and then its argument prototype would still apply. */
10401 char glXCreateContext ();
10405 return glXCreateContext ();
10410 if ac_fn_c_try_link
"$LINENO"; then :
10412 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10413 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'` ;;
10414 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10415 if ${ac_cv_lib_soname_GL:+false} :; then :
10416 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10420 rm -f core conftest.err conftest.
$ac_objext \
10421 conftest
$ac_exeext conftest.
$ac_ext
10422 LIBS
=$ac_check_soname_save_LIBS
10424 if ${ac_cv_lib_soname_GL:+false} :; then :
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10426 $as_echo "not found" >&6; }
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10428 $as_echo_n "checking for -lGL... " >&6; }
10429 if ${ac_cv_lib_soname_GL+:} false
; then :
10430 $as_echo_n "(cached) " >&6
10432 ac_check_soname_save_LIBS
=$LIBS
10433 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"
10434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10435 /* end confdefs.h. */
10437 /* Override any GCC internal prototype to avoid an error.
10438 Use char because int might match the return type of a GCC
10439 builtin and then its argument prototype would still apply. */
10443 char glXCreateContext ();
10447 return glXCreateContext ();
10452 if ac_fn_c_try_link
"$LINENO"; then :
10454 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10455 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'` ;;
10456 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10457 if ${ac_cv_lib_soname_GL:+false} :; then :
10458 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10462 rm -f core conftest.err conftest.
$ac_objext \
10463 conftest
$ac_exeext conftest.
$ac_ext
10464 LIBS
=$ac_check_soname_save_LIBS
10466 if ${ac_cv_lib_soname_GL:+false} :; then :
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10468 $as_echo "not found" >&6; }
10469 if test -f /usr
/X11R
6/lib
/libGL.a
10471 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10472 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10474 opengl_msg
="No OpenGL library found on this system."
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10478 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10480 cat >>confdefs.h
<<_ACEOF
10481 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10484 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"
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10488 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10490 cat >>confdefs.h
<<_ACEOF
10491 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10496 if test "x$with_glu" != "xno"
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10499 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10500 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10501 $as_echo_n "(cached) " >&6
10503 ac_check_lib_save_LIBS
=$LIBS
10504 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10506 /* end confdefs.h. */
10508 /* Override any GCC internal prototype to avoid an error.
10509 Use char because int might match the return type of a GCC
10510 builtin and then its argument prototype would still apply. */
10518 return gluLookAt ();
10523 if ac_fn_c_try_link
"$LINENO"; then :
10524 ac_cv_lib_GLU_gluLookAt
=yes
10526 ac_cv_lib_GLU_gluLookAt
=no
10528 rm -f core conftest.err conftest.
$ac_objext \
10529 conftest
$ac_exeext conftest.
$ac_ext
10530 LIBS
=$ac_check_lib_save_LIBS
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10533 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10534 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10538 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10539 case "x$with_glu" in
10540 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10542 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10543 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10548 if test "x$with_osmesa" != "xno"
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10551 $as_echo_n "checking for -lOSMesa... " >&6; }
10552 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10553 $as_echo_n "(cached) " >&6
10555 ac_check_soname_save_LIBS
=$LIBS
10556 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10558 /* end confdefs.h. */
10560 /* Override any GCC internal prototype to avoid an error.
10561 Use char because int might match the return type of a GCC
10562 builtin and then its argument prototype would still apply. */
10575 if ac_fn_c_try_link
"$LINENO"; then :
10577 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10578 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'` ;;
10579 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10580 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10581 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10585 rm -f core conftest.err conftest.
$ac_objext \
10586 conftest
$ac_exeext conftest.
$ac_ext
10587 LIBS
=$ac_check_soname_save_LIBS
10589 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10591 $as_echo "not found" >&6; }
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10595 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10597 cat >>confdefs.h
<<_ACEOF
10598 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10603 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10604 case "x$with_osmesa" in
10605 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10607 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10608 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10613 if test -n "$opengl_msg"; then :
10614 case "x$with_opengl" in
10615 x
) as_fn_append wine_warnings
"|$opengl_msg
10616 OpenGL and Direct3D won't be supported." ;;
10618 *) as_fn_error $?
"$opengl_msg
10619 OpenGL and Direct3D won't be supported.
10620 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10624 CPPFLAGS
="$ac_save_CPPFLAGS"
10628 enable_winex11_drv
=${enable_winex11_drv:-no}
10630 if test "x$X_LIBS" = "x"; then :
10633 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10634 without X support, which probably isn't what you want. You will need
10635 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10636 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10640 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10642 if test "$ac_cv_header_CL_cl_h" = "yes"
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10645 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10646 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10647 $as_echo_n "(cached) " >&6
10649 ac_check_lib_save_LIBS
=$LIBS
10650 LIBS
="-lOpenCL $LIBS"
10651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10652 /* end confdefs.h. */
10654 /* Override any GCC internal prototype to avoid an error.
10655 Use char because int might match the return type of a GCC
10656 builtin and then its argument prototype would still apply. */
10660 char clGetPlatformInfo ();
10664 return clGetPlatformInfo ();
10669 if ac_fn_c_try_link
"$LINENO"; then :
10670 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10672 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10674 rm -f core conftest.err conftest.
$ac_objext \
10675 conftest
$ac_exeext conftest.
$ac_ext
10676 LIBS
=$ac_check_lib_save_LIBS
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10679 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10680 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10681 OPENCL_LIBS
="-lOpenCL"
10686 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10687 case "x$with_opencl" in
10688 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10690 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10691 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10694 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10696 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10699 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10700 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10701 $as_echo_n "(cached) " >&6
10703 ac_check_lib_save_LIBS
=$LIBS
10704 LIBS
="-lpcap $LIBS"
10705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10706 /* end confdefs.h. */
10708 /* Override any GCC internal prototype to avoid an error.
10709 Use char because int might match the return type of a GCC
10710 builtin and then its argument prototype would still apply. */
10714 char pcap_create ();
10718 return pcap_create ();
10723 if ac_fn_c_try_link
"$LINENO"; then :
10724 ac_cv_lib_pcap_pcap_create
=yes
10726 ac_cv_lib_pcap_pcap_create
=no
10728 rm -f core conftest.err conftest.
$ac_objext \
10729 conftest
$ac_exeext conftest.
$ac_ext
10730 LIBS
=$ac_check_lib_save_LIBS
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10733 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10734 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10740 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10741 case "x$with_pcap" in
10742 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10744 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10745 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10748 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10751 if test "x$with_xml" != "xno"
10753 if ${XML2_CFLAGS:+false} :; then :
10754 if ${PKG_CONFIG+:} false
; then :
10755 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10758 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10759 if ${XML2_LIBS:+false} :; then :
10760 if ${PKG_CONFIG+:} false
; then :
10761 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10764 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10765 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10766 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10767 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10768 ac_save_CPPFLAGS
=$CPPFLAGS
10769 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10770 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10772 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10773 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10774 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10775 cat >>confdefs.h
<<_ACEOF
10776 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10783 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"
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10786 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10787 if ${ac_cv_lib_xml2_xmlParseMemory+:} 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 xmlParseMemory ();
10805 return xmlParseMemory ();
10810 if ac_fn_c_try_link
"$LINENO"; then :
10811 ac_cv_lib_xml2_xmlParseMemory
=yes
10813 ac_cv_lib_xml2_xmlParseMemory
=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_xmlParseMemory" >&5
10820 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10821 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10823 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10830 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10831 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10832 $as_echo_n "(cached) " >&6
10834 ac_check_lib_save_LIBS
=$LIBS
10835 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10837 /* end confdefs.h. */
10839 /* Override any GCC internal prototype to avoid an error.
10840 Use char because int might match the return type of a GCC
10841 builtin and then its argument prototype would still apply. */
10845 char xmlReadMemory ();
10849 return xmlReadMemory ();
10854 if ac_fn_c_try_link
"$LINENO"; then :
10855 ac_cv_lib_xml2_xmlReadMemory
=yes
10857 ac_cv_lib_xml2_xmlReadMemory
=no
10859 rm -f core conftest.err conftest.
$ac_objext \
10860 conftest
$ac_exeext conftest.
$ac_ext
10861 LIBS
=$ac_check_lib_save_LIBS
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10864 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10865 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10867 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10872 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10873 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10874 $as_echo_n "(cached) " >&6
10876 ac_check_lib_save_LIBS
=$LIBS
10877 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10879 /* end confdefs.h. */
10881 /* Override any GCC internal prototype to avoid an error.
10882 Use char because int might match the return type of a GCC
10883 builtin and then its argument prototype would still apply. */
10887 char xmlNewDocPI ();
10891 return xmlNewDocPI ();
10896 if ac_fn_c_try_link
"$LINENO"; then :
10897 ac_cv_lib_xml2_xmlNewDocPI
=yes
10899 ac_cv_lib_xml2_xmlNewDocPI
=no
10901 rm -f core conftest.err conftest.
$ac_objext \
10902 conftest
$ac_exeext conftest.
$ac_ext
10903 LIBS
=$ac_check_lib_save_LIBS
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10906 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10907 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10909 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10914 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10915 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10916 $as_echo_n "(cached) " >&6
10918 ac_check_lib_save_LIBS
=$LIBS
10919 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10921 /* end confdefs.h. */
10923 /* Override any GCC internal prototype to avoid an error.
10924 Use char because int might match the return type of a GCC
10925 builtin and then its argument prototype would still apply. */
10929 char xmlSchemaSetParserStructuredErrors ();
10933 return xmlSchemaSetParserStructuredErrors ();
10938 if ac_fn_c_try_link
"$LINENO"; then :
10939 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10941 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10943 rm -f core conftest.err conftest.
$ac_objext \
10944 conftest
$ac_exeext conftest.
$ac_ext
10945 LIBS
=$ac_check_lib_save_LIBS
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10948 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10949 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10951 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10956 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10957 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10958 $as_echo_n "(cached) " >&6
10960 ac_check_lib_save_LIBS
=$LIBS
10961 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10963 /* end confdefs.h. */
10965 /* Override any GCC internal prototype to avoid an error.
10966 Use char because int might match the return type of a GCC
10967 builtin and then its argument prototype would still apply. */
10971 char xmlSchemaSetValidStructuredErrors ();
10975 return xmlSchemaSetValidStructuredErrors ();
10980 if ac_fn_c_try_link
"$LINENO"; then :
10981 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10983 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10985 rm -f core conftest.err conftest.
$ac_objext \
10986 conftest
$ac_exeext conftest.
$ac_ext
10987 LIBS
=$ac_check_lib_save_LIBS
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10990 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10991 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10993 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
10998 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
10999 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11000 $as_echo_n "(cached) " >&6
11002 ac_check_lib_save_LIBS
=$LIBS
11003 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11005 /* end confdefs.h. */
11007 /* Override any GCC internal prototype to avoid an error.
11008 Use char because int might match the return type of a GCC
11009 builtin and then its argument prototype would still apply. */
11013 char xmlFirstElementChild ();
11017 return xmlFirstElementChild ();
11022 if ac_fn_c_try_link
"$LINENO"; then :
11023 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11025 ac_cv_lib_xml2_xmlFirstElementChild
=no
11027 rm -f core conftest.err conftest.
$ac_objext \
11028 conftest
$ac_exeext conftest.
$ac_ext
11029 LIBS
=$ac_check_lib_save_LIBS
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11032 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11033 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11035 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11039 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11041 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11043 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11051 CPPFLAGS
=$ac_save_CPPFLAGS
11052 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11053 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11056 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11057 case "x$with_xml" in
11058 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11060 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11061 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11065 if test "x$with_xslt" != "xno"
11067 if ${XSLT_CFLAGS:+false} :; then :
11068 if ${PKG_CONFIG+:} false
; then :
11069 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11072 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11073 if ${XSLT_LIBS:+false} :; then :
11074 if ${PKG_CONFIG+:} false
; then :
11075 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11078 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11079 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11080 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11081 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11082 ac_save_CPPFLAGS
=$CPPFLAGS
11083 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11084 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11086 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11087 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11088 # include <libxslt/pattern.h>
11091 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11092 cat >>confdefs.h
<<_ACEOF
11093 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11100 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11103 $as_echo_n "checking for -lxslt... " >&6; }
11104 if ${ac_cv_lib_soname_xslt+:} false
; then :
11105 $as_echo_n "(cached) " >&6
11107 ac_check_soname_save_LIBS
=$LIBS
11108 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11110 /* end confdefs.h. */
11112 /* Override any GCC internal prototype to avoid an error.
11113 Use char because int might match the return type of a GCC
11114 builtin and then its argument prototype would still apply. */
11118 char xsltCompilePattern ();
11122 return xsltCompilePattern ();
11127 if ac_fn_c_try_link
"$LINENO"; then :
11129 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11130 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'` ;;
11131 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11132 if ${ac_cv_lib_soname_xslt:+false} :; then :
11133 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11137 rm -f core conftest.err conftest.
$ac_objext \
11138 conftest
$ac_exeext conftest.
$ac_ext
11139 LIBS
=$ac_check_soname_save_LIBS
11141 if ${ac_cv_lib_soname_xslt:+false} :; then :
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11143 $as_echo "not found" >&6; }
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11147 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11149 cat >>confdefs.h
<<_ACEOF
11150 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11158 CPPFLAGS
=$ac_save_CPPFLAGS
11159 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11160 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11163 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11164 case "x$with_xslt" in
11165 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11167 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11168 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11172 if test "x$with_dbus" != "xno"
11174 if ${DBUS_CFLAGS:+false} :; then :
11175 if ${PKG_CONFIG+:} false
; then :
11176 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11180 if ${DBUS_LIBS:+false} :; then :
11181 if ${PKG_CONFIG+:} false
; then :
11182 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11187 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11188 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11189 ac_save_CPPFLAGS
=$CPPFLAGS
11190 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11191 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11192 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11194 $as_echo_n "checking for -ldbus-1... " >&6; }
11195 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11196 $as_echo_n "(cached) " >&6
11198 ac_check_soname_save_LIBS
=$LIBS
11199 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11201 /* end confdefs.h. */
11203 /* Override any GCC internal prototype to avoid an error.
11204 Use char because int might match the return type of a GCC
11205 builtin and then its argument prototype would still apply. */
11209 char dbus_connection_close ();
11213 return dbus_connection_close ();
11218 if ac_fn_c_try_link
"$LINENO"; then :
11220 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11221 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'` ;;
11222 *) 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'`
11223 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11224 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11228 rm -f core conftest.err conftest.
$ac_objext \
11229 conftest
$ac_exeext conftest.
$ac_ext
11230 LIBS
=$ac_check_soname_save_LIBS
11232 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11234 $as_echo "not found" >&6; }
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11238 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11240 cat >>confdefs.h
<<_ACEOF
11241 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11251 CPPFLAGS
=$ac_save_CPPFLAGS
11252 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11253 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11256 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11257 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11258 case "x$with_dbus" in
11259 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11261 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11262 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11266 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11268 if ${HAL_CFLAGS:+false} :; then :
11269 if ${PKG_CONFIG+:} false
; then :
11270 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11274 if ${HAL_LIBS:+false} :; then :
11275 if ${PKG_CONFIG+:} false
; then :
11276 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11280 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11281 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11282 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11283 ac_save_CPPFLAGS
=$CPPFLAGS
11284 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11285 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11286 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11288 $as_echo_n "checking for -lhal... " >&6; }
11289 if ${ac_cv_lib_soname_hal+:} false
; then :
11290 $as_echo_n "(cached) " >&6
11292 ac_check_soname_save_LIBS
=$LIBS
11293 LIBS
="-lhal $HAL_LIBS $LIBS"
11294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11295 /* end confdefs.h. */
11297 /* Override any GCC internal prototype to avoid an error.
11298 Use char because int might match the return type of a GCC
11299 builtin and then its argument prototype would still apply. */
11303 char libhal_ctx_new ();
11307 return libhal_ctx_new ();
11312 if ac_fn_c_try_link
"$LINENO"; then :
11314 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11315 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'` ;;
11316 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11317 if ${ac_cv_lib_soname_hal:+false} :; then :
11318 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11322 rm -f core conftest.err conftest.
$ac_objext \
11323 conftest
$ac_exeext conftest.
$ac_ext
11324 LIBS
=$ac_check_soname_save_LIBS
11326 if ${ac_cv_lib_soname_hal:+false} :; then :
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11328 $as_echo "not found" >&6; }
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11332 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11334 cat >>confdefs.h
<<_ACEOF
11335 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11345 CPPFLAGS
=$ac_save_CPPFLAGS
11346 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11347 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11349 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11350 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11351 case "x$with_hal" in
11352 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11354 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11355 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11360 if test "x$with_gnutls" != "xno"
11362 if ${GNUTLS_CFLAGS:+false} :; then :
11363 if ${PKG_CONFIG+:} false
; then :
11364 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11368 if ${GNUTLS_LIBS:+false} :; then :
11369 if ${PKG_CONFIG+:} false
; then :
11370 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11375 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11376 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11377 ac_save_CPPFLAGS
=$CPPFLAGS
11378 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11379 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11380 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11382 /* end confdefs.h. */
11383 #include <gnutls/gnutls.h>
11384 #include <gnutls/crypto.h>
11388 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11393 if ac_fn_c_try_compile
"$LINENO"; then :
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11395 $as_echo_n "checking for -lgnutls... " >&6; }
11396 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11397 $as_echo_n "(cached) " >&6
11399 ac_check_soname_save_LIBS
=$LIBS
11400 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11404 /* Override any GCC internal prototype to avoid an error.
11405 Use char because int might match the return type of a GCC
11406 builtin and then its argument prototype would still apply. */
11410 char gnutls_global_init ();
11414 return gnutls_global_init ();
11419 if ac_fn_c_try_link
"$LINENO"; then :
11421 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11422 dylib
) ac_cv_lib_soname_gnutls
=`otool -L conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\\(-deb0\\)\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11423 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11424 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11425 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\\(-deb0\\)\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11429 rm -f core conftest.err conftest.
$ac_objext \
11430 conftest
$ac_exeext conftest.
$ac_ext
11431 LIBS
=$ac_check_soname_save_LIBS
11433 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11435 $as_echo "not found" >&6; }
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11439 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11441 cat >>confdefs.h
<<_ACEOF
11442 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11448 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11454 CPPFLAGS
=$ac_save_CPPFLAGS
11455 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11456 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11459 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11460 case "x$with_gnutls" in
11461 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11463 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11464 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11469 if test "$ac_cv_header_ncurses_h" = "yes"
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11472 $as_echo_n "checking for -lncurses... " >&6; }
11473 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11474 $as_echo_n "(cached) " >&6
11476 ac_check_soname_save_LIBS
=$LIBS
11477 LIBS
="-lncurses $LIBS"
11478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11479 /* end confdefs.h. */
11481 /* Override any GCC internal prototype to avoid an error.
11482 Use char because int might match the return type of a GCC
11483 builtin and then its argument prototype would still apply. */
11496 if ac_fn_c_try_link
"$LINENO"; then :
11498 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11499 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'` ;;
11500 *) 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'`
11501 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11502 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11506 rm -f core conftest.err conftest.
$ac_objext \
11507 conftest
$ac_exeext conftest.
$ac_ext
11508 LIBS
=$ac_check_soname_save_LIBS
11510 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11512 $as_echo "not found" >&6; }
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11516 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11518 cat >>confdefs.h
<<_ACEOF
11519 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11522 CURSES_LIBS
="-lncurses"
11524 elif test "$ac_cv_header_curses_h" = "yes"
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11527 $as_echo_n "checking for -lcurses... " >&6; }
11528 if ${ac_cv_lib_soname_curses+:} false
; then :
11529 $as_echo_n "(cached) " >&6
11531 ac_check_soname_save_LIBS
=$LIBS
11532 LIBS
="-lcurses $LIBS"
11533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11534 /* end confdefs.h. */
11536 /* Override any GCC internal prototype to avoid an error.
11537 Use char because int might match the return type of a GCC
11538 builtin and then its argument prototype would still apply. */
11551 if ac_fn_c_try_link
"$LINENO"; then :
11553 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11554 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'` ;;
11555 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11556 if ${ac_cv_lib_soname_curses:+false} :; then :
11557 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11561 rm -f core conftest.err conftest.
$ac_objext \
11562 conftest
$ac_exeext conftest.
$ac_ext
11563 LIBS
=$ac_check_soname_save_LIBS
11565 if ${ac_cv_lib_soname_curses:+false} :; then :
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11567 $as_echo "not found" >&6; }
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11571 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11573 cat >>confdefs.h
<<_ACEOF
11574 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11577 CURSES_LIBS
="-lcurses"
11580 ac_save_LIBS
="$LIBS"
11581 LIBS
="$LIBS $CURSES_LIBS"
11582 for ac_func
in mousemask
11584 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11585 if test "x$ac_cv_func_mousemask" = xyes
; then :
11586 cat >>confdefs.h
<<_ACEOF
11587 #define HAVE_MOUSEMASK 1
11593 LIBS
="$ac_save_LIBS"
11594 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11595 case "x$with_curses" in
11596 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11598 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11599 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11603 if test "x$with_sane" != "xno"
11605 if ${SANE_CFLAGS:+false} :; then :
11606 if ${PKG_CONFIG+:} false
; then :
11607 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11610 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11611 if ${SANE_LIBS:+false} :; then :
11612 if ${PKG_CONFIG+:} false
; then :
11613 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11616 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11618 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11619 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11620 ac_save_CPPFLAGS
=$CPPFLAGS
11621 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11622 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11623 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11625 $as_echo_n "checking for -lsane... " >&6; }
11626 if ${ac_cv_lib_soname_sane+:} false
; then :
11627 $as_echo_n "(cached) " >&6
11629 ac_check_soname_save_LIBS
=$LIBS
11630 LIBS
="-lsane $SANE_LIBS $LIBS"
11631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11632 /* end confdefs.h. */
11634 /* Override any GCC internal prototype to avoid an error.
11635 Use char because int might match the return type of a GCC
11636 builtin and then its argument prototype would still apply. */
11644 return sane_init ();
11649 if ac_fn_c_try_link
"$LINENO"; then :
11651 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11652 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'` ;;
11653 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11654 if ${ac_cv_lib_soname_sane:+false} :; then :
11655 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11659 rm -f core conftest.err conftest.
$ac_objext \
11660 conftest
$ac_exeext conftest.
$ac_ext
11661 LIBS
=$ac_check_soname_save_LIBS
11663 if ${ac_cv_lib_soname_sane:+false} :; then :
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11665 $as_echo "not found" >&6; }
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11669 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11671 cat >>confdefs.h
<<_ACEOF
11672 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11682 CPPFLAGS
=$ac_save_CPPFLAGS
11683 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11684 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11687 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11688 case "x$with_sane" in
11689 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11691 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11692 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11696 if test "x$with_v4l" != "xno"
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11699 $as_echo_n "checking for -lv4l1... " >&6; }
11700 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11701 $as_echo_n "(cached) " >&6
11703 ac_check_soname_save_LIBS
=$LIBS
11704 LIBS
="-lv4l1 $LIBS"
11705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11706 /* end confdefs.h. */
11708 /* Override any GCC internal prototype to avoid an error.
11709 Use char because int might match the return type of a GCC
11710 builtin and then its argument prototype would still apply. */
11718 return v4l1_open ();
11723 if ac_fn_c_try_link
"$LINENO"; then :
11725 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11726 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'` ;;
11727 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11728 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11729 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11733 rm -f core conftest.err conftest.
$ac_objext \
11734 conftest
$ac_exeext conftest.
$ac_ext
11735 LIBS
=$ac_check_soname_save_LIBS
11737 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11739 $as_echo "not found" >&6; }
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11743 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11745 cat >>confdefs.h
<<_ACEOF
11746 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11752 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11753 case "x$with_v4l" in
11754 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11756 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11757 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11761 if test "x$with_gphoto" != "xno"
11763 if ${GPHOTO2_CFLAGS:+false} :; then :
11764 if ${PKG_CONFIG+:} false
; then :
11765 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11768 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11769 if ${GPHOTO2_LIBS:+false} :; then :
11770 if ${PKG_CONFIG+:} false
; then :
11771 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11774 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11775 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11776 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11777 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11778 ac_save_CPPFLAGS
=$CPPFLAGS
11779 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11780 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11781 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11783 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11784 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11785 $as_echo_n "(cached) " >&6
11787 ac_check_lib_save_LIBS
=$LIBS
11788 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11790 /* end confdefs.h. */
11792 /* Override any GCC internal prototype to avoid an error.
11793 Use char because int might match the return type of a GCC
11794 builtin and then its argument prototype would still apply. */
11798 char gp_camera_new ();
11802 return gp_camera_new ();
11807 if ac_fn_c_try_link
"$LINENO"; then :
11808 ac_cv_lib_gphoto2_gp_camera_new
=yes
11810 ac_cv_lib_gphoto2_gp_camera_new
=no
11812 rm -f core conftest.err conftest.
$ac_objext \
11813 conftest
$ac_exeext conftest.
$ac_ext
11814 LIBS
=$ac_check_lib_save_LIBS
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11817 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11818 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11820 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11823 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11827 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11831 CPPFLAGS
=$ac_save_CPPFLAGS
11832 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11833 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11835 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11836 if ${PKG_CONFIG+:} false
; then :
11837 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11840 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11841 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11842 if ${PKG_CONFIG+:} false
; then :
11843 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11846 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11847 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11848 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11849 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11850 ac_save_CPPFLAGS
=$CPPFLAGS
11851 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11852 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11853 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11855 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11856 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11857 $as_echo_n "(cached) " >&6
11859 ac_check_lib_save_LIBS
=$LIBS
11860 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11862 /* end confdefs.h. */
11864 /* Override any GCC internal prototype to avoid an error.
11865 Use char because int might match the return type of a GCC
11866 builtin and then its argument prototype would still apply. */
11870 char gp_port_info_list_new ();
11874 return gp_port_info_list_new ();
11879 if ac_fn_c_try_link
"$LINENO"; then :
11880 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11882 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11884 rm -f core conftest.err conftest.
$ac_objext \
11885 conftest
$ac_exeext conftest.
$ac_ext
11886 LIBS
=$ac_check_lib_save_LIBS
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11889 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11890 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11892 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11895 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11899 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11903 CPPFLAGS
=$ac_save_CPPFLAGS
11904 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11905 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11908 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11909 case "x$with_gphoto" in
11910 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11912 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11913 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11916 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11917 case "x$with_gphoto" in
11918 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11920 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11921 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11926 if test "$ac_cv_header_resolv_h" = "yes"
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11929 $as_echo_n "checking for resolver library... " >&6; }
11930 if ${ac_cv_have_resolv+:} false
; then :
11931 $as_echo_n "(cached) " >&6
11933 ac_save_LIBS
="$LIBS"
11934 for lib
in '' -lresolv
11936 LIBS
="$lib $ac_save_LIBS"
11937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11938 /* end confdefs.h. */
11939 #ifdef HAVE_NETINET_IN_H
11940 #include <netinet/in.h>
11942 #include <resolv.h>
11946 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11951 if ac_fn_c_try_link
"$LINENO"; then :
11952 ac_cv_have_resolv
=${lib:-"none required"}
11954 ac_cv_have_resolv
="not found"
11956 rm -f core conftest.err conftest.
$ac_objext \
11957 conftest
$ac_exeext conftest.
$ac_ext
11958 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11960 LIBS
="$ac_save_LIBS"
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11963 $as_echo "$ac_cv_have_resolv" >&6; }
11965 case "$ac_cv_have_resolv" in
11969 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11972 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11974 RESOLV_LIBS
=$ac_cv_have_resolv
11979 if test "x$with_cms" != "xno"
11981 if ${LCMS2_CFLAGS:+false} :; then :
11982 if ${PKG_CONFIG+:} false
; then :
11983 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11987 if ${LCMS2_LIBS:+false} :; then :
11988 if ${PKG_CONFIG+:} false
; then :
11989 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11993 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11994 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11995 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11996 ac_save_CPPFLAGS
=$CPPFLAGS
11997 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
11998 for ac_header
in lcms2.h
12000 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12001 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12002 cat >>confdefs.h
<<_ACEOF
12003 #define HAVE_LCMS2_H 1
12010 if test "$ac_cv_header_lcms2_h" = "yes"
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12013 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12014 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12015 $as_echo_n "(cached) " >&6
12017 ac_check_lib_save_LIBS
=$LIBS
12018 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12020 /* end confdefs.h. */
12022 /* Override any GCC internal prototype to avoid an error.
12023 Use char because int might match the return type of a GCC
12024 builtin and then its argument prototype would still apply. */
12028 char cmsOpenProfileFromFile ();
12032 return cmsOpenProfileFromFile ();
12037 if ac_fn_c_try_link
"$LINENO"; then :
12038 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12040 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12042 rm -f core conftest.err conftest.
$ac_objext \
12043 conftest
$ac_exeext conftest.
$ac_ext
12044 LIBS
=$ac_check_lib_save_LIBS
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12047 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12048 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12050 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12060 CPPFLAGS
=$ac_save_CPPFLAGS
12061 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12062 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12065 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12066 case "x$with_cms" in
12067 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12069 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12070 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12074 if test "x$with_freetype" != "xno"
12076 if ${FREETYPE_CFLAGS:+false} :; then :
12077 if ${PKG_CONFIG+:} false
; then :
12078 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12081 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12082 if ${FREETYPE_LIBS:+false} :; then :
12083 if ${PKG_CONFIG+:} false
; then :
12084 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12087 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12088 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12089 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12090 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12091 ac_save_CPPFLAGS
=$CPPFLAGS
12092 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12093 for ac_header
in ft2build.h
12095 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12096 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12097 cat >>confdefs.h
<<_ACEOF
12098 #define HAVE_FT2BUILD_H 1
12105 if test "$ac_cv_header_ft2build_h" = "yes"
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12108 $as_echo_n "checking for -lfreetype... " >&6; }
12109 if ${ac_cv_lib_soname_freetype+:} false
; then :
12110 $as_echo_n "(cached) " >&6
12112 ac_check_soname_save_LIBS
=$LIBS
12113 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12115 /* end confdefs.h. */
12117 /* Override any GCC internal prototype to avoid an error.
12118 Use char because int might match the return type of a GCC
12119 builtin and then its argument prototype would still apply. */
12123 char FT_Init_FreeType ();
12127 return FT_Init_FreeType ();
12132 if ac_fn_c_try_link
"$LINENO"; then :
12134 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12135 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'` ;;
12136 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12137 if ${ac_cv_lib_soname_freetype:+false} :; then :
12138 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12142 rm -f core conftest.err conftest.
$ac_objext \
12143 conftest
$ac_exeext conftest.
$ac_ext
12144 LIBS
=$ac_check_soname_save_LIBS
12146 if ${ac_cv_lib_soname_freetype:+false} :; then :
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12148 $as_echo "not found" >&6; }
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12152 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12154 cat >>confdefs.h
<<_ACEOF
12155 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12159 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12161 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12162 #include FT_MODULE_H
12164 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12166 cat >>confdefs.h
<<_ACEOF
12167 #define HAVE_FT_TRUETYPEENGINETYPE 1
12178 CPPFLAGS
=$ac_save_CPPFLAGS
12179 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12180 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12183 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12184 case "x$with_freetype" in
12186 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12187 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12190 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12193 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12194 if ${ac_cv_c_ppdev+:} false
; then :
12195 $as_echo_n "(cached) " >&6
12197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12198 /* end confdefs.h. */
12199 #ifdef HAVE_SYS_IOCTL_H
12200 # include <sys/ioctl.h>
12202 #include <linux/ppdev.h>
12206 ioctl (1,PPCLAIM,0)
12211 if ac_fn_c_try_compile
"$LINENO"; then :
12212 ac_cv_c_ppdev
="yes"
12216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12219 $as_echo "$ac_cv_c_ppdev" >&6; }
12220 if test "$ac_cv_c_ppdev" = "yes"
12223 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12227 ac_wine_check_funcs_save_LIBS
="$LIBS"
12228 LIBS
="$LIBS $PTHREAD_LIBS"
12230 pthread_attr_get_np \
12231 pthread_getattr_np \
12232 pthread_getthreadid_np \
12233 pthread_get_stackaddr_np \
12234 pthread_get_stacksize_np
12236 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12237 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12238 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12239 cat >>confdefs.h
<<_ACEOF
12240 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12246 LIBS
="$ac_wine_check_funcs_save_LIBS"
12248 if test "$ac_cv_header_zlib_h" = "yes"
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12251 $as_echo_n "checking for inflate in -lz... " >&6; }
12252 if ${ac_cv_lib_z_inflate+:} false
; then :
12253 $as_echo_n "(cached) " >&6
12255 ac_check_lib_save_LIBS
=$LIBS
12257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12258 /* end confdefs.h. */
12260 /* Override any GCC internal prototype to avoid an error.
12261 Use char because int might match the return type of a GCC
12262 builtin and then its argument prototype would still apply. */
12275 if ac_fn_c_try_link
"$LINENO"; then :
12276 ac_cv_lib_z_inflate
=yes
12278 ac_cv_lib_z_inflate
=no
12280 rm -f core conftest.err conftest.
$ac_objext \
12281 conftest
$ac_exeext conftest.
$ac_ext
12282 LIBS
=$ac_check_lib_save_LIBS
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12285 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12286 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12288 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12295 if test "x$Z_LIBS" = "x"; then :
12296 case "x$with_zlib" in
12297 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12299 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12300 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12304 if test "x$enable_tools" != xno
12306 if test "$ac_cv_header_gettext_po_h" = "yes"
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12309 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12310 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12311 $as_echo_n "(cached) " >&6
12313 ac_check_lib_save_LIBS
=$LIBS
12314 LIBS
="-lgettextpo $LIBS"
12315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12316 /* end confdefs.h. */
12318 /* Override any GCC internal prototype to avoid an error.
12319 Use char because int might match the return type of a GCC
12320 builtin and then its argument prototype would still apply. */
12324 char po_message_msgctxt ();
12328 return po_message_msgctxt ();
12333 if ac_fn_c_try_link
"$LINENO"; then :
12334 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12336 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12338 rm -f core conftest.err conftest.
$ac_objext \
12339 conftest
$ac_exeext conftest.
$ac_ext
12340 LIBS
=$ac_check_lib_save_LIBS
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12343 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12344 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12346 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12348 GETTEXTPO_LIBS
="-lgettextpo"
12353 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12354 case "x$with_gettextpo" in
12355 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12357 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12358 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12363 if test "x$with_gstreamer" != "xno"
12365 if ${GSTREAMER_CFLAGS:+false} :; then :
12366 if ${PKG_CONFIG+:} false
; then :
12367 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12371 if ${GSTREAMER_LIBS:+false} :; then :
12372 if ${PKG_CONFIG+:} false
; then :
12373 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12378 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12379 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12380 ac_save_CPPFLAGS
=$CPPFLAGS
12381 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12383 for i
in $GSTREAMER_CFLAGS
12386 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12389 GSTREAMER_CFLAGS
=$ac_gst_incl
12390 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12391 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12392 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12393 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12394 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12396 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12398 /* end confdefs.h. */
12399 #include <gst/app/gstappsink.h>
12403 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12408 if ac_fn_c_try_compile
"$LINENO"; then :
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12410 $as_echo "yes" >&6; }
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12412 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12413 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12414 $as_echo_n "(cached) " >&6
12416 ac_check_lib_save_LIBS
=$LIBS
12417 LIBS
="-lgstreamer-0.10 $LIBS"
12418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12419 /* end confdefs.h. */
12421 /* Override any GCC internal prototype to avoid an error.
12422 Use char because int might match the return type of a GCC
12423 builtin and then its argument prototype would still apply. */
12427 char gst_pad_get_caps_reffed ();
12431 return gst_pad_get_caps_reffed ();
12436 if ac_fn_c_try_link
"$LINENO"; then :
12437 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12439 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12441 rm -f core conftest.err conftest.
$ac_objext \
12442 conftest
$ac_exeext conftest.
$ac_ext
12443 LIBS
=$ac_check_lib_save_LIBS
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12446 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12447 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12449 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12450 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12451 $as_echo_n "(cached) " >&6
12453 ac_check_lib_save_LIBS
=$LIBS
12454 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12456 /* end confdefs.h. */
12458 /* Override any GCC internal prototype to avoid an error.
12459 Use char because int might match the return type of a GCC
12460 builtin and then its argument prototype would still apply. */
12464 char gst_app_buffer_new ();
12468 return gst_app_buffer_new ();
12473 if ac_fn_c_try_link
"$LINENO"; then :
12474 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12476 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12478 rm -f core conftest.err conftest.
$ac_objext \
12479 conftest
$ac_exeext conftest.
$ac_ext
12480 LIBS
=$ac_check_lib_save_LIBS
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12483 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12484 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12492 $as_echo "no" >&6; }
12494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12499 GSTREAMER_CFLAGS
=""
12503 CPPFLAGS
=$ac_save_CPPFLAGS
12504 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12505 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12508 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12509 case "x$with_gstreamer" in
12510 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12512 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12513 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12516 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12520 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12523 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12524 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12525 $as_echo_n "(cached) " >&6
12527 ac_check_lib_save_LIBS
=$LIBS
12528 LIBS
="-lasound $LIBS"
12529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12530 /* end confdefs.h. */
12532 /* Override any GCC internal prototype to avoid an error.
12533 Use char because int might match the return type of a GCC
12534 builtin and then its argument prototype would still apply. */
12538 char snd_pcm_hw_params_get_access_mask ();
12542 return snd_pcm_hw_params_get_access_mask ();
12547 if ac_fn_c_try_link
"$LINENO"; then :
12548 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12550 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12552 rm -f core conftest.err conftest.
$ac_objext \
12553 conftest
$ac_exeext conftest.
$ac_ext
12554 LIBS
=$ac_check_lib_save_LIBS
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12557 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12558 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12560 /* end confdefs.h. */
12561 #ifdef HAVE_ALSA_ASOUNDLIB_H
12562 #include <alsa/asoundlib.h>
12563 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12564 #include <sys/asoundlib.h>
12569 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12574 if ac_fn_c_try_compile
"$LINENO"; then :
12575 ALSA_LIBS
="-lasound"
12577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12582 if test "x$with_oss" != xno
12584 ac_save_CPPFLAGS
="$CPPFLAGS"
12585 if test -f /etc
/oss.conf
12589 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12590 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12591 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12592 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12593 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12595 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12597 cat >>confdefs.h
<<_ACEOF
12598 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12601 OSS4_CFLAGS
="$ac_oss_incl"
12608 CPPFLAGS
="$ac_save_CPPFLAGS"
12609 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12611 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12615 if test "x$with_capi" != "xno"
12617 if ${CAPI20_CFLAGS:+false} :; then :
12618 if ${PKG_CONFIG+:} false
; then :
12619 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12623 if ${CAPI20_LIBS:+false} :; then :
12624 if ${PKG_CONFIG+:} false
; then :
12625 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12630 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12631 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12632 ac_save_CPPFLAGS
=$CPPFLAGS
12633 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12634 for ac_header
in capi20.h linux
/capi.h
12636 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12637 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12639 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12640 cat >>confdefs.h
<<_ACEOF
12641 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12648 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12651 $as_echo_n "checking for -lcapi20... " >&6; }
12652 if ${ac_cv_lib_soname_capi20+:} false
; then :
12653 $as_echo_n "(cached) " >&6
12655 ac_check_soname_save_LIBS
=$LIBS
12656 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12658 /* end confdefs.h. */
12660 /* Override any GCC internal prototype to avoid an error.
12661 Use char because int might match the return type of a GCC
12662 builtin and then its argument prototype would still apply. */
12666 char capi20_register ();
12670 return capi20_register ();
12675 if ac_fn_c_try_link
"$LINENO"; then :
12677 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12678 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'` ;;
12679 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12680 if ${ac_cv_lib_soname_capi20:+false} :; then :
12681 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12685 rm -f core conftest.err conftest.
$ac_objext \
12686 conftest
$ac_exeext conftest.
$ac_ext
12687 LIBS
=$ac_check_soname_save_LIBS
12689 if ${ac_cv_lib_soname_capi20:+false} :; then :
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12691 $as_echo "not found" >&6; }
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12695 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12697 cat >>confdefs.h
<<_ACEOF
12698 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12704 CPPFLAGS
=$ac_save_CPPFLAGS
12705 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12706 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12709 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12710 case "x$with_capi" in
12711 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12713 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12714 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12720 if test "x$with_cups" != "xno"
12722 ac_save_CPPFLAGS
="$CPPFLAGS"
12723 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12724 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12725 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12726 for ac_header
in cups
/cups.h
12728 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12729 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12730 cat >>confdefs.h
<<_ACEOF
12731 #define HAVE_CUPS_CUPS_H 1
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12734 $as_echo_n "checking for -lcups... " >&6; }
12735 if ${ac_cv_lib_soname_cups+:} false
; then :
12736 $as_echo_n "(cached) " >&6
12738 ac_check_soname_save_LIBS
=$LIBS
12739 LIBS
="-lcups $ac_cups_libs $LIBS"
12740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12741 /* end confdefs.h. */
12743 /* Override any GCC internal prototype to avoid an error.
12744 Use char because int might match the return type of a GCC
12745 builtin and then its argument prototype would still apply. */
12749 char cupsGetDefault ();
12753 return cupsGetDefault ();
12758 if ac_fn_c_try_link
"$LINENO"; then :
12760 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12761 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'` ;;
12762 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12763 if ${ac_cv_lib_soname_cups:+false} :; then :
12764 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12768 rm -f core conftest.err conftest.
$ac_objext \
12769 conftest
$ac_exeext conftest.
$ac_ext
12770 LIBS
=$ac_check_soname_save_LIBS
12772 if ${ac_cv_lib_soname_cups:+false} :; then :
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12774 $as_echo "not found" >&6; }
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12778 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12780 cat >>confdefs.h
<<_ACEOF
12781 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12784 CUPS_CFLAGS
="$ac_cups_cflags"
12790 CPPFLAGS
="$ac_save_CPPFLAGS"
12792 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12793 case "x$with_cups" in
12794 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12796 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12797 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12801 if test "x$with_fontconfig" != "xno"
12803 if ${FONTCONFIG_CFLAGS:+false} :; then :
12804 if ${PKG_CONFIG+:} false
; then :
12805 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12808 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12809 if ${FONTCONFIG_LIBS:+false} :; then :
12810 if ${PKG_CONFIG+:} false
; then :
12811 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12814 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12816 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12817 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12818 ac_save_CPPFLAGS
=$CPPFLAGS
12819 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12820 for ac_header
in fontconfig
/fontconfig.h
12822 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12823 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12824 cat >>confdefs.h
<<_ACEOF
12825 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12832 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12835 $as_echo_n "checking for -lfontconfig... " >&6; }
12836 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12837 $as_echo_n "(cached) " >&6
12839 ac_check_soname_save_LIBS
=$LIBS
12840 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12842 /* end confdefs.h. */
12844 /* Override any GCC internal prototype to avoid an error.
12845 Use char because int might match the return type of a GCC
12846 builtin and then its argument prototype would still apply. */
12859 if ac_fn_c_try_link
"$LINENO"; then :
12861 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12862 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'` ;;
12863 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12864 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12865 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12869 rm -f core conftest.err conftest.
$ac_objext \
12870 conftest
$ac_exeext conftest.
$ac_ext
12871 LIBS
=$ac_check_soname_save_LIBS
12873 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12875 $as_echo "not found" >&6; }
12876 FONTCONFIG_CFLAGS
=""
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12879 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12881 cat >>confdefs.h
<<_ACEOF
12882 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12888 FONTCONFIG_CFLAGS
=""
12890 CPPFLAGS
=$ac_save_CPPFLAGS
12891 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12892 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12895 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12896 case "x$with_fontconfig" in
12897 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12899 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12900 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12904 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12907 $as_echo_n "checking for -lgsm... " >&6; }
12908 if ${ac_cv_lib_soname_gsm+:} false
; then :
12909 $as_echo_n "(cached) " >&6
12911 ac_check_soname_save_LIBS
=$LIBS
12913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12914 /* end confdefs.h. */
12916 /* Override any GCC internal prototype to avoid an error.
12917 Use char because int might match the return type of a GCC
12918 builtin and then its argument prototype would still apply. */
12922 char gsm_create ();
12926 return gsm_create ();
12931 if ac_fn_c_try_link
"$LINENO"; then :
12933 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12934 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'` ;;
12935 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12936 if ${ac_cv_lib_soname_gsm:+false} :; then :
12937 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12941 rm -f core conftest.err conftest.
$ac_objext \
12942 conftest
$ac_exeext conftest.
$ac_ext
12943 LIBS
=$ac_check_soname_save_LIBS
12945 if ${ac_cv_lib_soname_gsm:+false} :; then :
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12947 $as_echo "not found" >&6; }
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12951 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12953 cat >>confdefs.h
<<_ACEOF
12954 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12960 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12961 case "x$with_gsm" in
12962 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12964 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12965 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12969 if test "x$with_jpeg" != "xno"
12971 if ${JPEG_CFLAGS:+false} :; then :
12972 if ${PKG_CONFIG+:} false
; then :
12973 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12977 if ${JPEG_LIBS:+false} :; then :
12978 if ${PKG_CONFIG+:} false
; then :
12979 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12984 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12985 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12986 ac_save_CPPFLAGS
=$CPPFLAGS
12987 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12988 for ac_header
in jpeglib.h
12990 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12991 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12992 cat >>confdefs.h
<<_ACEOF
12993 #define HAVE_JPEGLIB_H 1
13000 if test "$ac_cv_header_jpeglib_h" = "yes"
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13003 $as_echo_n "checking for -ljpeg... " >&6; }
13004 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13005 $as_echo_n "(cached) " >&6
13007 ac_check_soname_save_LIBS
=$LIBS
13008 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13010 /* end confdefs.h. */
13012 /* Override any GCC internal prototype to avoid an error.
13013 Use char because int might match the return type of a GCC
13014 builtin and then its argument prototype would still apply. */
13018 char jpeg_start_decompress ();
13022 return jpeg_start_decompress ();
13027 if ac_fn_c_try_link
"$LINENO"; then :
13029 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13030 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'` ;;
13031 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13032 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13033 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13037 rm -f core conftest.err conftest.
$ac_objext \
13038 conftest
$ac_exeext conftest.
$ac_ext
13039 LIBS
=$ac_check_soname_save_LIBS
13041 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13043 $as_echo "not found" >&6; }
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13047 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13049 cat >>confdefs.h
<<_ACEOF
13050 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13058 CPPFLAGS
=$ac_save_CPPFLAGS
13059 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13060 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13063 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13064 case "x$with_jpeg" in
13065 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13067 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13068 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13072 if test "x$with_png" != "xno"
13074 if ${PNG_CFLAGS:+false} :; then :
13075 if ${PKG_CONFIG+:} false
; then :
13076 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13079 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13080 if ${PNG_LIBS:+false} :; then :
13081 if ${PKG_CONFIG+:} false
; then :
13082 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13085 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13087 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13088 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13089 ac_save_CPPFLAGS
=$CPPFLAGS
13090 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13091 for ac_header
in png.h
13093 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13094 if test "x$ac_cv_header_png_h" = xyes
; then :
13095 cat >>confdefs.h
<<_ACEOF
13096 #define HAVE_PNG_H 1
13103 if test "$ac_cv_header_png_h" = "yes"
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13106 $as_echo_n "checking for -lpng... " >&6; }
13107 if ${ac_cv_lib_soname_png+:} false
; then :
13108 $as_echo_n "(cached) " >&6
13110 ac_check_soname_save_LIBS
=$LIBS
13111 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13113 /* end confdefs.h. */
13115 /* Override any GCC internal prototype to avoid an error.
13116 Use char because int might match the return type of a GCC
13117 builtin and then its argument prototype would still apply. */
13121 char png_create_read_struct ();
13125 return png_create_read_struct ();
13130 if ac_fn_c_try_link
"$LINENO"; then :
13132 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13133 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'` ;;
13134 *) 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'`
13135 if ${ac_cv_lib_soname_png:+false} :; then :
13136 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13140 rm -f core conftest.err conftest.
$ac_objext \
13141 conftest
$ac_exeext conftest.
$ac_ext
13142 LIBS
=$ac_check_soname_save_LIBS
13144 if ${ac_cv_lib_soname_png:+false} :; then :
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13146 $as_echo "not found" >&6; }
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13150 $as_echo "$ac_cv_lib_soname_png" >&6; }
13152 cat >>confdefs.h
<<_ACEOF
13153 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13157 /* end confdefs.h. */
13162 typeof(png_set_expand_gray_1_2_4_to_8) *p
13167 if ac_fn_c_try_compile
"$LINENO"; then :
13169 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13177 CPPFLAGS
=$ac_save_CPPFLAGS
13178 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13179 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13182 if test "x$ac_cv_lib_soname_png" = "x"; then :
13183 case "x$with_png" in
13184 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13186 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13187 This is an error since --with-png was requested." "$LINENO" 5 ;;
13191 if test "x$with_tiff" != "xno"
13193 if ${TIFF_CFLAGS:+false} :; then :
13194 if ${PKG_CONFIG+:} false
; then :
13195 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13199 if ${TIFF_LIBS:+false} :; then :
13200 if ${PKG_CONFIG+:} false
; then :
13201 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13206 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13207 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13208 ac_save_CPPFLAGS
=$CPPFLAGS
13209 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13210 for ac_header
in tiffio.h
13212 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13213 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13214 cat >>confdefs.h
<<_ACEOF
13215 #define HAVE_TIFFIO_H 1
13222 if test "$ac_cv_header_tiffio_h" = "yes"
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13225 $as_echo_n "checking for -ltiff... " >&6; }
13226 if ${ac_cv_lib_soname_tiff+:} false
; then :
13227 $as_echo_n "(cached) " >&6
13229 ac_check_soname_save_LIBS
=$LIBS
13230 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13232 /* end confdefs.h. */
13234 /* Override any GCC internal prototype to avoid an error.
13235 Use char because int might match the return type of a GCC
13236 builtin and then its argument prototype would still apply. */
13240 char TIFFClientOpen ();
13244 return TIFFClientOpen ();
13249 if ac_fn_c_try_link
"$LINENO"; then :
13251 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13252 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'` ;;
13253 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13254 if ${ac_cv_lib_soname_tiff:+false} :; then :
13255 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13259 rm -f core conftest.err conftest.
$ac_objext \
13260 conftest
$ac_exeext conftest.
$ac_ext
13261 LIBS
=$ac_check_soname_save_LIBS
13263 if ${ac_cv_lib_soname_tiff:+false} :; then :
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13265 $as_echo "not found" >&6; }
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13269 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13271 cat >>confdefs.h
<<_ACEOF
13272 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13278 CPPFLAGS
=$ac_save_CPPFLAGS
13279 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13280 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13283 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13284 case "x$with_tiff" in
13285 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13287 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13288 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13292 if test "x$with_mpg123" != "xno"
13294 if ${MPG123_CFLAGS:+false} :; then :
13295 if ${PKG_CONFIG+:} false
; then :
13296 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13300 if ${MPG123_LIBS:+false} :; then :
13301 if ${PKG_CONFIG+:} false
; then :
13302 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13306 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13307 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13308 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13309 ac_save_CPPFLAGS
=$CPPFLAGS
13310 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13311 for ac_header
in mpg123.h
13313 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13314 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13315 cat >>confdefs.h
<<_ACEOF
13316 #define HAVE_MPG123_H 1
13323 if test "$ac_cv_header_mpg123_h" = "yes"
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13326 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13327 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13328 $as_echo_n "(cached) " >&6
13330 ac_check_lib_save_LIBS
=$LIBS
13331 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13333 /* end confdefs.h. */
13335 /* Override any GCC internal prototype to avoid an error.
13336 Use char because int might match the return type of a GCC
13337 builtin and then its argument prototype would still apply. */
13341 char mpg123_feed ();
13345 return mpg123_feed ();
13350 if ac_fn_c_try_link
"$LINENO"; then :
13351 ac_cv_lib_mpg123_mpg123_feed
=yes
13353 ac_cv_lib_mpg123_mpg123_feed
=no
13355 rm -f core conftest.err conftest.
$ac_objext \
13356 conftest
$ac_exeext conftest.
$ac_ext
13357 LIBS
=$ac_check_lib_save_LIBS
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13360 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13361 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13371 CPPFLAGS
=$ac_save_CPPFLAGS
13372 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13373 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13376 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13377 case "x$with_mpg123" in
13378 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13380 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13381 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13384 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}
13386 if test "$ac_cv_header_AL_al_h" = "yes"
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13389 $as_echo_n "checking for -lopenal... " >&6; }
13390 if ${ac_cv_lib_soname_openal+:} false
; then :
13391 $as_echo_n "(cached) " >&6
13393 ac_check_soname_save_LIBS
=$LIBS
13394 LIBS
="-lopenal $LIBS"
13395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13396 /* end confdefs.h. */
13398 /* Override any GCC internal prototype to avoid an error.
13399 Use char because int might match the return type of a GCC
13400 builtin and then its argument prototype would still apply. */
13404 char alGetSource3i ();
13408 return alGetSource3i ();
13413 if ac_fn_c_try_link
"$LINENO"; then :
13415 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13416 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'` ;;
13417 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13418 if ${ac_cv_lib_soname_openal:+false} :; then :
13419 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13423 rm -f core conftest.err conftest.
$ac_objext \
13424 conftest
$ac_exeext conftest.
$ac_ext
13425 LIBS
=$ac_check_soname_save_LIBS
13427 if ${ac_cv_lib_soname_openal:+false} :; then :
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13429 $as_echo "not found" >&6; }
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13433 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13435 cat >>confdefs.h
<<_ACEOF
13436 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13439 OPENAL_LIBS
="-lopenal"
13441 ac_cv_lib_openal
=yes
13443 cat >>confdefs.h
<<_ACEOF
13444 #define HAVE_OPENAL 1
13449 if test "x$ac_cv_lib_openal" != xyes
; then :
13450 case "x$with_openal" in
13451 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13453 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13454 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13457 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13459 if test "$ac_cv_header_kstat_h" = "yes"
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13462 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13463 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13464 $as_echo_n "(cached) " >&6
13466 ac_check_lib_save_LIBS
=$LIBS
13467 LIBS
="-lkstat $LIBS"
13468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13469 /* end confdefs.h. */
13471 /* Override any GCC internal prototype to avoid an error.
13472 Use char because int might match the return type of a GCC
13473 builtin and then its argument prototype would still apply. */
13477 char kstat_open ();
13481 return kstat_open ();
13486 if ac_fn_c_try_link
"$LINENO"; then :
13487 ac_cv_lib_kstat_kstat_open
=yes
13489 ac_cv_lib_kstat_kstat_open
=no
13491 rm -f core conftest.err conftest.
$ac_objext \
13492 conftest
$ac_exeext conftest.
$ac_ext
13493 LIBS
=$ac_check_lib_save_LIBS
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13496 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13497 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13499 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13501 KSTAT_LIBS
="-lkstat"
13507 if test "$ac_cv_header_libprocstat_h" = "yes"
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13510 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13511 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13512 $as_echo_n "(cached) " >&6
13514 ac_check_lib_save_LIBS
=$LIBS
13515 LIBS
="-lprocstat $LIBS"
13516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13517 /* end confdefs.h. */
13519 /* Override any GCC internal prototype to avoid an error.
13520 Use char because int might match the return type of a GCC
13521 builtin and then its argument prototype would still apply. */
13525 char procstat_open_sysctl ();
13529 return procstat_open_sysctl ();
13534 if ac_fn_c_try_link
"$LINENO"; then :
13535 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13537 ac_cv_lib_procstat_procstat_open_sysctl
=no
13539 rm -f core conftest.err conftest.
$ac_objext \
13540 conftest
$ac_exeext conftest.
$ac_ext
13541 LIBS
=$ac_check_lib_save_LIBS
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13544 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13545 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13547 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13549 PROCSTAT_LIBS
="-lprocstat"
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13556 $as_echo_n "checking for -lodbc... " >&6; }
13557 if ${ac_cv_lib_soname_odbc+:} false
; then :
13558 $as_echo_n "(cached) " >&6
13560 ac_check_soname_save_LIBS
=$LIBS
13561 LIBS
="-lodbc $LIBS"
13562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13563 /* end confdefs.h. */
13565 /* Override any GCC internal prototype to avoid an error.
13566 Use char because int might match the return type of a GCC
13567 builtin and then its argument prototype would still apply. */
13571 char SQLConnect ();
13575 return SQLConnect ();
13580 if ac_fn_c_try_link
"$LINENO"; then :
13582 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13583 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'` ;;
13584 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13585 if ${ac_cv_lib_soname_odbc:+false} :; then :
13586 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13590 rm -f core conftest.err conftest.
$ac_objext \
13591 conftest
$ac_exeext conftest.
$ac_ext
13592 LIBS
=$ac_check_soname_save_LIBS
13594 if ${ac_cv_lib_soname_odbc:+false} :; then :
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13596 $as_echo "not found" >&6; }
13597 cat >>confdefs.h
<<_ACEOF
13598 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13603 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13605 cat >>confdefs.h
<<_ACEOF
13606 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13612 if test "x$with_netapi" != "xno"
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13615 $as_echo_n "checking for -lnetapi... " >&6; }
13616 if ${ac_cv_lib_soname_netapi+:} false
; then :
13617 $as_echo_n "(cached) " >&6
13619 ac_check_soname_save_LIBS
=$LIBS
13620 LIBS
="-lnetapi $LIBS"
13621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13622 /* end confdefs.h. */
13624 /* Override any GCC internal prototype to avoid an error.
13625 Use char because int might match the return type of a GCC
13626 builtin and then its argument prototype would still apply. */
13630 char libnetapi_init ();
13634 return libnetapi_init ();
13639 if ac_fn_c_try_link
"$LINENO"; then :
13641 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13642 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'` ;;
13643 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13644 if ${ac_cv_lib_soname_netapi:+false} :; then :
13645 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13649 rm -f core conftest.err conftest.
$ac_objext \
13650 conftest
$ac_exeext conftest.
$ac_ext
13651 LIBS
=$ac_check_soname_save_LIBS
13653 if ${ac_cv_lib_soname_netapi:+false} :; then :
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13655 $as_echo "not found" >&6; }
13656 cat >>confdefs.h
<<_ACEOF
13657 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13662 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13664 cat >>confdefs.h
<<_ACEOF
13665 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13672 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13673 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13674 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13675 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13677 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13678 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13679 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13681 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13687 if test "x${GCC}" = "xyes"
13689 EXTRACFLAGS
="-Wall -pipe"
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13692 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13693 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13694 $as_echo_n "(cached) " >&6
13696 if test "$cross_compiling" = yes; then :
13697 ac_cv_c_gcc_strength_bug
="yes"
13699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13700 /* end confdefs.h. */
13701 int L[4] = {0,1,2,3};
13705 static int Array[3];
13706 unsigned int B = 3;
13708 for(i=0; i<B; i++) Array[i] = i - 3;
13709 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13711 return (Array[1] != -2 || L[2] != 3)
13716 if ac_fn_c_try_run
"$LINENO"; then :
13717 ac_cv_c_gcc_strength_bug
="no"
13719 ac_cv_c_gcc_strength_bug
="yes"
13721 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13722 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13727 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13728 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13730 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13734 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13735 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13736 $as_echo_n "(cached) " >&6
13738 ac_wine_try_cflags_saved
=$CFLAGS
13739 CFLAGS
="$CFLAGS -fno-builtin"
13740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13741 /* end confdefs.h. */
13742 int main(int argc, char **argv) { return 0; }
13744 if ac_fn_c_try_link
"$LINENO"; then :
13745 ac_cv_cflags__fno_builtin
=yes
13747 ac_cv_cflags__fno_builtin
=no
13749 rm -f core conftest.err conftest.
$ac_objext \
13750 conftest
$ac_exeext conftest.
$ac_ext
13751 CFLAGS
=$ac_wine_try_cflags_saved
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13754 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13755 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13756 BUILTINFLAG
="-fno-builtin"
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13760 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13761 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13762 $as_echo_n "(cached) " >&6
13764 ac_wine_try_cflags_saved
=$CFLAGS
13765 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13767 /* end confdefs.h. */
13768 int main(int argc, char **argv) { return 0; }
13770 if ac_fn_c_try_link
"$LINENO"; then :
13771 ac_cv_cflags__fno_strict_aliasing
=yes
13773 ac_cv_cflags__fno_strict_aliasing
=no
13775 rm -f core conftest.err conftest.
$ac_objext \
13776 conftest
$ac_exeext conftest.
$ac_ext
13777 CFLAGS
=$ac_wine_try_cflags_saved
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13780 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13781 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13782 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13784 saved_CFLAGS
=$CFLAGS
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13786 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13787 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13788 $as_echo_n "(cached) " >&6
13790 ac_wine_try_cflags_saved
=$CFLAGS
13791 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13793 /* end confdefs.h. */
13794 int main(int argc, char **argv) { return 0; }
13796 if ac_fn_c_try_link
"$LINENO"; then :
13797 ac_cv_cflags__Werror_unknown_warning_option
=yes
13799 ac_cv_cflags__Werror_unknown_warning_option
=no
13801 rm -f core conftest.err conftest.
$ac_objext \
13802 conftest
$ac_exeext conftest.
$ac_ext
13803 CFLAGS
=$ac_wine_try_cflags_saved
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13806 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13807 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13808 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13811 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13812 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13813 $as_echo_n "(cached) " >&6
13815 ac_wine_try_cflags_saved
=$CFLAGS
13816 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13818 /* end confdefs.h. */
13819 int main(int argc, char **argv) { return 0; }
13821 if ac_fn_c_try_link
"$LINENO"; then :
13822 ac_cv_cflags__Wdeclaration_after_statement
=yes
13824 ac_cv_cflags__Wdeclaration_after_statement
=no
13826 rm -f core conftest.err conftest.
$ac_objext \
13827 conftest
$ac_exeext conftest.
$ac_ext
13828 CFLAGS
=$ac_wine_try_cflags_saved
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13831 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13832 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13833 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13836 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13837 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13838 $as_echo_n "(cached) " >&6
13840 ac_wine_try_cflags_saved
=$CFLAGS
13841 CFLAGS
="$CFLAGS -Wempty-body"
13842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13843 /* end confdefs.h. */
13844 int main(int argc, char **argv) { return 0; }
13846 if ac_fn_c_try_link
"$LINENO"; then :
13847 ac_cv_cflags__Wempty_body
=yes
13849 ac_cv_cflags__Wempty_body
=no
13851 rm -f core conftest.err conftest.
$ac_objext \
13852 conftest
$ac_exeext conftest.
$ac_ext
13853 CFLAGS
=$ac_wine_try_cflags_saved
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13856 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13857 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13858 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13861 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13862 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13863 $as_echo_n "(cached) " >&6
13865 ac_wine_try_cflags_saved
=$CFLAGS
13866 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13868 /* end confdefs.h. */
13869 int main(int argc, char **argv) { return 0; }
13871 if ac_fn_c_try_link
"$LINENO"; then :
13872 ac_cv_cflags__Wignored_qualifiers
=yes
13874 ac_cv_cflags__Wignored_qualifiers
=no
13876 rm -f core conftest.err conftest.
$ac_objext \
13877 conftest
$ac_exeext conftest.
$ac_ext
13878 CFLAGS
=$ac_wine_try_cflags_saved
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13881 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13882 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13883 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13886 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13887 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13888 $as_echo_n "(cached) " >&6
13890 ac_wine_try_cflags_saved
=$CFLAGS
13891 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13893 /* end confdefs.h. */
13894 int main(int argc, char **argv) { return 0; }
13896 if ac_fn_c_try_link
"$LINENO"; then :
13897 ac_cv_cflags__Wstrict_prototypes
=yes
13899 ac_cv_cflags__Wstrict_prototypes
=no
13901 rm -f core conftest.err conftest.
$ac_objext \
13902 conftest
$ac_exeext conftest.
$ac_ext
13903 CFLAGS
=$ac_wine_try_cflags_saved
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13906 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13907 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13908 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13911 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13912 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13913 $as_echo_n "(cached) " >&6
13915 ac_wine_try_cflags_saved
=$CFLAGS
13916 CFLAGS
="$CFLAGS -Wtype-limits"
13917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13918 /* end confdefs.h. */
13919 int main(int argc, char **argv) { return 0; }
13921 if ac_fn_c_try_link
"$LINENO"; then :
13922 ac_cv_cflags__Wtype_limits
=yes
13924 ac_cv_cflags__Wtype_limits
=no
13926 rm -f core conftest.err conftest.
$ac_objext \
13927 conftest
$ac_exeext conftest.
$ac_ext
13928 CFLAGS
=$ac_wine_try_cflags_saved
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13931 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13932 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13933 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13936 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13937 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13938 $as_echo_n "(cached) " >&6
13940 ac_wine_try_cflags_saved
=$CFLAGS
13941 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13943 /* end confdefs.h. */
13944 int main(int argc, char **argv) { return 0; }
13946 if ac_fn_c_try_link
"$LINENO"; then :
13947 ac_cv_cflags__Wunused_but_set_parameter
=yes
13949 ac_cv_cflags__Wunused_but_set_parameter
=no
13951 rm -f core conftest.err conftest.
$ac_objext \
13952 conftest
$ac_exeext conftest.
$ac_ext
13953 CFLAGS
=$ac_wine_try_cflags_saved
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13956 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13957 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13958 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13961 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13962 if ${ac_cv_cflags__Wvla+:} false
; then :
13963 $as_echo_n "(cached) " >&6
13965 ac_wine_try_cflags_saved
=$CFLAGS
13966 CFLAGS
="$CFLAGS -Wvla"
13967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13968 /* end confdefs.h. */
13969 int main(int argc, char **argv) { return 0; }
13971 if ac_fn_c_try_link
"$LINENO"; then :
13972 ac_cv_cflags__Wvla
=yes
13974 ac_cv_cflags__Wvla
=no
13976 rm -f core conftest.err conftest.
$ac_objext \
13977 conftest
$ac_exeext conftest.
$ac_ext
13978 CFLAGS
=$ac_wine_try_cflags_saved
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13981 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13982 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13983 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13986 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13987 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13988 $as_echo_n "(cached) " >&6
13990 ac_wine_try_cflags_saved
=$CFLAGS
13991 CFLAGS
="$CFLAGS -Wwrite-strings"
13992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13993 /* end confdefs.h. */
13994 int main(int argc, char **argv) { return 0; }
13996 if ac_fn_c_try_link
"$LINENO"; then :
13997 ac_cv_cflags__Wwrite_strings
=yes
13999 ac_cv_cflags__Wwrite_strings
=no
14001 rm -f core conftest.err conftest.
$ac_objext \
14002 conftest
$ac_exeext conftest.
$ac_ext
14003 CFLAGS
=$ac_wine_try_cflags_saved
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14006 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14007 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14008 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14012 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14013 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14014 $as_echo_n "(cached) " >&6
14016 ac_wine_try_cflags_saved
=$CFLAGS
14017 CFLAGS
="$CFLAGS -Wpointer-arith"
14018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14019 /* end confdefs.h. */
14020 int main(int argc, char **argv) { return 0; }
14022 if ac_fn_c_try_link
"$LINENO"; then :
14023 ac_cv_cflags__Wpointer_arith
=yes
14025 ac_cv_cflags__Wpointer_arith
=no
14027 rm -f core conftest.err conftest.
$ac_objext \
14028 conftest
$ac_exeext conftest.
$ac_ext
14029 CFLAGS
=$ac_wine_try_cflags_saved
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14032 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14033 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14034 saved_string_h_CFLAGS
=$CFLAGS
14035 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14037 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14038 if ${ac_cv_c_string_h_warnings+:} false
; then :
14039 $as_echo_n "(cached) " >&6
14041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14042 /* end confdefs.h. */
14043 #include <string.h>
14052 if ac_fn_c_try_compile
"$LINENO"; then :
14053 ac_cv_c_string_h_warnings
=no
14055 ac_cv_c_string_h_warnings
=yes
14057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14060 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14061 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14062 CFLAGS
=$saved_string_h_CFLAGS
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14066 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14067 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14068 $as_echo_n "(cached) " >&6
14070 ac_wine_try_cflags_saved
=$CFLAGS
14071 CFLAGS
="$CFLAGS -Wlogical-op"
14072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14073 /* end confdefs.h. */
14074 int main(int argc, char **argv) { return 0; }
14076 if ac_fn_c_try_link
"$LINENO"; then :
14077 ac_cv_cflags__Wlogical_op
=yes
14079 ac_cv_cflags__Wlogical_op
=no
14081 rm -f core conftest.err conftest.
$ac_objext \
14082 conftest
$ac_exeext conftest.
$ac_ext
14083 CFLAGS
=$ac_wine_try_cflags_saved
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14086 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14087 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14088 saved_string_h_CFLAGS
=$CFLAGS
14089 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14091 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14092 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14093 $as_echo_n "(cached) " >&6
14095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14096 /* end confdefs.h. */
14097 #include <string.h>
14098 char*f(const char *h,char n) {return strchr(h,n);}
14107 if ac_fn_c_try_compile
"$LINENO"; then :
14108 ac_cv_c_logicalop_noisy
=no
14110 ac_cv_c_logicalop_noisy
=yes
14112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14115 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14116 CFLAGS
=$saved_string_h_CFLAGS
14117 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14120 CFLAGS
=$saved_CFLAGS
14122 for ac_flag
in $CFLAGS; do
14124 -g) case $host_os in
14125 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14126 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14127 if ${ac_cv_cflags__gstabsp+:} false
; then :
14128 $as_echo_n "(cached) " >&6
14130 ac_wine_try_cflags_saved
=$CFLAGS
14131 CFLAGS
="$CFLAGS -gstabs+"
14132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14133 /* end confdefs.h. */
14134 int main(int argc, char **argv) { return 0; }
14136 if ac_fn_c_try_link
"$LINENO"; then :
14137 ac_cv_cflags__gstabsp
=yes
14139 ac_cv_cflags__gstabsp
=no
14141 rm -f core conftest.err conftest.
$ac_objext \
14142 conftest
$ac_exeext conftest.
$ac_ext
14143 CFLAGS
=$ac_wine_try_cflags_saved
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14146 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14147 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14148 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14150 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14151 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14152 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14153 $as_echo_n "(cached) " >&6
14155 ac_wine_try_cflags_saved
=$CFLAGS
14156 CFLAGS
="$CFLAGS -gdwarf-2"
14157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14158 /* end confdefs.h. */
14159 int main(int argc, char **argv) { return 0; }
14161 if ac_fn_c_try_link
"$LINENO"; then :
14162 ac_cv_cflags__gdwarf_2
=yes
14164 ac_cv_cflags__gdwarf_2
=no
14166 rm -f core conftest.err conftest.
$ac_objext \
14167 conftest
$ac_exeext conftest.
$ac_ext
14168 CFLAGS
=$ac_wine_try_cflags_saved
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14171 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14172 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14173 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14176 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14177 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14178 $as_echo_n "(cached) " >&6
14180 ac_wine_try_cflags_saved
=$CFLAGS
14181 CFLAGS
="$CFLAGS -gstrict-dwarf"
14182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14183 /* end confdefs.h. */
14184 int main(int argc, char **argv) { return 0; }
14186 if ac_fn_c_try_link
"$LINENO"; then :
14187 ac_cv_cflags__gstrict_dwarf
=yes
14189 ac_cv_cflags__gstrict_dwarf
=no
14191 rm -f core conftest.err conftest.
$ac_objext \
14192 conftest
$ac_exeext conftest.
$ac_ext
14193 CFLAGS
=$ac_wine_try_cflags_saved
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14196 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14197 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14198 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14205 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14206 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14207 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14208 $as_echo_n "(cached) " >&6
14210 ac_wine_try_cflags_saved
=$CFLAGS
14211 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14213 /* end confdefs.h. */
14214 int main(int argc, char **argv) { return 0; }
14216 if ac_fn_c_try_link
"$LINENO"; then :
14217 ac_cv_cflags__fno_omit_frame_pointer
=yes
14219 ac_cv_cflags__fno_omit_frame_pointer
=no
14221 rm -f core conftest.err conftest.
$ac_objext \
14222 conftest
$ac_exeext conftest.
$ac_ext
14223 CFLAGS
=$ac_wine_try_cflags_saved
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14226 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14227 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14228 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14233 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14234 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14235 if ${ac_cv_cflags__Wno_format+:} false
; then :
14236 $as_echo_n "(cached) " >&6
14238 ac_wine_try_cflags_saved
=$CFLAGS
14239 CFLAGS
="$CFLAGS -Wno-format"
14240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14241 /* end confdefs.h. */
14242 int main(int argc, char **argv) { return 0; }
14244 if ac_fn_c_try_link
"$LINENO"; then :
14245 ac_cv_cflags__Wno_format
=yes
14247 ac_cv_cflags__Wno_format
=no
14249 rm -f core conftest.err conftest.
$ac_objext \
14250 conftest
$ac_exeext conftest.
$ac_ext
14251 CFLAGS
=$ac_wine_try_cflags_saved
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14254 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14255 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14256 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14260 if test "x$enable_maintainer_mode" = "xyes"
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14263 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14264 if ${ac_cv_cflags__Werror+:} false
; then :
14265 $as_echo_n "(cached) " >&6
14267 ac_wine_try_cflags_saved
=$CFLAGS
14268 CFLAGS
="$CFLAGS -Werror"
14269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14270 /* end confdefs.h. */
14271 int main(int argc, char **argv) { return 0; }
14273 if ac_fn_c_try_link
"$LINENO"; then :
14274 ac_cv_cflags__Werror
=yes
14276 ac_cv_cflags__Werror
=no
14278 rm -f core conftest.err conftest.
$ac_objext \
14279 conftest
$ac_exeext conftest.
$ac_ext
14280 CFLAGS
=$ac_wine_try_cflags_saved
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14283 $as_echo "$ac_cv_cflags__Werror" >&6; }
14284 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14285 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14289 saved_CFLAGS
="$CFLAGS"
14290 CFLAGS
="$CFLAGS -Werror"
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14292 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14293 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14294 $as_echo_n "(cached) " >&6
14296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14297 /* end confdefs.h. */
14298 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14307 if ac_fn_c_try_compile
"$LINENO"; then :
14308 ac_cv_have_ms_hook_prologue
="yes"
14310 ac_cv_have_ms_hook_prologue
="no"
14312 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14315 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14316 CFLAGS
="$saved_CFLAGS"
14317 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14320 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14323 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14330 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14331 if ${ac_cv_c_fortify_enabled+:} false
; then :
14332 $as_echo_n "(cached) " >&6
14334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14335 /* end confdefs.h. */
14336 #include <string.h>
14340 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14341 #error Fortify enabled
14347 if ac_fn_c_try_compile
"$LINENO"; then :
14348 ac_cv_c_fortify_enabled
=no
14350 ac_cv_c_fortify_enabled
=yes
14352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14355 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14356 if test "$ac_cv_c_fortify_enabled" = yes
14358 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14363 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14364 if ${ac_cv_c_extern_prefix+:} false
; then :
14365 $as_echo_n "(cached) " >&6
14367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14368 /* end confdefs.h. */
14369 extern int ac_test;
14373 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14378 if ac_fn_c_try_link
"$LINENO"; then :
14379 ac_cv_c_extern_prefix
="yes"
14381 ac_cv_c_extern_prefix
="no"
14383 rm -f core conftest.err conftest.
$ac_objext \
14384 conftest
$ac_exeext conftest.
$ac_ext
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14387 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14392 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14393 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14394 $as_echo_n "(cached) " >&6
14396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14397 /* end confdefs.h. */
14399 #define __stdcall __attribute__((__stdcall__))
14401 int __stdcall ac_test(int i) { return i; }
14405 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14410 if ac_fn_c_try_link
"$LINENO"; then :
14411 ac_cv_c_stdcall_suffix
="yes"
14413 ac_cv_c_stdcall_suffix
="no"
14415 rm -f core conftest.err conftest.
$ac_objext \
14416 conftest
$ac_exeext conftest.
$ac_ext
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14419 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14420 *) ac_cv_c_stdcall_suffix
="no" ;;
14424 if test "$ac_cv_c_extern_prefix" = "yes"
14426 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14428 asm_name_prefix
="_"
14430 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14436 if test "$ac_cv_c_stdcall_suffix" = "yes"
14438 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14441 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14447 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14448 if ${ac_cv_asm_func_def+:} false
; then :
14449 $as_echo_n "(cached) " >&6
14451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14452 /* end confdefs.h. */
14457 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14462 if ac_fn_c_try_link
"$LINENO"; then :
14463 ac_cv_asm_func_def
=".def"
14465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14466 /* end confdefs.h. */
14471 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14476 if ac_fn_c_try_link
"$LINENO"; then :
14477 ac_cv_asm_func_def
=".type @function"
14479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14480 /* end confdefs.h. */
14485 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14490 if ac_fn_c_try_link
"$LINENO"; then :
14491 ac_cv_asm_func_def
=".type 2"
14493 ac_cv_asm_func_def
="unknown"
14495 rm -f core conftest.err conftest.
$ac_objext \
14496 conftest
$ac_exeext conftest.
$ac_ext
14498 rm -f core conftest.err conftest.
$ac_objext \
14499 conftest
$ac_exeext conftest.
$ac_ext
14501 rm -f core conftest.err conftest.
$ac_objext \
14502 conftest
$ac_exeext conftest.
$ac_ext
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14505 $as_echo "$ac_cv_asm_func_def" >&6; }
14508 case "$ac_cv_asm_func_def" in
14510 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14512 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14514 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14516 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14518 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14520 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14522 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14524 asm_func_header
="" ;;
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14528 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14529 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14530 $as_echo_n "(cached) " >&6
14532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14533 /* end confdefs.h. */
14534 asm(".text\n\t.long 0");
14543 if ac_fn_c_try_compile
"$LINENO"; then :
14544 ac_cv_c_asm_outside_funcs
="yes"
14546 ac_cv_c_asm_outside_funcs
="no"
14548 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14551 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14554 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14555 if ${ac_cv_c_dot_previous+:} false
; then :
14556 $as_echo_n "(cached) " >&6
14558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14559 /* end confdefs.h. */
14564 asm(".text\nac_test:\t.long 0\n\t.previous");
14569 if ac_fn_c_try_link
"$LINENO"; then :
14570 ac_cv_c_dot_previous
="yes"
14572 ac_cv_c_dot_previous
="no"
14574 rm -f core conftest.err conftest.
$ac_objext \
14575 conftest
$ac_exeext conftest.
$ac_ext
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14578 $as_echo "$ac_cv_c_dot_previous" >&6; }
14580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14581 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14582 if ${ac_cv_c_cfi_support+:} false
; then :
14583 $as_echo_n "(cached) " >&6
14585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14586 /* end confdefs.h. */
14587 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14596 if ac_fn_c_try_compile
"$LINENO"; then :
14597 ac_cv_c_cfi_support
="yes"
14599 ac_cv_c_cfi_support
="no"
14601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14604 $as_echo "$ac_cv_c_cfi_support" >&6; }
14606 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14607 asm_func_trailer
=""
14608 if test "$ac_cv_c_dot_previous" = "yes"
14610 asm_func_trailer
="\\n\\t.previous"
14612 if test "$ac_cv_c_cfi_support" = "yes"
14614 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14615 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14617 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14619 UNWINDFLAGS
=-fasynchronous-unwind-tables
14622 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14626 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14629 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14631 cat >>confdefs.h
<<_ACEOF
14632 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14636 cat >>confdefs.h
<<_ACEOF
14637 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14642 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14645 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14650 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14657 *i
[3456789]86*|x86_64
*)
14658 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14659 loader_programs
="$loader_programs $wine_binary-preloader"
14660 as_fn_append LOADER_RULES
"
14661 $wine_binary-preloader: preloader.o
14662 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14664 install install-lib:: $wine_binary-preloader
14665 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14668 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14670 preloader_EXTRADEFS = $BUILTINFLAG
14675 as_fn_append LOADER_RULES
"
14676 PROGRAMS = $loader_programs
14680 ac_save_CFLAGS
="$CFLAGS"
14681 CFLAGS
="$CFLAGS $BUILTINFLAG"
14760 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14761 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14762 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14763 cat >>confdefs.h
<<_ACEOF
14764 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14770 CFLAGS
="$ac_save_CFLAGS"
14772 if test "$ac_cv_func_dlopen" = no
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14775 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14776 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14777 $as_echo_n "(cached) " >&6
14779 ac_check_lib_save_LIBS
=$LIBS
14781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14782 /* end confdefs.h. */
14784 /* Override any GCC internal prototype to avoid an error.
14785 Use char because int might match the return type of a GCC
14786 builtin and then its argument prototype would still apply. */
14799 if ac_fn_c_try_link
"$LINENO"; then :
14800 ac_cv_lib_dl_dlopen
=yes
14802 ac_cv_lib_dl_dlopen
=no
14804 rm -f core conftest.err conftest.
$ac_objext \
14805 conftest
$ac_exeext conftest.
$ac_ext
14806 LIBS
=$ac_check_lib_save_LIBS
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14809 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14810 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14811 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14817 ac_wine_check_funcs_save_LIBS
="$LIBS"
14818 LIBS
="$LIBS $DL_LIBS"
14819 for ac_func
in dladdr
14821 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14822 if test "x$ac_cv_func_dladdr" = xyes
; then :
14823 cat >>confdefs.h
<<_ACEOF
14824 #define HAVE_DLADDR 1
14830 LIBS
="$ac_wine_check_funcs_save_LIBS"
14832 if test "$ac_cv_func_poll" = no
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14835 $as_echo_n "checking for poll in -lpoll... " >&6; }
14836 if ${ac_cv_lib_poll_poll+:} false
; then :
14837 $as_echo_n "(cached) " >&6
14839 ac_check_lib_save_LIBS
=$LIBS
14840 LIBS
="-lpoll $LIBS"
14841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14842 /* end confdefs.h. */
14844 /* Override any GCC internal prototype to avoid an error.
14845 Use char because int might match the return type of a GCC
14846 builtin and then its argument prototype would still apply. */
14859 if ac_fn_c_try_link
"$LINENO"; then :
14860 ac_cv_lib_poll_poll
=yes
14862 ac_cv_lib_poll_poll
=no
14864 rm -f core conftest.err conftest.
$ac_objext \
14865 conftest
$ac_exeext conftest.
$ac_ext
14866 LIBS
=$ac_check_lib_save_LIBS
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14869 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14870 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14871 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14879 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14880 if ${ac_cv_search_gethostbyname+:} false
; then :
14881 $as_echo_n "(cached) " >&6
14883 ac_func_search_save_LIBS
=$LIBS
14884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14885 /* end confdefs.h. */
14887 /* Override any GCC internal prototype to avoid an error.
14888 Use char because int might match the return type of a GCC
14889 builtin and then its argument prototype would still apply. */
14893 char gethostbyname ();
14897 return gethostbyname ();
14902 for ac_lib
in '' nsl
; do
14903 if test -z "$ac_lib"; then
14904 ac_res
="none required"
14907 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14909 if ac_fn_c_try_link
"$LINENO"; then :
14910 ac_cv_search_gethostbyname
=$ac_res
14912 rm -f core conftest.err conftest.
$ac_objext \
14914 if ${ac_cv_search_gethostbyname+:} false
; then :
14918 if ${ac_cv_search_gethostbyname+:} false
; then :
14921 ac_cv_search_gethostbyname
=no
14923 rm conftest.
$ac_ext
14924 LIBS
=$ac_func_search_save_LIBS
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14927 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14928 ac_res
=$ac_cv_search_gethostbyname
14929 if test "$ac_res" != no
; then :
14930 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14936 $as_echo_n "checking for library containing connect... " >&6; }
14937 if ${ac_cv_search_connect+:} false
; then :
14938 $as_echo_n "(cached) " >&6
14940 ac_func_search_save_LIBS
=$LIBS
14941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14942 /* end confdefs.h. */
14944 /* Override any GCC internal prototype to avoid an error.
14945 Use char because int might match the return type of a GCC
14946 builtin and then its argument prototype would still apply. */
14959 for ac_lib
in '' socket
; do
14960 if test -z "$ac_lib"; then
14961 ac_res
="none required"
14964 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14966 if ac_fn_c_try_link
"$LINENO"; then :
14967 ac_cv_search_connect
=$ac_res
14969 rm -f core conftest.err conftest.
$ac_objext \
14971 if ${ac_cv_search_connect+:} false
; then :
14975 if ${ac_cv_search_connect+:} false
; then :
14978 ac_cv_search_connect
=no
14980 rm conftest.
$ac_ext
14981 LIBS
=$ac_func_search_save_LIBS
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14984 $as_echo "$ac_cv_search_connect" >&6; }
14985 ac_res
=$ac_cv_search_connect
14986 if test "$ac_res" != no
; then :
14987 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14993 $as_echo_n "checking for library containing inet_aton... " >&6; }
14994 if ${ac_cv_search_inet_aton+:} false
; then :
14995 $as_echo_n "(cached) " >&6
14997 ac_func_search_save_LIBS
=$LIBS
14998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14999 /* end confdefs.h. */
15001 /* Override any GCC internal prototype to avoid an error.
15002 Use char because int might match the return type of a GCC
15003 builtin and then its argument prototype would still apply. */
15011 return inet_aton ();
15016 for ac_lib
in '' resolv
; do
15017 if test -z "$ac_lib"; then
15018 ac_res
="none required"
15021 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15023 if ac_fn_c_try_link
"$LINENO"; then :
15024 ac_cv_search_inet_aton
=$ac_res
15026 rm -f core conftest.err conftest.
$ac_objext \
15028 if ${ac_cv_search_inet_aton+:} false
; then :
15032 if ${ac_cv_search_inet_aton+:} false
; then :
15035 ac_cv_search_inet_aton
=no
15037 rm conftest.
$ac_ext
15038 LIBS
=$ac_func_search_save_LIBS
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15041 $as_echo "$ac_cv_search_inet_aton" >&6; }
15042 ac_res
=$ac_cv_search_inet_aton
15043 if test "$ac_res" != no
; then :
15044 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15064 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15065 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15066 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15067 cat >>confdefs.h
<<_ACEOF
15068 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15077 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15078 if ${ac_cv_search_clock_gettime+:} false
; then :
15079 $as_echo_n "(cached) " >&6
15081 ac_func_search_save_LIBS
=$LIBS
15082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15083 /* end confdefs.h. */
15085 /* Override any GCC internal prototype to avoid an error.
15086 Use char because int might match the return type of a GCC
15087 builtin and then its argument prototype would still apply. */
15091 char clock_gettime ();
15095 return clock_gettime ();
15100 for ac_lib
in '' rt
; do
15101 if test -z "$ac_lib"; then
15102 ac_res
="none required"
15105 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15107 if ac_fn_c_try_link
"$LINENO"; then :
15108 ac_cv_search_clock_gettime
=$ac_res
15110 rm -f core conftest.err conftest.
$ac_objext \
15112 if ${ac_cv_search_clock_gettime+:} false
; then :
15116 if ${ac_cv_search_clock_gettime+:} false
; then :
15119 ac_cv_search_clock_gettime
=no
15121 rm conftest.
$ac_ext
15122 LIBS
=$ac_func_search_save_LIBS
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15125 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15126 ac_res
=$ac_cv_search_clock_gettime
15127 if test "$ac_res" != no
; then :
15128 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15130 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15132 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15140 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15142 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15144 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15146 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15147 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15148 $as_echo_n "(cached) " >&6
15150 ac_check_lib_save_LIBS
=$LIBS
15151 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15153 /* end confdefs.h. */
15155 /* Override any GCC internal prototype to avoid an error.
15156 Use char because int might match the return type of a GCC
15157 builtin and then its argument prototype would still apply. */
15161 char ldap_initialize ();
15165 return ldap_initialize ();
15170 if ac_fn_c_try_link
"$LINENO"; then :
15171 ac_cv_lib_ldap_r_ldap_initialize
=yes
15173 ac_cv_lib_ldap_r_ldap_initialize
=no
15175 rm -f core conftest.err conftest.
$ac_objext \
15176 conftest
$ac_exeext conftest.
$ac_ext
15177 LIBS
=$ac_check_lib_save_LIBS
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15180 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15181 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15183 $as_echo_n "checking for ber_init in -llber... " >&6; }
15184 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15185 $as_echo_n "(cached) " >&6
15187 ac_check_lib_save_LIBS
=$LIBS
15188 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15190 /* end confdefs.h. */
15192 /* Override any GCC internal prototype to avoid an error.
15193 Use char because int might match the return type of a GCC
15194 builtin and then its argument prototype would still apply. */
15202 return ber_init ();
15207 if ac_fn_c_try_link
"$LINENO"; then :
15208 ac_cv_lib_lber_ber_init
=yes
15210 ac_cv_lib_lber_ber_init
=no
15212 rm -f core conftest.err conftest.
$ac_objext \
15213 conftest
$ac_exeext conftest.
$ac_ext
15214 LIBS
=$ac_check_lib_save_LIBS
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15217 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15218 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15220 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15222 LDAP_LIBS
="-lldap_r -llber"
15229 ac_wine_check_funcs_save_LIBS
="$LIBS"
15230 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15232 ldap_count_references \
15233 ldap_first_reference \
15234 ldap_next_reference \
15235 ldap_parse_reference \
15236 ldap_parse_sort_control \
15237 ldap_parse_sortresponse_control \
15238 ldap_parse_vlv_control \
15239 ldap_parse_vlvresponse_control
15241 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15242 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15243 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15244 cat >>confdefs.h
<<_ACEOF
15245 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15251 LIBS
="$ac_wine_check_funcs_save_LIBS"
15253 if test "x$LDAP_LIBS" = "x"; then :
15254 case "x$with_ldap" in
15255 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15257 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15258 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15263 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15264 if ${wine_cv_one_arg_mkdir+:} false
; then :
15265 $as_echo_n "(cached) " >&6
15267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15268 /* end confdefs.h. */
15269 #include <sys/stat.h>
15278 if ac_fn_c_try_compile
"$LINENO"; then :
15279 wine_cv_one_arg_mkdir
=yes
15281 wine_cv_one_arg_mkdir
=no
15283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15286 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15287 if test "$wine_cv_one_arg_mkdir" = "yes"
15290 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15295 $as_echo_n "checking for sched_setaffinity... " >&6; }
15296 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15297 $as_echo_n "(cached) " >&6
15299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15300 /* end confdefs.h. */
15301 #define _GNU_SOURCE
15306 sched_setaffinity(0, 0, 0);
15311 if ac_fn_c_try_link
"$LINENO"; then :
15312 wine_cv_have_sched_setaffinity
=yes
15314 wine_cv_have_sched_setaffinity
=no
15316 rm -f core conftest.err conftest.
$ac_objext \
15317 conftest
$ac_exeext conftest.
$ac_ext
15319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15320 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15321 if test "$wine_cv_have_sched_setaffinity" = "yes"
15324 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15329 $as_echo_n "checking for fallocate... " >&6; }
15330 if ${wine_cv_have_fallocate+:} false
; then :
15331 $as_echo_n "(cached) " >&6
15333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15334 /* end confdefs.h. */
15335 #define _GNU_SOURCE
15340 fallocate(-1, 0, 0, 0);
15345 if ac_fn_c_try_link
"$LINENO"; then :
15346 wine_cv_have_fallocate
=yes
15348 wine_cv_have_fallocate
=no
15350 rm -f core conftest.err conftest.
$ac_objext \
15351 conftest
$ac_exeext conftest.
$ac_ext
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15354 $as_echo "$wine_cv_have_fallocate" >&6; }
15355 if test "$wine_cv_have_fallocate" = "yes"
15358 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15364 $as_echo_n "checking for inline... " >&6; }
15365 if ${ac_cv_c_inline+:} false
; then :
15366 $as_echo_n "(cached) " >&6
15369 for ac_kw
in inline __inline__ __inline
; do
15370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15371 /* end confdefs.h. */
15372 #ifndef __cplusplus
15374 static $ac_kw foo_t static_foo () {return 0; }
15375 $ac_kw foo_t foo () {return 0; }
15379 if ac_fn_c_try_compile
"$LINENO"; then :
15380 ac_cv_c_inline
=$ac_kw
15382 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15383 test "$ac_cv_c_inline" != no
&& break
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15388 $as_echo "$ac_cv_c_inline" >&6; }
15390 case $ac_cv_c_inline in
15393 case $ac_cv_c_inline in
15395 *) ac_val
=$ac_cv_c_inline;;
15397 cat >>confdefs.h
<<_ACEOF
15398 #ifndef __cplusplus
15399 #define inline $ac_val
15405 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15406 if test "x$ac_cv_type_mode_t" = xyes
; then :
15408 cat >>confdefs.h
<<_ACEOF
15409 #define HAVE_MODE_T 1
15414 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15415 if test "x$ac_cv_type_off_t" = xyes
; then :
15417 cat >>confdefs.h
<<_ACEOF
15418 #define HAVE_OFF_T 1
15423 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15424 if test "x$ac_cv_type_pid_t" = xyes
; then :
15426 cat >>confdefs.h
<<_ACEOF
15427 #define HAVE_PID_T 1
15432 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15433 if test "x$ac_cv_type_size_t" = xyes
; then :
15435 cat >>confdefs.h
<<_ACEOF
15436 #define HAVE_SIZE_T 1
15441 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15442 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15444 cat >>confdefs.h
<<_ACEOF
15445 #define HAVE_SSIZE_T 1
15450 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15451 if test "x$ac_cv_type_long_long" = xyes
; then :
15453 cat >>confdefs.h
<<_ACEOF
15454 #define HAVE_LONG_LONG 1
15459 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15460 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15462 cat >>confdefs.h
<<_ACEOF
15463 #define HAVE_FSBLKCNT_T 1
15468 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15469 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15471 cat >>confdefs.h
<<_ACEOF
15472 #define HAVE_FSFILCNT_T 1
15478 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15479 #include <signal.h>
15481 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15483 cat >>confdefs.h
<<_ACEOF
15484 #define HAVE_SIGSET_T 1
15490 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15492 if test "x$ac_cv_type_request_sense" = xyes
; then :
15494 cat >>confdefs.h
<<_ACEOF
15495 #define HAVE_REQUEST_SENSE 1
15502 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15503 #ifdef HAVE_SYS_SOCKET_H
15504 #include <sys/socket.h>
15506 #ifdef HAVE_SYS_SOCKETVAR_H
15507 #include <sys/socketvar.h>
15509 #ifdef HAVE_NET_ROUTE_H
15510 #include <net/route.h>
15512 #ifdef HAVE_NETINET_IN_H
15513 #include <netinet/in.h>
15515 #ifdef HAVE_NETINET_IN_SYSTM_H
15516 #include <netinet/in_systm.h>
15518 #ifdef HAVE_NETINET_IP_H
15519 #include <netinet/ip.h>
15521 #ifdef HAVE_NETINET_IN_PCB_H
15522 #include <netinet/in_pcb.h>
15525 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15527 cat >>confdefs.h
<<_ACEOF
15528 #define HAVE_STRUCT_XINPGEN 1
15535 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15538 #ifdef HAVE_SYS_LINK_H
15539 #include <sys/link.h>
15542 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15544 cat >>confdefs.h
<<_ACEOF
15545 #define HAVE_STRUCT_R_DEBUG 1
15550 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15553 #ifdef HAVE_SYS_LINK_H
15554 #include <sys/link.h>
15557 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15559 cat >>confdefs.h
<<_ACEOF
15560 #define HAVE_STRUCT_LINK_MAP 1
15567 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15568 #include <linux/input.h>
15571 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15573 cat >>confdefs.h
<<_ACEOF
15574 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15582 $as_echo_n "checking for sigaddset... " >&6; }
15583 if ${wine_cv_have_sigaddset+:} false
; then :
15584 $as_echo_n "(cached) " >&6
15586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15587 /* end confdefs.h. */
15588 #include <signal.h>
15592 sigset_t set; sigaddset(&set,SIGTERM);
15597 if ac_fn_c_try_link
"$LINENO"; then :
15598 wine_cv_have_sigaddset
=yes
15600 wine_cv_have_sigaddset
=no
15602 rm -f core conftest.err conftest.
$ac_objext \
15603 conftest
$ac_exeext conftest.
$ac_ext
15605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15606 $as_echo "$wine_cv_have_sigaddset" >&6; }
15607 if test "$wine_cv_have_sigaddset" = "yes"
15610 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15616 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15617 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15618 $as_echo_n "(cached) " >&6
15620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15621 /* end confdefs.h. */
15629 struct hostent *result;
15636 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15637 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15643 if ac_fn_c_try_link
"$LINENO"; then :
15644 wine_cv_linux_gethostbyname_r_6
=yes
15646 wine_cv_linux_gethostbyname_r_6
=no
15649 rm -f core conftest.err conftest.
$ac_objext \
15650 conftest
$ac_exeext conftest.
$ac_ext
15653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15654 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15655 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15658 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15662 if test "$ac_cv_header_linux_joystick_h" = "yes"
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15665 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15666 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15667 $as_echo_n "(cached) " >&6
15669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15670 /* end confdefs.h. */
15672 #include <sys/ioctl.h>
15673 #include <sys/types.h>
15674 #include <linux/joystick.h>
15676 struct js_event blub;
15677 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15678 #error "no 2.2 header"
15689 if ac_fn_c_try_compile
"$LINENO"; then :
15690 wine_cv_linux_joystick_22_api
=yes
15692 wine_cv_linux_joystick_22_api
=no
15694 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15698 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15699 if test "$wine_cv_linux_joystick_22_api" = "yes"
15702 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15708 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15709 #ifdef HAVE_SYS_PARAM_H
15710 # include <sys/param.h>
15712 #ifdef HAVE_SYS_MOUNT_H
15713 # include <sys/mount.h>
15715 #ifdef HAVE_SYS_VFS_H
15716 # include <sys/vfs.h>
15718 #ifdef HAVE_SYS_STATFS_H
15719 # include <sys/statfs.h>
15722 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15724 cat >>confdefs.h
<<_ACEOF
15725 #define HAVE_STRUCT_STATFS_F_BFREE 1
15730 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15731 #ifdef HAVE_SYS_PARAM_H
15732 # include <sys/param.h>
15734 #ifdef HAVE_SYS_MOUNT_H
15735 # include <sys/mount.h>
15737 #ifdef HAVE_SYS_VFS_H
15738 # include <sys/vfs.h>
15740 #ifdef HAVE_SYS_STATFS_H
15741 # include <sys/statfs.h>
15744 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15746 cat >>confdefs.h
<<_ACEOF
15747 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15752 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15753 #ifdef HAVE_SYS_PARAM_H
15754 # include <sys/param.h>
15756 #ifdef HAVE_SYS_MOUNT_H
15757 # include <sys/mount.h>
15759 #ifdef HAVE_SYS_VFS_H
15760 # include <sys/vfs.h>
15762 #ifdef HAVE_SYS_STATFS_H
15763 # include <sys/statfs.h>
15766 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15768 cat >>confdefs.h
<<_ACEOF
15769 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15774 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15775 #ifdef HAVE_SYS_PARAM_H
15776 # include <sys/param.h>
15778 #ifdef HAVE_SYS_MOUNT_H
15779 # include <sys/mount.h>
15781 #ifdef HAVE_SYS_VFS_H
15782 # include <sys/vfs.h>
15784 #ifdef HAVE_SYS_STATFS_H
15785 # include <sys/statfs.h>
15788 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15790 cat >>confdefs.h
<<_ACEOF
15791 #define HAVE_STRUCT_STATFS_F_FFREE 1
15796 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15797 #ifdef HAVE_SYS_PARAM_H
15798 # include <sys/param.h>
15800 #ifdef HAVE_SYS_MOUNT_H
15801 # include <sys/mount.h>
15803 #ifdef HAVE_SYS_VFS_H
15804 # include <sys/vfs.h>
15806 #ifdef HAVE_SYS_STATFS_H
15807 # include <sys/statfs.h>
15810 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15812 cat >>confdefs.h
<<_ACEOF
15813 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15818 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15819 #ifdef HAVE_SYS_PARAM_H
15820 # include <sys/param.h>
15822 #ifdef HAVE_SYS_MOUNT_H
15823 # include <sys/mount.h>
15825 #ifdef HAVE_SYS_VFS_H
15826 # include <sys/vfs.h>
15828 #ifdef HAVE_SYS_STATFS_H
15829 # include <sys/statfs.h>
15832 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15834 cat >>confdefs.h
<<_ACEOF
15835 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15842 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15843 #include <sys/statvfs.h>
15846 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15848 cat >>confdefs.h
<<_ACEOF
15849 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15856 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15857 #include <dirent.h>
15860 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15862 cat >>confdefs.h
<<_ACEOF
15863 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15870 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15871 #ifdef HAVE_SYS_SOCKET_H
15872 # include <sys/socket.h>
15874 #ifdef HAVE_SYS_UN_H
15875 # include <sys/un.h>
15878 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15880 cat >>confdefs.h
<<_ACEOF
15881 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15886 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15887 #ifdef HAVE_SYS_SOCKET_H
15888 # include <sys/socket.h>
15890 #ifdef HAVE_SYS_UN_H
15891 # include <sys/un.h>
15894 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15896 cat >>confdefs.h
<<_ACEOF
15897 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15902 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15903 #ifdef HAVE_SYS_SOCKET_H
15904 # include <sys/socket.h>
15906 #ifdef HAVE_SYS_UN_H
15907 # include <sys/un.h>
15910 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15912 cat >>confdefs.h
<<_ACEOF
15913 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15920 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15921 #ifdef HAVE_SCSI_SG_H
15922 #include <scsi/sg.h>
15925 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15927 cat >>confdefs.h
<<_ACEOF
15928 #define HAVE_SCSIREQ_T_CMD 1
15933 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>
15934 #ifdef HAVE_SCSI_SG_H
15935 #include <scsi/sg.h>
15938 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15940 cat >>confdefs.h
<<_ACEOF
15941 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15948 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15950 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15952 cat >>confdefs.h
<<_ACEOF
15953 #define HAVE_SIGINFO_T_SI_FD 1
15960 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15961 #ifdef HAVE_SYS_MTIO_H
15962 #include <sys/mtio.h>
15965 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15967 cat >>confdefs.h
<<_ACEOF
15968 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15973 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15974 #ifdef HAVE_SYS_MTIO_H
15975 #include <sys/mtio.h>
15978 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15980 cat >>confdefs.h
<<_ACEOF
15981 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15986 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15987 #ifdef HAVE_SYS_MTIO_H
15988 #include <sys/mtio.h>
15991 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15993 cat >>confdefs.h
<<_ACEOF
15994 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16001 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16002 #include <getopt.h>
16005 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16007 cat >>confdefs.h
<<_ACEOF
16008 #define HAVE_STRUCT_OPTION_NAME 1
16015 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16016 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16018 cat >>confdefs.h
<<_ACEOF
16019 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16024 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16025 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16027 cat >>confdefs.h
<<_ACEOF
16028 #define HAVE_STRUCT_STAT_ST_MTIM 1
16033 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16034 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16036 cat >>confdefs.h
<<_ACEOF
16037 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16042 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16043 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16045 cat >>confdefs.h
<<_ACEOF
16046 #define HAVE_STRUCT_STAT_ST_CTIM 1
16051 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16052 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16054 cat >>confdefs.h
<<_ACEOF
16055 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16060 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16061 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16063 cat >>confdefs.h
<<_ACEOF
16064 #define HAVE_STRUCT_STAT_ST_ATIM 1
16069 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16070 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16072 cat >>confdefs.h
<<_ACEOF
16073 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16078 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16079 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16081 cat >>confdefs.h
<<_ACEOF
16082 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16087 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16088 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16090 cat >>confdefs.h
<<_ACEOF
16091 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16096 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16097 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16099 cat >>confdefs.h
<<_ACEOF
16100 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16105 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16106 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16108 cat >>confdefs.h
<<_ACEOF
16109 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16114 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16115 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16117 cat >>confdefs.h
<<_ACEOF
16118 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16125 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
16126 #include <sys/types.h>
16128 #ifdef HAVE_NETINET_IN_H
16129 #include <netinet/in.h>
16132 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16134 cat >>confdefs.h
<<_ACEOF
16135 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16142 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16143 #include <resolv.h>
16146 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16148 cat >>confdefs.h
<<_ACEOF
16149 #define HAVE_STRUCT___RES_STATE 1
16156 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
16157 #include <resolv.h>
16160 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16162 cat >>confdefs.h
<<_ACEOF
16163 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16170 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16171 #include <sys/types.h>
16173 #ifdef HAVE_NETINET_IN_H
16174 # include <netinet/in.h>
16176 #ifdef HAVE_ARPA_NAMESER_H
16177 # include <arpa/nameser.h>
16180 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16182 cat >>confdefs.h
<<_ACEOF
16183 #define HAVE_NS_MSG__MSG_PTR 1
16190 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16191 #include <sys/types.h>
16193 #ifdef HAVE_NETINET_IP_H
16194 #include <netinet/ip.h>
16196 #ifdef HAVE_NETINET_IP_ICMP_H
16197 #include <netinet/ip_icmp.h>
16199 #ifdef HAVE_NETINET_ICMP_VAR_H
16200 #include <netinet/icmp_var.h>
16203 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16205 cat >>confdefs.h
<<_ACEOF
16206 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16213 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16214 #include <sys/types.h>
16216 #ifdef HAVE_ALIAS_H
16219 #ifdef HAVE_SYS_SOCKET_H
16220 #include <sys/socket.h>
16222 #ifdef HAVE_SYS_SOCKETVAR_H
16223 #include <sys/socketvar.h>
16225 #ifdef HAVE_SYS_TIMEOUT_H
16226 #include <sys/timeout.h>
16228 #ifdef HAVE_NETINET_IN_H
16229 #include <netinet/in.h>
16231 #ifdef HAVE_NETINET_IN_SYSTM_H
16232 #include <netinet/in_systm.h>
16234 #ifdef HAVE_NETINET_IP_H
16235 #include <netinet/ip.h>
16237 #ifdef HAVE_NETINET_IP_VAR_H
16238 #include <netinet/ip_var.h>
16240 #ifdef HAVE_NETINET_IP_ICMP_H
16241 #include <netinet/ip_icmp.h>
16243 #ifdef HAVE_NETINET_ICMP_VAR_H
16244 #include <netinet/icmp_var.h>
16247 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16249 cat >>confdefs.h
<<_ACEOF
16250 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16257 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16258 #include <sys/types.h>
16260 #ifdef HAVE_SYS_SOCKETVAR_H
16261 #include <sys/socketvar.h>
16263 #ifdef HAVE_NETINET_IN_H
16264 #include <netinet/in.h>
16266 #ifdef HAVE_NETINET_IP_VAR_H
16267 #include <netinet/ip_var.h>
16270 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16272 cat >>confdefs.h
<<_ACEOF
16273 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16280 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
16281 #include <netinet/ip_var.h>
16284 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16286 cat >>confdefs.h
<<_ACEOF
16287 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16294 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16295 #include <sys/types.h>
16297 #ifdef HAVE_SYS_SOCKETVAR_H
16298 #include <sys/socketvar.h>
16300 #ifdef HAVE_NETINET_IN_H
16301 #include <netinet/in.h>
16303 #ifdef HAVE_NETINET_TCP_H
16304 #include <netinet/tcp.h>
16306 #ifdef HAVE_NETINET_TCP_VAR_H
16307 #include <netinet/tcp_var.h>
16310 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16312 cat >>confdefs.h
<<_ACEOF
16313 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16320 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
16321 #include <netinet/tcp_var.h>
16324 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16326 cat >>confdefs.h
<<_ACEOF
16327 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16334 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16335 #include <sys/types.h>
16337 #ifdef HAVE_NETINET_IN_H
16338 #include <netinet/in.h>
16340 #ifdef HAVE_NETINET_IP_VAR_H
16341 #include <netinet/ip_var.h>
16343 #ifdef HAVE_NETINET_UDP_H
16344 #include <netinet/udp.h>
16346 #ifdef HAVE_NETINET_UDP_VAR_H
16347 #include <netinet/udp_var.h>
16350 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16352 cat >>confdefs.h
<<_ACEOF
16353 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16360 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16361 #include <sys/types.h>
16363 #ifdef HAVE_NET_IF_H
16364 # include <net/if.h>
16367 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16369 cat >>confdefs.h
<<_ACEOF
16370 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16378 $as_echo_n "checking for timezone variable... " >&6; }
16379 if ${ac_cv_have_timezone+:} false
; then :
16380 $as_echo_n "(cached) " >&6
16382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16383 /* end confdefs.h. */
16393 if ac_fn_c_try_link
"$LINENO"; then :
16394 ac_cv_have_timezone
="yes"
16396 ac_cv_have_timezone
="no"
16398 rm -f core conftest.err conftest.
$ac_objext \
16399 conftest
$ac_exeext conftest.
$ac_ext
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16402 $as_echo "$ac_cv_have_timezone" >&6; }
16403 if test "$ac_cv_have_timezone" = "yes"
16406 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16410 $as_echo_n "checking for daylight variable... " >&6; }
16411 if ${ac_cv_have_daylight+:} false
; then :
16412 $as_echo_n "(cached) " >&6
16414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16415 /* end confdefs.h. */
16425 if ac_fn_c_try_link
"$LINENO"; then :
16426 ac_cv_have_daylight
="yes"
16428 ac_cv_have_daylight
="no"
16430 rm -f core conftest.err conftest.
$ac_objext \
16431 conftest
$ac_exeext conftest.
$ac_ext
16433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16434 $as_echo "$ac_cv_have_daylight" >&6; }
16435 if test "$ac_cv_have_daylight" = "yes"
16438 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16442 ac_save_LIBS
="$LIBS"
16444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16445 $as_echo_n "checking for isfinite... " >&6; }
16446 if ${ac_cv_have_isfinite+:} false
; then :
16447 $as_echo_n "(cached) " >&6
16449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16450 /* end confdefs.h. */
16451 #define _GNU_SOURCE
16456 float f = 0.0; return isfinite(f)
16461 if ac_fn_c_try_link
"$LINENO"; then :
16462 ac_cv_have_isfinite
="yes"
16464 ac_cv_have_isfinite
="no"
16466 rm -f core conftest.err conftest.
$ac_objext \
16467 conftest
$ac_exeext conftest.
$ac_ext
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16470 $as_echo "$ac_cv_have_isfinite" >&6; }
16471 if test "$ac_cv_have_isfinite" = "yes"
16474 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16479 $as_echo_n "checking for isinf... " >&6; }
16480 if ${ac_cv_have_isinf+:} false
; then :
16481 $as_echo_n "(cached) " >&6
16483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16484 /* end confdefs.h. */
16489 float f = 0.0; return isinf(f)
16494 if ac_fn_c_try_link
"$LINENO"; then :
16495 ac_cv_have_isinf
="yes"
16497 ac_cv_have_isinf
="no"
16499 rm -f core conftest.err conftest.
$ac_objext \
16500 conftest
$ac_exeext conftest.
$ac_ext
16502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16503 $as_echo "$ac_cv_have_isinf" >&6; }
16504 if test "$ac_cv_have_isinf" = "yes"
16507 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16512 $as_echo_n "checking for isnan... " >&6; }
16513 if ${ac_cv_have_isnan+:} false
; then :
16514 $as_echo_n "(cached) " >&6
16516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16517 /* end confdefs.h. */
16522 float f = 0.0; return isnan(f)
16527 if ac_fn_c_try_link
"$LINENO"; then :
16528 ac_cv_have_isnan
="yes"
16530 ac_cv_have_isnan
="no"
16532 rm -f core conftest.err conftest.
$ac_objext \
16533 conftest
$ac_exeext conftest.
$ac_ext
16535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16536 $as_echo "$ac_cv_have_isnan" >&6; }
16537 if test "$ac_cv_have_isnan" = "yes"
16540 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16567 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16568 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16569 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16570 cat >>confdefs.h
<<_ACEOF
16571 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16577 LIBS
="$ac_save_LIBS"
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16580 $as_echo_n "checking for __builtin_clz... " >&6; }
16581 if ${ac_cv_have___builtin_clz+:} false
; then :
16582 $as_echo_n "(cached) " >&6
16584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16585 /* end confdefs.h. */
16590 return __builtin_clz(1)
16595 if ac_fn_c_try_link
"$LINENO"; then :
16596 ac_cv_have___builtin_clz
="yes"
16598 ac_cv_have___builtin_clz
="no"
16600 rm -f core conftest.err conftest.
$ac_objext \
16601 conftest
$ac_exeext conftest.
$ac_ext
16603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16604 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16605 if test "$ac_cv_have___builtin_clz" = "yes"
16608 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16614 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16615 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16616 if ${ac_cv_cpp_def___i386__+:} false
; then :
16617 $as_echo_n "(cached) " >&6
16619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16620 /* end confdefs.h. */
16625 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16626 $EGREP "yes" >/dev
/null
2>&1; then :
16627 ac_cv_cpp_def___i386__
=yes
16629 ac_cv_cpp_def___i386__
=no
16634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16635 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16636 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16637 CFLAGS
="$CFLAGS -D__i386__"
16638 LINTFLAGS
="$LINTFLAGS -D__i386__"
16640 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16641 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16642 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16643 $as_echo_n "(cached) " >&6
16645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16646 /* end confdefs.h. */
16651 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16652 $EGREP "yes" >/dev
/null
2>&1; then :
16653 ac_cv_cpp_def___x86_64__
=yes
16655 ac_cv_cpp_def___x86_64__
=no
16660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16661 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16662 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16663 CFLAGS
="$CFLAGS -D__x86_64__"
16664 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16666 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16667 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16668 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16669 $as_echo_n "(cached) " >&6
16671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16672 /* end confdefs.h. */
16673 #ifndef __sparc64__
16677 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16678 $EGREP "yes" >/dev
/null
2>&1; then :
16679 ac_cv_cpp_def___sparc64__
=yes
16681 ac_cv_cpp_def___sparc64__
=no
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16687 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16688 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16689 CFLAGS
="$CFLAGS -D__sparc64__"
16690 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16692 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16693 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16694 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16695 $as_echo_n "(cached) " >&6
16697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16698 /* end confdefs.h. */
16703 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16704 $EGREP "yes" >/dev
/null
2>&1; then :
16705 ac_cv_cpp_def___sparc__
=yes
16707 ac_cv_cpp_def___sparc__
=no
16712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16713 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16714 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16715 CFLAGS
="$CFLAGS -D__sparc__"
16716 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16718 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16719 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16720 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16721 $as_echo_n "(cached) " >&6
16723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16724 /* end confdefs.h. */
16725 #ifndef __powerpc64__
16729 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16730 $EGREP "yes" >/dev
/null
2>&1; then :
16731 ac_cv_cpp_def___powerpc64__
=yes
16733 ac_cv_cpp_def___powerpc64__
=no
16738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16739 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16740 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16741 CFLAGS
="$CFLAGS -D__powerpc64__"
16742 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16744 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16745 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16746 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16747 $as_echo_n "(cached) " >&6
16749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16750 /* end confdefs.h. */
16751 #ifndef __powerpc__
16755 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16756 $EGREP "yes" >/dev
/null
2>&1; then :
16757 ac_cv_cpp_def___powerpc__
=yes
16759 ac_cv_cpp_def___powerpc__
=no
16764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16765 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16766 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16767 CFLAGS
="$CFLAGS -D__powerpc__"
16768 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16770 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16771 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16772 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16773 $as_echo_n "(cached) " >&6
16775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16776 /* end confdefs.h. */
16777 #ifndef __aarch64__
16781 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16782 $EGREP "yes" >/dev
/null
2>&1; then :
16783 ac_cv_cpp_def___aarch64__
=yes
16785 ac_cv_cpp_def___aarch64__
=no
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16791 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16792 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16793 CFLAGS
="$CFLAGS -D__aarch64__"
16794 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16796 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16797 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16798 if ${ac_cv_cpp_def___arm__+:} false
; then :
16799 $as_echo_n "(cached) " >&6
16801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16802 /* end confdefs.h. */
16807 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16808 $EGREP "yes" >/dev
/null
2>&1; then :
16809 ac_cv_cpp_def___arm__
=yes
16811 ac_cv_cpp_def___arm__
=no
16816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16817 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16818 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16819 CFLAGS
="$CFLAGS -D__arm__"
16820 LINTFLAGS
="$LINTFLAGS -D__arm__"
16824 case $host_vendor in
16825 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16826 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16827 if ${ac_cv_cpp_def___sun__+:} false
; then :
16828 $as_echo_n "(cached) " >&6
16830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16831 /* end confdefs.h. */
16836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16837 $EGREP "yes" >/dev
/null
2>&1; then :
16838 ac_cv_cpp_def___sun__
=yes
16840 ac_cv_cpp_def___sun__
=no
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16846 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16847 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16848 CFLAGS
="$CFLAGS -D__sun__"
16849 LINTFLAGS
="$LINTFLAGS -D__sun__"
16857 ac_config_commands
="$ac_config_commands include/stamp-h"
16859 $as_echo_n "creating Makefile rules..." >&6
16861 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16862 SOCKET_LIBS = $SOCKET_LIBS
16863 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16864 IOKIT_LIBS = $IOKIT_LIBS
16865 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16866 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16867 CORESERVICES_LIBS = $CORESERVICES_LIBS
16868 APPKIT_LIBS = $APPKIT_LIBS
16869 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16870 SECURITY_LIBS = $SECURITY_LIBS
16871 COREAUDIO_LIBS = $COREAUDIO_LIBS
16872 OPENAL_LIBS = $OPENAL_LIBS
16873 OPENCL_LIBS = $OPENCL_LIBS
16874 QUICKTIME_LIBS = $QUICKTIME_LIBS
16875 CARBON_LIBS = $CARBON_LIBS
16876 PTHREAD_LIBS = $PTHREAD_LIBS
16877 X_CFLAGS = $X_CFLAGS
16878 X_PRE_LIBS = $X_PRE_LIBS
16880 X_EXTRA_LIBS = $X_EXTRA_LIBS
16881 XML2_CFLAGS = $XML2_CFLAGS
16882 XML2_LIBS = $XML2_LIBS
16883 XSLT_CFLAGS = $XSLT_CFLAGS
16884 XSLT_LIBS = $XSLT_LIBS
16885 DBUS_CFLAGS = $DBUS_CFLAGS
16886 DBUS_LIBS = $DBUS_LIBS
16887 HAL_CFLAGS = $HAL_CFLAGS
16888 HAL_LIBS = $HAL_LIBS
16889 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16890 GNUTLS_LIBS = $GNUTLS_LIBS
16891 SANE_CFLAGS = $SANE_CFLAGS
16892 SANE_LIBS = $SANE_LIBS
16893 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16894 GPHOTO2_LIBS = $GPHOTO2_LIBS
16895 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16896 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16897 RESOLV_LIBS = $RESOLV_LIBS
16898 LCMS2_CFLAGS = $LCMS2_CFLAGS
16899 LCMS2_LIBS = $LCMS2_LIBS
16900 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16901 FREETYPE_LIBS = $FREETYPE_LIBS
16903 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16904 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16905 GSTREAMER_LIBS = $GSTREAMER_LIBS
16906 ALSA_LIBS = $ALSA_LIBS
16907 OSS4_CFLAGS = $OSS4_CFLAGS
16908 CAPI20_CFLAGS = $CAPI20_CFLAGS
16909 CAPI20_LIBS = $CAPI20_LIBS
16910 CUPS_CFLAGS = $CUPS_CFLAGS
16911 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16912 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16913 JPEG_CFLAGS = $JPEG_CFLAGS
16914 JPEG_LIBS = $JPEG_LIBS
16915 PNG_CFLAGS = $PNG_CFLAGS
16916 PNG_LIBS = $PNG_LIBS
16917 TIFF_CFLAGS = $TIFF_CFLAGS
16918 TIFF_LIBS = $TIFF_LIBS
16919 MPG123_CFLAGS = $MPG123_CFLAGS
16920 MPG123_LIBS = $MPG123_LIBS
16921 KSTAT_LIBS = $KSTAT_LIBS
16922 PROCSTAT_LIBS = $PROCSTAT_LIBS
16924 POLL_LIBS = $POLL_LIBS
16926 LDAP_LIBS = $LDAP_LIBS
16931 wine_fn_append_rule
"
16932 # Rules automatically generated by configure
16934 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16939 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16940 @./config.status Make.tmp Makefile"
16942 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16943 .gitignore: config.status
16944 @./config.status .gitignore"
16946 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16947 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16949 if test "x$enable_fonts" != xno
; then
16950 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16951 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16952 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16953 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16954 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16956 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16957 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16958 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16959 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16960 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16961 wine_fn_config_symlink wine
16962 if test "x$enable_win64" != xno
; then
16963 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16964 wine_fn_config_symlink wine64
16967 wine_fn_config_dll acledit enable_acledit
16968 wine_fn_config_dll aclui enable_aclui implib
16969 wine_fn_config_dll activeds enable_activeds implib
16970 wine_fn_config_dll actxprxy enable_actxprxy clean
16971 wine_fn_config_lib adsiid
16972 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16973 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16974 wine_fn_config_dll advpack enable_advpack implib
16975 wine_fn_config_test dlls
/advpack
/tests advpack_test
16976 wine_fn_config_dll amstream enable_amstream clean
16977 wine_fn_config_test dlls
/amstream
/tests amstream_test
16978 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16979 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16980 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16981 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16982 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16983 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16984 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16985 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16986 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16987 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16988 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16989 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16990 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16991 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16992 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16993 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16994 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16995 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16996 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
16997 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
16998 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
16999 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17000 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17001 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17002 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17003 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17004 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17005 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17006 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17007 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17008 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17009 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17010 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17011 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17012 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17013 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17014 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17015 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17016 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17017 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17018 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17019 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17020 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17021 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17022 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17023 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17024 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17025 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17026 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17027 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17028 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17029 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17030 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17031 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17032 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17033 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17034 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17035 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17036 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17037 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17038 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17039 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17040 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17041 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17042 wine_fn_config_dll apphelp enable_apphelp
17043 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17044 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17045 wine_fn_config_dll atl enable_atl clean
,implib
17046 wine_fn_config_test dlls
/atl
/tests atl_test
17047 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17048 wine_fn_config_test dlls
/atl100
/tests atl100_test
17049 wine_fn_config_dll atl110 enable_atl110 clean
17050 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17051 wine_fn_config_test dlls
/atl80
/tests atl80_test
17052 wine_fn_config_dll atl90 enable_atl90 clean
17053 wine_fn_config_dll authz enable_authz
17054 wine_fn_config_dll avicap32 enable_avicap32 implib
17055 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
17056 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17057 wine_fn_config_dll avifile.dll16 enable_win16
17058 wine_fn_config_dll avrt enable_avrt implib
17059 wine_fn_config_dll bcrypt enable_bcrypt
17060 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17061 wine_fn_config_dll browseui enable_browseui clean
,po
17062 wine_fn_config_test dlls
/browseui
/tests browseui_test
17063 wine_fn_config_dll cabinet enable_cabinet implib
17064 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17065 wine_fn_config_dll capi2032 enable_capi2032 implib
17066 wine_fn_config_dll cards enable_cards implib
17067 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17068 wine_fn_config_dll clusapi enable_clusapi implib
17069 wine_fn_config_dll combase enable_combase
17070 wine_fn_config_test dlls
/combase
/tests combase_test
17071 wine_fn_config_dll comcat enable_comcat
17072 wine_fn_config_test dlls
/comcat
/tests comcat_test
17073 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
17074 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17075 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
17076 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17077 wine_fn_config_dll
comm.drv16 enable_win16
17078 wine_fn_config_dll commdlg.dll16 enable_win16
17079 wine_fn_config_dll compobj.dll16 enable_win16
17080 wine_fn_config_dll compstui enable_compstui implib
17081 wine_fn_config_dll comsvcs enable_comsvcs implib
17082 wine_fn_config_dll credui enable_credui implib
,po
17083 wine_fn_config_test dlls
/credui
/tests credui_test
17084 wine_fn_config_dll crtdll enable_crtdll implib
17085 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
17086 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17087 wine_fn_config_dll cryptdlg enable_cryptdlg po
17088 wine_fn_config_dll cryptdll enable_cryptdll implib
17089 wine_fn_config_dll cryptext enable_cryptext
17090 wine_fn_config_dll cryptnet enable_cryptnet implib
17091 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17092 wine_fn_config_dll cryptui enable_cryptui implib
,po
17093 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17094 wine_fn_config_dll ctapi32 enable_ctapi32
17095 wine_fn_config_dll ctl3d.dll16 enable_win16
17096 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17097 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17098 wine_fn_config_dll d2d1 enable_d2d1 implib
17099 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17100 wine_fn_config_dll d3d10 enable_d3d10 implib
17101 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17102 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17103 wine_fn_config_dll d3d10core enable_d3d10core implib
17104 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17105 wine_fn_config_dll d3d11 enable_d3d11
17106 wine_fn_config_dll d3d8 enable_d3d8 implib
17107 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17108 wine_fn_config_dll d3d9 enable_d3d9 implib
17109 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17110 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17111 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17112 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17113 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17114 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17115 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17116 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17117 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17118 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17119 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17120 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17121 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17122 wine_fn_config_dll d3dim enable_d3dim implib
17123 wine_fn_config_dll d3drm enable_d3drm implib
17124 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17125 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17126 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17127 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17128 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17129 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17130 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17131 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17132 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17133 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17134 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17135 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17136 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17137 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17138 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17139 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17140 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17141 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17142 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17143 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17144 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17145 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17146 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17147 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17148 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17149 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17150 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17151 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17152 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17153 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17154 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17155 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17156 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17157 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17158 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17159 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17160 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17161 wine_fn_config_dll dbgeng enable_dbgeng implib
17162 wine_fn_config_dll dbghelp enable_dbghelp implib
17163 wine_fn_config_dll dciman32 enable_dciman32 implib
17164 wine_fn_config_dll ddeml.dll16 enable_win16
17165 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17166 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17167 wine_fn_config_dll ddrawex enable_ddrawex clean
17168 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17169 wine_fn_config_dll devenum enable_devenum clean
,po
17170 wine_fn_config_test dlls
/devenum
/tests devenum_test
17171 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17172 wine_fn_config_dll difxapi enable_difxapi
17173 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17174 wine_fn_config_test dlls
/dinput
/tests dinput_test
17175 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17176 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17177 wine_fn_config_dll dispdib.dll16 enable_win16
17178 wine_fn_config_dll dispex enable_dispex clean
17179 wine_fn_config_test dlls
/dispex
/tests dispex_test
17180 wine_fn_config_dll display.drv16 enable_win16
17181 wine_fn_config_dll dmband enable_dmband clean
17182 wine_fn_config_test dlls
/dmband
/tests dmband_test
17183 wine_fn_config_dll dmcompos enable_dmcompos clean
17184 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17185 wine_fn_config_dll dmime enable_dmime clean
17186 wine_fn_config_test dlls
/dmime
/tests dmime_test
17187 wine_fn_config_dll dmloader enable_dmloader clean
17188 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17189 wine_fn_config_dll dmscript enable_dmscript clean
17190 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17191 wine_fn_config_dll dmstyle enable_dmstyle clean
17192 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17193 wine_fn_config_dll dmsynth enable_dmsynth clean
17194 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17195 wine_fn_config_dll dmusic enable_dmusic clean
17196 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17197 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17198 wine_fn_config_dll dnsapi enable_dnsapi implib
17199 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17200 wine_fn_config_dll dplay enable_dplay implib
17201 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17202 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17203 wine_fn_config_dll dpnaddr enable_dpnaddr
17204 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17205 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17206 wine_fn_config_dll dpnhpast enable_dpnhpast
17207 wine_fn_config_dll dpnlobby enable_dpnlobby
17208 wine_fn_config_dll dpvoice enable_dpvoice clean
17209 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17210 wine_fn_config_dll dpwsockx enable_dpwsockx
17211 wine_fn_config_dll drmclien enable_drmclien
17212 wine_fn_config_dll dsound enable_dsound clean
,implib
17213 wine_fn_config_test dlls
/dsound
/tests dsound_test
17214 wine_fn_config_dll dssenh enable_dssenh
17215 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17216 wine_fn_config_dll dswave enable_dswave clean
17217 wine_fn_config_test dlls
/dswave
/tests dswave_test
17218 wine_fn_config_dll dwmapi enable_dwmapi implib
17219 wine_fn_config_dll dwrite enable_dwrite implib
17220 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17221 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17222 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17223 wine_fn_config_lib dxerr8
17224 wine_fn_config_lib dxerr9
17225 wine_fn_config_dll dxgi enable_dxgi implib
17226 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17227 wine_fn_config_lib dxguid
17228 wine_fn_config_dll dxva2 enable_dxva2
17229 wine_fn_config_dll explorerframe enable_explorerframe clean
17230 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17231 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17232 wine_fn_config_dll faultrep enable_faultrep implib
17233 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17234 wine_fn_config_dll fltlib enable_fltlib
17235 wine_fn_config_dll fntcache enable_fntcache
17236 wine_fn_config_dll fontsub enable_fontsub
17237 wine_fn_config_dll fusion enable_fusion
17238 wine_fn_config_test dlls
/fusion
/tests fusion_test
17239 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17240 wine_fn_config_dll gameux enable_gameux clean
17241 wine_fn_config_test dlls
/gameux
/tests gameux_test
17242 wine_fn_config_dll gdi.exe16 enable_win16
17243 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17244 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17245 wine_fn_config_dll gdiplus enable_gdiplus implib
17246 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17247 wine_fn_config_dll glu32 enable_glu32 implib
17248 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17249 wine_fn_config_dll gpkcsp enable_gpkcsp
17250 wine_fn_config_dll hal enable_hal
17251 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17252 wine_fn_config_dll hid enable_hid implib
17253 wine_fn_config_dll hlink enable_hlink clean
,implib
17254 wine_fn_config_test dlls
/hlink
/tests hlink_test
17255 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17256 wine_fn_config_dll httpapi enable_httpapi
17257 wine_fn_config_dll iccvid enable_iccvid po
17258 wine_fn_config_dll icmp enable_icmp
17259 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17260 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17261 wine_fn_config_dll ifsmgr.vxd enable_win16
17262 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17263 wine_fn_config_dll imagehlp enable_imagehlp implib
17264 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17265 wine_fn_config_dll imm.dll16 enable_win16
17266 wine_fn_config_dll imm32 enable_imm32 implib
17267 wine_fn_config_test dlls
/imm32
/tests imm32_test
17268 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17269 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17270 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17271 wine_fn_config_dll inetmib1 enable_inetmib1
17272 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17273 wine_fn_config_dll infosoft enable_infosoft clean
17274 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17275 wine_fn_config_dll initpki enable_initpki
17276 wine_fn_config_dll inkobj enable_inkobj
17277 wine_fn_config_dll inseng enable_inseng clean
17278 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17279 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17280 wine_fn_config_dll itircl enable_itircl
17281 wine_fn_config_dll itss enable_itss clean
17282 wine_fn_config_test dlls
/itss
/tests itss_test
17283 wine_fn_config_dll joy.cpl enable_joy_cpl po
17284 wine_fn_config_dll jscript enable_jscript clean
,po
17285 wine_fn_config_test dlls
/jscript
/tests jscript_test
17286 wine_fn_config_dll jsproxy enable_jsproxy implib
17287 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17288 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17289 wine_fn_config_dll keyboard.drv16 enable_win16
17290 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17291 wine_fn_config_dll ksuser enable_ksuser
17292 wine_fn_config_dll ktmw32 enable_ktmw32
17293 wine_fn_config_dll loadperf enable_loadperf implib
17294 wine_fn_config_dll localspl enable_localspl po
17295 wine_fn_config_test dlls
/localspl
/tests localspl_test
17296 wine_fn_config_dll localui enable_localui po
17297 wine_fn_config_test dlls
/localui
/tests localui_test
17298 wine_fn_config_dll lz32 enable_lz32 implib
17299 wine_fn_config_test dlls
/lz32
/tests lz32_test
17300 wine_fn_config_dll lzexpand.dll16 enable_win16
17301 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17302 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17303 wine_fn_config_dll mapistub enable_mapistub
17304 wine_fn_config_dll mciavi32 enable_mciavi32
17305 wine_fn_config_dll mcicda enable_mcicda
17306 wine_fn_config_dll mciqtz32 enable_mciqtz32
17307 wine_fn_config_dll mciseq enable_mciseq
17308 wine_fn_config_dll mciwave enable_mciwave
17309 wine_fn_config_dll mfplat enable_mfplat
17310 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17311 wine_fn_config_dll mgmtapi enable_mgmtapi
17312 wine_fn_config_dll midimap enable_midimap
17313 wine_fn_config_dll mlang enable_mlang clean
,implib
17314 wine_fn_config_test dlls
/mlang
/tests mlang_test
17315 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17316 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17317 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17318 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17319 wine_fn_config_dll mmdevldr.vxd enable_win16
17320 wine_fn_config_dll mmsystem.dll16 enable_win16
17321 wine_fn_config_dll monodebg.vxd enable_win16
17322 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17323 wine_fn_config_dll mouse.drv16 enable_win16
17324 wine_fn_config_dll mpr enable_mpr implib
,po
17325 wine_fn_config_test dlls
/mpr
/tests mpr_test
17326 wine_fn_config_dll mprapi enable_mprapi implib
17327 wine_fn_config_dll msacm.dll16 enable_win16
17328 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17329 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17330 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17331 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17332 wine_fn_config_dll msasn1 enable_msasn1 implib
17333 wine_fn_config_dll mscat32 enable_mscat32
17334 wine_fn_config_dll mscms enable_mscms implib
17335 wine_fn_config_test dlls
/mscms
/tests mscms_test
17336 wine_fn_config_dll mscoree enable_mscoree clean
17337 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17338 wine_fn_config_dll msctf enable_msctf clean
17339 wine_fn_config_test dlls
/msctf
/tests msctf_test
17340 wine_fn_config_dll msdaps enable_msdaps clean
17341 wine_fn_config_dll msdmo enable_msdmo implib
17342 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17343 wine_fn_config_dll msftedit enable_msftedit
17344 wine_fn_config_dll msg711.acm enable_msg711_acm
17345 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17346 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17347 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17348 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17349 wine_fn_config_dll msi enable_msi clean
,implib
,po
17350 wine_fn_config_test dlls
/msi
/tests msi_test
17351 wine_fn_config_dll msident enable_msident clean
17352 wine_fn_config_dll msimg32 enable_msimg32 implib
17353 wine_fn_config_dll msimsg enable_msimsg
17354 wine_fn_config_dll msimtf enable_msimtf clean
17355 wine_fn_config_dll msisip enable_msisip
17356 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17357 wine_fn_config_dll msls31 enable_msls31
17358 wine_fn_config_dll msnet32 enable_msnet32
17359 wine_fn_config_dll mspatcha enable_mspatcha
17360 wine_fn_config_dll msrle32 enable_msrle32 po
17361 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17362 wine_fn_config_dll mssign32 enable_mssign32
17363 wine_fn_config_dll mssip32 enable_mssip32
17364 wine_fn_config_dll mstask enable_mstask clean
17365 wine_fn_config_test dlls
/mstask
/tests mstask_test
17366 wine_fn_config_dll msvcirt enable_msvcirt
17367 wine_fn_config_dll msvcm80 enable_msvcm80
17368 wine_fn_config_dll msvcm90 enable_msvcm90
17369 wine_fn_config_dll msvcp100 enable_msvcp100
17370 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17371 wine_fn_config_dll msvcp110 enable_msvcp110
17372 wine_fn_config_dll msvcp120 enable_msvcp120
17373 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
17374 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17375 wine_fn_config_dll msvcp60 enable_msvcp60
17376 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17377 wine_fn_config_dll msvcp70 enable_msvcp70
17378 wine_fn_config_dll msvcp71 enable_msvcp71
17379 wine_fn_config_dll msvcp80 enable_msvcp80
17380 wine_fn_config_dll msvcp90 enable_msvcp90
17381 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17382 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17383 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17384 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17385 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17386 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17387 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17388 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17389 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17390 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17391 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17392 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17393 wine_fn_config_dll msvcrt enable_msvcrt implib
17394 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17395 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17396 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17397 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17398 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17399 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17400 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17401 wine_fn_config_dll msvidc32 enable_msvidc32 po
17402 wine_fn_config_dll msvideo.dll16 enable_win16
17403 wine_fn_config_dll mswsock enable_mswsock implib
17404 wine_fn_config_dll msxml enable_msxml clean
17405 wine_fn_config_dll msxml2 enable_msxml2 clean
17406 wine_fn_config_dll msxml3 enable_msxml3 clean
17407 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17408 wine_fn_config_dll msxml4 enable_msxml4 clean
17409 wine_fn_config_dll msxml6 enable_msxml6 clean
17410 wine_fn_config_dll nddeapi enable_nddeapi implib
17411 wine_fn_config_dll ndis.sys enable_ndis_sys
17412 wine_fn_config_dll netapi32 enable_netapi32 implib
17413 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17414 wine_fn_config_dll netcfgx enable_netcfgx clean
17415 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17416 wine_fn_config_dll netprofm enable_netprofm clean
17417 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17418 wine_fn_config_dll newdev enable_newdev implib
17419 wine_fn_config_dll normaliz enable_normaliz implib
17420 wine_fn_config_dll npmshtml enable_npmshtml
17421 wine_fn_config_dll npptools enable_npptools
17422 wine_fn_config_dll ntdll enable_ntdll implib
17423 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17424 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17425 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17426 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17427 wine_fn_config_dll ntprint enable_ntprint
17428 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17429 wine_fn_config_dll objsel enable_objsel clean
17430 wine_fn_config_dll odbc32 enable_odbc32 implib
17431 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17432 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17433 wine_fn_config_dll odbccu32 enable_odbccu32
17434 wine_fn_config_dll ole2.dll16 enable_win16
17435 wine_fn_config_dll ole2conv.dll16 enable_win16
17436 wine_fn_config_dll ole2disp.dll16 enable_win16
17437 wine_fn_config_dll ole2nls.dll16 enable_win16
17438 wine_fn_config_dll ole2prox.dll16 enable_win16
17439 wine_fn_config_dll ole2thk.dll16 enable_win16
17440 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17441 wine_fn_config_test dlls
/ole32
/tests ole32_test
17442 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17443 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17444 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17445 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17446 wine_fn_config_dll olecli.dll16 enable_win16
17447 wine_fn_config_dll olecli32 enable_olecli32 implib
17448 wine_fn_config_dll oledb32 enable_oledb32 clean
17449 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17450 wine_fn_config_dll oledlg enable_oledlg implib
,po
17451 wine_fn_config_dll olepro32 enable_olepro32 implib
17452 wine_fn_config_dll olesvr.dll16 enable_win16
17453 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17454 wine_fn_config_dll olethk32 enable_olethk32
17455 wine_fn_config_dll openal32 enable_openal32
17456 wine_fn_config_dll opencl enable_opencl
17457 wine_fn_config_dll opengl32 enable_opengl32 implib
17458 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17459 wine_fn_config_dll packager enable_packager clean
17460 wine_fn_config_test dlls
/packager
/tests packager_test
17461 wine_fn_config_dll pdh enable_pdh implib
17462 wine_fn_config_test dlls
/pdh
/tests pdh_test
17463 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17464 wine_fn_config_dll pidgen enable_pidgen
17465 wine_fn_config_dll powrprof enable_powrprof implib
17466 wine_fn_config_dll printui enable_printui
17467 wine_fn_config_dll prntvpt enable_prntvpt
17468 wine_fn_config_dll propsys enable_propsys clean
,implib
17469 wine_fn_config_test dlls
/propsys
/tests propsys_test
17470 wine_fn_config_dll psapi enable_psapi implib
17471 wine_fn_config_test dlls
/psapi
/tests psapi_test
17472 wine_fn_config_dll pstorec enable_pstorec clean
17473 wine_fn_config_dll qcap enable_qcap
17474 wine_fn_config_test dlls
/qcap
/tests qcap_test
17475 wine_fn_config_dll qedit enable_qedit clean
17476 wine_fn_config_test dlls
/qedit
/tests qedit_test
17477 wine_fn_config_dll qmgr enable_qmgr clean
17478 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17479 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17480 wine_fn_config_dll quartz enable_quartz clean
,implib
17481 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17482 wine_fn_config_dll query enable_query
17483 wine_fn_config_dll rasapi16.dll16 enable_win16
17484 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17485 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17486 wine_fn_config_dll rasdlg enable_rasdlg implib
17487 wine_fn_config_dll regapi enable_regapi
17488 wine_fn_config_dll resutils enable_resutils implib
17489 wine_fn_config_dll riched20 enable_riched20 implib
17490 wine_fn_config_test dlls
/riched20
/tests riched20_test
17491 wine_fn_config_dll riched32 enable_riched32
17492 wine_fn_config_test dlls
/riched32
/tests riched32_test
17493 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17494 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17495 wine_fn_config_dll rsabase enable_rsabase
17496 wine_fn_config_dll rsaenh enable_rsaenh implib
17497 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17498 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17499 wine_fn_config_dll rtutils enable_rtutils implib
17500 wine_fn_config_dll samlib enable_samlib
17501 wine_fn_config_dll sane.ds enable_sane_ds po
17502 wine_fn_config_dll scarddlg enable_scarddlg
17503 wine_fn_config_dll sccbase enable_sccbase
17504 wine_fn_config_dll schannel enable_schannel
17505 wine_fn_config_test dlls
/schannel
/tests schannel_test
17506 wine_fn_config_dll schedsvc enable_schedsvc clean
17507 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17508 wine_fn_config_dll scrrun enable_scrrun clean
17509 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17510 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17511 wine_fn_config_dll secur32 enable_secur32 implib
17512 wine_fn_config_test dlls
/secur32
/tests secur32_test
17513 wine_fn_config_dll security enable_security
17514 wine_fn_config_dll sensapi enable_sensapi implib
17515 wine_fn_config_dll serialui enable_serialui implib
,po
17516 wine_fn_config_test dlls
/serialui
/tests serialui_test
17517 wine_fn_config_dll setupapi enable_setupapi implib
,po
17518 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17519 wine_fn_config_dll setupx.dll16 enable_win16
17520 wine_fn_config_dll sfc enable_sfc implib
17521 wine_fn_config_dll sfc_os enable_sfc_os implib
17522 wine_fn_config_dll shdoclc enable_shdoclc po
17523 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17524 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17525 wine_fn_config_dll shell.dll16 enable_win16
17526 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17527 wine_fn_config_test dlls
/shell32
/tests shell32_test
17528 wine_fn_config_dll shfolder enable_shfolder implib
17529 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17530 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17531 wine_fn_config_dll slbcsp enable_slbcsp
17532 wine_fn_config_dll slc enable_slc implib
17533 wine_fn_config_dll snmpapi enable_snmpapi implib
17534 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17535 wine_fn_config_dll softpub enable_softpub
17536 wine_fn_config_dll sound.drv16 enable_win16
17537 wine_fn_config_dll spoolss enable_spoolss implib
17538 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17539 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17540 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17541 wine_fn_config_dll sti enable_sti clean
,implib
17542 wine_fn_config_test dlls
/sti
/tests sti_test
17543 wine_fn_config_dll storage.dll16 enable_win16
17544 wine_fn_config_dll stress.dll16 enable_win16
17545 wine_fn_config_lib strmbase
17546 wine_fn_config_lib strmiids
17547 wine_fn_config_dll svrapi enable_svrapi
17548 wine_fn_config_dll sxs enable_sxs implib
17549 wine_fn_config_test dlls
/sxs
/tests sxs_test
17550 wine_fn_config_dll system.drv16 enable_win16
17551 wine_fn_config_dll t2embed enable_t2embed
17552 wine_fn_config_dll tapi32 enable_tapi32 implib
17553 wine_fn_config_dll taskschd enable_taskschd clean
17554 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17555 wine_fn_config_dll toolhelp.dll16 enable_win16
17556 wine_fn_config_dll traffic enable_traffic
17557 wine_fn_config_dll twain.dll16 enable_win16
17558 wine_fn_config_dll twain_32 enable_twain_32
17559 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17560 wine_fn_config_dll typelib.dll16 enable_win16
17561 wine_fn_config_dll unicows enable_unicows implib
17562 wine_fn_config_dll updspapi enable_updspapi
17563 wine_fn_config_dll url enable_url implib
17564 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17565 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17566 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17567 wine_fn_config_dll user.exe16 enable_win16
17568 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17569 wine_fn_config_test dlls
/user32
/tests user32_test
17570 wine_fn_config_dll userenv enable_userenv implib
17571 wine_fn_config_test dlls
/userenv
/tests userenv_test
17572 wine_fn_config_dll usp10 enable_usp10 implib
17573 wine_fn_config_test dlls
/usp10
/tests usp10_test
17574 wine_fn_config_lib uuid
17575 wine_fn_config_dll uxtheme enable_uxtheme implib
17576 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17577 wine_fn_config_dll vbscript enable_vbscript clean
17578 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17579 wine_fn_config_dll vcomp enable_vcomp
17580 wine_fn_config_dll vcomp100 enable_vcomp100
17581 wine_fn_config_dll vcomp90 enable_vcomp90
17582 wine_fn_config_dll vdhcp.vxd enable_win16
17583 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17584 wine_fn_config_dll ver.dll16 enable_win16
17585 wine_fn_config_dll version enable_version implib
17586 wine_fn_config_test dlls
/version
/tests version_test
17587 wine_fn_config_dll vmm.vxd enable_win16
17588 wine_fn_config_dll vnbt.vxd enable_win16
17589 wine_fn_config_dll vnetbios.vxd enable_win16
17590 wine_fn_config_dll vssapi enable_vssapi
17591 wine_fn_config_dll vtdapi.vxd enable_win16
17592 wine_fn_config_dll vwin32.vxd enable_win16
17593 wine_fn_config_dll w32skrnl enable_win16
17594 wine_fn_config_dll w32sys.dll16 enable_win16
17595 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17596 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
17597 wine_fn_config_dll wbemprox enable_wbemprox clean
17598 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17599 wine_fn_config_dll webservices enable_webservices implib
17600 wine_fn_config_dll wer enable_wer implib
17601 wine_fn_config_test dlls
/wer
/tests wer_test
17602 wine_fn_config_dll wevtapi enable_wevtapi
17603 wine_fn_config_dll wiaservc enable_wiaservc clean
17604 wine_fn_config_dll win32s16.dll16 enable_win16
17605 wine_fn_config_dll win87em.dll16 enable_win16
17606 wine_fn_config_dll winaspi.dll16 enable_win16
17607 wine_fn_config_dll windebug.dll16 enable_win16
17608 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17609 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17610 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17611 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17612 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17613 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17614 wine_fn_config_lib winecrt0
17615 wine_fn_config_dll wined3d enable_wined3d implib
17616 wine_fn_config_dll winegstreamer enable_winegstreamer
17617 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17618 wine_fn_config_dll winemac.drv enable_winemac_drv
17619 wine_fn_config_dll winemapi enable_winemapi
17620 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17621 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17622 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17623 wine_fn_config_dll wineps16.drv16 enable_win16
17624 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17625 wine_fn_config_dll winex11.drv enable_winex11_drv
17626 wine_fn_config_dll wing.dll16 enable_win16
17627 wine_fn_config_dll wing32 enable_wing32
17628 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17629 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17630 wine_fn_config_dll wininet enable_wininet implib
,po
17631 wine_fn_config_test dlls
/wininet
/tests wininet_test
17632 wine_fn_config_dll winmm enable_winmm implib
,po
17633 wine_fn_config_test dlls
/winmm
/tests winmm_test
17634 wine_fn_config_dll winnls.dll16 enable_win16
17635 wine_fn_config_dll winnls32 enable_winnls32 implib
17636 wine_fn_config_dll winscard enable_winscard implib
17637 wine_fn_config_dll winsock.dll16 enable_win16
17638 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17639 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17640 wine_fn_config_dll winsta enable_winsta
17641 wine_fn_config_dll wintab.dll16 enable_win16
17642 wine_fn_config_dll wintab32 enable_wintab32 implib
17643 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17644 wine_fn_config_dll wintrust enable_wintrust implib
17645 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17646 wine_fn_config_dll wlanapi enable_wlanapi
17647 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17648 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17649 wine_fn_config_dll wmi enable_wmi
17650 wine_fn_config_dll wmiutils enable_wmiutils clean
17651 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17652 wine_fn_config_dll wmp enable_wmp clean
17653 wine_fn_config_test dlls
/wmp
/tests wmp_test
17654 wine_fn_config_dll wmvcore enable_wmvcore
17655 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17656 wine_fn_config_dll wow32 enable_win16 implib
17657 wine_fn_config_dll wpcap enable_wpcap
17658 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17659 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17660 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17661 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17662 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17663 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17664 wine_fn_config_dll wsock32 enable_wsock32 implib
17665 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17666 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17667 wine_fn_config_dll wuapi enable_wuapi clean
17668 wine_fn_config_dll wuaueng enable_wuaueng
17669 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17670 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17671 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17672 wine_fn_config_dll xinput1_1 enable_xinput1_1
17673 wine_fn_config_dll xinput1_2 enable_xinput1_2
17674 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17675 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17676 wine_fn_config_dll xinput1_4 enable_xinput1_4
17677 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17678 wine_fn_config_dll xmllite enable_xmllite implib
17679 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17680 wine_fn_config_dll xolehlp enable_xolehlp
17681 wine_fn_config_dll xpsprint enable_xpsprint
17682 wine_fn_config_dll xpssvcs enable_xpssvcs
17683 wine_fn_config_makefile documentation enable_documentation clean
17684 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17685 wine_fn_config_makefile include enable_include clean
,install-dev
17686 wine_fn_config_makefile libs
/port enable_libs_port
17687 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17688 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17689 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17690 wine_fn_config_program arp enable_arp
install
17691 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17692 wine_fn_config_program attrib enable_attrib
install,po
17693 wine_fn_config_program cabarc enable_cabarc
install
17694 wine_fn_config_program cacls enable_cacls
install
17695 wine_fn_config_program
clock enable_clock
install,po
17696 wine_fn_config_program cmd enable_cmd
install,po
17697 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17698 wine_fn_config_program conhost enable_conhost
install
17699 wine_fn_config_program control enable_control
install
17700 wine_fn_config_program cscript enable_cscript clean
,install
17701 wine_fn_config_program dpnsvr enable_dpnsvr
install
17702 wine_fn_config_program dxdiag enable_dxdiag
install,po
17703 wine_fn_config_program eject enable_eject
install
17704 wine_fn_config_program
expand enable_expand
install
17705 wine_fn_config_program explorer enable_explorer
install,po
17706 wine_fn_config_program extrac32 enable_extrac32
install
17707 wine_fn_config_program findstr enable_findstr
install
17708 wine_fn_config_program hh enable_hh
install
17709 wine_fn_config_program hostname enable_hostname
install,po
17710 wine_fn_config_program icinfo enable_icinfo
install
17711 wine_fn_config_program iexplore enable_iexplore
install
17712 wine_fn_config_program ipconfig enable_ipconfig
install,po
17713 wine_fn_config_program lodctr enable_lodctr
install
17714 wine_fn_config_program mofcomp enable_mofcomp
install
17715 wine_fn_config_program mshta enable_mshta
install
17716 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17717 wine_fn_config_program net enable_net
install,po
17718 wine_fn_config_program netsh enable_netsh
install
17719 wine_fn_config_program netstat enable_netstat
install,po
17720 wine_fn_config_program ngen enable_ngen
install
17721 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17722 wine_fn_config_program oleview enable_oleview
install,po
17723 wine_fn_config_program
ping enable_ping
install
17724 wine_fn_config_program plugplay enable_plugplay
install
17725 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17726 wine_fn_config_program progman enable_progman
install,po
17727 wine_fn_config_program reg enable_reg
install,po
17728 wine_fn_config_test programs
/reg
/tests reg.exe_test
17729 wine_fn_config_program regasm enable_regasm
install
17730 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17731 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17732 wine_fn_config_program regsvcs enable_regsvcs
install
17733 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17734 wine_fn_config_program rpcss enable_rpcss clean
,install
17735 wine_fn_config_program rundll.exe16 enable_win16
install
17736 wine_fn_config_program rundll32 enable_rundll32
install
17737 wine_fn_config_program sc enable_sc
install
17738 wine_fn_config_program schtasks enable_schtasks
install
17739 wine_fn_config_program sdbinst enable_sdbinst
install
17740 wine_fn_config_program secedit enable_secedit
install
17741 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17742 wine_fn_config_program services enable_services clean
,install
17743 wine_fn_config_test programs
/services
/tests services.exe_test
17744 wine_fn_config_program spoolsv enable_spoolsv
install
17745 wine_fn_config_program start enable_start
install,po
17746 wine_fn_config_program svchost enable_svchost
install
17747 wine_fn_config_program systeminfo enable_systeminfo
install
17748 wine_fn_config_program taskkill enable_taskkill
install,po
17749 wine_fn_config_program tasklist enable_tasklist
install
17750 wine_fn_config_program taskmgr enable_taskmgr
install,po
17751 wine_fn_config_program termsv enable_termsv
install
17752 wine_fn_config_program uninstaller enable_uninstaller
install,po
17753 wine_fn_config_program unlodctr enable_unlodctr
install
17754 wine_fn_config_program view enable_view
install,po
17755 wine_fn_config_program wevtutil enable_wevtutil
install
17756 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17757 wine_fn_config_program winebrowser enable_winebrowser
install
17758 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17759 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17760 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17761 wine_fn_config_program winedevice enable_winedevice
install
17762 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17763 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17764 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17765 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17766 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17767 wine_fn_config_program winetest enable_winetest clean
17768 wine_fn_config_program winevdm enable_win16
install
17769 wine_fn_config_program winhelp.exe16 enable_win16
install
17770 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17771 wine_fn_config_program winoldap.mod16 enable_win16
install
17772 wine_fn_config_program winver enable_winver
install
17773 wine_fn_config_program wmic enable_wmic
install,po
17774 wine_fn_config_program wordpad enable_wordpad
install,po
17775 wine_fn_config_program
write enable_write
install,po
17776 wine_fn_config_program wscript enable_wscript clean
,install
17777 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17778 wine_fn_config_program wusa enable_wusa
install
17779 wine_fn_config_program xcopy enable_xcopy
install,po
17780 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17781 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17782 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17783 wine_fn_config_tool tools
/sfnt2fon clean
17784 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17785 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17786 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17787 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17788 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17789 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17841 wine_fn_ignore_file
".gitignore"
17842 wine_fn_ignore_file
"Makefile"
17843 wine_fn_ignore_file
"TAGS"
17844 wine_fn_ignore_file
"tags"
17845 wine_fn_ignore_file
"autom4te.cache"
17846 wine_fn_ignore_file
"config.cache"
17847 wine_fn_ignore_file
"config.log"
17848 wine_fn_ignore_file
"config.status"
17849 wine_fn_ignore_file
"configure.lineno"
17850 wine_fn_ignore_file
"include/config.h"
17851 wine_fn_ignore_file
"include/stamp-h"
17852 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17854 if test "x$enable_tools" != xno
17856 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17857 ac_config_commands
="$ac_config_commands tools/makedep"
17861 ac_config_commands
="$ac_config_commands Makefile"
17864 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17868 if test "x$enable_maintainer_mode" = xyes
17870 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17871 autoconf --warnings=all
17872 include/config.h.in: include/stamp-h.in
17873 include/stamp-h.in: configure.ac aclocal.m4
17874 autoheader --warnings=all
17875 @echo timestamp > \$@"
17878 if test "x$with_gettextpo" = xyes
17880 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17881 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17882 \$(LINGUAS:%=po/%.po): po/wine.pot
17883 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17884 po/wine.pot: \$(ALL_POT_FILES)
17885 msgcat -o \$@ \$(ALL_POT_FILES)"
17888 if test "$MSGFMT" != false
17890 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17892 \$(RM) \$(LINGUAS:%=po/%.mo)"
17895 test "$srcdir" = . || posrc
="$srcdir/po"
17898 wine_fn_ignore_file
"po/$i.mo"
17899 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17900 \$(MSGFMT) -o \$@ $posrc/$i.po"
17906 if test "x$enable_tools" != xno
17908 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17909 @./config.status tools/makedep
17910 Makefile: tools/makedep$ac_exeext
17912 \$(RM) tools/makedep$ac_exeext"
17914 wine_fn_append_rule
"\$(MAKEDEP):
17915 @echo \"You need to run make in $TOOLSDIR first\" && false"
17918 if test -n "$with_wine64"
17920 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17921 fonts server tools:
17922 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17923 $with_wine64/loader/wine:
17924 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17925 $with_wine64/loader/wine-preloader:
17926 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17928 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17930 as_fn_append LOADER_RULES
"
17931 install install-lib:: wine.inf install-man-pages
17932 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17933 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17936 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17940 if test "$srcdir" = .
17942 ac_config_commands
="$ac_config_commands .gitignore"
17946 $as_echo " done" >&6
17947 cat >confcache
<<\_ACEOF
17948 # This file is a shell script that caches the results of configure
17949 # tests run on this system so they can be shared between configure
17950 # scripts and configure runs, see configure's option --config-cache.
17951 # It is not useful on other systems. If it contains results you don't
17952 # want to keep, you may remove or edit it.
17954 # config.status only pays attention to the cache file if you give it
17955 # the --recheck option to rerun configure.
17957 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17958 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17959 # following values.
17963 # The following way of writing the cache mishandles newlines in values,
17964 # but we know of no workaround that is simple, portable, and efficient.
17965 # So, we kill variables containing newlines.
17966 # Ultrix sh set writes to stderr and can't be redirected directly,
17967 # and sets the high bit in the cache file unless we assign to the vars.
17969 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17970 eval ac_val
=\$
$ac_var
17974 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17975 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17978 _ | IFS | as_nl
) ;; #(
17979 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17980 *) { eval $ac_var=; unset $ac_var;} ;;
17986 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17987 *${as_nl}ac_space
=\
*)
17988 # `set' does not quote correctly, so add quotes: double-quote
17989 # substitution turns \\\\ into \\, and sed turns \\ into \.
17992 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17995 # `set' quotes correctly as required by POSIX, so do not add quotes.
17996 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18005 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18007 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18009 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18010 if test -w "$cache_file"; then
18011 if test "x$cache_file" != "x/dev/null"; then
18012 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18013 $as_echo "$as_me: updating cache $cache_file" >&6;}
18014 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18015 cat confcache
>"$cache_file"
18017 case $cache_file in #(
18019 mv -f confcache
"$cache_file"$$
&&
18020 mv -f "$cache_file"$$
"$cache_file" ;; #(
18022 mv -f confcache
"$cache_file" ;;
18027 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18028 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18033 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18034 # Let make expand exec_prefix.
18035 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18037 DEFS
=-DHAVE_CONFIG_H
18042 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18043 # 1. Remove the extension, and $U if already installed.
18044 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18045 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18046 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18047 # will be set to the directory where LIBOBJS objects are built.
18048 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18049 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18051 LIBOBJS
=$ac_libobjs
18053 LTLIBOBJS
=$ac_ltlibobjs
18057 : "${CONFIG_STATUS=./config.status}"
18059 ac_clean_files_save
=$ac_clean_files
18060 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18062 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18064 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18066 # Generated by $as_me.
18067 # Run this file to recreate the current configuration.
18068 # Compiler output produced by configure, useful for debugging
18069 # configure, is in config.log if it exists.
18072 ac_cs_recheck=false
18075 SHELL=\${CONFIG_SHELL-$SHELL}
18078 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18079 ## -------------------- ##
18080 ## M4sh Initialization. ##
18081 ## -------------------- ##
18083 # Be more Bourne compatible
18084 DUALCASE
=1; export DUALCASE
# for MKS sh
18085 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18088 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18089 # is contrary to our usage. Disable this feature.
18090 alias -g '${1+"$@"}'='"$@"'
18091 setopt NO_GLOB_SUBST
18093 case `(set -o) 2>/dev/null` in #(
18105 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18106 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18107 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18108 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18109 # Prefer a ksh shell builtin over an external printf program on Solaris,
18110 # but without wasting forks for bash or zsh.
18111 if test -z "$BASH_VERSION$ZSH_VERSION" \
18112 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18113 as_echo='print
-r --'
18114 as_echo_n='print
-rn --'
18115 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18116 as_echo='printf %s
\n'
18117 as_echo_n='printf %s
'
18119 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18120 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18121 as_echo_n='/usr
/ucb
/echo -n'
18123 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18124 as_echo_n_body='eval
18128 expr "X$arg" : "X\\(.*\\)$as_nl";
18129 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18131 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18133 export as_echo_n_body
18134 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18136 export as_echo_body
18137 as_echo='sh
-c $as_echo_body as_echo
'
18140 # The user is always right.
18141 if test "${PATH_SEPARATOR+set}" != set; then
18143 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18144 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18151 # We need space, tab and new line, in precisely that order. Quoting is
18152 # there to prevent editors from complaining about space-tab.
18153 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18154 # splitting by setting IFS to empty value.)
18157 # Find who we are. Look in the path if we contain no directory separator.
18160 *[\\/]* ) as_myself=$0 ;;
18161 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18162 for as_dir in $PATH
18165 test -z "$as_dir" && as_dir=.
18166 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18172 # We did not find ourselves, most probably we were run as `sh COMMAND'
18173 # in which case we are not to be found in the path.
18174 if test "x$as_myself" = x
; then
18177 if test ! -f "$as_myself"; then
18178 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18182 # Unset variables that we do not need and which cause bugs (e.g. in
18183 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18184 # suppresses any "Segmentation fault" message there. '((' could
18185 # trigger a bug in pdksh 5.2.14.
18186 for as_var
in BASH_ENV ENV MAIL MAILPATH
18187 do eval test x\
${$as_var+set} = xset \
18188 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18201 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18204 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18205 # ----------------------------------------
18206 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18207 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18208 # script with STATUS, using 1 if that was 0.
18211 as_status
=$1; test $as_status -eq 0 && as_status
=1
18213 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18214 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18216 $as_echo "$as_me: error: $2" >&2
18217 as_fn_exit
$as_status
18221 # as_fn_set_status STATUS
18222 # -----------------------
18223 # Set $? to STATUS, without forking.
18224 as_fn_set_status
()
18227 } # as_fn_set_status
18229 # as_fn_exit STATUS
18230 # -----------------
18231 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18235 as_fn_set_status
$1
18241 # Portably unset VAR.
18244 { eval $1=; unset $1;}
18246 as_unset
=as_fn_unset
18247 # as_fn_append VAR VALUE
18248 # ----------------------
18249 # Append the text in VALUE to the end of the definition contained in VAR. Take
18250 # advantage of any shell optimizations that allow amortized linear growth over
18251 # repeated appends, instead of the typical quadratic growth present in naive
18253 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18254 eval 'as_fn_append ()
18265 # as_fn_arith ARG...
18266 # ------------------
18267 # Perform arithmetic evaluation on the ARGs, and store the result in the
18268 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18269 # must be portable across $(()) and expr.
18270 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18271 eval 'as_fn_arith ()
18278 as_val
=`expr "$@" || test $? -eq 1`
18283 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18284 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18290 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18291 as_basename
=basename
18296 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18302 as_me
=`$as_basename -- "$0" ||
18303 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18304 X"$0" : 'X\(//\)$' \| \
18305 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18307 sed '/^.*\/\([^/][^/]*\)\/*$/{
18321 # Avoid depending upon Character Ranges.
18322 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18323 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18324 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18325 as_cr_digits
='0123456789'
18326 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18328 ECHO_C
= ECHO_N
= ECHO_T
=
18329 case `echo -n x` in #(((((
18331 case `echo 'xy\c'` in
18332 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18334 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18341 rm -f conf$$ conf$$.exe conf$$.
file
18342 if test -d conf$$.dir
; then
18343 rm -f conf$$.dir
/conf$$.
file
18346 mkdir conf$$.dir
2>/dev
/null
18348 if (echo >conf$$.
file) 2>/dev
/null
; then
18349 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18351 # ... but there are two gotchas:
18352 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18353 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18354 # In both cases, we have to default to `cp -pR'.
18355 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18357 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18365 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18366 rmdir conf$$.dir
2>/dev
/null
18371 # Create "$as_dir" as a directory, including parents if necessary.
18376 -*) as_dir
=.
/$as_dir;;
18378 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18382 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18383 *) as_qdir
=$as_dir;;
18385 as_dirs
="'$as_qdir' $as_dirs"
18386 as_dir
=`$as_dirname -- "$as_dir" ||
18387 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18388 X"$as_dir" : 'X\(//\)[^/]' \| \
18389 X"$as_dir" : 'X\(//\)$' \| \
18390 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18391 $as_echo X"$as_dir" |
18392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18396 /^X\(\/\/\)[^/].*/{
18409 test -d "$as_dir" && break
18411 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18412 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18416 if mkdir
-p .
2>/dev
/null
; then
18417 as_mkdir_p
='mkdir -p "$as_dir"'
18419 test -d .
/-p && rmdir .
/-p
18424 # as_fn_executable_p FILE
18425 # -----------------------
18426 # Test if FILE is an executable regular file.
18427 as_fn_executable_p
()
18429 test -f "$1" && test -x "$1"
18430 } # as_fn_executable_p
18431 as_test_x
='test -x'
18432 as_executable_p
=as_fn_executable_p
18434 # Sed expression to map a string onto a valid CPP name.
18435 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18437 # Sed expression to map a string onto a valid variable name.
18438 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18442 ## ----------------------------------- ##
18443 ## Main body of $CONFIG_STATUS script. ##
18444 ## ----------------------------------- ##
18446 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18449 # Save the log message, to keep $0 and so on meaningful, and to
18450 # report actual input values of CONFIG_FILES etc. instead of their
18451 # values after options handling.
18453 This file was extended by Wine $as_me 1.7.35, which was
18454 generated by GNU Autoconf 2.69. Invocation command line was
18456 CONFIG_FILES = $CONFIG_FILES
18457 CONFIG_HEADERS = $CONFIG_HEADERS
18458 CONFIG_LINKS = $CONFIG_LINKS
18459 CONFIG_COMMANDS = $CONFIG_COMMANDS
18462 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18467 case $ac_config_files in *"
18468 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18471 case $ac_config_headers in *"
18472 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18476 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18477 # Files that config.status was made for.
18478 config_files="$ac_config_files"
18479 config_headers="$ac_config_headers"
18480 config_links="$ac_config_links"
18481 config_commands="$ac_config_commands"
18485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18487 \`$as_me' instantiates files and other configuration actions
18488 from templates according to the current configuration. Unless the files
18489 and actions are specified as TAGs, all are instantiated by default.
18491 Usage: $0 [OPTION]... [TAG]...
18493 -h, --help print this help, then exit
18494 -V, --version print version number and configuration settings, then exit
18495 --config print configuration, then exit
18496 -q, --quiet, --silent
18497 do not print progress messages
18498 -d, --debug don't remove temporary files
18499 --recheck update $as_me by reconfiguring in the same conditions
18500 --file=FILE[:TEMPLATE]
18501 instantiate the configuration file FILE
18502 --header=FILE[:TEMPLATE]
18503 instantiate the configuration header FILE
18505 Configuration files:
18508 Configuration headers:
18511 Configuration links:
18514 Configuration commands:
18517 Report bugs to <wine-devel@winehq.org>.
18518 Wine home page: <http://www.winehq.org>."
18521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18522 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18524 Wine config.status 1.7.35
18525 configured by $0, generated by GNU Autoconf 2.69,
18526 with options \\"\$ac_cs_config\\"
18528 Copyright (C) 2012 Free Software Foundation, Inc.
18529 This config.status script is free software; the Free Software Foundation
18530 gives unlimited permission to copy, distribute and modify it."
18534 test -n "\$AWK" || AWK=awk
18537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18538 # The default lists apply if the user does not specify any file.
18544 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18545 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18549 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18561 # Handling of the options.
18562 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18564 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18565 $as_echo "$ac_cs_version"; exit ;;
18566 --config |
--confi |
--conf |
--con |
--co |
--c )
18567 $as_echo "$ac_cs_config"; exit ;;
18568 --debug |
--debu |
--deb |
--de |
--d |
-d )
18570 --file |
--fil |
--fi |
--f )
18573 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18574 '') as_fn_error $?
"missing file argument" ;;
18576 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18577 ac_need_defaults
=false
;;
18578 --header |
--heade |
--head |
--hea )
18581 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18583 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18584 ac_need_defaults
=false
;;
18586 # Conflict between --help and --header
18587 as_fn_error $?
"ambiguous option: \`$1'
18588 Try \`$0 --help' for more information.";;
18589 --help |
--hel |
-h )
18590 $as_echo "$ac_cs_usage"; exit ;;
18591 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18592 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18595 # This is an error.
18596 -*) as_fn_error $?
"unrecognized option: \`$1'
18597 Try \`$0 --help' for more information." ;;
18599 *) as_fn_append ac_config_targets
" $1"
18600 ac_need_defaults
=false
;;
18606 ac_configure_extra_args
=
18608 if $ac_cs_silent; then
18610 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18615 if \$ac_cs_recheck; then
18616 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18618 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18619 CONFIG_SHELL='$SHELL'
18620 export CONFIG_SHELL
18625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18629 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18630 ## Running $as_me. ##
18636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18640 wine_fn_output_makedep ()
18642 as_dir=tools; as_fn_mkdir_p
18643 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18645 wine_fn_output_makefile ()
18647 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18648 `cat $wine_rules_file`
18650 as_fn_error $? "could not create Makefile" "$LINENO" 5
18652 wine_fn_output_gitignore ()
18654 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18657 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18662 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18664 # Handling of arguments.
18665 for ac_config_target
in $ac_config_targets
18667 case $ac_config_target in
18668 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18669 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18670 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18671 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18672 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18673 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18674 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18675 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18676 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18677 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18678 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18679 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18680 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18681 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18683 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18688 # If the user did not use the arguments to specify the items to instantiate,
18689 # then the envvar interface is used. Set only those that are not.
18690 # We use the long form for the default assignment because of an extremely
18691 # bizarre bug on SunOS 4.1.3.
18692 if $ac_need_defaults; then
18693 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18694 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18695 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18696 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18699 # Have a temporary directory for convenience. Make it in the build tree
18700 # simply because there is no reason against having it here, and in addition,
18701 # creating and moving files from /tmp can sometimes cause problems.
18702 # Hook for its removal unless debugging.
18703 # Note that there is a small window in which the directory will not be cleaned:
18704 # after its creation but before its name has been assigned to `$tmp'.
18708 trap 'exit_status=$?
18709 : "${ac_tmp:=$tmp}"
18710 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18712 trap 'as_fn_exit 1' 1 2 13 15
18714 # Create a (secure) tmp directory for tmp files.
18717 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18721 tmp
=.
/conf$$
-$RANDOM
18722 (umask 077 && mkdir
"$tmp")
18723 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18726 # Set up the scripts for CONFIG_FILES section.
18727 # No need to generate them if there are no CONFIG_FILES.
18728 # This happens for instance with `./config.status config.h'.
18729 if test -n "$CONFIG_FILES"; then
18732 ac_cr
=`echo X | tr X '\015'`
18733 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18734 # But we know of no other shell where ac_cr would be empty at this
18735 # point, so we can use a bashism as a fallback.
18736 if test "x$ac_cr" = x
; then
18737 eval ac_cr
=\$
\'\\r
\'
18739 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18740 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18743 ac_cs_awk_cr
=$ac_cr
18746 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18751 echo "cat >conf$$subs.awk <<_ACEOF" &&
18752 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18754 } >conf$$subs.sh ||
18755 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18756 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18758 for ac_last_try in false false false false false :; do
18759 . ./conf$$subs.sh ||
18760 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18762 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18763 if test $ac_delim_n = $ac_delim_num; then
18765 elif $ac_last_try; then
18766 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18768 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18771 rm -f conf$$subs.sh
18773 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18774 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18778 s/^/S["/; s
/!.
*/"]=/
18788 s/\(.\{148\}\)..*/\1/
18790 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18795 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18802 s/\(.\{148\}\)..*/\1/
18804 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18808 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18813 ' <conf$$subs.awk | sed '
18818 ' >>$CONFIG_STATUS || ac_write_fail=1
18819 rm -f conf$$subs.awk
18820 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18822 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18823 for (key in S) S_is_set[key] = 1
18829 nfields = split(line, field, "@
")
18831 len = length(field[1])
18832 for (i = 2; i < nfields; i++) {
18834 keylen = length(key)
18835 if (S_is_set[key]) {
18837 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18838 len += length(value) + length(field[++i])
18849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18850 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18851 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18854 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18855 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18858 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18859 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18860 # trailing colons and then remove the whole line if VPATH becomes empty
18861 # (actually we leave an empty line to preserve line numbers).
18862 if test "x
$srcdir" = x.; then
18863 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18881 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18882 fi # test -n "$CONFIG_FILES"
18884 # Set up the scripts for CONFIG_HEADERS section.
18885 # No need to generate them if there are no CONFIG_HEADERS.
18886 # This happens for instance with `./config.status Makefile'.
18887 if test -n "$CONFIG_HEADERS"; then
18888 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18892 # Transform confdefs.h into an awk script `defines.awk', embedded as
18893 # here-document in config.status, that substitutes the proper values into
18894 # config.h.in to produce config.h.
18896 # Create a delimiter string that does not exist in confdefs.h, to ease
18897 # handling of long lines.
18899 for ac_last_try in false false :; do
18900 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18901 if test -z "$ac_tt"; then
18903 elif $ac_last_try; then
18904 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18906 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18910 # For the awk script, D is an array of macro values keyed by name,
18911 # likewise P contains macro parameters if any. Preserve backslash
18912 # newline sequences.
18914 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18916 s/.\{148\}/&'"$ac_delim"'/g
18919 s/^[ ]*#[ ]*define[ ][ ]*/ /
18926 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18928 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18932 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18933 D["\
1"]=" \
3\\\\\\n
"\\/p
18935 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18940 s/.\{148\}/&'"$ac_delim"'/g
18945 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18948 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18950 ' <confdefs.h | sed '
18951 s/'"$ac_delim"'/"\\\
18952 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18954 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18955 for (key in D) D_is_set[key] = 1
18958 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18960 split(line, arg, " ")
18961 if (arg[1] == "#") {
18965 defundef
= substr
(arg
[1], 2)
18968 split(mac1
, mac2
, "(") #)
18970 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18971 if (D_is_set
[macro
]) {
18972 # Preserve the white space surrounding the "#".
18973 print prefix
"define", macro P
[macro
] D
[macro
]
18976 # Replace #undef with comments. This is necessary, for example,
18977 # in the case of _POSIX_SOURCE, which is predefined and required
18978 # on some systems where configure will not decide to define it.
18979 if (defundef
== "undef") {
18980 print
"/*", prefix defundef
, macro
, "*/"
18988 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18989 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18990 fi # test -n "$CONFIG_HEADERS"
18993 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
18998 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19000 case $ac_mode$ac_tag in
19002 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19003 :[FH
]-) ac_tag
=-:-;;
19004 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19021 -) ac_f
="$ac_tmp/stdin";;
19022 *) # Look for the file first in the build tree, then in the source tree
19023 # (if the path is not absolute). The absolute path cannot be DOS-style,
19024 # because $ac_f cannot contain `:'.
19028 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19030 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19032 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19033 as_fn_append ac_file_inputs
" '$ac_f'"
19036 # Let's still pretend it is `configure' which instantiates (i.e., don't
19037 # use $as_me), people would be surprised to read:
19038 # /* config.h. Generated by config.status. */
19039 configure_input
='Generated from '`
19040 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19042 if test x
"$ac_file" != x-
; then
19043 configure_input
="$ac_file. $configure_input"
19044 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19045 $as_echo "$as_me: creating $ac_file" >&6;}
19047 # Neutralize special characters interpreted by sed in replacement strings.
19048 case $configure_input in #(
19049 *\
&* |
*\|
* |
*\\* )
19050 ac_sed_conf_input
=`$as_echo "$configure_input" |
19051 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19052 *) ac_sed_conf_input
=$configure_input;;
19056 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19057 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19062 ac_dir
=`$as_dirname -- "$ac_file" ||
19063 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19064 X"$ac_file" : 'X\(//\)[^/]' \| \
19065 X"$ac_file" : 'X\(//\)$' \| \
19066 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19067 $as_echo X"$ac_file" |
19068 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19072 /^X\(\/\/\)[^/].*/{
19085 as_dir
="$ac_dir"; as_fn_mkdir_p
19089 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19091 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19092 # A ".." for each directory in $ac_dir_suffix.
19093 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19094 case $ac_top_builddir_sub in
19095 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19096 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19099 ac_abs_top_builddir
=$ac_pwd
19100 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19101 # for backward compatibility:
19102 ac_top_builddir
=$ac_top_build_prefix
19105 .
) # We are building in place.
19107 ac_top_srcdir
=$ac_top_builddir_sub
19108 ac_abs_top_srcdir
=$ac_pwd ;;
19109 [\\/]* | ?
:[\\/]* ) # Absolute name.
19110 ac_srcdir
=$srcdir$ac_dir_suffix;
19111 ac_top_srcdir
=$srcdir
19112 ac_abs_top_srcdir
=$srcdir ;;
19113 *) # Relative name.
19114 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19115 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19116 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19118 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19129 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19130 # If the template does not know about datarootdir, expand it.
19131 # FIXME: This hack should be removed a few years after 2.60.
19132 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19143 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19144 *datarootdir
*) ac_datarootdir_seen
=yes;;
19145 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19147 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19150 ac_datarootdir_hack='
19151 s&@datadir@&$datadir&g
19152 s&@docdir@&$docdir&g
19153 s&@infodir@&$infodir&g
19154 s&@localedir@&$localedir&g
19155 s&@mandir@&$mandir&g
19156 s&\\\${datarootdir}&$datarootdir&g' ;;
19160 # Neutralize VPATH when `$srcdir' = `.'.
19161 # Shell code in configure.ac might set extrasub.
19162 # FIXME: do we really want to maintain this feature?
19163 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19164 ac_sed_extra="$ac_vpsub
19167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19169 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19170 s|@configure_input@|
$ac_sed_conf_input|
;t t
19171 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19172 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19173 s
&@srcdir@
&$ac_srcdir&;t t
19174 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19175 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19176 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19177 s
&@builddir@
&$ac_builddir&;t t
19178 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19179 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19180 $ac_datarootdir_hack
19182 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19183 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19185 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19186 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19187 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19188 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19190 which seems to be undefined. Please make sure it is defined" >&5
19191 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19192 which seems to be undefined. Please make sure it is defined" >&2;}
19194 rm -f "$ac_tmp/stdin"
19196 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19197 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19199 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19205 if test x"$ac_file" != x-; then
19207 $as_echo "/* $configure_input */" \
19208 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19209 } >"$ac_tmp/config.h" \
19210 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19211 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19212 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19213 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19216 mv "$ac_tmp/config.h" "$ac_file" \
19217 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19220 $as_echo "/* $configure_input */" \
19221 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19222 || as_fn_error $? "could not create -" "$LINENO" 5
19230 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19233 # Prefer the file from the source tree if names are identical.
19234 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19235 ac_source=$srcdir/$ac_source
19238 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19239 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19241 if test ! -r "$ac_source"; then
19242 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19246 # Try a relative symlink, then a hard link, then a copy.
19248 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19249 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19251 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19252 ln "$ac_source" "$ac_file" 2>/dev/null ||
19253 cp -p "$ac_source" "$ac_file" ||
19254 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19257 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19258 $as_echo "$as_me: executing $ac_file commands" >&6;}
19263 case $ac_file$ac_mode in
19264 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19265 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19266 "Makefile":C) wine_fn_output_makefile Makefile ;;
19267 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19275 ac_clean_files=$ac_clean_files_save
19277 test $ac_write_fail = 0 ||
19278 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19281 # configure is writing to config.log, and then calls config.status.
19282 # config.status does its own redirection, appending to config.log.
19283 # Unfortunately, on DOS this fails, as config.log is still kept open
19284 # by configure, so config.status won't be able to
write to it
; its
19285 # output is simply discarded. So we exec the FD to /dev/null,
19286 # effectively closing config.log, so it can be properly (re)opened and
19287 # appended to by config.status. When coming back to configure, we
19288 # need to make the FD available again.
19289 if test "$no_create" != yes; then
19291 ac_config_status_args
=
19292 test "$silent" = yes &&
19293 ac_config_status_args
="$ac_config_status_args --quiet"
19295 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19297 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19298 # would make configure fail if this is the last instruction.
19299 $ac_cs_success || as_fn_exit
1
19301 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19303 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19307 if test "$no_create" = "yes"
19313 if test "x$wine_notices != "x
; then
19316 for msg
in $wine_notices; do
19318 if ${msg:+false} :; then :
19321 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19322 $as_echo "$as_me: $msg" >&6;}
19327 for msg
in $wine_warnings; do
19329 if ${msg:+false} :; then :
19333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19334 $as_echo "$as_me: WARNING: $msg" >&2;}
19340 $as_me: Finished. Do '${ac_make}' to compile Wine.