2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.42.
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.42'
584 PACKAGE_STRING
='Wine 1.7.42'
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_0
862 enable_api_ms_win_core_debug_l1_1_1
863 enable_api_ms_win_core_errorhandling_l1_1_0
864 enable_api_ms_win_core_errorhandling_l1_1_1
865 enable_api_ms_win_core_errorhandling_l1_1_2
866 enable_api_ms_win_core_fibers_l1_1_0
867 enable_api_ms_win_core_fibers_l1_1_1
868 enable_api_ms_win_core_file_l1_1_0
869 enable_api_ms_win_core_file_l1_2_0
870 enable_api_ms_win_core_file_l2_1_0
871 enable_api_ms_win_core_file_l2_1_1
872 enable_api_ms_win_core_handle_l1_1_0
873 enable_api_ms_win_core_heap_l1_1_0
874 enable_api_ms_win_core_heap_l1_2_0
875 enable_api_ms_win_core_heap_obsolete_l1_1_0
876 enable_api_ms_win_core_interlocked_l1_1_0
877 enable_api_ms_win_core_interlocked_l1_2_0
878 enable_api_ms_win_core_io_l1_1_1
879 enable_api_ms_win_core_kernel32_legacy_l1_1_0
880 enable_api_ms_win_core_libraryloader_l1_1_0
881 enable_api_ms_win_core_libraryloader_l1_1_1
882 enable_api_ms_win_core_localization_l1_2_0
883 enable_api_ms_win_core_localization_l1_2_1
884 enable_api_ms_win_core_localization_obsolete_l1_1_0
885 enable_api_ms_win_core_localregistry_l1_1_0
886 enable_api_ms_win_core_memory_l1_1_0
887 enable_api_ms_win_core_memory_l1_1_1
888 enable_api_ms_win_core_namedpipe_l1_2_0
889 enable_api_ms_win_core_processenvironment_l1_2_0
890 enable_api_ms_win_core_processthreads_l1_1_0
891 enable_api_ms_win_core_processthreads_l1_1_1
892 enable_api_ms_win_core_processthreads_l1_1_2
893 enable_api_ms_win_core_profile_l1_1_0
894 enable_api_ms_win_core_psapi_l1_1_0
895 enable_api_ms_win_core_registry_l1_1_0
896 enable_api_ms_win_core_rtlsupport_l1_2_0
897 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
898 enable_api_ms_win_core_string_l1_1_0
899 enable_api_ms_win_core_synch_l1_2_0
900 enable_api_ms_win_core_sysinfo_l1_2_0
901 enable_api_ms_win_core_sysinfo_l1_2_1
902 enable_api_ms_win_core_threadpool_legacy_l1_1_0
903 enable_api_ms_win_core_timezone_l1_1_0
904 enable_api_ms_win_core_url_l1_1_0
905 enable_api_ms_win_core_util_l1_1_0
906 enable_api_ms_win_core_winrt_error_l1_1_0
907 enable_api_ms_win_core_winrt_error_l1_1_1
908 enable_api_ms_win_core_winrt_l1_1_0
909 enable_api_ms_win_core_winrt_string_l1_1_0
910 enable_api_ms_win_core_xstate_l2_1_0
911 enable_api_ms_win_downlevel_advapi32_l1_1_0
912 enable_api_ms_win_downlevel_advapi32_l2_1_0
913 enable_api_ms_win_downlevel_normaliz_l1_1_0
914 enable_api_ms_win_downlevel_ole32_l1_1_0
915 enable_api_ms_win_downlevel_shell32_l1_1_0
916 enable_api_ms_win_downlevel_shlwapi_l1_1_0
917 enable_api_ms_win_downlevel_shlwapi_l2_1_0
918 enable_api_ms_win_downlevel_user32_l1_1_0
919 enable_api_ms_win_downlevel_version_l1_1_0
920 enable_api_ms_win_eventing_provider_l1_1_0
921 enable_api_ms_win_ntuser_dc_access_l1_1_0
922 enable_api_ms_win_security_base_l1_1_0
923 enable_api_ms_win_security_base_l1_2_0
924 enable_api_ms_win_security_sddl_l1_1_0
925 enable_api_ms_win_service_core_l1_1_1
926 enable_api_ms_win_service_management_l1_1_0
927 enable_api_ms_win_service_winsvc_l1_2_0
970 enable_d3dcompiler_33
971 enable_d3dcompiler_34
972 enable_d3dcompiler_35
973 enable_d3dcompiler_36
974 enable_d3dcompiler_37
975 enable_d3dcompiler_38
976 enable_d3dcompiler_39
977 enable_d3dcompiler_40
978 enable_d3dcompiler_41
979 enable_d3dcompiler_42
980 enable_d3dcompiler_43
1056 enable_explorerframe
1057 enable_ext_ms_win_gdi_devcaps_l1_1_0
1212 enable_photometadatahandler
1294 enable_windowscodecs
1295 enable_windowscodecsext
1297 enable_winecoreaudio_drv
1299 enable_winegstreamer
1300 enable_winejoystick_drv
1306 enable_wineqtdecoder
1354 enable_documentation
1362 enable_aspnet_regiis
1395 enable_presentationfontcache
1408 enable_servicemodelreg
1429 enable_winemenubuilder
1431 enable_winemsibuilder
1445 ac_precious_vars
='build_alias
1494 # Initialize some variables set by options.
1496 ac_init_version
=false
1497 ac_unrecognized_opts
=
1498 ac_unrecognized_sep
=
1499 # The variables have the same names as the options, with
1500 # dashes changed to underlines.
1501 cache_file
=/dev
/null
1508 program_transform_name
=s
,x
,x
,
1516 # Installation directory options.
1517 # These are left unexpanded so users can "make install exec_prefix=/foo"
1518 # and all the variables that are supposed to be based on exec_prefix
1519 # by default will actually change.
1520 # Use braces instead of parens because sh, perl, etc. also accept them.
1521 # (The list follows the same order as the GNU Coding Standards.)
1522 bindir
='${exec_prefix}/bin'
1523 sbindir
='${exec_prefix}/sbin'
1524 libexecdir
='${exec_prefix}/libexec'
1525 datarootdir
='${prefix}/share'
1526 datadir
='${datarootdir}'
1527 sysconfdir
='${prefix}/etc'
1528 sharedstatedir
='${prefix}/com'
1529 localstatedir
='${prefix}/var'
1530 includedir
='${prefix}/include'
1531 oldincludedir
='/usr/include'
1532 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1533 infodir
='${datarootdir}/info'
1538 libdir
='${exec_prefix}/lib'
1539 localedir
='${datarootdir}/locale'
1540 mandir
='${datarootdir}/man'
1546 # If the previous option needs an argument, assign it.
1547 if test -n "$ac_prev"; then
1548 eval $ac_prev=\
$ac_option
1554 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1559 # Accept the important Cygnus configure options, so we can diagnose typos.
1561 case $ac_dashdash$ac_option in
1565 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1567 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1568 bindir
=$ac_optarg ;;
1570 -build |
--build |
--buil |
--bui |
--bu)
1571 ac_prev
=build_alias
;;
1572 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1573 build_alias
=$ac_optarg ;;
1575 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1576 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1577 ac_prev
=cache_file
;;
1578 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1579 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1580 cache_file
=$ac_optarg ;;
1582 --config-cache |
-C)
1583 cache_file
=config.cache
;;
1585 -datadir |
--datadir |
--datadi |
--datad)
1587 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1588 datadir
=$ac_optarg ;;
1590 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1591 |
--dataroo |
--dataro |
--datar)
1592 ac_prev
=datarootdir
;;
1593 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1594 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1595 datarootdir
=$ac_optarg ;;
1597 -disable-* |
--disable-*)
1598 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1599 # Reject names that are not valid shell variable names.
1600 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1601 as_fn_error $?
"invalid feature name: $ac_useropt"
1602 ac_useropt_orig
=$ac_useropt
1603 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1604 case $ac_user_opts in
1606 "enable_
$ac_useropt"
1608 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1609 ac_unrecognized_sep
=', ';;
1611 eval enable_
$ac_useropt=no
;;
1613 -docdir |
--docdir |
--docdi |
--doc |
--do)
1615 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1616 docdir
=$ac_optarg ;;
1618 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1620 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1621 dvidir
=$ac_optarg ;;
1623 -enable-* |
--enable-*)
1624 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1625 # Reject names that are not valid shell variable names.
1626 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1627 as_fn_error $?
"invalid feature name: $ac_useropt"
1628 ac_useropt_orig
=$ac_useropt
1629 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1630 case $ac_user_opts in
1632 "enable_
$ac_useropt"
1634 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1635 ac_unrecognized_sep
=', ';;
1637 eval enable_
$ac_useropt=\
$ac_optarg ;;
1639 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1640 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1641 |
--exec |
--exe |
--ex)
1642 ac_prev
=exec_prefix
;;
1643 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1644 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1645 |
--exec=* |
--exe=* |
--ex=*)
1646 exec_prefix
=$ac_optarg ;;
1648 -gas |
--gas |
--ga |
--g)
1649 # Obsolete; use --with-gas.
1652 -help |
--help |
--hel |
--he |
-h)
1653 ac_init_help
=long
;;
1654 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1655 ac_init_help
=recursive
;;
1656 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1657 ac_init_help
=short
;;
1659 -host |
--host |
--hos |
--ho)
1660 ac_prev
=host_alias
;;
1661 -host=* |
--host=* |
--hos=* |
--ho=*)
1662 host_alias
=$ac_optarg ;;
1664 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1666 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1668 htmldir
=$ac_optarg ;;
1670 -includedir |
--includedir |
--includedi |
--included |
--include \
1671 |
--includ |
--inclu |
--incl |
--inc)
1672 ac_prev
=includedir
;;
1673 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1674 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1675 includedir
=$ac_optarg ;;
1677 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1679 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1680 infodir
=$ac_optarg ;;
1682 -libdir |
--libdir |
--libdi |
--libd)
1684 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1685 libdir
=$ac_optarg ;;
1687 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1688 |
--libexe |
--libex |
--libe)
1689 ac_prev
=libexecdir
;;
1690 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1691 |
--libexe=* |
--libex=* |
--libe=*)
1692 libexecdir
=$ac_optarg ;;
1694 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1695 ac_prev
=localedir
;;
1696 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1697 localedir
=$ac_optarg ;;
1699 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1700 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1701 ac_prev
=localstatedir
;;
1702 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1703 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1704 localstatedir
=$ac_optarg ;;
1706 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1708 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1709 mandir
=$ac_optarg ;;
1711 -nfp |
--nfp |
--nf)
1712 # Obsolete; use --without-fp.
1715 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1716 |
--no-cr |
--no-c |
-n)
1719 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1720 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1723 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1724 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1725 |
--oldin |
--oldi |
--old |
--ol |
--o)
1726 ac_prev
=oldincludedir
;;
1727 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1728 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1729 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1730 oldincludedir
=$ac_optarg ;;
1732 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1734 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1735 prefix
=$ac_optarg ;;
1737 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1738 |
--program-pre |
--program-pr |
--program-p)
1739 ac_prev
=program_prefix
;;
1740 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1741 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1742 program_prefix
=$ac_optarg ;;
1744 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1745 |
--program-suf |
--program-su |
--program-s)
1746 ac_prev
=program_suffix
;;
1747 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1748 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1749 program_suffix
=$ac_optarg ;;
1751 -program-transform-name |
--program-transform-name \
1752 |
--program-transform-nam |
--program-transform-na \
1753 |
--program-transform-n |
--program-transform- \
1754 |
--program-transform |
--program-transfor \
1755 |
--program-transfo |
--program-transf \
1756 |
--program-trans |
--program-tran \
1757 |
--progr-tra |
--program-tr |
--program-t)
1758 ac_prev
=program_transform_name
;;
1759 -program-transform-name=* |
--program-transform-name=* \
1760 |
--program-transform-nam=* |
--program-transform-na=* \
1761 |
--program-transform-n=* |
--program-transform-=* \
1762 |
--program-transform=* |
--program-transfor=* \
1763 |
--program-transfo=* |
--program-transf=* \
1764 |
--program-trans=* |
--program-tran=* \
1765 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1766 program_transform_name
=$ac_optarg ;;
1768 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1770 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1771 pdfdir
=$ac_optarg ;;
1773 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1775 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1778 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1779 |
-silent |
--silent |
--silen |
--sile |
--sil)
1782 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1784 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1786 sbindir
=$ac_optarg ;;
1788 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1789 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1790 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1792 ac_prev
=sharedstatedir
;;
1793 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1794 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1795 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1797 sharedstatedir
=$ac_optarg ;;
1799 -site |
--site |
--sit)
1801 -site=* |
--site=* |
--sit=*)
1804 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1806 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1807 srcdir
=$ac_optarg ;;
1809 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1810 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1811 ac_prev
=sysconfdir
;;
1812 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1813 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1814 sysconfdir
=$ac_optarg ;;
1816 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1817 ac_prev
=target_alias
;;
1818 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1819 target_alias
=$ac_optarg ;;
1821 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1824 -version |
--version |
--versio |
--versi |
--vers |
-V)
1825 ac_init_version
=: ;;
1828 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1829 # Reject names that are not valid shell variable names.
1830 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1831 as_fn_error $?
"invalid package name: $ac_useropt"
1832 ac_useropt_orig
=$ac_useropt
1833 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1834 case $ac_user_opts in
1838 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1839 ac_unrecognized_sep
=', ';;
1841 eval with_
$ac_useropt=\
$ac_optarg ;;
1843 -without-* |
--without-*)
1844 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1845 # Reject names that are not valid shell variable names.
1846 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1847 as_fn_error $?
"invalid package name: $ac_useropt"
1848 ac_useropt_orig
=$ac_useropt
1849 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1850 case $ac_user_opts in
1854 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1855 ac_unrecognized_sep
=', ';;
1857 eval with_
$ac_useropt=no
;;
1860 # Obsolete; use --with-x.
1863 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1864 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1865 ac_prev
=x_includes
;;
1866 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1867 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1868 x_includes
=$ac_optarg ;;
1870 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1871 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1872 ac_prev
=x_libraries
;;
1873 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1874 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1875 x_libraries
=$ac_optarg ;;
1877 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1878 Try \`$0 --help' for more information"
1882 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1883 # Reject names that are not valid shell variable names.
1884 case $ac_envvar in #(
1885 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1886 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1888 eval $ac_envvar=\
$ac_optarg
1889 export $ac_envvar ;;
1892 # FIXME: should be removed in autoconf 3.0.
1893 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1894 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1895 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1896 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1902 if test -n "$ac_prev"; then
1903 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1904 as_fn_error $?
"missing argument to $ac_option"
1907 if test -n "$ac_unrecognized_opts"; then
1908 case $enable_option_checking in
1910 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1911 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1915 # Check all directory arguments for consistency.
1916 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1917 datadir sysconfdir sharedstatedir localstatedir includedir \
1918 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1919 libdir localedir mandir
1921 eval ac_val
=\$
$ac_var
1922 # Remove trailing slashes.
1925 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1926 eval $ac_var=\
$ac_val;;
1928 # Be sure to have absolute directory names.
1930 [\\/$
]* | ?
:[\\/]* ) continue;;
1931 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1933 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1936 # There might be people who depend on the old broken behavior: `$host'
1937 # used to hold the argument of --host etc.
1938 # FIXME: To remove some day.
1941 target
=$target_alias
1943 # FIXME: To remove some day.
1944 if test "x$host_alias" != x
; then
1945 if test "x$build_alias" = x
; then
1946 cross_compiling
=maybe
1947 elif test "x$build_alias" != "x$host_alias"; then
1953 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1955 test "$silent" = yes && exec 6>/dev
/null
1958 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1959 ac_ls_di
=`ls -di .` &&
1960 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1961 as_fn_error $?
"working directory cannot be determined"
1962 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1963 as_fn_error $?
"pwd does not report name of working directory"
1966 # Find the source files, if location was not specified.
1967 if test -z "$srcdir"; then
1968 ac_srcdir_defaulted
=yes
1969 # Try the directory containing this script, then the parent directory.
1970 ac_confdir
=`$as_dirname -- "$as_myself" ||
1971 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1972 X"$as_myself" : 'X\(//\)[^/]' \| \
1973 X"$as_myself" : 'X\(//\)$' \| \
1974 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1975 $as_echo X"$as_myself" |
1976 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1994 if test ! -r "$srcdir/$ac_unique_file"; then
1998 ac_srcdir_defaulted
=no
2000 if test ! -r "$srcdir/$ac_unique_file"; then
2001 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
2002 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
2004 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
2006 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2008 # When building in place, set srcdir=.
2009 if test "$ac_abs_confdir" = "$ac_pwd"; then
2012 # Remove unnecessary trailing slashes from srcdir.
2013 # Double slashes in file names in object file debugging info
2014 # mess up M-x gdb in Emacs.
2016 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2018 for ac_var
in $ac_precious_vars; do
2019 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2020 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2021 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2022 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2026 # Report the --help message.
2028 if test "$ac_init_help" = "long"; then
2029 # Omit some internal or obsolete options to make the list less imposing.
2030 # This message is too long to be a string in the A/UX 3.1 sh.
2032 \`configure' configures Wine 1.7.42 to adapt to many kinds of systems.
2034 Usage: $0 [OPTION]... [VAR=VALUE]...
2036 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2037 VAR=VALUE. See below for descriptions of some of the useful variables.
2039 Defaults for the options are specified in brackets.
2042 -h, --help display this help and exit
2043 --help=short display options specific to this package
2044 --help=recursive display the short help of all the included packages
2045 -V, --version display version information and exit
2046 -q, --quiet, --silent do not print \`checking ...' messages
2047 --cache-file=FILE cache test results in FILE [disabled]
2048 -C, --config-cache alias for \`--cache-file=config.cache'
2049 -n, --no-create do not create output files
2050 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2052 Installation directories:
2053 --prefix=PREFIX install architecture-independent files in PREFIX
2054 [$ac_default_prefix]
2055 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2058 By default, \`make install' will install all the files in
2059 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2060 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2061 for instance \`--prefix=\$HOME'.
2063 For better control, use the options below.
2065 Fine tuning of the installation directories:
2066 --bindir=DIR user executables [EPREFIX/bin]
2067 --sbindir=DIR system admin executables [EPREFIX/sbin]
2068 --libexecdir=DIR program executables [EPREFIX/libexec]
2069 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2070 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2071 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2072 --libdir=DIR object code libraries [EPREFIX/lib]
2073 --includedir=DIR C header files [PREFIX/include]
2074 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2075 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2076 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2077 --infodir=DIR info documentation [DATAROOTDIR/info]
2078 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2079 --mandir=DIR man documentation [DATAROOTDIR/man]
2080 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2081 --htmldir=DIR html documentation [DOCDIR]
2082 --dvidir=DIR dvi documentation [DOCDIR]
2083 --pdfdir=DIR pdf documentation [DOCDIR]
2084 --psdir=DIR ps documentation [DOCDIR]
2090 --x-includes=DIR X include files are
in DIR
2091 --x-libraries=DIR X library files are
in DIR
2094 --build=BUILD configure
for building on BUILD
[guessed
]
2095 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2099 if test -n "$ac_init_help"; then
2100 case $ac_init_help in
2101 short | recursive
) echo "Configuration of Wine 1.7.42:";;
2106 --disable-option-checking ignore unrecognized
--enable/--with options
2107 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2108 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2109 --disable-win16 do not include Win16 support
2110 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2112 --disable-tests do not build the regression tests
2113 --enable-maintainer-mode
2114 enable maintainer-specific build rules
2115 --disable-largefile omit support for large files
2118 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2119 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2120 --without-alsa do not use the Alsa sound support
2121 --without-capi do not use CAPI (ISDN support)
2122 --without-cms do not use CMS (color management support)
2123 --without-coreaudio do not use the CoreAudio sound support
2124 --without-cups do not use CUPS
2125 --without-curses do not use (n)curses
2126 --without-dbus do not use DBus (dynamic device support)
2127 --without-fontconfig do not use fontconfig
2128 --without-freetype do not use the FreeType library
2129 --without-gettext do not use gettext
2130 --with-gettextpo use the GetTextPO library to rebuild po files
2131 --without-gphoto do not use gphoto (Digital Camera support)
2132 --without-glu do not use the GLU library
2133 --without-gnutls do not use GnuTLS (schannel support)
2134 --without-gsm do not use libgsm (GSM 06.10 codec support)
2135 --without-gstreamer do not use GStreamer (codecs support)
2136 --without-hal do not use HAL (dynamic device support)
2137 --without-jpeg do not use JPEG
2138 --without-ldap do not use LDAP
2139 --without-mpg123 do not use the mpg123 library
2140 --without-netapi do not use the Samba NetAPI library
2141 --without-openal do not use OpenAL
2142 --without-opencl do not use OpenCL
2143 --without-opengl do not use OpenGL
2144 --without-osmesa do not use the OSMesa library
2145 --without-oss do not use the OSS sound support
2146 --without-pcap do not use the Packet Capture library
2147 --without-png do not use PNG
2148 --without-pthread do not use the pthread library
2149 --without-sane do not use SANE (scanner support)
2150 --without-tiff do not use TIFF
2151 --without-v4l do not use v4l1 (v4l support)
2152 --without-xcomposite do not use the Xcomposite extension
2153 --without-xcursor do not use the Xcursor extension
2154 --without-xinerama do not use Xinerama (multi-monitor support)
2155 --without-xinput do not use the Xinput extension
2156 --without-xinput2 do not use the Xinput 2 extension
2157 --without-xml do not use XML
2158 --without-xrandr do not use Xrandr (resolution changes)
2159 --without-xrender do not use the Xrender extension
2160 --without-xshape do not use the Xshape extension
2161 --without-xshm do not use XShm (shared memory extension)
2162 --without-xslt do not use XSLT
2163 --without-xxf86vm do not use XFree video mode extension
2164 --without-zlib do not use Zlib (data compression)
2165 --with-wine-tools=DIR use Wine tools from directory DIR
2166 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2167 --with-x use the X Window System
2169 Some influential environment variables:
2170 CC C compiler command
2171 CFLAGS C compiler flags
2172 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2173 nonstandard directory <lib dir>
2174 LIBS libraries to pass to the linker, e.g. -l<library>
2175 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2176 you have headers in a nonstandard directory <include dir>
2177 CXX C++ compiler command
2178 CXXFLAGS C++ compiler flags
2180 XMKMF Path to xmkmf, Makefile generator for X Window System
2181 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2182 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2183 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2184 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2185 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2186 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2187 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2188 HAL_LIBS Linker flags for hal, overriding pkg-config
2190 C compiler flags for gnutls, overriding pkg-config
2191 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2192 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2193 SANE_LIBS Linker flags for libsane, overriding pkg-config
2195 C compiler flags for libgphoto2, overriding pkg-config
2197 Linker flags for libgphoto2, overriding pkg-config
2199 C compiler flags for libgphoto2_port, overriding pkg-config
2201 Linker flags for libgphoto2_port, overriding pkg-config
2203 C compiler flags for lcms2, overriding pkg-config
2204 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2206 C compiler flags for freetype2, overriding pkg-config
2208 Linker flags for freetype2, overriding pkg-config
2210 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2212 Linker flags for gstreamer-app-0.10, overriding pkg-config
2214 C compiler flags for capi20, overriding pkg-config
2215 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2217 C compiler flags for fontconfig, overriding pkg-config
2219 Linker flags for fontconfig, overriding pkg-config
2220 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2221 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2222 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2223 PNG_LIBS Linker flags for libpng, overriding pkg-config
2224 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2225 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2227 C compiler flags for libmpg123, overriding pkg-config
2228 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2230 Use these variables to override the choices made by `configure' or to
help
2231 it to
find libraries and programs with nonstandard names
/locations.
2233 Report bugs to
<wine-devel@winehq.org
>.
2234 Wine home page
: <http
://www.winehq.org
>.
2239 if test "$ac_init_help" = "recursive"; then
2240 # If there are subdirs, report their specific --help.
2241 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2242 test -d "$ac_dir" ||
2243 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2248 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2250 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2251 # A ".." for each directory in $ac_dir_suffix.
2252 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2253 case $ac_top_builddir_sub in
2254 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2255 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2258 ac_abs_top_builddir
=$ac_pwd
2259 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2260 # for backward compatibility:
2261 ac_top_builddir
=$ac_top_build_prefix
2264 .
) # We are building in place.
2266 ac_top_srcdir
=$ac_top_builddir_sub
2267 ac_abs_top_srcdir
=$ac_pwd ;;
2268 [\\/]* | ?
:[\\/]* ) # Absolute name.
2269 ac_srcdir
=$srcdir$ac_dir_suffix;
2270 ac_top_srcdir
=$srcdir
2271 ac_abs_top_srcdir
=$srcdir ;;
2273 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2274 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2275 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2277 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2279 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2280 # Check for guested configure.
2281 if test -f "$ac_srcdir/configure.gnu"; then
2283 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2284 elif test -f "$ac_srcdir/configure"; then
2286 $SHELL "$ac_srcdir/configure" --help=recursive
2288 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2290 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2294 test -n "$ac_init_help" && exit $ac_status
2295 if $ac_init_version; then
2297 Wine configure
1.7.42
2298 generated by GNU Autoconf
2.69
2300 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2301 This configure
script is free software
; the Free Software Foundation
2302 gives unlimited permission to copy
, distribute and modify it.
2307 ## ------------------------ ##
2308 ## Autoconf initialization. ##
2309 ## ------------------------ ##
2311 # ac_fn_c_try_compile LINENO
2312 # --------------------------
2313 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2314 ac_fn_c_try_compile
()
2316 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2317 rm -f conftest.
$ac_objext
2318 if { { ac_try
="$ac_compile"
2320 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2321 *) ac_try_echo=$ac_try;;
2323 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2324 $as_echo "$ac_try_echo"; } >&5
2325 (eval "$ac_compile") 2>conftest.err
2327 if test -s conftest.err; then
2328 grep -v '^ *+' conftest.err >conftest.er1
2329 cat conftest.er1 >&5
2330 mv -f conftest.er1 conftest.err
2332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2333 test $ac_status = 0; } && {
2334 test -z "$ac_c_werror_flag" ||
2335 test ! -s conftest.err
2336 } && test -s conftest.$ac_objext; then :
2339 $as_echo "$as_me: failed program was:" >&5
2340 sed 's/^/| /' conftest.$ac_ext >&5
2344 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2345 as_fn_set_status $ac_retval
2347 } # ac_fn_c_try_compile
2349 # ac_fn_cxx_try_compile LINENO
2350 # ----------------------------
2351 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2352 ac_fn_cxx_try_compile ()
2354 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2355 rm -f conftest.$ac_objext
2356 if { { ac_try="$ac_compile"
2358 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2359 *) ac_try_echo
=$ac_try;;
2361 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2362 $as_echo "$ac_try_echo"; } >&5
2363 (eval "$ac_compile") 2>conftest.err
2365 if test -s conftest.err
; then
2366 grep -v '^ *+' conftest.err
>conftest.er1
2367 cat conftest.er1
>&5
2368 mv -f conftest.er1 conftest.err
2370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2371 test $ac_status = 0; } && {
2372 test -z "$ac_cxx_werror_flag" ||
2373 test ! -s conftest.err
2374 } && test -s conftest.
$ac_objext; then :
2377 $as_echo "$as_me: failed program was:" >&5
2378 sed 's/^/| /' conftest.
$ac_ext >&5
2382 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2383 as_fn_set_status
$ac_retval
2385 } # ac_fn_cxx_try_compile
2387 # ac_fn_c_try_link LINENO
2388 # -----------------------
2389 # Try to link conftest.$ac_ext, and return whether this succeeded.
2392 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2393 rm -f conftest.
$ac_objext conftest
$ac_exeext
2394 if { { ac_try
="$ac_link"
2396 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2397 *) ac_try_echo=$ac_try;;
2399 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2400 $as_echo "$ac_try_echo"; } >&5
2401 (eval "$ac_link") 2>conftest.err
2403 if test -s conftest.err; then
2404 grep -v '^ *+' conftest.err >conftest.er1
2405 cat conftest.er1 >&5
2406 mv -f conftest.er1 conftest.err
2408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2409 test $ac_status = 0; } && {
2410 test -z "$ac_c_werror_flag" ||
2411 test ! -s conftest.err
2412 } && test -s conftest$ac_exeext && {
2413 test "$cross_compiling" = yes ||
2414 test -x conftest$ac_exeext
2418 $as_echo "$as_me: failed program was:" >&5
2419 sed 's/^/| /' conftest.$ac_ext >&5
2423 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2424 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2425 # interfere with the next link command; also delete a directory that is
2426 # left behind by Apple's compiler. We do this before executing the actions.
2427 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2428 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2429 as_fn_set_status $ac_retval
2431 } # ac_fn_c_try_link
2433 # ac_fn_c_try_cpp LINENO
2434 # ----------------------
2435 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2438 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2439 if { { ac_try="$ac_cpp conftest.$ac_ext"
2441 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2442 *) ac_try_echo
=$ac_try;;
2444 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2445 $as_echo "$ac_try_echo"; } >&5
2446 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2448 if test -s conftest.err
; then
2449 grep -v '^ *+' conftest.err
>conftest.er1
2450 cat conftest.er1
>&5
2451 mv -f conftest.er1 conftest.err
2453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2454 test $ac_status = 0; } > conftest.i
&& {
2455 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2456 test ! -s conftest.err
2460 $as_echo "$as_me: failed program was:" >&5
2461 sed 's/^/| /' conftest.
$ac_ext >&5
2465 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2466 as_fn_set_status
$ac_retval
2470 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2471 # -------------------------------------------------------
2472 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2473 # the include files in INCLUDES and setting the cache variable VAR
2475 ac_fn_c_check_header_mongrel
()
2477 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2478 if eval \
${$3+:} false
; then :
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2480 $as_echo_n "checking for $2... " >&6; }
2481 if eval \
${$3+:} false
; then :
2482 $as_echo_n "(cached) " >&6
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2486 $as_echo "$ac_res" >&6; }
2488 # Is the header compilable?
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2490 $as_echo_n "checking $2 usability... " >&6; }
2491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2492 /* end confdefs.h. */
2496 if ac_fn_c_try_compile
"$LINENO"; then :
2497 ac_header_compiler
=yes
2499 ac_header_compiler
=no
2501 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2503 $as_echo "$ac_header_compiler" >&6; }
2505 # Is the header present?
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2507 $as_echo_n "checking $2 presence... " >&6; }
2508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2509 /* end confdefs.h. */
2512 if ac_fn_c_try_cpp
"$LINENO"; then :
2513 ac_header_preproc
=yes
2515 ac_header_preproc
=no
2517 rm -f conftest.err conftest.i conftest.
$ac_ext
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2519 $as_echo "$ac_header_preproc" >&6; }
2521 # So? What about this header?
2522 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2525 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2527 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2531 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2533 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2535 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2537 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2539 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2540 ( $as_echo "## ------------------------------------ ##
2541 ## Report this to wine-devel@winehq.org ##
2542 ## ------------------------------------ ##"
2543 ) |
sed "s/^/$as_me: WARNING: /" >&2
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2547 $as_echo_n "checking for $2... " >&6; }
2548 if eval \
${$3+:} false
; then :
2549 $as_echo_n "(cached) " >&6
2551 eval "$3=\$ac_header_compiler"
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2555 $as_echo "$ac_res" >&6; }
2557 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2559 } # ac_fn_c_check_header_mongrel
2561 # ac_fn_c_try_run LINENO
2562 # ----------------------
2563 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2564 # that executables *can* be run.
2567 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2568 if { { ac_try
="$ac_link"
2570 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2571 *) ac_try_echo=$ac_try;;
2573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2574 $as_echo "$ac_try_echo"; } >&5
2575 (eval "$ac_link") 2>&5
2577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2578 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2579 { { case "(($ac_try" in
2580 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2581 *) ac_try_echo
=$ac_try;;
2583 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2584 $as_echo "$ac_try_echo"; } >&5
2585 (eval "$ac_try") 2>&5
2587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2588 test $ac_status = 0; }; }; then :
2591 $as_echo "$as_me: program exited with status $ac_status" >&5
2592 $as_echo "$as_me: failed program was:" >&5
2593 sed 's/^/| /' conftest.
$ac_ext >&5
2595 ac_retval
=$ac_status
2597 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2598 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2599 as_fn_set_status
$ac_retval
2603 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2604 # -------------------------------------------------------
2605 # Tests whether HEADER exists and can be compiled using the include files in
2606 # INCLUDES, setting the cache variable VAR accordingly.
2607 ac_fn_c_check_header_compile
()
2609 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2611 $as_echo_n "checking for $2... " >&6; }
2612 if eval \
${$3+:} false
; then :
2613 $as_echo_n "(cached) " >&6
2615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2616 /* end confdefs.h. */
2620 if ac_fn_c_try_compile
"$LINENO"; then :
2625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2629 $as_echo "$ac_res" >&6; }
2630 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2632 } # ac_fn_c_check_header_compile
2634 # ac_fn_c_check_func LINENO FUNC VAR
2635 # ----------------------------------
2636 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2637 ac_fn_c_check_func
()
2639 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2641 $as_echo_n "checking for $2... " >&6; }
2642 if eval \
${$3+:} false
; then :
2643 $as_echo_n "(cached) " >&6
2645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2646 /* end confdefs.h. */
2647 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2649 #define $2 innocuous_$2
2651 /* System header to define __stub macros and hopefully few prototypes,
2652 which can conflict with char $2 (); below.
2653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2654 <limits.h> exists even on freestanding compilers. */
2657 # include <limits.h>
2659 # include <assert.h>
2664 /* Override any GCC internal prototype to avoid an error.
2665 Use char because int might match the return type of a GCC
2666 builtin and then its argument prototype would still apply. */
2671 /* The GNU C library defines this for functions which it implements
2672 to always fail with ENOSYS. Some functions are actually named
2673 something starting with __ and the normal name is an alias. */
2674 #if defined __stub_$2 || defined __stub___$2
2686 if ac_fn_c_try_link
"$LINENO"; then :
2691 rm -f core conftest.err conftest.
$ac_objext \
2692 conftest
$ac_exeext conftest.
$ac_ext
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2696 $as_echo "$ac_res" >&6; }
2697 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2699 } # ac_fn_c_check_func
2701 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2702 # ----------------------------------------------------
2703 # Tries to find if the field MEMBER exists in type AGGR, after including
2704 # INCLUDES, setting cache variable VAR accordingly.
2705 ac_fn_c_check_member
()
2707 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2709 $as_echo_n "checking for $2.$3... " >&6; }
2710 if eval \
${$4+:} false
; then :
2711 $as_echo_n "(cached) " >&6
2713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2714 /* end confdefs.h. */
2726 if ac_fn_c_try_compile
"$LINENO"; then :
2729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2730 /* end confdefs.h. */
2736 if (sizeof ac_aggr.$3)
2742 if ac_fn_c_try_compile
"$LINENO"; then :
2747 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2749 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2753 $as_echo "$ac_res" >&6; }
2754 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2756 } # ac_fn_c_check_member
2758 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2759 # -------------------------------------------
2760 # Tests whether TYPE exists after having included INCLUDES, setting cache
2761 # variable VAR accordingly.
2762 ac_fn_c_check_type
()
2764 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2766 $as_echo_n "checking for $2... " >&6; }
2767 if eval \
${$3+:} false
; then :
2768 $as_echo_n "(cached) " >&6
2771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2772 /* end confdefs.h. */
2783 if ac_fn_c_try_compile
"$LINENO"; then :
2784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2785 /* end confdefs.h. */
2796 if ac_fn_c_try_compile
"$LINENO"; then :
2801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2807 $as_echo "$ac_res" >&6; }
2808 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2810 } # ac_fn_c_check_type
2811 cat >config.log
<<_ACEOF
2812 This file contains any messages produced by compilers while
2813 running configure, to aid debugging if configure makes a mistake.
2815 It was created by Wine $as_me 1.7.42, which was
2816 generated by GNU Autoconf 2.69. Invocation command line was
2828 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2829 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2830 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2831 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2832 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2834 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2835 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2837 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2838 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2839 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2840 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2841 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2842 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2843 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2851 test -z "$as_dir" && as_dir
=.
2852 $as_echo "PATH: $as_dir"
2868 # Keep a trace of the command line.
2869 # Strip out --no-create and --no-recursion so they do not pile up.
2870 # Strip out --silent because we don't want to record it for future runs.
2871 # Also quote any args containing shell meta-characters.
2872 # Make two passes to allow for proper duplicate-argument suppression.
2876 ac_must_keep_next
=false
2882 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2883 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2884 |
-silent |
--silent |
--silen |
--sile |
--sil)
2887 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2890 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2892 as_fn_append ac_configure_args1
" '$ac_arg'"
2893 if test $ac_must_keep_next = true
; then
2894 ac_must_keep_next
=false
# Got value, back to normal.
2897 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2898 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2899 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2900 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2901 case "$ac_configure_args0 " in
2902 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2905 -* ) ac_must_keep_next
=true
;;
2908 as_fn_append ac_configure_args
" '$ac_arg'"
2913 { ac_configure_args0
=; unset ac_configure_args0
;}
2914 { ac_configure_args1
=; unset ac_configure_args1
;}
2916 # When interrupted or exit'd, cleanup temporary files, and complete
2917 # config.log. We remove comments because anyway the quotes in there
2918 # would cause problems or look ugly.
2919 # WARNING: Use '\'' to represent an apostrophe within the trap.
2920 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2921 trap 'exit_status=$?
2922 # Save into config.log some information that might help in debugging.
2926 $as_echo "## ---------------- ##
2927 ## Cache variables. ##
2928 ## ---------------- ##"
2930 # The following way of writing the cache mishandles newlines in values,
2932 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2933 eval ac_val=\$$ac_var
2937 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2938 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2941 _ | IFS | as_nl) ;; #(
2942 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2943 *) { eval $ac_var=; unset $ac_var;} ;;
2948 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2949 *${as_nl}ac_space=\ *)
2951 "s/'\''/'\''\\\\'\'''\''/g;
2952 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2955 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2962 $as_echo "## ----------------- ##
2963 ## Output variables. ##
2964 ## ----------------- ##"
2966 for ac_var in $ac_subst_vars
2968 eval ac_val=\$$ac_var
2970 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2972 $as_echo "$ac_var='\''$ac_val'\''"
2976 if test -n "$ac_subst_files"; then
2977 $as_echo "## ------------------- ##
2978 ## File substitutions. ##
2979 ## ------------------- ##"
2981 for ac_var
in $ac_subst_files
2983 eval ac_val
=\$
$ac_var
2985 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2987 $as_echo "$ac_var='\''$ac_val'\''"
2992 if test -s confdefs.h; then
2993 $as_echo "## ----------- ##
3000 test "$ac_signal" != 0 &&
3001 $as_echo "$as_me: caught signal $ac_signal"
3002 $as_echo "$as_me: exit $exit_status"
3004 rm -f core *.core core.conftest.* &&
3005 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3008 for ac_signal
in 1 2 13 15; do
3009 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3013 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3014 rm -f -r conftest
* confdefs.h
3016 $as_echo "/* confdefs.h */" > confdefs.h
3018 # Predefined preprocessor variables.
3020 cat >>confdefs.h
<<_ACEOF
3021 #define PACKAGE_NAME "$PACKAGE_NAME"
3024 cat >>confdefs.h
<<_ACEOF
3025 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3028 cat >>confdefs.h
<<_ACEOF
3029 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3032 cat >>confdefs.h
<<_ACEOF
3033 #define PACKAGE_STRING "$PACKAGE_STRING"
3036 cat >>confdefs.h
<<_ACEOF
3037 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3040 cat >>confdefs.h
<<_ACEOF
3041 #define PACKAGE_URL "$PACKAGE_URL"
3045 # Let the site file select an alternate cache file if it wants to.
3046 # Prefer an explicitly selected file to automatically selected ones.
3049 if test -n "$CONFIG_SITE"; then
3050 # We do not want a PATH search for config.site.
3051 case $CONFIG_SITE in #((
3052 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3053 */*) ac_site_file1
=$CONFIG_SITE;;
3054 *) ac_site_file1
=.
/$CONFIG_SITE;;
3056 elif test "x$prefix" != xNONE
; then
3057 ac_site_file1
=$prefix/share
/config.site
3058 ac_site_file2
=$prefix/etc
/config.site
3060 ac_site_file1
=$ac_default_prefix/share
/config.site
3061 ac_site_file2
=$ac_default_prefix/etc
/config.site
3063 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3065 test "x$ac_site_file" = xNONE
&& continue
3066 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3068 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3069 sed 's/^/| /' "$ac_site_file" >&5
3071 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3072 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3073 as_fn_error $?
"failed to load site script $ac_site_file
3074 See \`config.log' for more details" "$LINENO" 5; }
3078 if test -r "$cache_file"; then
3079 # Some versions of bash will fail to source /dev/null (special files
3080 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3081 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3083 $as_echo "$as_me: loading cache $cache_file" >&6;}
3085 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3086 *) .
"./$cache_file";;
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3091 $as_echo "$as_me: creating cache $cache_file" >&6;}
3095 # Check that the precious variables saved in the cache have kept the same
3097 ac_cache_corrupted
=false
3098 for ac_var
in $ac_precious_vars; do
3099 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3100 eval ac_new_set
=\
$ac_env_${ac_var}_set
3101 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3102 eval ac_new_val
=\
$ac_env_${ac_var}_value
3103 case $ac_old_set,$ac_new_set in
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3106 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3107 ac_cache_corrupted
=: ;;
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3110 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3111 ac_cache_corrupted
=: ;;
3114 if test "x$ac_old_val" != "x$ac_new_val"; then
3115 # differences in whitespace do not lead to failure.
3116 ac_old_val_w
=`echo x $ac_old_val`
3117 ac_new_val_w
=`echo x $ac_new_val`
3118 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3120 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3121 ac_cache_corrupted
=:
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3124 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3125 eval $ac_var=\
$ac_old_val
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3128 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3130 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3133 # Pass precious variables to config.status.
3134 if test "$ac_new_set" = set; then
3136 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3137 *) ac_arg
=$ac_var=$ac_new_val ;;
3139 case " $ac_configure_args " in
3140 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3141 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3145 if $ac_cache_corrupted; then
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3149 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3150 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3152 ## -------------------- ##
3153 ## Main body of script. ##
3154 ## -------------------- ##
3157 ac_cpp
='$CPP $CPPFLAGS'
3158 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3159 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3160 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3164 ac_config_headers
="$ac_config_headers include/config.h"
3167 for ac_dir
in tools
"$srcdir"/tools
; do
3168 if test -f "$ac_dir/install-sh"; then
3170 ac_install_sh
="$ac_aux_dir/install-sh -c"
3172 elif test -f "$ac_dir/install.sh"; then
3174 ac_install_sh
="$ac_aux_dir/install.sh -c"
3176 elif test -f "$ac_dir/shtool"; then
3178 ac_install_sh
="$ac_aux_dir/shtool install -c"
3182 if test -z "$ac_aux_dir"; then
3183 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3186 # These three variables are undocumented and unsupported,
3187 # and are intended to be withdrawn in a future Autoconf release.
3188 # They can cause serious problems if a builder's source tree is in a directory
3189 # whose full name contains unusual characters.
3190 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3191 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3192 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3196 libwine_version
="1.0"
3200 # Check whether --enable-win16 was given.
3201 if test "${enable_win16+set}" = set; then :
3202 enableval
=$enable_win16;
3205 # Check whether --enable-win64 was given.
3206 if test "${enable_win64+set}" = set; then :
3207 enableval
=$enable_win64;
3210 # Check whether --enable-tests was given.
3211 if test "${enable_tests+set}" = set; then :
3212 enableval
=$enable_tests;
3215 # Check whether --enable-maintainer-mode was given.
3216 if test "${enable_maintainer_mode+set}" = set; then :
3217 enableval
=$enable_maintainer_mode;
3222 # Check whether --with-alsa was given.
3223 if test "${with_alsa+set}" = set; then :
3224 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3228 # Check whether --with-capi was given.
3229 if test "${with_capi+set}" = set; then :
3234 # Check whether --with-cms was given.
3235 if test "${with_cms+set}" = set; then :
3240 # Check whether --with-coreaudio was given.
3241 if test "${with_coreaudio+set}" = set; then :
3242 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3246 # Check whether --with-cups was given.
3247 if test "${with_cups+set}" = set; then :
3252 # Check whether --with-curses was given.
3253 if test "${with_curses+set}" = set; then :
3254 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3258 # Check whether --with-dbus was given.
3259 if test "${with_dbus+set}" = set; then :
3264 # Check whether --with-fontconfig was given.
3265 if test "${with_fontconfig+set}" = set; then :
3266 withval
=$with_fontconfig;
3270 # Check whether --with-freetype was given.
3271 if test "${with_freetype+set}" = set; then :
3272 withval
=$with_freetype;
3276 # Check whether --with-gettext was given.
3277 if test "${with_gettext+set}" = set; then :
3278 withval
=$with_gettext;
3282 # Check whether --with-gettextpo was given.
3283 if test "${with_gettextpo+set}" = set; then :
3284 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3288 # Check whether --with-gphoto was given.
3289 if test "${with_gphoto+set}" = set; then :
3290 withval
=$with_gphoto;
3294 # Check whether --with-glu was given.
3295 if test "${with_glu+set}" = set; then :
3300 # Check whether --with-gnutls was given.
3301 if test "${with_gnutls+set}" = set; then :
3302 withval
=$with_gnutls;
3306 # Check whether --with-gsm was given.
3307 if test "${with_gsm+set}" = set; then :
3308 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3312 # Check whether --with-gstreamer was given.
3313 if test "${with_gstreamer+set}" = set; then :
3314 withval
=$with_gstreamer;
3318 # Check whether --with-hal was given.
3319 if test "${with_hal+set}" = set; then :
3324 # Check whether --with-jpeg was given.
3325 if test "${with_jpeg+set}" = set; then :
3330 # Check whether --with-ldap was given.
3331 if test "${with_ldap+set}" = set; then :
3332 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3336 # Check whether --with-mpg123 was given.
3337 if test "${with_mpg123+set}" = set; then :
3338 withval
=$with_mpg123;
3342 # Check whether --with-netapi was given.
3343 if test "${with_netapi+set}" = set; then :
3344 withval
=$with_netapi;
3348 # Check whether --with-openal was given.
3349 if test "${with_openal+set}" = set; then :
3350 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3354 # Check whether --with-opencl was given.
3355 if test "${with_opencl+set}" = set; then :
3356 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3360 # Check whether --with-opengl was given.
3361 if test "${with_opengl+set}" = set; then :
3362 withval
=$with_opengl;
3366 # Check whether --with-osmesa was given.
3367 if test "${with_osmesa+set}" = set; then :
3368 withval
=$with_osmesa;
3372 # Check whether --with-oss was given.
3373 if test "${with_oss+set}" = set; then :
3378 # Check whether --with-pcap was given.
3379 if test "${with_pcap+set}" = set; then :
3380 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3384 # Check whether --with-png was given.
3385 if test "${with_png+set}" = set; then :
3390 # Check whether --with-pthread was given.
3391 if test "${with_pthread+set}" = set; then :
3392 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3396 # Check whether --with-sane was given.
3397 if test "${with_sane+set}" = set; then :
3402 # Check whether --with-tiff was given.
3403 if test "${with_tiff+set}" = set; then :
3408 # Check whether --with-v4l was given.
3409 if test "${with_v4l+set}" = set; then :
3414 # Check whether --with-xcomposite was given.
3415 if test "${with_xcomposite+set}" = set; then :
3416 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3420 # Check whether --with-xcursor was given.
3421 if test "${with_xcursor+set}" = set; then :
3422 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3426 # Check whether --with-xinerama was given.
3427 if test "${with_xinerama+set}" = set; then :
3428 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3432 # Check whether --with-xinput was given.
3433 if test "${with_xinput+set}" = set; then :
3434 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3438 # Check whether --with-xinput2 was given.
3439 if test "${with_xinput2+set}" = set; then :
3440 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3444 # Check whether --with-xml was given.
3445 if test "${with_xml+set}" = set; then :
3450 # Check whether --with-xrandr was given.
3451 if test "${with_xrandr+set}" = set; then :
3452 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3456 # Check whether --with-xrender was given.
3457 if test "${with_xrender+set}" = set; then :
3458 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3462 # Check whether --with-xshape was given.
3463 if test "${with_xshape+set}" = set; then :
3464 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3468 # Check whether --with-xshm was given.
3469 if test "${with_xshm+set}" = set; then :
3470 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3474 # Check whether --with-xslt was given.
3475 if test "${with_xslt+set}" = set; then :
3480 # Check whether --with-xxf86vm was given.
3481 if test "${with_xxf86vm+set}" = set; then :
3482 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
3486 # Check whether --with-zlib was given.
3487 if test "${with_zlib+set}" = set; then :
3488 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3493 # Check whether --with-wine-tools was given.
3494 if test "${with_wine_tools+set}" = set; then :
3495 withval
=$with_wine_tools;
3499 # Check whether --with-wine64 was given.
3500 if test "${with_wine64+set}" = set; then :
3501 withval
=$with_wine64;
3505 # Make sure we can run config.sub.
3506 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3507 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3510 $as_echo_n "checking build system type... " >&6; }
3511 if ${ac_cv_build+:} false
; then :
3512 $as_echo_n "(cached) " >&6
3514 ac_build_alias
=$build_alias
3515 test "x$ac_build_alias" = x
&&
3516 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3517 test "x$ac_build_alias" = x
&&
3518 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3519 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3520 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3524 $as_echo "$ac_cv_build" >&6; }
3525 case $ac_cv_build in
3527 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3530 ac_save_IFS
=$IFS; IFS
='-'
3536 # Remember, the first character of IFS is used to create $*,
3537 # except with old shells:
3540 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3544 $as_echo_n "checking host system type... " >&6; }
3545 if ${ac_cv_host+:} false
; then :
3546 $as_echo_n "(cached) " >&6
3548 if test "x$host_alias" = x
; then
3549 ac_cv_host
=$ac_cv_build
3551 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3552 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3557 $as_echo "$ac_cv_host" >&6; }
3560 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3563 ac_save_IFS
=$IFS; IFS
='-'
3569 # Remember, the first character of IFS is used to create $*,
3570 # except with old shells:
3573 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3579 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3580 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3581 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3587 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3589 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3590 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3591 $as_echo_n "(cached) " >&6
3593 cat >conftest.
make <<\_ACEOF
3596 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3598 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3599 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3601 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3603 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3607 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3609 $as_echo "yes" >&6; }
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3613 $as_echo "no" >&6; }
3614 SET_MAKE
="MAKE=${MAKE-make}"
3618 ac_cpp
='$CPP $CPPFLAGS'
3619 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3620 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3621 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3622 if test -n "$ac_tool_prefix"; then
3623 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3624 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3626 $as_echo_n "checking for $ac_word... " >&6; }
3627 if ${ac_cv_prog_CC+:} false
; then :
3628 $as_echo_n "(cached) " >&6
3630 if test -n "$CC"; then
3631 ac_cv_prog_CC
="$CC" # Let the user override the test.
3633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3637 test -z "$as_dir" && as_dir
=.
3638 for ac_exec_ext
in '' $ac_executable_extensions; do
3639 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3640 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3651 if test -n "$CC"; then
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3653 $as_echo "$CC" >&6; }
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3656 $as_echo "no" >&6; }
3661 if test -z "$ac_cv_prog_CC"; then
3663 # Extract the first word of "gcc", so it can be a program name with args.
3664 set dummy gcc
; ac_word
=$2
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3666 $as_echo_n "checking for $ac_word... " >&6; }
3667 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3668 $as_echo_n "(cached) " >&6
3670 if test -n "$ac_ct_CC"; then
3671 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3677 test -z "$as_dir" && as_dir
=.
3678 for ac_exec_ext
in '' $ac_executable_extensions; do
3679 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3680 ac_cv_prog_ac_ct_CC
="gcc"
3681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3690 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3691 if test -n "$ac_ct_CC"; then
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3693 $as_echo "$ac_ct_CC" >&6; }
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3696 $as_echo "no" >&6; }
3699 if test "x$ac_ct_CC" = x
; then
3702 case $cross_compiling:$ac_tool_warned in
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3706 ac_tool_warned
=yes ;;
3714 if test -z "$CC"; then
3715 if test -n "$ac_tool_prefix"; then
3716 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3717 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3719 $as_echo_n "checking for $ac_word... " >&6; }
3720 if ${ac_cv_prog_CC+:} false
; then :
3721 $as_echo_n "(cached) " >&6
3723 if test -n "$CC"; then
3724 ac_cv_prog_CC
="$CC" # Let the user override the test.
3726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3730 test -z "$as_dir" && as_dir
=.
3731 for ac_exec_ext
in '' $ac_executable_extensions; do
3732 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3733 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3744 if test -n "$CC"; then
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3746 $as_echo "$CC" >&6; }
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3749 $as_echo "no" >&6; }
3755 if test -z "$CC"; then
3756 # Extract the first word of "cc", so it can be a program name with args.
3757 set dummy cc
; ac_word
=$2
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3759 $as_echo_n "checking for $ac_word... " >&6; }
3760 if ${ac_cv_prog_CC+:} false
; then :
3761 $as_echo_n "(cached) " >&6
3763 if test -n "$CC"; then
3764 ac_cv_prog_CC
="$CC" # Let the user override the test.
3767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3771 test -z "$as_dir" && as_dir
=.
3772 for ac_exec_ext
in '' $ac_executable_extensions; do
3773 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3774 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3775 ac_prog_rejected
=yes
3779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3786 if test $ac_prog_rejected = yes; then
3787 # We found a bogon in the path, so make sure we never use it.
3788 set dummy
$ac_cv_prog_CC
3790 if test $# != 0; then
3791 # We chose a different compiler from the bogus one.
3792 # However, it has the same basename, so the bogon will be chosen
3793 # first if we set CC to just the basename; use the full file name.
3795 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3801 if test -n "$CC"; then
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3803 $as_echo "$CC" >&6; }
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3806 $as_echo "no" >&6; }
3811 if test -z "$CC"; then
3812 if test -n "$ac_tool_prefix"; then
3813 for ac_prog
in cl.exe
3815 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3816 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3818 $as_echo_n "checking for $ac_word... " >&6; }
3819 if ${ac_cv_prog_CC+:} false
; then :
3820 $as_echo_n "(cached) " >&6
3822 if test -n "$CC"; then
3823 ac_cv_prog_CC
="$CC" # Let the user override the test.
3825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3829 test -z "$as_dir" && as_dir
=.
3830 for ac_exec_ext
in '' $ac_executable_extensions; do
3831 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3832 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3843 if test -n "$CC"; then
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3845 $as_echo "$CC" >&6; }
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3848 $as_echo "no" >&6; }
3852 test -n "$CC" && break
3855 if test -z "$CC"; then
3857 for ac_prog
in cl.exe
3859 # Extract the first word of "$ac_prog", so it can be a program name with args.
3860 set dummy
$ac_prog; ac_word
=$2
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3862 $as_echo_n "checking for $ac_word... " >&6; }
3863 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3864 $as_echo_n "(cached) " >&6
3866 if test -n "$ac_ct_CC"; then
3867 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3873 test -z "$as_dir" && as_dir
=.
3874 for ac_exec_ext
in '' $ac_executable_extensions; do
3875 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3876 ac_cv_prog_ac_ct_CC
="$ac_prog"
3877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3886 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3887 if test -n "$ac_ct_CC"; then
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3889 $as_echo "$ac_ct_CC" >&6; }
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3892 $as_echo "no" >&6; }
3896 test -n "$ac_ct_CC" && break
3899 if test "x$ac_ct_CC" = x
; then
3902 case $cross_compiling:$ac_tool_warned in
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3905 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3906 ac_tool_warned
=yes ;;
3915 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3917 as_fn_error $?
"no acceptable C compiler found in \$PATH
3918 See \`config.log' for more details" "$LINENO" 5; }
3920 # Provide some information about the compiler.
3921 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3924 for ac_option
in --version -v -V -qversion; do
3925 { { ac_try
="$ac_compiler $ac_option >&5"
3927 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3928 *) ac_try_echo=$ac_try;;
3930 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3931 $as_echo "$ac_try_echo"; } >&5
3932 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3934 if test -s conftest.err; then
3936 ... rest of stderr output deleted ...
3937 10q' conftest.err >conftest.er1
3938 cat conftest.er1 >&5
3940 rm -f conftest.er1 conftest.err
3941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3942 test $ac_status = 0; }
3945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3946 /* end confdefs.h. */
3956 ac_clean_files_save=$ac_clean_files
3957 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3958 # Try to create an executable without -o first, disregard a.out.
3959 # It will help us diagnose broken compilers, and finding out an intuition
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3962 $as_echo_n "checking whether the C compiler works... " >&6; }
3963 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3965 # The possible output files:
3966 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3969 for ac_file in $ac_files
3972 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3973 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3978 if { { ac_try="$ac_link_default"
3980 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3981 *) ac_try_echo
=$ac_try;;
3983 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3984 $as_echo "$ac_try_echo"; } >&5
3985 (eval "$ac_link_default") 2>&5
3987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3988 test $ac_status = 0; }; then :
3989 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3990 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3991 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3992 # so that the user can short-circuit this test for compilers unknown to
3994 for ac_file
in $ac_files ''
3996 test -f "$ac_file" ||
continue
3998 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4001 # We found the default executable, but exeext='' is most
4005 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4007 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4009 # We set ac_cv_exeext here because the later test for it is not
4010 # safe: cross compilers may not add the suffix if given an `-o'
4011 # argument, so we may need to know it at that point already.
4012 # Even if this section looks crufty: it has the advantage of
4019 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4024 if test -z "$ac_file"; then :
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4026 $as_echo "no" >&6; }
4027 $as_echo "$as_me: failed program was:" >&5
4028 sed 's/^/| /' conftest.
$ac_ext >&5
4030 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4031 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4032 as_fn_error
77 "C compiler cannot create executables
4033 See \`config.log' for more details" "$LINENO" 5; }
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4036 $as_echo "yes" >&6; }
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4039 $as_echo_n "checking for C compiler default output file name... " >&6; }
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4041 $as_echo "$ac_file" >&6; }
4042 ac_exeext
=$ac_cv_exeext
4044 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4045 ac_clean_files
=$ac_clean_files_save
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4047 $as_echo_n "checking for suffix of executables... " >&6; }
4048 if { { ac_try
="$ac_link"
4050 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4051 *) ac_try_echo=$ac_try;;
4053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4054 $as_echo "$ac_try_echo"; } >&5
4055 (eval "$ac_link") 2>&5
4057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4058 test $ac_status = 0; }; then :
4059 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4060 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4061 # work properly (i.e., refer to `conftest.exe'), while it won't with
4063 for ac_file
in conftest.exe conftest conftest.
*; do
4064 test -f "$ac_file" ||
continue
4066 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4067 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4073 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4074 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4075 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4076 See \`config.log' for more details" "$LINENO" 5; }
4078 rm -f conftest conftest
$ac_cv_exeext
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4080 $as_echo "$ac_cv_exeext" >&6; }
4082 rm -f conftest.
$ac_ext
4083 EXEEXT
=$ac_cv_exeext
4085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4086 /* end confdefs.h. */
4091 FILE *f = fopen ("conftest.out", "w");
4092 return ferror (f) || fclose (f) != 0;
4098 ac_clean_files
="$ac_clean_files conftest.out"
4099 # Check that the compiler produces executables we can run. If not, either
4100 # the compiler is broken, or we cross compile.
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4102 $as_echo_n "checking whether we are cross compiling... " >&6; }
4103 if test "$cross_compiling" != yes; then
4104 { { ac_try
="$ac_link"
4106 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4107 *) ac_try_echo=$ac_try;;
4109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4110 $as_echo "$ac_try_echo"; } >&5
4111 (eval "$ac_link") 2>&5
4113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4114 test $ac_status = 0; }
4115 if { ac_try='./conftest$ac_cv_exeext'
4116 { { case "(($ac_try" in
4117 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4118 *) ac_try_echo
=$ac_try;;
4120 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4121 $as_echo "$ac_try_echo"; } >&5
4122 (eval "$ac_try") 2>&5
4124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4125 test $ac_status = 0; }; }; then
4128 if test "$cross_compiling" = maybe
; then
4131 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4133 as_fn_error $?
"cannot run C compiled programs.
4134 If you meant to cross compile, use \`--host'.
4135 See \`config.log' for more details" "$LINENO" 5; }
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4140 $as_echo "$cross_compiling" >&6; }
4142 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4143 ac_clean_files
=$ac_clean_files_save
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4145 $as_echo_n "checking for suffix of object files... " >&6; }
4146 if ${ac_cv_objext+:} false
; then :
4147 $as_echo_n "(cached) " >&6
4149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4150 /* end confdefs.h. */
4160 rm -f conftest.o conftest.obj
4161 if { { ac_try
="$ac_compile"
4163 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4164 *) ac_try_echo=$ac_try;;
4166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4167 $as_echo "$ac_try_echo"; } >&5
4168 (eval "$ac_compile") 2>&5
4170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4171 test $ac_status = 0; }; then :
4172 for ac_file in conftest.o conftest.obj conftest.*; do
4173 test -f "$ac_file" || continue;
4175 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4176 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4181 $as_echo "$as_me: failed program was:" >&5
4182 sed 's/^/| /' conftest.$ac_ext >&5
4184 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4186 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4187 See \
`config.log' for more details" "$LINENO" 5; }
4189 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4192 $as_echo "$ac_cv_objext" >&6; }
4193 OBJEXT=$ac_cv_objext
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4196 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4197 if ${ac_cv_c_compiler_gnu+:} false; then :
4198 $as_echo_n "(cached) " >&6
4200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4201 /* end confdefs.h. */
4214 if ac_fn_c_try_compile "$LINENO"; then :
4219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4220 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4224 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4225 if test $ac_compiler_gnu = yes; then
4230 ac_test_CFLAGS=${CFLAGS+set}
4231 ac_save_CFLAGS=$CFLAGS
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4233 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4234 if ${ac_cv_prog_cc_g+:} false; then :
4235 $as_echo_n "(cached) " >&6
4237 ac_save_c_werror_flag=$ac_c_werror_flag
4238 ac_c_werror_flag=yes
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4252 if ac_fn_c_try_compile "$LINENO"; then :
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h. */
4267 if ac_fn_c_try_compile "$LINENO"; then :
4270 ac_c_werror_flag=$ac_save_c_werror_flag
4272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h. */
4283 if ac_fn_c_try_compile "$LINENO"; then :
4286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4291 ac_c_werror_flag=$ac_save_c_werror_flag
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4294 $as_echo "$ac_cv_prog_cc_g" >&6; }
4295 if test "$ac_test_CFLAGS" = set; then
4296 CFLAGS=$ac_save_CFLAGS
4297 elif test $ac_cv_prog_cc_g = yes; then
4298 if test "$GCC" = yes; then
4304 if test "$GCC" = yes; then
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4311 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4312 if ${ac_cv_prog_cc_c89+:} false; then :
4313 $as_echo_n "(cached) " >&6
4315 ac_cv_prog_cc_c89=no
4317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4318 /* end confdefs.h. */
4322 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4323 struct buf { int x; };
4324 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4325 static char *e (p, i)
4331 static char *f (char * (*g) (char **, int), char **p, ...)
4336 s = g (p, va_arg (v,int));
4341 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4342 function prototypes and stuff, but not '\xHH' hex character constants.
4343 These don't provoke an error unfortunately, instead are silently treated
4344 as 'x'. The following induces an error, until -std is added to get
4345 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4346 array size at least. It's necessary to write '\x00'==0 to get something
4347 that's true only with -std. */
4348 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4350 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4351 inside strings and character constants. */
4353 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4355 int test (int i, double x);
4356 struct s1 {int (*f) (int a);};
4357 struct s2 {int (*f) (double a);};
4358 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4364 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4369 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4370 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4372 CC="$ac_save_CC $ac_arg"
4373 if ac_fn_c_try_compile "$LINENO"; then :
4374 ac_cv_prog_cc_c89=$ac_arg
4376 rm -f core conftest.err conftest.$ac_objext
4377 test "x$ac_cv_prog_cc_c89" != "xno" && break
4379 rm -f conftest.$ac_ext
4384 case "x$ac_cv_prog_cc_c89" in
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4387 $as_echo "none needed" >&6; } ;;
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4390 $as_echo "unsupported" >&6; } ;;
4392 CC="$CC $ac_cv_prog_cc_c89"
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4394 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4396 if test "x$ac_cv_prog_cc_c89" != xno; then :
4401 ac_cpp='$CPP $CPPFLAGS'
4402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4407 ac_cpp='$CXXCPP $CPPFLAGS'
4408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4411 if test -z "$CXX"; then
4412 if test -n "$CCC"; then
4415 if test -n "$ac_tool_prefix"; then
4416 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4418 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4419 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4421 $as_echo_n "checking for $ac_word... " >&6; }
4422 if ${ac_cv_prog_CXX+:} false; then :
4423 $as_echo_n "(cached) " >&6
4425 if test -n "$CXX"; then
4426 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4432 test -z "$as_dir" && as_dir=.
4433 for ac_exec_ext in '' $ac_executable_extensions; do
4434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4435 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4446 if test -n "$CXX"; then
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4448 $as_echo "$CXX" >&6; }
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4451 $as_echo "no" >&6; }
4455 test -n "$CXX" && break
4458 if test -z "$CXX"; then
4460 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4462 # Extract the first word of "$ac_prog", so it can be a program name with args.
4463 set dummy $ac_prog; ac_word=$2
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4465 $as_echo_n "checking for $ac_word... " >&6; }
4466 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4467 $as_echo_n "(cached) " >&6
4469 if test -n "$ac_ct_CXX"; then
4470 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4476 test -z "$as_dir" && as_dir=.
4477 for ac_exec_ext in '' $ac_executable_extensions; do
4478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4479 ac_cv_prog_ac_ct_CXX="$ac_prog"
4480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4489 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4490 if test -n "$ac_ct_CXX"; then
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4492 $as_echo "$ac_ct_CXX" >&6; }
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4495 $as_echo "no" >&6; }
4499 test -n "$ac_ct_CXX" && break
4502 if test "x$ac_ct_CXX" = x; then
4505 case $cross_compiling:$ac_tool_warned in
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4509 ac_tool_warned=yes ;;
4517 # Provide some information about the compiler.
4518 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4521 for ac_option in --version -v -V -qversion; do
4522 { { ac_try="$ac_compiler $ac_option >&5"
4524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4525 *) ac_try_echo
=$ac_try;;
4527 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4528 $as_echo "$ac_try_echo"; } >&5
4529 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4531 if test -s conftest.err
; then
4533 ... rest of stderr output deleted ...
4534 10q' conftest.err
>conftest.er1
4535 cat conftest.er1
>&5
4537 rm -f conftest.er1 conftest.err
4538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4539 test $ac_status = 0; }
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4543 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4544 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4545 $as_echo_n "(cached) " >&6
4547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4548 /* end confdefs.h. */
4561 if ac_fn_cxx_try_compile
"$LINENO"; then :
4566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4567 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4571 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4572 if test $ac_compiler_gnu = yes; then
4577 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4578 ac_save_CXXFLAGS
=$CXXFLAGS
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4580 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4581 if ${ac_cv_prog_cxx_g+:} false
; then :
4582 $as_echo_n "(cached) " >&6
4584 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4585 ac_cxx_werror_flag
=yes
4588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4589 /* end confdefs.h. */
4599 if ac_fn_cxx_try_compile
"$LINENO"; then :
4600 ac_cv_prog_cxx_g
=yes
4603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4614 if ac_fn_cxx_try_compile
"$LINENO"; then :
4617 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h. */
4630 if ac_fn_cxx_try_compile
"$LINENO"; then :
4631 ac_cv_prog_cxx_g
=yes
4633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4635 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4638 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4641 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4642 if test "$ac_test_CXXFLAGS" = set; then
4643 CXXFLAGS
=$ac_save_CXXFLAGS
4644 elif test $ac_cv_prog_cxx_g = yes; then
4645 if test "$GXX" = yes; then
4651 if test "$GXX" = yes; then
4658 ac_cpp
='$CPP $CPPFLAGS'
4659 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4660 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4661 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4663 if test -n "$ac_tool_prefix"; then
4664 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4665 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4667 $as_echo_n "checking for $ac_word... " >&6; }
4668 if ${ac_cv_prog_CPPBIN+:} false
; then :
4669 $as_echo_n "(cached) " >&6
4671 if test -n "$CPPBIN"; then
4672 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4678 test -z "$as_dir" && as_dir
=.
4679 for ac_exec_ext
in '' $ac_executable_extensions; do
4680 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4681 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4691 CPPBIN
=$ac_cv_prog_CPPBIN
4692 if test -n "$CPPBIN"; then
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4694 $as_echo "$CPPBIN" >&6; }
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4697 $as_echo "no" >&6; }
4702 if test -z "$ac_cv_prog_CPPBIN"; then
4703 ac_ct_CPPBIN
=$CPPBIN
4704 # Extract the first word of "cpp", so it can be a program name with args.
4705 set dummy cpp
; ac_word
=$2
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4707 $as_echo_n "checking for $ac_word... " >&6; }
4708 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4709 $as_echo_n "(cached) " >&6
4711 if test -n "$ac_ct_CPPBIN"; then
4712 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4718 test -z "$as_dir" && as_dir
=.
4719 for ac_exec_ext
in '' $ac_executable_extensions; do
4720 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4721 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4731 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4732 if test -n "$ac_ct_CPPBIN"; then
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4734 $as_echo "$ac_ct_CPPBIN" >&6; }
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4737 $as_echo "no" >&6; }
4740 if test "x$ac_ct_CPPBIN" = x
; then
4743 case $cross_compiling:$ac_tool_warned in
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4746 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4747 ac_tool_warned
=yes ;;
4749 CPPBIN
=$ac_ct_CPPBIN
4752 CPPBIN
="$ac_cv_prog_CPPBIN"
4756 cat >>confdefs.h
<<_ACEOF
4757 #define EXEEXT "$ac_exeext"
4760 if test -n "$ac_tool_prefix"; then
4761 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4762 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4764 $as_echo_n "checking for $ac_word... " >&6; }
4765 if ${ac_cv_prog_LD+:} false
; then :
4766 $as_echo_n "(cached) " >&6
4768 if test -n "$LD"; then
4769 ac_cv_prog_LD
="$LD" # Let the user override the test.
4771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4775 test -z "$as_dir" && as_dir
=.
4776 for ac_exec_ext
in '' $ac_executable_extensions; do
4777 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4778 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4789 if test -n "$LD"; then
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4791 $as_echo "$LD" >&6; }
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4794 $as_echo "no" >&6; }
4799 if test -z "$ac_cv_prog_LD"; then
4801 # Extract the first word of "ld", so it can be a program name with args.
4802 set dummy ld
; ac_word
=$2
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4804 $as_echo_n "checking for $ac_word... " >&6; }
4805 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4806 $as_echo_n "(cached) " >&6
4808 if test -n "$ac_ct_LD"; then
4809 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4815 test -z "$as_dir" && as_dir
=.
4816 for ac_exec_ext
in '' $ac_executable_extensions; do
4817 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4818 ac_cv_prog_ac_ct_LD
="ld"
4819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4828 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4829 if test -n "$ac_ct_LD"; then
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4831 $as_echo "$ac_ct_LD" >&6; }
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4834 $as_echo "no" >&6; }
4837 if test "x$ac_ct_LD" = x
; then
4840 case $cross_compiling:$ac_tool_warned in
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4843 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4844 ac_tool_warned
=yes ;;
4855 if test "x$enable_win64" = "xyes"
4860 notice_platform
="64-bit "
4867 notice_platform
="32-bit "
4870 enable_win16
=${enable_win16:-yes}
4872 with_fontconfig
=${with_fontconfig:-no}
4875 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4880 $as_echo_n "checking whether $CC works... " >&6; }
4882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4883 /* end confdefs.h. */
4893 if ac_fn_c_try_link
"$LINENO"; then :
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4895 $as_echo "yes" >&6; }
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4898 $as_echo "no" >&6; }
4899 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4901 rm -f core conftest.err conftest.
$ac_objext \
4902 conftest
$ac_exeext conftest.
$ac_ext
4904 notice_platform
="32-bit "
4907 enable_win16
=${enable_win16:-yes}
4909 if test "x${GCC}" = "xyes"
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4912 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4914 /* end confdefs.h. */
4919 void func(__builtin_ms_va_list *args);
4924 if ac_fn_c_try_compile
"$LINENO"; then :
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4926 $as_echo "yes" >&6; }
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4929 $as_echo "no" >&6; }
4930 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4932 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4941 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4943 /* end confdefs.h. */
4944 int ac_test(int i) { return i; }
4948 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4953 if ac_fn_c_try_link
"$LINENO"; then :
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4955 $as_echo "yes" >&6; }
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4958 $as_echo "no" >&6; }
4959 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4961 rm -f core conftest.err conftest.
$ac_objext \
4962 conftest
$ac_exeext conftest.
$ac_ext
4963 CFLAGS
="$CFLAGS -marm"
4967 *-mingw32*|
*-cygwin*)
4968 enable_win16
=${enable_win16:-no}
4969 CFLAGS
="$CFLAGS -D_WIN32"
4972 enable_win16
=${enable_win16:-yes}
4976 enable_win16
=${enable_win16:-no}
4977 enable_win64
=${enable_win64:-no}
4979 enable_winetest
=${enable_winetest:-$enable_tests}
4981 if test -n "$with_wine64"
4983 if test "x$enable_win64" = "xyes"
4985 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4986 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4988 enable_fonts
=${enable_fonts:-no}
4989 enable_server
=${enable_server:-no}
4990 elif test "x$enable_win64" = "xyes"
4992 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4996 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4997 if ${wine_cv_toolsdir+:} false
; then :
4998 $as_echo_n "(cached) " >&6
5000 wine_cv_toolsdir
="$with_wine_tools"
5001 if test -z "$with_wine_tools"; then
5002 if test "$cross_compiling" = "yes"; then
5003 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5004 elif test -n "$with_wine64"; then
5005 wine_cv_toolsdir
="$with_wine64"
5008 if test -z "$wine_cv_toolsdir"; then
5009 wine_makedep
=tools
/makedep
5010 wine_cv_toolsdir
="\$(top_builddir)"
5011 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5012 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5013 case "$wine_cv_toolsdir" in
5015 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5017 enable_tools
=${enable_tools:-no}
5018 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5020 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5024 $as_echo "$wine_cv_toolsdir" >&6; }
5025 TOOLSDIR
=$wine_cv_toolsdir
5027 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5029 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5035 # Extract the first word of "$ac_prog", so it can be a program name with args.
5036 set dummy
$ac_prog; ac_word
=$2
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5038 $as_echo_n "checking for $ac_word... " >&6; }
5039 if ${ac_cv_prog_FLEX+:} false
; then :
5040 $as_echo_n "(cached) " >&6
5042 if test -n "$FLEX"; then
5043 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5049 test -z "$as_dir" && as_dir
=.
5050 for ac_exec_ext
in '' $ac_executable_extensions; do
5051 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5052 ac_cv_prog_FLEX
="$ac_prog"
5053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5062 FLEX
=$ac_cv_prog_FLEX
5063 if test -n "$FLEX"; then
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5065 $as_echo "$FLEX" >&6; }
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068 $as_echo "no" >&6; }
5072 test -n "$FLEX" && break
5074 test -n "$FLEX" || FLEX
="none"
5076 if test "$FLEX" = "none"
5078 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5081 $as_echo_n "checking whether flex is recent enough... " >&6; }
5082 cat >conftest.l
<<EOF
5084 #include "prediluvian.h"
5088 if $FLEX -t conftest.l
>/dev
/null
2>&5
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5091 $as_echo "yes" >&6; }
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5094 $as_echo "no" >&6; }
5095 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5098 for ac_prog
in bison
5100 # Extract the first word of "$ac_prog", so it can be a program name with args.
5101 set dummy
$ac_prog; ac_word
=$2
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5103 $as_echo_n "checking for $ac_word... " >&6; }
5104 if ${ac_cv_prog_BISON+:} false
; then :
5105 $as_echo_n "(cached) " >&6
5107 if test -n "$BISON"; then
5108 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5114 test -z "$as_dir" && as_dir
=.
5115 for ac_exec_ext
in '' $ac_executable_extensions; do
5116 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5117 ac_cv_prog_BISON
="$ac_prog"
5118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5127 BISON
=$ac_cv_prog_BISON
5128 if test -n "$BISON"; then
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5130 $as_echo "$BISON" >&6; }
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5133 $as_echo "no" >&6; }
5137 test -n "$BISON" && break
5139 test -n "$BISON" || BISON
="none"
5141 if test "$BISON" = "none"
5143 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5146 if test -n "$ac_tool_prefix"; then
5147 for ac_prog
in ar gar
5149 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5150 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5152 $as_echo_n "checking for $ac_word... " >&6; }
5153 if ${ac_cv_prog_AR+:} false
; then :
5154 $as_echo_n "(cached) " >&6
5156 if test -n "$AR"; then
5157 ac_cv_prog_AR
="$AR" # Let the user override the test.
5159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5163 test -z "$as_dir" && as_dir
=.
5164 for ac_exec_ext
in '' $ac_executable_extensions; do
5165 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5166 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5177 if test -n "$AR"; then
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5179 $as_echo "$AR" >&6; }
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5182 $as_echo "no" >&6; }
5186 test -n "$AR" && break
5189 if test -z "$AR"; then
5191 for ac_prog
in ar gar
5193 # Extract the first word of "$ac_prog", so it can be a program name with args.
5194 set dummy
$ac_prog; ac_word
=$2
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5196 $as_echo_n "checking for $ac_word... " >&6; }
5197 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5198 $as_echo_n "(cached) " >&6
5200 if test -n "$ac_ct_AR"; then
5201 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5207 test -z "$as_dir" && as_dir
=.
5208 for ac_exec_ext
in '' $ac_executable_extensions; do
5209 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5210 ac_cv_prog_ac_ct_AR
="$ac_prog"
5211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5220 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5221 if test -n "$ac_ct_AR"; then
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5223 $as_echo "$ac_ct_AR" >&6; }
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5226 $as_echo "no" >&6; }
5230 test -n "$ac_ct_AR" && break
5233 if test "x$ac_ct_AR" = x
; then
5236 case $cross_compiling:$ac_tool_warned in
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5239 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5240 ac_tool_warned
=yes ;;
5246 if test -n "$ac_tool_prefix"; then
5247 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5248 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5250 $as_echo_n "checking for $ac_word... " >&6; }
5251 if ${ac_cv_prog_STRIP+:} false
; then :
5252 $as_echo_n "(cached) " >&6
5254 if test -n "$STRIP"; then
5255 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5261 test -z "$as_dir" && as_dir
=.
5262 for ac_exec_ext
in '' $ac_executable_extensions; do
5263 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5264 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5274 STRIP
=$ac_cv_prog_STRIP
5275 if test -n "$STRIP"; then
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5277 $as_echo "$STRIP" >&6; }
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5280 $as_echo "no" >&6; }
5285 if test -z "$ac_cv_prog_STRIP"; then
5287 # Extract the first word of "strip", so it can be a program name with args.
5288 set dummy strip
; ac_word
=$2
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5290 $as_echo_n "checking for $ac_word... " >&6; }
5291 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5292 $as_echo_n "(cached) " >&6
5294 if test -n "$ac_ct_STRIP"; then
5295 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5301 test -z "$as_dir" && as_dir
=.
5302 for ac_exec_ext
in '' $ac_executable_extensions; do
5303 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5304 ac_cv_prog_ac_ct_STRIP
="strip"
5305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5314 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5315 if test -n "$ac_ct_STRIP"; then
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5317 $as_echo "$ac_ct_STRIP" >&6; }
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5320 $as_echo "no" >&6; }
5323 if test "x$ac_ct_STRIP" = x
; then
5326 case $cross_compiling:$ac_tool_warned in
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5329 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5330 ac_tool_warned
=yes ;;
5335 STRIP
="$ac_cv_prog_STRIP"
5340 if test -n "$ac_tool_prefix"; then
5341 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5342 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5344 $as_echo_n "checking for $ac_word... " >&6; }
5345 if ${ac_cv_prog_RANLIB+:} false
; then :
5346 $as_echo_n "(cached) " >&6
5348 if test -n "$RANLIB"; then
5349 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5355 test -z "$as_dir" && as_dir
=.
5356 for ac_exec_ext
in '' $ac_executable_extensions; do
5357 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5358 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5368 RANLIB
=$ac_cv_prog_RANLIB
5369 if test -n "$RANLIB"; then
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5371 $as_echo "$RANLIB" >&6; }
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5374 $as_echo "no" >&6; }
5379 if test -z "$ac_cv_prog_RANLIB"; then
5380 ac_ct_RANLIB
=$RANLIB
5381 # Extract the first word of "ranlib", so it can be a program name with args.
5382 set dummy ranlib
; ac_word
=$2
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5384 $as_echo_n "checking for $ac_word... " >&6; }
5385 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5386 $as_echo_n "(cached) " >&6
5388 if test -n "$ac_ct_RANLIB"; then
5389 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5395 test -z "$as_dir" && as_dir
=.
5396 for ac_exec_ext
in '' $ac_executable_extensions; do
5397 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5398 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5408 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5409 if test -n "$ac_ct_RANLIB"; then
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5411 $as_echo "$ac_ct_RANLIB" >&6; }
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5414 $as_echo "no" >&6; }
5417 if test "x$ac_ct_RANLIB" = x
; then
5420 case $cross_compiling:$ac_tool_warned in
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5424 ac_tool_warned
=yes ;;
5426 RANLIB
=$ac_ct_RANLIB
5429 RANLIB
="$ac_cv_prog_RANLIB"
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5433 $as_echo_n "checking whether ln -s works... " >&6; }
5435 if test "$LN_S" = "ln -s"; then
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5437 $as_echo "yes" >&6; }
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5440 $as_echo "no, using $LN_S" >&6; }
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5444 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5445 if ${ac_cv_path_GREP+:} false
; then :
5446 $as_echo_n "(cached) " >&6
5448 if test -z "$GREP"; then
5449 ac_path_GREP_found
=false
5450 # Loop through the user's path and test for each of PROGNAME-LIST
5451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5452 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5455 test -z "$as_dir" && as_dir
=.
5456 for ac_prog
in grep ggrep
; do
5457 for ac_exec_ext
in '' $ac_executable_extensions; do
5458 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5459 as_fn_executable_p
"$ac_path_GREP" ||
continue
5460 # Check for GNU ac_path_GREP and select it if it is found.
5461 # Check for GNU $ac_path_GREP
5462 case `"$ac_path_GREP" --version 2>&1` in
5464 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5467 $as_echo_n 0123456789 >"conftest.in"
5470 cat "conftest.in" "conftest.in" >"conftest.tmp"
5471 mv "conftest.tmp" "conftest.in"
5472 cp "conftest.in" "conftest.nl"
5473 $as_echo 'GREP' >> "conftest.nl"
5474 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5475 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5476 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5477 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5478 # Best one so far, save it but keep looking for a better one
5479 ac_cv_path_GREP
="$ac_path_GREP"
5480 ac_path_GREP_max
=$ac_count
5482 # 10*(2^10) chars as input seems more than enough
5483 test $ac_count -gt 10 && break
5485 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5488 $ac_path_GREP_found && break 3
5493 if test -z "$ac_cv_path_GREP"; then
5494 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5497 ac_cv_path_GREP
=$GREP
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5502 $as_echo "$ac_cv_path_GREP" >&6; }
5503 GREP
="$ac_cv_path_GREP"
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5507 $as_echo_n "checking for egrep... " >&6; }
5508 if ${ac_cv_path_EGREP+:} false
; then :
5509 $as_echo_n "(cached) " >&6
5511 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5512 then ac_cv_path_EGREP
="$GREP -E"
5514 if test -z "$EGREP"; then
5515 ac_path_EGREP_found
=false
5516 # Loop through the user's path and test for each of PROGNAME-LIST
5517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5518 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5521 test -z "$as_dir" && as_dir
=.
5522 for ac_prog
in egrep; do
5523 for ac_exec_ext
in '' $ac_executable_extensions; do
5524 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5525 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5526 # Check for GNU ac_path_EGREP and select it if it is found.
5527 # Check for GNU $ac_path_EGREP
5528 case `"$ac_path_EGREP" --version 2>&1` in
5530 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5533 $as_echo_n 0123456789 >"conftest.in"
5536 cat "conftest.in" "conftest.in" >"conftest.tmp"
5537 mv "conftest.tmp" "conftest.in"
5538 cp "conftest.in" "conftest.nl"
5539 $as_echo 'EGREP' >> "conftest.nl"
5540 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5541 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5542 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5543 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5544 # Best one so far, save it but keep looking for a better one
5545 ac_cv_path_EGREP
="$ac_path_EGREP"
5546 ac_path_EGREP_max
=$ac_count
5548 # 10*(2^10) chars as input seems more than enough
5549 test $ac_count -gt 10 && break
5551 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5554 $ac_path_EGREP_found && break 3
5559 if test -z "$ac_cv_path_EGREP"; then
5560 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5563 ac_cv_path_EGREP
=$EGREP
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5569 $as_echo "$ac_cv_path_EGREP" >&6; }
5570 EGREP
="$ac_cv_path_EGREP"
5573 # Extract the first word of "ldconfig", so it can be a program name with args.
5574 set dummy ldconfig
; ac_word
=$2
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5576 $as_echo_n "checking for $ac_word... " >&6; }
5577 if ${ac_cv_path_LDCONFIG+:} false
; then :
5578 $as_echo_n "(cached) " >&6
5582 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5586 for as_dir
in /sbin
/usr
/sbin
$PATH
5589 test -z "$as_dir" && as_dir
=.
5590 for ac_exec_ext
in '' $ac_executable_extensions; do
5591 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5592 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5600 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5604 LDCONFIG
=$ac_cv_path_LDCONFIG
5605 if test -n "$LDCONFIG"; then
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5607 $as_echo "$LDCONFIG" >&6; }
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5610 $as_echo "no" >&6; }
5614 for ac_prog
in msgfmt
5616 # Extract the first word of "$ac_prog", so it can be a program name with args.
5617 set dummy
$ac_prog; ac_word
=$2
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5619 $as_echo_n "checking for $ac_word... " >&6; }
5620 if ${ac_cv_prog_MSGFMT+:} false
; then :
5621 $as_echo_n "(cached) " >&6
5623 if test -n "$MSGFMT"; then
5624 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5630 test -z "$as_dir" && as_dir
=.
5631 for ac_exec_ext
in '' $ac_executable_extensions; do
5632 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5633 ac_cv_prog_MSGFMT
="$ac_prog"
5634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5643 MSGFMT
=$ac_cv_prog_MSGFMT
5644 if test -n "$MSGFMT"; then
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5646 $as_echo "$MSGFMT" >&6; }
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5649 $as_echo "no" >&6; }
5653 test -n "$MSGFMT" && break
5655 test -n "$MSGFMT" || MSGFMT
="false"
5657 if ${ac_tool_prefix+:} false
; then :
5658 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5659 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5661 $as_echo_n "checking for $ac_word... " >&6; }
5662 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5663 $as_echo_n "(cached) " >&6
5665 if test -n "$PKG_CONFIG"; then
5666 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5672 test -z "$as_dir" && as_dir
=.
5673 for ac_exec_ext
in '' $ac_executable_extensions; do
5674 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5675 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5685 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5686 if test -n "$PKG_CONFIG"; then
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5688 $as_echo "$PKG_CONFIG" >&6; }
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5691 $as_echo "no" >&6; }
5696 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5697 if test "x$cross_compiling" = xyes
; then :
5700 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5701 # Extract the first word of "pkg-config", so it can be a program name with args.
5702 set dummy pkg-config
; ac_word
=$2
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5704 $as_echo_n "checking for $ac_word... " >&6; }
5705 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5706 $as_echo_n "(cached) " >&6
5708 if test -n "$PKG_CONFIG"; then
5709 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5715 test -z "$as_dir" && as_dir
=.
5716 for ac_exec_ext
in '' $ac_executable_extensions; do
5717 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5718 ac_cv_prog_PKG_CONFIG
="pkg-config"
5719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5728 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5729 if test -n "$PKG_CONFIG"; then
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5731 $as_echo "$PKG_CONFIG" >&6; }
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5734 $as_echo "no" >&6; }
5740 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5743 if test "x$enable_maintainer_mode" != "xyes"
5750 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5751 for ac_prog
in fontforge
5753 # Extract the first word of "$ac_prog", so it can be a program name with args.
5754 set dummy
$ac_prog; ac_word
=$2
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5756 $as_echo_n "checking for $ac_word... " >&6; }
5757 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5758 $as_echo_n "(cached) " >&6
5760 if test -n "$FONTFORGE"; then
5761 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5767 test -z "$as_dir" && as_dir
=.
5768 for ac_exec_ext
in '' $ac_executable_extensions; do
5769 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5770 ac_cv_prog_FONTFORGE
="$ac_prog"
5771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5780 FONTFORGE
=$ac_cv_prog_FONTFORGE
5781 if test -n "$FONTFORGE"; then
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5783 $as_echo "$FONTFORGE" >&6; }
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5786 $as_echo "no" >&6; }
5790 test -n "$FONTFORGE" && break
5792 test -n "$FONTFORGE" || FONTFORGE
="false"
5794 for ac_prog
in rsvg-convert rsvg
5796 # Extract the first word of "$ac_prog", so it can be a program name with args.
5797 set dummy
$ac_prog; ac_word
=$2
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5799 $as_echo_n "checking for $ac_word... " >&6; }
5800 if ${ac_cv_prog_RSVG+:} false
; then :
5801 $as_echo_n "(cached) " >&6
5803 if test -n "$RSVG"; then
5804 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5810 test -z "$as_dir" && as_dir
=.
5811 for ac_exec_ext
in '' $ac_executable_extensions; do
5812 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5813 ac_cv_prog_RSVG
="$ac_prog"
5814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5823 RSVG
=$ac_cv_prog_RSVG
5824 if test -n "$RSVG"; then
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5826 $as_echo "$RSVG" >&6; }
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5829 $as_echo "no" >&6; }
5833 test -n "$RSVG" && break
5835 test -n "$RSVG" || RSVG
="false"
5837 for ac_prog
in convert
5839 # Extract the first word of "$ac_prog", so it can be a program name with args.
5840 set dummy
$ac_prog; ac_word
=$2
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5842 $as_echo_n "checking for $ac_word... " >&6; }
5843 if ${ac_cv_prog_CONVERT+:} false
; then :
5844 $as_echo_n "(cached) " >&6
5846 if test -n "$CONVERT"; then
5847 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5853 test -z "$as_dir" && as_dir
=.
5854 for ac_exec_ext
in '' $ac_executable_extensions; do
5855 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5856 ac_cv_prog_CONVERT
="$ac_prog"
5857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5866 CONVERT
=$ac_cv_prog_CONVERT
5867 if test -n "$CONVERT"; then
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5869 $as_echo "$CONVERT" >&6; }
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5872 $as_echo "no" >&6; }
5876 test -n "$CONVERT" && break
5878 test -n "$CONVERT" || CONVERT
="false"
5880 for ac_prog
in icotool
5882 # Extract the first word of "$ac_prog", so it can be a program name with args.
5883 set dummy
$ac_prog; ac_word
=$2
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5885 $as_echo_n "checking for $ac_word... " >&6; }
5886 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5887 $as_echo_n "(cached) " >&6
5889 if test -n "$ICOTOOL"; then
5890 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5896 test -z "$as_dir" && as_dir
=.
5897 for ac_exec_ext
in '' $ac_executable_extensions; do
5898 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5899 ac_cv_prog_ICOTOOL
="$ac_prog"
5900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5909 ICOTOOL
=$ac_cv_prog_ICOTOOL
5910 if test -n "$ICOTOOL"; then
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5912 $as_echo "$ICOTOOL" >&6; }
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5915 $as_echo "no" >&6; }
5919 test -n "$ICOTOOL" && break
5921 test -n "$ICOTOOL" || ICOTOOL
="false"
5923 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5924 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5926 if test "$CONVERT" = false
5928 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5931 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5932 convert_version
=`convert --version | head -n1`
5933 if test "x$convert_version" != "x"
5935 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5936 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5937 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5942 if test "$CONVERT" = false
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5945 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5946 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5949 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5953 if test "$ICOTOOL" = false
5955 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5958 $as_echo_n "checking for recent enough icotool... " >&6; }
5959 icotool_version
=`icotool --version | head -n1`
5960 if test "x$icotool_version" != "x"
5962 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5963 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5964 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5967 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5970 if test "$ICOTOOL" = false
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5973 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5974 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5977 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5983 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5986 test "x$with_gettext" != xno || MSGFMT
=false
5987 if test "$MSGFMT" != "false"
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5990 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5991 cat >conftest.po
<<EOF
5997 if $MSGFMT -o /dev
/null conftest.po
2>&5
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6000 $as_echo "yes" >&6; }
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6003 $as_echo "no" >&6; }
6007 if test "$MSGFMT" = false
; then :
6008 case "x$with_gettext" in
6009 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
6011 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
6012 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6018 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6019 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6020 $as_echo_n "(cached) " >&6
6022 ac_check_lib_save_LIBS
=$LIBS
6024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6025 /* end confdefs.h. */
6027 /* Override any GCC internal prototype to avoid an error.
6028 Use char because int might match the return type of a GCC
6029 builtin and then its argument prototype would still apply. */
6033 char i386_set_ldt ();
6037 return i386_set_ldt ();
6042 if ac_fn_c_try_link
"$LINENO"; then :
6043 ac_cv_lib_i386_i386_set_ldt
=yes
6045 ac_cv_lib_i386_i386_set_ldt
=no
6047 rm -f core conftest.err conftest.
$ac_objext \
6048 conftest
$ac_exeext conftest.
$ac_ext
6049 LIBS
=$ac_check_lib_save_LIBS
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6052 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6053 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6054 cat >>confdefs.h
<<_ACEOF
6055 #define HAVE_LIBI386 1
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6063 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6064 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6065 $as_echo_n "(cached) " >&6
6067 ac_check_lib_save_LIBS
=$LIBS
6068 LIBS
="-lossaudio $LIBS"
6069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6070 /* end confdefs.h. */
6072 /* Override any GCC internal prototype to avoid an error.
6073 Use char because int might match the return type of a GCC
6074 builtin and then its argument prototype would still apply. */
6082 return _oss_ioctl ();
6087 if ac_fn_c_try_link
"$LINENO"; then :
6088 ac_cv_lib_ossaudio__oss_ioctl
=yes
6090 ac_cv_lib_ossaudio__oss_ioctl
=no
6092 rm -f core conftest.err conftest.
$ac_objext \
6093 conftest
$ac_exeext conftest.
$ac_ext
6094 LIBS
=$ac_check_lib_save_LIBS
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6097 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6098 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6099 cat >>confdefs.h
<<_ACEOF
6100 #define HAVE_LIBOSSAUDIO 1
6103 LIBS
="-lossaudio $LIBS"
6112 # Check whether --enable-largefile was given.
6113 if test "${enable_largefile+set}" = set; then :
6114 enableval
=$enable_largefile;
6117 if test "$enable_largefile" != no
; then
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6120 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6121 if ${ac_cv_sys_largefile_CC+:} false
; then :
6122 $as_echo_n "(cached) " >&6
6124 ac_cv_sys_largefile_CC
=no
6125 if test "$GCC" != yes; then
6128 # IRIX 6.2 and later do not support large files by default,
6129 # so use the C compiler's -n32 option if that helps.
6130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6131 /* end confdefs.h. */
6132 #include <sys/types.h>
6133 /* Check that off_t can represent 2**63 - 1 correctly.
6134 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6135 since some C++ compilers masquerading as C compilers
6136 incorrectly reject 9223372036854775807. */
6137 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6138 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6139 && LARGE_OFF_T % 2147483647 == 1)
6149 if ac_fn_c_try_compile
"$LINENO"; then :
6152 rm -f core conftest.err conftest.
$ac_objext
6154 if ac_fn_c_try_compile
"$LINENO"; then :
6155 ac_cv_sys_largefile_CC
=' -n32'; break
6157 rm -f core conftest.err conftest.
$ac_objext
6161 rm -f conftest.
$ac_ext
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6165 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6166 if test "$ac_cv_sys_largefile_CC" != no
; then
6167 CC
=$CC$ac_cv_sys_largefile_CC
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6171 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6172 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6173 $as_echo_n "(cached) " >&6
6176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6177 /* end confdefs.h. */
6178 #include <sys/types.h>
6179 /* Check that off_t can represent 2**63 - 1 correctly.
6180 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6181 since some C++ compilers masquerading as C compilers
6182 incorrectly reject 9223372036854775807. */
6183 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6184 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6185 && LARGE_OFF_T % 2147483647 == 1)
6195 if ac_fn_c_try_compile
"$LINENO"; then :
6196 ac_cv_sys_file_offset_bits
=no
; break
6198 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6200 /* end confdefs.h. */
6201 #define _FILE_OFFSET_BITS 64
6202 #include <sys/types.h>
6203 /* Check that off_t can represent 2**63 - 1 correctly.
6204 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6205 since some C++ compilers masquerading as C compilers
6206 incorrectly reject 9223372036854775807. */
6207 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6208 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6209 && LARGE_OFF_T % 2147483647 == 1)
6219 if ac_fn_c_try_compile
"$LINENO"; then :
6220 ac_cv_sys_file_offset_bits
=64; break
6222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6223 ac_cv_sys_file_offset_bits
=unknown
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6228 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6229 case $ac_cv_sys_file_offset_bits in #(
6232 cat >>confdefs.h
<<_ACEOF
6233 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6238 if test $ac_cv_sys_file_offset_bits = unknown
; then
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6240 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6241 if ${ac_cv_sys_large_files+:} false
; then :
6242 $as_echo_n "(cached) " >&6
6245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6246 /* end confdefs.h. */
6247 #include <sys/types.h>
6248 /* Check that off_t can represent 2**63 - 1 correctly.
6249 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6250 since some C++ compilers masquerading as C compilers
6251 incorrectly reject 9223372036854775807. */
6252 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6253 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6254 && LARGE_OFF_T % 2147483647 == 1)
6264 if ac_fn_c_try_compile
"$LINENO"; then :
6265 ac_cv_sys_large_files
=no
; break
6267 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6269 /* end confdefs.h. */
6270 #define _LARGE_FILES 1
6271 #include <sys/types.h>
6272 /* Check that off_t can represent 2**63 - 1 correctly.
6273 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6274 since some C++ compilers masquerading as C compilers
6275 incorrectly reject 9223372036854775807. */
6276 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6277 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6278 && LARGE_OFF_T % 2147483647 == 1)
6288 if ac_fn_c_try_compile
"$LINENO"; then :
6289 ac_cv_sys_large_files
=1; break
6291 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6292 ac_cv_sys_large_files
=unknown
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6297 $as_echo "$ac_cv_sys_large_files" >&6; }
6298 case $ac_cv_sys_large_files in #(
6301 cat >>confdefs.h
<<_ACEOF
6302 #define _LARGE_FILES $ac_cv_sys_large_files
6314 ac_cpp
='$CPP $CPPFLAGS'
6315 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6316 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6317 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6319 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6320 # On Suns, sometimes $CPP names a directory.
6321 if test -n "$CPP" && test -d "$CPP"; then
6324 if test -z "$CPP"; then
6325 if ${ac_cv_prog_CPP+:} false
; then :
6326 $as_echo_n "(cached) " >&6
6328 # Double quotes because CPP needs to be expanded
6329 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6332 for ac_c_preproc_warn_flag
in '' yes
6334 # Use a header file that comes with gcc, so configuring glibc
6335 # with a fresh cross-compiler works.
6336 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6337 # <limits.h> exists even on freestanding compilers.
6338 # On the NeXT, cc -E runs the code through the compiler's parser,
6339 # not just through cpp. "Syntax error" is here to catch this case.
6340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6341 /* end confdefs.h. */
6343 # include <limits.h>
6345 # include <assert.h>
6349 if ac_fn_c_try_cpp
"$LINENO"; then :
6352 # Broken: fails on valid input.
6355 rm -f conftest.err conftest.i conftest.
$ac_ext
6357 # OK, works on sane cases. Now check whether nonexistent headers
6358 # can be detected and how.
6359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6360 /* end confdefs.h. */
6361 #include <ac_nonexistent.h>
6363 if ac_fn_c_try_cpp
"$LINENO"; then :
6364 # Broken: success on invalid input.
6367 # Passes both tests.
6371 rm -f conftest.err conftest.i conftest.
$ac_ext
6374 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6375 rm -f conftest.i conftest.err conftest.
$ac_ext
6376 if $ac_preproc_ok; then :
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6389 $as_echo "$CPP" >&6; }
6391 for ac_c_preproc_warn_flag
in '' yes
6393 # Use a header file that comes with gcc, so configuring glibc
6394 # with a fresh cross-compiler works.
6395 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6396 # <limits.h> exists even on freestanding compilers.
6397 # On the NeXT, cc -E runs the code through the compiler's parser,
6398 # not just through cpp. "Syntax error" is here to catch this case.
6399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6400 /* end confdefs.h. */
6402 # include <limits.h>
6404 # include <assert.h>
6408 if ac_fn_c_try_cpp
"$LINENO"; then :
6411 # Broken: fails on valid input.
6414 rm -f conftest.err conftest.i conftest.
$ac_ext
6416 # OK, works on sane cases. Now check whether nonexistent headers
6417 # can be detected and how.
6418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6419 /* end confdefs.h. */
6420 #include <ac_nonexistent.h>
6422 if ac_fn_c_try_cpp
"$LINENO"; then :
6423 # Broken: success on invalid input.
6426 # Passes both tests.
6430 rm -f conftest.err conftest.i conftest.
$ac_ext
6433 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6434 rm -f conftest.i conftest.err conftest.
$ac_ext
6435 if $ac_preproc_ok; then :
6438 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6440 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6441 See \`config.log' for more details" "$LINENO" 5; }
6445 ac_cpp
='$CPP $CPPFLAGS'
6446 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6447 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6448 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6452 $as_echo_n "checking for ANSI C header files... " >&6; }
6453 if ${ac_cv_header_stdc+:} false
; then :
6454 $as_echo_n "(cached) " >&6
6456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6457 /* end confdefs.h. */
6471 if ac_fn_c_try_compile
"$LINENO"; then :
6472 ac_cv_header_stdc
=yes
6474 ac_cv_header_stdc
=no
6476 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6478 if test $ac_cv_header_stdc = yes; then
6479 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6481 /* end confdefs.h. */
6485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6486 $EGREP "memchr" >/dev
/null
2>&1; then :
6489 ac_cv_header_stdc
=no
6495 if test $ac_cv_header_stdc = yes; then
6496 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6498 /* end confdefs.h. */
6502 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6503 $EGREP "free" >/dev
/null
2>&1; then :
6506 ac_cv_header_stdc
=no
6512 if test $ac_cv_header_stdc = yes; then
6513 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6514 if test "$cross_compiling" = yes; then :
6517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6518 /* end confdefs.h. */
6521 #if ((' ' & 0x0FF) == 0x020)
6522 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6523 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6525 # define ISLOWER(c) \
6526 (('a' <= (c) && (c) <= 'i') \
6527 || ('j' <= (c) && (c) <= 'r') \
6528 || ('s' <= (c) && (c) <= 'z'))
6529 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6532 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6537 for (i = 0; i < 256; i++)
6538 if (XOR (islower (i), ISLOWER (i))
6539 || toupper (i) != TOUPPER (i))
6544 if ac_fn_c_try_run
"$LINENO"; then :
6547 ac_cv_header_stdc
=no
6549 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6550 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6556 $as_echo "$ac_cv_header_stdc" >&6; }
6557 if test $ac_cv_header_stdc = yes; then
6559 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6563 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6564 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6565 inttypes.h stdint.h unistd.h
6567 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6568 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6570 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6571 cat >>confdefs.h
<<_ACEOF
6572 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6582 ApplicationServices
/ApplicationServices.h \
6583 AudioToolbox
/AudioConverter.h \
6584 AudioUnit
/AudioUnit.h \
6585 AudioUnit
/AudioComponent.h \
6588 CoreAudio
/CoreAudio.h \
6589 CoreServices
/CoreServices.h \
6590 DiskArbitration
/DiskArbitration.h \
6592 IOKit
/hid
/IOHIDLib.h \
6595 QuickTime
/ImageCompression.h \
6596 Security
/Security.h \
6647 netinet
/in_systm.h \
6709 valgrind
/memcheck.h \
6710 valgrind
/valgrind.h \
6714 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6715 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6716 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6717 cat >>confdefs.h
<<_ACEOF
6718 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6726 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6727 if ${ac_cv_header_stat_broken+:} false
; then :
6728 $as_echo_n "(cached) " >&6
6730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6731 /* end confdefs.h. */
6732 #include <sys/types.h>
6733 #include <sys/stat.h>
6735 #if defined S_ISBLK && defined S_IFDIR
6736 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6739 #if defined S_ISBLK && defined S_IFCHR
6740 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6743 #if defined S_ISLNK && defined S_IFREG
6744 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6747 #if defined S_ISSOCK && defined S_IFREG
6748 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6752 if ac_fn_c_try_compile
"$LINENO"; then :
6753 ac_cv_header_stat_broken
=no
6755 ac_cv_header_stat_broken
=yes
6757 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6760 $as_echo "$ac_cv_header_stat_broken" >&6; }
6761 if test $ac_cv_header_stat_broken = yes; then
6763 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6769 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6771 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6772 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6773 #ifdef HAVE_SYS_PARAM_H
6774 # include <sys/param.h>
6777 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6778 cat >>confdefs.h
<<_ACEOF
6779 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6794 netinet
/if_ether.h \
6795 netinet
/if_inarp.h \
6804 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6805 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6806 #ifdef HAVE_SYS_SOCKET_H
6807 # include <sys/socket.h>
6809 #ifdef HAVE_SYS_SOCKETVAR_H
6810 # include <sys/socketvar.h>
6812 #ifdef HAVE_NET_ROUTE_H
6813 # include <net/route.h>
6815 #ifdef HAVE_NETINET_IN_H
6816 # include <netinet/in.h>
6818 #ifdef HAVE_NETINET_IN_SYSTM_H
6819 # include <netinet/in_systm.h>
6821 #ifdef HAVE_NET_IF_H
6822 # include <net/if.h>
6824 #ifdef HAVE_NETINET_IP_H
6825 # include <netinet/ip.h>
6828 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6829 cat >>confdefs.h
<<_ACEOF
6830 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6838 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6840 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6841 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6845 #ifdef HAVE_SYS_SOCKET_H
6846 # include <sys/socket.h>
6848 #ifdef HAVE_SYS_SOCKETVAR_H
6849 # include <sys/socketvar.h>
6851 #ifdef HAVE_SYS_TIMEOUT_H
6852 # include <sys/timeout.h>
6854 #ifdef HAVE_NETINET_IN_H
6855 # include <netinet/in.h>
6857 #ifdef HAVE_NETINET_IN_SYSTM_H
6858 # include <netinet/in_systm.h>
6860 #ifdef HAVE_NETINET_IP_H
6861 # include <netinet/ip.h>
6863 #ifdef HAVE_NETINET_IP_VAR_H
6864 # include <netinet/ip_var.h>
6866 #ifdef HAVE_NETINET_IP_ICMP_H
6867 # include <netinet/ip_icmp.h>
6869 #ifdef HAVE_NETINET_UDP_H
6870 # include <netinet/udp.h>
6872 #ifdef HAVE_NETINET_TCP_H
6873 # include <netinet/tcp.h>
6875 #ifdef HAVE_NETINET_TCP_TIMER_H
6876 #include <netinet/tcp_timer.h>
6879 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6880 cat >>confdefs.h
<<_ACEOF
6881 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6889 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6891 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6892 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6893 #ifdef HAVE_ASM_TYPES_H
6894 # include <asm/types.h>
6896 #ifdef HAVE_SYS_SOCKET_H
6897 # include <sys/socket.h>
6899 #ifdef HAVE_LINUX_TYPES_H
6900 # include <linux/types.h>
6903 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6904 cat >>confdefs.h
<<_ACEOF
6905 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6913 for ac_header
in mach-o
/dyld_images.h
6915 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6916 # include <stdbool.h>
6918 #ifdef HAVE_STDINT_H
6919 # include <stdint.h>
6922 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6923 cat >>confdefs.h
<<_ACEOF
6924 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6932 for ac_header
in resolv.h
6934 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6935 #ifdef HAVE_SYS_SOCKET_H
6936 # include <sys/socket.h>
6938 #ifdef HAVE_NETINET_IN_H
6939 # include <netinet/in.h>
6941 #ifdef HAVE_ARPA_NAMESER_H
6942 # include <arpa/nameser.h>
6945 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6946 cat >>confdefs.h
<<_ACEOF
6947 #define HAVE_RESOLV_H 1
6955 for ac_header
in ifaddrs.h
6957 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6959 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6960 cat >>confdefs.h
<<_ACEOF
6961 #define HAVE_IFADDRS_H 1
6969 for ac_header
in sys
/ucontext.h
6971 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6973 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6974 cat >>confdefs.h
<<_ACEOF
6975 #define HAVE_SYS_UCONTEXT_H 1
6983 for ac_header
in sys
/thr.h
6985 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6986 #ifdef HAVE_SYS_UCONTEXT_H
6987 #include <sys/ucontext.h>
6990 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6991 cat >>confdefs.h
<<_ACEOF
6992 #define HAVE_SYS_THR_H 1
7000 for ac_header
in pthread_np.h
7002 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7003 #include <pthread.h>
7006 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
7007 cat >>confdefs.h
<<_ACEOF
7008 #define HAVE_PTHREAD_NP_H 1
7016 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7018 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7019 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7020 #include <sys/time.h>
7022 #include <sys/types.h>
7023 #ifdef HAVE_ASM_TYPES_H
7024 #include <asm/types.h>
7027 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7028 cat >>confdefs.h
<<_ACEOF
7029 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7037 for ac_header
in libprocstat.h
7039 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7040 #include <sys/param.h>
7042 #ifdef HAVE_SYS_QUEUE_H
7043 #include <sys/queue.h>
7045 #ifdef HAVE_SYS_SOCKET_H
7046 #include <sys/socket.h>
7049 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7050 cat >>confdefs.h
<<_ACEOF
7051 #define HAVE_LIBPROCSTAT_H 1
7060 dlldir
="\${libdir}/wine"
7064 DLLFLAGS
="-D_REENTRANT"
7073 STATIC_IMPLIBEXT
="def.a"
7074 # Extract the first word of "ldd", so it can be a program name with args.
7075 set dummy ldd
; ac_word
=$2
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7077 $as_echo_n "checking for $ac_word... " >&6; }
7078 if ${ac_cv_path_LDD+:} false
; then :
7079 $as_echo_n "(cached) " >&6
7083 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7087 as_dummy
="/sbin:/usr/sbin:$PATH"
7088 for as_dir
in $as_dummy
7091 test -z "$as_dir" && as_dir
=.
7092 for ac_exec_ext
in '' $ac_executable_extensions; do
7093 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7094 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7102 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7107 if test -n "$LDD"; then
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7109 $as_echo "$LDD" >&6; }
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7112 $as_echo "no" >&6; }
7116 if test -n "$ac_tool_prefix"; then
7117 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7118 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7120 $as_echo_n "checking for $ac_word... " >&6; }
7121 if ${ac_cv_prog_READELF+:} false
; then :
7122 $as_echo_n "(cached) " >&6
7124 if test -n "$READELF"; then
7125 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7131 test -z "$as_dir" && as_dir
=.
7132 for ac_exec_ext
in '' $ac_executable_extensions; do
7133 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7134 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7144 READELF
=$ac_cv_prog_READELF
7145 if test -n "$READELF"; then
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7147 $as_echo "$READELF" >&6; }
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7150 $as_echo "no" >&6; }
7155 if test -z "$ac_cv_prog_READELF"; then
7156 ac_ct_READELF
=$READELF
7157 # Extract the first word of "readelf", so it can be a program name with args.
7158 set dummy readelf
; ac_word
=$2
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7160 $as_echo_n "checking for $ac_word... " >&6; }
7161 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7162 $as_echo_n "(cached) " >&6
7164 if test -n "$ac_ct_READELF"; then
7165 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7171 test -z "$as_dir" && as_dir
=.
7172 for ac_exec_ext
in '' $ac_executable_extensions; do
7173 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7174 ac_cv_prog_ac_ct_READELF
="readelf"
7175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7184 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7185 if test -n "$ac_ct_READELF"; then
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7187 $as_echo "$ac_ct_READELF" >&6; }
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7190 $as_echo "no" >&6; }
7193 if test "x$ac_ct_READELF" = x
; then
7196 case $cross_compiling:$ac_tool_warned in
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7200 ac_tool_warned
=yes ;;
7202 READELF
=$ac_ct_READELF
7205 READELF
="$ac_cv_prog_READELF"
7208 wine_rules_file
=conf$
$rules.
make
7209 rm -f $wine_rules_file
7211 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7212 ALL_TEST_RESOURCES
=""
7215 wine_fn_append_file
()
7217 as_fn_append
$1 " \\$as_nl $2"
7220 wine_fn_ignore_file
()
7223 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7224 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7225 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7229 wine_fn_append_rule
()
7231 $as_echo "$1" >>$wine_rules_file
7236 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7239 wine_fn_depend_rules
()
7241 wine_fn_append_rule \
7242 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7243 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7244 depend: $ac_dir/depend
7245 .PHONY: $ac_dir/depend
7246 $ac_dir/depend: \$(MAKEDEP) dummy
7247 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7250 wine_fn_pot_rules
()
7252 test "x$with_gettextpo" = xyes ||
return
7254 if wine_fn_has_flag mc
7256 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7257 wine_fn_append_rule \
7258 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7259 @cd $ac_dir && \$(MAKE) msg.pot
7260 $ac_dir/msg.pot: tools/wmc include"
7262 if wine_fn_has_flag po
7264 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7265 wine_fn_append_rule \
7266 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7267 @cd $ac_dir && \$(MAKE) rsrc.pot
7268 $ac_dir/rsrc.pot: tools/wrc include"
7272 wine_fn_all_rules
()
7274 wine_fn_depend_rules
7275 wine_fn_append_rule \
7278 $ac_dir: $ac_dir/Makefile dummy
7279 @cd $ac_dir && \$(MAKE)"
7282 wine_fn_install_rules
()
7284 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7286 wine_fn_append_rule \
7287 ".PHONY: $ac_dir/install $ac_dir/uninstall
7288 $ac_dir/install:: $ac_dir
7289 @cd $ac_dir && \$(MAKE) install
7290 $ac_dir/uninstall:: $ac_dir/Makefile
7291 @cd $ac_dir && \$(MAKE) uninstall
7292 install:: $ac_dir/install
7293 __uninstall__: $ac_dir/uninstall"
7295 if wine_fn_has_flag install-lib
7297 wine_fn_append_rule \
7298 ".PHONY: $ac_dir/install-lib
7299 $ac_dir/install-lib:: $ac_dir
7300 @cd $ac_dir && \$(MAKE) install-lib
7301 install-lib:: $ac_dir/install-lib"
7304 if wine_fn_has_flag install-dev
7306 wine_fn_append_rule \
7307 ".PHONY: $ac_dir/install-dev
7308 $ac_dir/install-dev:: $ac_dir
7309 @cd $ac_dir && \$(MAKE) install-dev
7310 install-dev:: $ac_dir/install-dev"
7314 wine_fn_clean_rules
()
7317 ac_extraclean
="$ac_dir/Makefile"
7318 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7320 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7323 if wine_fn_has_flag clean
7325 wine_fn_append_rule \
7326 "__clean__: $ac_dir/clean
7327 .PHONY: $ac_dir/clean
7328 $ac_dir/clean: $ac_dir/Makefile
7329 @cd $ac_dir && \$(MAKE) clean
7330 \$(RM) $ac_extraclean"
7332 wine_fn_append_rule \
7333 "__clean__: $ac_dir/clean
7334 .PHONY: $ac_dir/clean
7335 $ac_dir/clean: dummy
7336 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7340 wine_fn_disabled_rules
()
7343 ac_extraclean
="$ac_dir/Makefile"
7344 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7346 wine_fn_append_rule \
7347 "__clean__: $ac_dir/clean
7348 .PHONY: $ac_dir/clean
7349 $ac_dir/clean: dummy
7350 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7353 wine_fn_config_makefile
()
7359 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7360 wine_fn_disabled_rules
; return
7363 wine_fn_install_rules
7367 wine_fn_config_lib
()
7371 ac_dir
=dlls
/$ac_name
7374 if test "x$enable_tools" = xno
; then :
7377 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7382 wine_fn_append_rule \
7383 ".PHONY: $ac_dir/install $ac_dir/uninstall
7384 $ac_dir/install:: $ac_dir
7385 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7387 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7388 install install-dev:: $ac_dir/install
7389 __uninstall__: $ac_dir/uninstall
7390 __builddeps__: $ac_dir
7394 wine_fn_config_dll
()
7397 ac_dir
=dlls
/$ac_name
7400 ac_implib
=${4:-$ac_name}
7401 ac_file
=$ac_dir/lib
$ac_implib
7406 if test "x$enable_tools" = xno
; then :
7409 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7412 *16) ac_implibflags
=" -m16" ;;
7414 *) ac_dll
=$ac_dll.dll
;;
7418 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7419 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7420 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7421 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7423 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7424 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7426 wine_fn_depend_rules
7427 wine_fn_clean_rules
$ac_clean
7429 wine_fn_disabled_rules
$ac_clean
7434 wine_fn_clean_rules
$ac_clean
7435 wine_fn_append_rule \
7436 "$ac_dir: __builddeps__
7437 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7438 @cd $ac_dir && \$(MAKE) \$@
7439 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7440 install install-lib:: $ac_dir/install-lib
7441 __uninstall__: $ac_dir/uninstall"
7442 if test -n "$DLLEXT"
7444 wine_fn_append_rule \
7445 "$ac_dir/install-lib:: $ac_dir
7446 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7447 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7449 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7451 wine_fn_append_rule \
7452 "$ac_dir/install-lib:: $ac_dir
7453 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7455 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7461 if wine_fn_has_flag staticimplib
7463 wine_fn_append_rule \
7464 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7465 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7466 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7467 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7468 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7469 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7470 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7471 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7472 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7474 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7475 install install-dev:: $ac_dir/install-dev
7476 __uninstall__: $ac_dir/uninstall"
7478 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7480 wine_fn_append_rule \
7481 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7482 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7484 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7487 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7489 wine_fn_append_rule \
7490 "__builddeps__: $ac_file.cross.a
7491 $ac_file.cross.a: $ac_dir/Makefile dummy
7492 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7495 elif wine_fn_has_flag implib
7497 wine_fn_append_rule \
7498 "__builddeps__: $ac_file.$IMPLIBEXT
7499 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7500 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7501 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7502 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7503 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7504 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7505 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7507 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7508 install install-dev:: $ac_dir/install-dev
7509 __uninstall__: $ac_dir/uninstall"
7510 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7512 wine_fn_append_rule \
7513 "__builddeps__: $ac_file.cross.a
7514 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7515 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7518 if test "$ac_name" != "$ac_implib"
7520 wine_fn_append_rule \
7521 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7522 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7523 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7525 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7526 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7527 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7529 wine_fn_append_rule \
7530 "__builddeps__: dlls/lib$ac_implib.cross.a
7531 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7532 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7534 \$(RM) dlls/lib$ac_implib.cross.a"
7535 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7541 wine_fn_config_program
()
7544 ac_dir
=programs
/$ac_name
7551 *) ac_program
=$ac_program.exe
;;
7555 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7556 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7557 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7558 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7560 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7561 wine_fn_disabled_rules
$ac_clean; return
7565 wine_fn_clean_rules
$ac_clean
7566 wine_fn_append_rule
"$ac_dir: __builddeps__"
7569 wine_fn_has_flag
install ||
return
7570 wine_fn_append_rule \
7571 ".PHONY: $ac_dir/install $ac_dir/uninstall
7572 install install-lib:: $ac_dir/install
7573 __uninstall__: $ac_dir/uninstall"
7575 if test -n "$DLLEXT"
7577 wine_fn_append_rule \
7578 "$ac_dir/install:: $ac_dir
7579 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7580 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7582 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7584 if test -z "$with_wine64" && wine_fn_has_flag installbin
7586 wine_fn_append_rule \
7587 "$ac_dir/install:: __tooldeps__
7588 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7590 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7593 wine_fn_append_rule \
7594 "$ac_dir/install:: $ac_dir
7595 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7597 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7600 if test -z "$with_wine64" && wine_fn_has_flag manpage
7602 wine_fn_append_rule \
7603 "$ac_dir/install:: $ac_dir
7604 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7606 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7610 wine_fn_config_test
()
7617 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7618 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7620 if test "x$enable_tests" = xno
; then :
7621 wine_fn_disabled_rules
$ac_clean; return
7624 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7626 wine_fn_clean_rules
$ac_clean
7628 wine_fn_append_rule \
7629 "$ac_dir: programs/winetest/Makefile __builddeps__
7630 programs/winetest: $ac_dir
7631 check test: $ac_dir/test
7632 .PHONY: $ac_dir/test
7634 @cd $ac_dir && \$(MAKE) test
7636 \$(RM) $ac_dir/*.ok"
7638 if test -n "$CROSSTARGET"
7640 wine_fn_append_rule \
7641 "crosstest: $ac_dir/crosstest
7642 .PHONY: $ac_dir/crosstest
7643 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7644 @cd $ac_dir && \$(MAKE) crosstest"
7648 wine_fn_config_tool
()
7652 if test "x$enable_tools" = xno
; then :
7657 wine_fn_install_rules
7660 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7661 wine_fn_append_rule
"$ac_dir: libs/port"
7663 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7667 wine_fn_config_symlink
()
7670 if test "x$1" = "x-d"
7676 wine_fn_append_rule \
7678 @./config.status \$@
7681 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7682 test -n "$ac_linkdir" ||
return
7683 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7687 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7688 loader_programs
="$wine_binary wine-installed"
7689 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7694 install install-lib:: wine-installed
7695 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7698 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7704 if test -n "$ac_tool_prefix"; then
7705 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7706 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7708 $as_echo_n "checking for $ac_word... " >&6; }
7709 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7710 $as_echo_n "(cached) " >&6
7712 if test -n "$DLLTOOL"; then
7713 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7719 test -z "$as_dir" && as_dir
=.
7720 for ac_exec_ext
in '' $ac_executable_extensions; do
7721 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7722 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7732 DLLTOOL
=$ac_cv_prog_DLLTOOL
7733 if test -n "$DLLTOOL"; then
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7735 $as_echo "$DLLTOOL" >&6; }
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7738 $as_echo "no" >&6; }
7743 if test -z "$ac_cv_prog_DLLTOOL"; then
7744 ac_ct_DLLTOOL
=$DLLTOOL
7745 # Extract the first word of "dlltool", so it can be a program name with args.
7746 set dummy dlltool
; ac_word
=$2
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7748 $as_echo_n "checking for $ac_word... " >&6; }
7749 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7750 $as_echo_n "(cached) " >&6
7752 if test -n "$ac_ct_DLLTOOL"; then
7753 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7759 test -z "$as_dir" && as_dir
=.
7760 for ac_exec_ext
in '' $ac_executable_extensions; do
7761 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7762 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7772 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7773 if test -n "$ac_ct_DLLTOOL"; then
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7775 $as_echo "$ac_ct_DLLTOOL" >&6; }
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7778 $as_echo "no" >&6; }
7781 if test "x$ac_ct_DLLTOOL" = x
; then
7784 case $cross_compiling:$ac_tool_warned in
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7787 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7788 ac_tool_warned
=yes ;;
7790 DLLTOOL
=$ac_ct_DLLTOOL
7793 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7799 STATIC_IMPLIBEXT
="a"
7800 enable_iphlpapi
=${enable_iphlpapi:-no}
7801 enable_kernel32
=${enable_kernel32:-no}
7802 enable_msvcrt
=${enable_msvcrt:-no}
7803 enable_ntdll
=${enable_ntdll:-no}
7804 enable_ws2_32
=${enable_ws2_32:-no}
7805 enable_loader
=${enable_loader:-no}
7806 enable_server
=${enable_server:-no}
7807 with_x
=${with_x:-no}
7808 with_pthread
=${with_pthread:-no}
7814 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7818 libwine_targets
="libwine.dll libwine.a"
7820 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7822 all: libwine.dll libwine.a
7824 libwine.a: \$(srcdir)/wine.def
7825 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7827 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7828 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7830 install install-lib:: libwine.dll
7831 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7833 install install-dev:: libwine.a
7834 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7837 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7844 DLLFLAGS
="$DLLFLAGS -fPIC"
7845 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7846 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7847 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7848 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7850 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7852 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7854 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7856 CORESERVICES_LIBS
="-framework CoreServices"
7858 APPKIT_LIBS
="-framework AppKit"
7860 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7862 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7863 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7864 $as_echo_n "(cached) " >&6
7866 ac_wine_try_cflags_saved
=$CFLAGS
7867 CFLAGS
="$CFLAGS -Wl,-no_pie"
7868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7869 /* end confdefs.h. */
7870 int main(int argc, char **argv) { return 0; }
7872 if ac_fn_c_try_link
"$LINENO"; then :
7873 ac_cv_cflags__Wl__no_pie
=yes
7875 ac_cv_cflags__Wl__no_pie
=no
7877 rm -f core conftest.err conftest.
$ac_objext \
7878 conftest
$ac_exeext conftest.
$ac_ext
7879 CFLAGS
=$ac_wine_try_cflags_saved
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7882 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7883 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7884 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7886 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7888 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7891 if test "$ac_cv_header_Security_Security_h" = "yes"
7893 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7895 ac_save_LIBS
="$LIBS"
7896 LIBS
="$LIBS $SECURITY_LIBS"
7897 for ac_func
in SSLCopyPeerCertificates
7899 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7900 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7901 cat >>confdefs.h
<<_ACEOF
7902 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7908 LIBS
="$ac_save_LIBS"
7909 with_gnutls
=${with_gnutls:-no}
7911 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7913 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7915 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7918 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7921 ac_save_LIBS
="$LIBS"
7922 LIBS
="$LIBS $COREAUDIO_LIBS"
7923 for ac_func
in AUGraphAddNode
7925 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7926 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7927 cat >>confdefs.h
<<_ACEOF
7928 #define HAVE_AUGRAPHADDNODE 1
7934 LIBS
="$ac_save_LIBS"
7936 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7938 OPENAL_LIBS
="-framework OpenAL"
7941 cat >>confdefs.h
<<_ACEOF
7942 #define HAVE_OPENAL 1
7945 ac_cv_lib_openal
=yes
7947 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7949 OPENCL_LIBS
="-framework OpenCL"
7951 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7953 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7955 ac_save_LIBS
="$LIBS"
7956 LIBS
="$LIBS $IOKIT_LIBS"
7957 for ac_func
in IOHIDManagerCreate
7959 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7960 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7961 cat >>confdefs.h
<<_ACEOF
7962 #define HAVE_IOHIDMANAGERCREATE 1
7968 LIBS
="$ac_save_LIBS"
7970 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7972 ac_save_LIBS
="$LIBS"
7973 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7975 $as_echo_n "checking for the QuickTime framework... " >&6; }
7976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7977 /* end confdefs.h. */
7978 #include <QuickTime/ImageCompression.h>
7982 CodecManagerVersion(NULL);
7987 if ac_fn_c_try_link
"$LINENO"; then :
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7989 $as_echo "yes" >&6; }
7990 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7992 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7995 $as_echo "no" >&6; }
7996 ac_cv_header_QuickTime_ImageCompression_h
=no
7998 rm -f core conftest.err conftest.
$ac_objext \
7999 conftest
$ac_exeext conftest.
$ac_ext
8000 LIBS
="$ac_save_LIBS"
8002 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8004 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8006 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8008 CARBON_LIBS
="-framework Carbon"
8012 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8014 ac_save_LIBS
="$LIBS"
8015 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8016 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8017 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8018 enable_winemac_drv
=${enable_winemac_drv:-yes}
8021 LIBS
="$ac_save_LIBS"
8024 if test "x$enable_win16" = "xyes"
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8027 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8028 if test "$cross_compiling" = yes; then :
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8030 $as_echo "cross-compiling, assuming yes" >&6; }
8032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8033 /* end confdefs.h. */
8036 "good:\tnop;nop\n\t"
8037 ".globl _testfunc\n"
8038 "_testfunc:\tcallw good");
8039 extern void testfunc();
8043 unsigned short *p = (unsigned short *)testfunc;
8044 return p[0] != 0xe866 || p[1] != 0xfffa
8049 if ac_fn_c_try_run
"$LINENO"; then :
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8051 $as_echo "yes" >&6; }
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8054 $as_echo "no" >&6; }
8055 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
8057 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8058 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8063 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8065 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8069 libwine.$libwine_version.dylib: \$(OBJS)
8070 \$(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 \$@
8072 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8073 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8075 libwine.dylib: libwine.$libwine_soversion.dylib
8076 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8078 install install-lib:: libwine.$libwine_version.dylib
8079 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8080 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8082 install install-dev::
8083 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8086 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8090 as_fn_append LOADER_RULES
"
8091 $wine_binary: main.o wine_info.plist
8092 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8094 wine-installed: main.o wine_info.plist
8095 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8100 DLLFLAGS
="$DLLFLAGS -fPIC"
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8105 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8106 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8107 $as_echo_n "(cached) " >&6
8109 ac_wine_try_cflags_saved
=$CFLAGS
8110 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8112 /* end confdefs.h. */
8113 int main(int argc, char **argv) { return 0; }
8115 if ac_fn_c_try_link
"$LINENO"; then :
8116 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8118 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8120 rm -f core conftest.err conftest.
$ac_objext \
8121 conftest
$ac_exeext conftest.
$ac_ext
8122 CFLAGS
=$ac_wine_try_cflags_saved
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8125 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8126 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8127 LDEXECFLAGS
="-Wl,--export-dynamic"
8129 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8131 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8132 if eval \
${$as_ac_var+:} false
; then :
8133 $as_echo_n "(cached) " >&6
8135 ac_wine_try_cflags_saved
=$CFLAGS
8136 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8138 /* end confdefs.h. */
8139 int main(int argc, char **argv) { return 0; }
8141 if ac_fn_c_try_link
"$LINENO"; then :
8142 eval "$as_ac_var=yes"
8144 eval "$as_ac_var=no"
8146 rm -f core conftest.err conftest.
$ac_objext \
8147 conftest
$ac_exeext conftest.
$ac_ext
8148 CFLAGS
=$ac_wine_try_cflags_saved
8150 eval ac_res
=\$
$as_ac_var
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8152 $as_echo "$ac_res" >&6; }
8153 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8154 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8155 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8157 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8159 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8160 if eval \
${$as_ac_var+:} false
; then :
8161 $as_echo_n "(cached) " >&6
8163 ac_wine_try_cflags_saved
=$CFLAGS
8164 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8166 /* end confdefs.h. */
8167 int main(int argc, char **argv) { return 0; }
8169 if ac_fn_c_try_link
"$LINENO"; then :
8170 eval "$as_ac_var=yes"
8172 eval "$as_ac_var=no"
8174 rm -f core conftest.err conftest.
$ac_objext \
8175 conftest
$ac_exeext conftest.
$ac_ext
8176 CFLAGS
=$ac_wine_try_cflags_saved
8178 eval ac_res
=\$
$as_ac_var
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8180 $as_echo "$ac_res" >&6; }
8181 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8182 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8183 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8188 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8189 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8190 $as_echo_n "(cached) " >&6
8192 ac_wine_try_cflags_saved
=$CFLAGS
8193 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8195 /* end confdefs.h. */
8196 int main(int argc, char **argv) { return 0; }
8198 if ac_fn_c_try_link
"$LINENO"; then :
8199 ac_cv_cflags__Wl___enable_new_dtags
=yes
8201 ac_cv_cflags__Wl___enable_new_dtags
=no
8203 rm -f core conftest.err conftest.
$ac_objext \
8204 conftest
$ac_exeext conftest.
$ac_ext
8205 CFLAGS
=$ac_wine_try_cflags_saved
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8208 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8209 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8210 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8214 *i
[3456789]86* | x86_64
)
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8216 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8217 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8218 $as_echo_n "(cached) " >&6
8220 ac_wine_try_cflags_saved
=$CFLAGS
8221 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8223 /* end confdefs.h. */
8224 int main(int argc, char **argv) { return 0; }
8226 if ac_fn_c_try_link
"$LINENO"; then :
8227 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8229 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8231 rm -f core conftest.err conftest.
$ac_objext \
8232 conftest
$ac_exeext conftest.
$ac_ext
8233 CFLAGS
=$ac_wine_try_cflags_saved
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8236 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8237 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8238 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8243 libwine_targets
="libwine.so"
8245 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8249 libwine.so: \$(OBJS)
8250 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8252 install install-lib:: libwine.so
8253 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8256 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8260 as_fn_append LOADER_RULES
"
8261 $wine_binary: main.o
8262 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8264 wine-installed: main.o
8265 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8270 DLLFLAGS
="$DLLFLAGS -fPIC"
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8273 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8274 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8275 $as_echo_n "(cached) " >&6
8277 ac_wine_try_cflags_saved
=$CFLAGS
8278 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8280 /* end confdefs.h. */
8283 if ac_fn_c_try_link
"$LINENO"; then :
8284 ac_cv_c_dll_gnuelf
="yes"
8286 ac_cv_c_dll_gnuelf
="no"
8288 rm -f core conftest.err conftest.
$ac_objext \
8289 conftest
$ac_exeext conftest.
$ac_ext
8290 CFLAGS
=$ac_wine_try_cflags_saved
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8293 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8294 if test "$ac_cv_c_dll_gnuelf" = "yes"
8296 LDSHARED
="\$(CC) -shared"
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8298 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8299 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8300 $as_echo_n "(cached) " >&6
8302 ac_wine_try_cflags_saved
=$CFLAGS
8303 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8305 /* end confdefs.h. */
8306 int main(int argc, char **argv) { return 0; }
8308 if ac_fn_c_try_link
"$LINENO"; then :
8309 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8311 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8313 rm -f core conftest.err conftest.
$ac_objext \
8314 conftest
$ac_exeext conftest.
$ac_ext
8315 CFLAGS
=$ac_wine_try_cflags_saved
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8318 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8319 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8320 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8323 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8324 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8325 $as_echo_n "(cached) " >&6
8327 ac_wine_try_cflags_saved
=$CFLAGS
8328 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8330 /* end confdefs.h. */
8331 int main(int argc, char **argv) { return 0; }
8333 if ac_fn_c_try_link
"$LINENO"; then :
8334 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8336 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8338 rm -f core conftest.err conftest.
$ac_objext \
8339 conftest
$ac_exeext conftest.
$ac_ext
8340 CFLAGS
=$ac_wine_try_cflags_saved
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8343 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8344 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8345 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8349 echo '{ global: *; };' >conftest.map
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8351 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8352 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8353 $as_echo_n "(cached) " >&6
8355 ac_wine_try_cflags_saved
=$CFLAGS
8356 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8358 /* end confdefs.h. */
8359 int main(int argc, char **argv) { return 0; }
8361 if ac_fn_c_try_link
"$LINENO"; then :
8362 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8364 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8366 rm -f core conftest.err conftest.
$ac_objext \
8367 conftest
$ac_exeext conftest.
$ac_ext
8368 CFLAGS
=$ac_wine_try_cflags_saved
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8371 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8372 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8373 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8378 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8379 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8380 $as_echo_n "(cached) " >&6
8382 ac_wine_try_cflags_saved
=$CFLAGS
8383 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8385 /* end confdefs.h. */
8386 int main(int argc, char **argv) { return 0; }
8388 if ac_fn_c_try_link
"$LINENO"; then :
8389 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8391 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8393 rm -f core conftest.err conftest.
$ac_objext \
8394 conftest
$ac_exeext conftest.
$ac_ext
8395 CFLAGS
=$ac_wine_try_cflags_saved
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8398 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8399 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8400 LDEXECFLAGS
="-Wl,--export-dynamic"
8403 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8405 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8406 if eval \
${$as_ac_var+:} false
; then :
8407 $as_echo_n "(cached) " >&6
8409 ac_wine_try_cflags_saved
=$CFLAGS
8410 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8412 /* end confdefs.h. */
8413 int main(int argc, char **argv) { return 0; }
8415 if ac_fn_c_try_link
"$LINENO"; then :
8416 eval "$as_ac_var=yes"
8418 eval "$as_ac_var=no"
8420 rm -f core conftest.err conftest.
$ac_objext \
8421 conftest
$ac_exeext conftest.
$ac_ext
8422 CFLAGS
=$ac_wine_try_cflags_saved
8424 eval ac_res
=\$
$as_ac_var
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8426 $as_echo "$ac_res" >&6; }
8427 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8428 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8429 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8431 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8433 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8434 if eval \
${$as_ac_var+:} false
; then :
8435 $as_echo_n "(cached) " >&6
8437 ac_wine_try_cflags_saved
=$CFLAGS
8438 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8440 /* end confdefs.h. */
8441 int main(int argc, char **argv) { return 0; }
8443 if ac_fn_c_try_link
"$LINENO"; then :
8444 eval "$as_ac_var=yes"
8446 eval "$as_ac_var=no"
8448 rm -f core conftest.err conftest.
$ac_objext \
8449 conftest
$ac_exeext conftest.
$ac_ext
8450 CFLAGS
=$ac_wine_try_cflags_saved
8452 eval ac_res
=\$
$as_ac_var
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8454 $as_echo "$ac_res" >&6; }
8455 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8456 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8457 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8462 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8463 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8464 $as_echo_n "(cached) " >&6
8466 ac_wine_try_cflags_saved
=$CFLAGS
8467 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8469 /* end confdefs.h. */
8470 int main(int argc, char **argv) { return 0; }
8472 if ac_fn_c_try_link
"$LINENO"; then :
8473 ac_cv_cflags__Wl___enable_new_dtags
=yes
8475 ac_cv_cflags__Wl___enable_new_dtags
=no
8477 rm -f core conftest.err conftest.
$ac_objext \
8478 conftest
$ac_exeext conftest.
$ac_ext
8479 CFLAGS
=$ac_wine_try_cflags_saved
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8482 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8483 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8484 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8488 *i
[3456789]86* | x86_64
)
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8490 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8491 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8492 $as_echo_n "(cached) " >&6
8494 ac_wine_try_cflags_saved
=$CFLAGS
8495 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8497 /* end confdefs.h. */
8498 int main(int argc, char **argv) { return 0; }
8500 if ac_fn_c_try_link
"$LINENO"; then :
8501 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8503 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8505 rm -f core conftest.err conftest.
$ac_objext \
8506 conftest
$ac_exeext conftest.
$ac_ext
8507 CFLAGS
=$ac_wine_try_cflags_saved
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8510 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8511 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8513 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8514 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8518 # Extract the first word of "prelink", so it can be a program name with args.
8519 set dummy prelink
; ac_word
=$2
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8521 $as_echo_n "checking for $ac_word... " >&6; }
8522 if ${ac_cv_path_PRELINK+:} false
; then :
8523 $as_echo_n "(cached) " >&6
8527 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8531 for as_dir
in /sbin
/usr
/sbin
$PATH
8534 test -z "$as_dir" && as_dir
=.
8535 for ac_exec_ext
in '' $ac_executable_extensions; do
8536 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8537 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8545 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8549 PRELINK
=$ac_cv_path_PRELINK
8550 if test -n "$PRELINK"; then
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8552 $as_echo "$PRELINK" >&6; }
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8555 $as_echo "no" >&6; }
8559 if test "x$PRELINK" = xfalse
8561 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8568 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8569 if ${ac_cv_c_dll_unixware+:} false
; then :
8570 $as_echo_n "(cached) " >&6
8572 ac_wine_try_cflags_saved
=$CFLAGS
8573 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8575 /* end confdefs.h. */
8578 if ac_fn_c_try_link
"$LINENO"; then :
8579 ac_cv_c_dll_unixware
="yes"
8581 ac_cv_c_dll_unixware
="no"
8583 rm -f core conftest.err conftest.
$ac_objext \
8584 conftest
$ac_exeext conftest.
$ac_ext
8585 CFLAGS
=$ac_wine_try_cflags_saved
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8588 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8589 if test "$ac_cv_c_dll_unixware" = "yes"
8591 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8594 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8596 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8600 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8601 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8603 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8604 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8606 libwine.so: libwine.so.$libwine_soversion
8607 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8609 install install-lib:: libwine.so.$libwine_version
8610 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8611 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8613 install install-dev::
8614 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8617 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8621 as_fn_append LOADER_RULES
"
8622 $wine_binary: main.o
8623 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8625 wine-installed: main.o
8626 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8631 as_fn_append LIBWINE_RULES
"
8632 EXTRA_TARGETS = $libwine_targets
8635 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8636 enable_winemac_drv
=${enable_winemac_drv:-no}
8640 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8644 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
8647 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 " ;;
8649 ac_prefix_list
="" ;;
8651 for ac_prog
in $ac_prefix_list
8653 # Extract the first word of "$ac_prog", so it can be a program name with args.
8654 set dummy
$ac_prog; ac_word
=$2
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8656 $as_echo_n "checking for $ac_word... " >&6; }
8657 if ${ac_cv_prog_CROSSCC+:} false
; then :
8658 $as_echo_n "(cached) " >&6
8660 if test -n "$CROSSCC"; then
8661 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8667 test -z "$as_dir" && as_dir
=.
8668 for ac_exec_ext
in '' $ac_executable_extensions; do
8669 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8670 ac_cv_prog_CROSSCC
="$ac_prog"
8671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8680 CROSSCC
=$ac_cv_prog_CROSSCC
8681 if test -n "$CROSSCC"; then
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8683 $as_echo "$CROSSCC" >&6; }
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8686 $as_echo "no" >&6; }
8690 test -n "$CROSSCC" && break
8692 test -n "$CROSSCC" || CROSSCC
="false"
8694 if test "$CROSSCC" != "false"
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8699 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8701 /* end confdefs.h. */
8711 if ac_fn_c_try_compile
"$LINENO"; then :
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8713 $as_echo "yes" >&6; }
8719 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8725 $as_echo "no" >&6; }
8727 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8733 if test "$ac_cv_header_pthread_h" = "yes"
8735 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8736 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8740 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8741 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8742 $as_echo_n "(cached) " >&6
8744 ac_check_lib_save_LIBS
=$LIBS
8745 LIBS
="-lpthread $LIBS"
8746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8747 /* end confdefs.h. */
8749 /* Override any GCC internal prototype to avoid an error.
8750 Use char because int might match the return type of a GCC
8751 builtin and then its argument prototype would still apply. */
8755 char pthread_create ();
8759 return pthread_create ();
8764 if ac_fn_c_try_link
"$LINENO"; then :
8765 ac_cv_lib_pthread_pthread_create
=yes
8767 ac_cv_lib_pthread_pthread_create
=no
8769 rm -f core conftest.err conftest.
$ac_objext \
8770 conftest
$ac_exeext conftest.
$ac_ext
8771 LIBS
=$ac_check_lib_save_LIBS
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8774 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8775 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8776 PTHREAD_LIBS
="-lpthread"
8783 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8784 case "x$with_pthread" in
8786 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8787 Wine cannot support threads without libpthread.
8788 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8794 $as_echo_n "checking for X... " >&6; }
8797 # Check whether --with-x was given.
8798 if test "${with_x+set}" = set; then :
8802 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8803 if test "x$with_x" = xno
; then
8804 # The user explicitly disabled X.
8807 case $x_includes,$x_libraries in #(
8808 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8809 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8810 $as_echo_n "(cached) " >&6
8812 # One or both of the vars are not set, and there is no cached value.
8813 ac_x_includes
=no ac_x_libraries
=no
8814 rm -f -r conftest.dir
8815 if mkdir conftest.dir
; then
8817 cat >Imakefile
<<'_ACEOF'
8819 @echo incroot='${INCROOT}'
8821 @echo usrlibdir='${USRLIBDIR}'
8823 @echo libdir='${LIBDIR}'
8825 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8826 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8827 for ac_var
in incroot usrlibdir libdir
; do
8828 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8830 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8831 for ac_extension
in a so sl dylib la dll
; do
8832 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8833 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8834 ac_im_usrlibdir
=$ac_im_libdir; break
8837 # Screen out bogus values from the imake configuration. They are
8838 # bogus both because they are the default anyway, and because
8839 # using them would break gcc on systems where it needs fixed includes.
8840 case $ac_im_incroot in
8841 /usr
/include
) ac_x_includes
= ;;
8842 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8844 case $ac_im_usrlibdir in
8845 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8846 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8850 rm -f -r conftest.dir
8853 # Standard set of common directories for X headers.
8854 # Check X11 before X11Rn because it is often a symlink to the current release.
8868 /usr/local/X11/include
8869 /usr/local/X11R7/include
8870 /usr/local/X11R6/include
8871 /usr/local/X11R5/include
8872 /usr/local/X11R4/include
8874 /usr/local/include/X11
8875 /usr/local/include/X11R7
8876 /usr/local/include/X11R6
8877 /usr/local/include/X11R5
8878 /usr/local/include/X11R4
8882 /usr/XFree86/include/X11
8886 /usr/unsupported/include
8888 /usr/local/x11r5/include
8889 /usr/lpp/Xamples/include
8891 /usr/openwin/include
8892 /usr/openwin/share/include'
8894 if test "$ac_x_includes" = no
; then
8895 # Guess where to find include files, by looking for Xlib.h.
8896 # First, try using that file with no special directory specified.
8897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8898 /* end confdefs.h. */
8899 #include <X11/Xlib.h>
8901 if ac_fn_c_try_cpp
"$LINENO"; then :
8902 # We can compile using X headers with no special include directory.
8905 for ac_dir
in $ac_x_header_dirs; do
8906 if test -r "$ac_dir/X11/Xlib.h"; then
8907 ac_x_includes
=$ac_dir
8912 rm -f conftest.err conftest.i conftest.
$ac_ext
8913 fi # $ac_x_includes = no
8915 if test "$ac_x_libraries" = no
; then
8916 # Check for the libraries.
8917 # See if we find them without any special options.
8918 # Don't add to $LIBS permanently.
8921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8922 /* end confdefs.h. */
8923 #include <X11/Xlib.h>
8932 if ac_fn_c_try_link
"$LINENO"; then :
8934 # We can link X programs with no special library path.
8938 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8940 # Don't even attempt the hair of trying to link an X program!
8941 for ac_extension
in a so sl dylib la dll
; do
8942 if test -r "$ac_dir/libX11.$ac_extension"; then
8943 ac_x_libraries
=$ac_dir
8949 rm -f core conftest.err conftest.
$ac_objext \
8950 conftest
$ac_exeext conftest.
$ac_ext
8951 fi # $ac_x_libraries = no
8953 case $ac_x_includes,$ac_x_libraries in #(
8955 # Didn't find X, or a directory has "'" in its name.
8956 ac_cv_have_x
="have_x=no";; #(
8958 # Record where we found X for the cache.
8959 ac_cv_have_x
="have_x=yes\
8960 ac_x_includes='$ac_x_includes'\
8961 ac_x_libraries='$ac_x_libraries'"
8967 eval "$ac_cv_have_x"
8970 if test "$have_x" != yes; then
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8972 $as_echo "$have_x" >&6; }
8975 # If each of the values was on the command line, it overrides each guess.
8976 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8977 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8978 # Update the cache value to reflect the command line values.
8979 ac_cv_have_x
="have_x=yes\
8980 ac_x_includes='$x_includes'\
8981 ac_x_libraries='$x_libraries'"
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8983 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8986 if test "$no_x" = yes; then
8987 # Not all programs may use this symbol, but it does not hurt to define it.
8989 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8991 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8993 if test -n "$x_includes"; then
8994 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8997 # It would also be nice to do this for all -L options, not just this one.
8998 if test -n "$x_libraries"; then
8999 X_LIBS
="$X_LIBS -L$x_libraries"
9000 # For Solaris; some versions of Sun CC require a space after -R and
9001 # others require no space. Words are not sufficient . . . .
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9003 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9004 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
9005 ac_xsave_c_werror_flag
=$ac_c_werror_flag
9006 ac_c_werror_flag
=yes
9007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9008 /* end confdefs.h. */
9018 if ac_fn_c_try_link
"$LINENO"; then :
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9020 $as_echo "no" >&6; }
9021 X_LIBS
="$X_LIBS -R$x_libraries"
9023 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9025 /* end confdefs.h. */
9035 if ac_fn_c_try_link
"$LINENO"; then :
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9037 $as_echo "yes" >&6; }
9038 X_LIBS
="$X_LIBS -R $x_libraries"
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9041 $as_echo "neither works" >&6; }
9043 rm -f core conftest.err conftest.
$ac_objext \
9044 conftest
$ac_exeext conftest.
$ac_ext
9046 rm -f core conftest.err conftest.
$ac_objext \
9047 conftest
$ac_exeext conftest.
$ac_ext
9048 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9052 # Check for system-dependent libraries X programs must link with.
9053 # Do this before checking for the system-independent R6 libraries
9054 # (-lICE), since we may need -lsocket or whatever for X linking.
9056 if test "$ISC" = yes; then
9057 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9059 # Martyn Johnson says this is needed for Ultrix, if the X
9060 # libraries were built with DECnet support. And Karl Berry says
9061 # the Alpha needs dnet_stub (dnet does not exist).
9062 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9064 /* end confdefs.h. */
9066 /* Override any GCC internal prototype to avoid an error.
9067 Use char because int might match the return type of a GCC
9068 builtin and then its argument prototype would still apply. */
9072 char XOpenDisplay ();
9076 return XOpenDisplay ();
9081 if ac_fn_c_try_link
"$LINENO"; then :
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9085 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9086 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9087 $as_echo_n "(cached) " >&6
9089 ac_check_lib_save_LIBS
=$LIBS
9091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9092 /* end confdefs.h. */
9094 /* Override any GCC internal prototype to avoid an error.
9095 Use char because int might match the return type of a GCC
9096 builtin and then its argument prototype would still apply. */
9104 return dnet_ntoa ();
9109 if ac_fn_c_try_link
"$LINENO"; then :
9110 ac_cv_lib_dnet_dnet_ntoa
=yes
9112 ac_cv_lib_dnet_dnet_ntoa
=no
9114 rm -f core conftest.err conftest.
$ac_objext \
9115 conftest
$ac_exeext conftest.
$ac_ext
9116 LIBS
=$ac_check_lib_save_LIBS
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9119 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9120 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9121 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9124 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9126 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9127 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9128 $as_echo_n "(cached) " >&6
9130 ac_check_lib_save_LIBS
=$LIBS
9131 LIBS
="-ldnet_stub $LIBS"
9132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9133 /* end confdefs.h. */
9135 /* Override any GCC internal prototype to avoid an error.
9136 Use char because int might match the return type of a GCC
9137 builtin and then its argument prototype would still apply. */
9145 return dnet_ntoa ();
9150 if ac_fn_c_try_link
"$LINENO"; then :
9151 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9153 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9155 rm -f core conftest.err conftest.
$ac_objext \
9156 conftest
$ac_exeext conftest.
$ac_ext
9157 LIBS
=$ac_check_lib_save_LIBS
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9160 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9161 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9162 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9167 rm -f core conftest.err conftest.
$ac_objext \
9168 conftest
$ac_exeext conftest.
$ac_ext
9169 LIBS
="$ac_xsave_LIBS"
9171 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9172 # to get the SysV transport functions.
9173 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9175 # The nsl library prevents programs from opening the X display
9176 # on Irix 5.2, according to T.E. Dickey.
9177 # The functions gethostbyname, getservbyname, and inet_addr are
9178 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9179 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9180 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9184 if test $ac_cv_func_gethostbyname = no
; then
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9186 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9187 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9188 $as_echo_n "(cached) " >&6
9190 ac_check_lib_save_LIBS
=$LIBS
9192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9193 /* end confdefs.h. */
9195 /* Override any GCC internal prototype to avoid an error.
9196 Use char because int might match the return type of a GCC
9197 builtin and then its argument prototype would still apply. */
9201 char gethostbyname ();
9205 return gethostbyname ();
9210 if ac_fn_c_try_link
"$LINENO"; then :
9211 ac_cv_lib_nsl_gethostbyname
=yes
9213 ac_cv_lib_nsl_gethostbyname
=no
9215 rm -f core conftest.err conftest.
$ac_objext \
9216 conftest
$ac_exeext conftest.
$ac_ext
9217 LIBS
=$ac_check_lib_save_LIBS
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9220 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9221 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9222 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9225 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9227 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9228 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9229 $as_echo_n "(cached) " >&6
9231 ac_check_lib_save_LIBS
=$LIBS
9233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9234 /* end confdefs.h. */
9236 /* Override any GCC internal prototype to avoid an error.
9237 Use char because int might match the return type of a GCC
9238 builtin and then its argument prototype would still apply. */
9242 char gethostbyname ();
9246 return gethostbyname ();
9251 if ac_fn_c_try_link
"$LINENO"; then :
9252 ac_cv_lib_bsd_gethostbyname
=yes
9254 ac_cv_lib_bsd_gethostbyname
=no
9256 rm -f core conftest.err conftest.
$ac_objext \
9257 conftest
$ac_exeext conftest.
$ac_ext
9258 LIBS
=$ac_check_lib_save_LIBS
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9261 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9262 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9263 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9269 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9270 # socket/setsockopt and other routines are undefined under SCO ODT
9271 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9272 # on later versions), says Simon Leinen: it contains gethostby*
9273 # variants that don't use the name server (or something). -lsocket
9274 # must be given before -lnsl if both are needed. We assume that
9275 # if connect needs -lnsl, so does gethostbyname.
9276 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9277 if test "x$ac_cv_func_connect" = xyes
; then :
9281 if test $ac_cv_func_connect = no
; then
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9283 $as_echo_n "checking for connect in -lsocket... " >&6; }
9284 if ${ac_cv_lib_socket_connect+:} false
; then :
9285 $as_echo_n "(cached) " >&6
9287 ac_check_lib_save_LIBS
=$LIBS
9288 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9290 /* end confdefs.h. */
9292 /* Override any GCC internal prototype to avoid an error.
9293 Use char because int might match the return type of a GCC
9294 builtin and then its argument prototype would still apply. */
9307 if ac_fn_c_try_link
"$LINENO"; then :
9308 ac_cv_lib_socket_connect
=yes
9310 ac_cv_lib_socket_connect
=no
9312 rm -f core conftest.err conftest.
$ac_objext \
9313 conftest
$ac_exeext conftest.
$ac_ext
9314 LIBS
=$ac_check_lib_save_LIBS
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9317 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9318 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9319 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9324 # Guillermo Gomez says -lposix is necessary on A/UX.
9325 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9326 if test "x$ac_cv_func_remove" = xyes
; then :
9330 if test $ac_cv_func_remove = no
; then
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9332 $as_echo_n "checking for remove in -lposix... " >&6; }
9333 if ${ac_cv_lib_posix_remove+:} false
; then :
9334 $as_echo_n "(cached) " >&6
9336 ac_check_lib_save_LIBS
=$LIBS
9337 LIBS
="-lposix $LIBS"
9338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9339 /* end confdefs.h. */
9341 /* Override any GCC internal prototype to avoid an error.
9342 Use char because int might match the return type of a GCC
9343 builtin and then its argument prototype would still apply. */
9356 if ac_fn_c_try_link
"$LINENO"; then :
9357 ac_cv_lib_posix_remove
=yes
9359 ac_cv_lib_posix_remove
=no
9361 rm -f core conftest.err conftest.
$ac_objext \
9362 conftest
$ac_exeext conftest.
$ac_ext
9363 LIBS
=$ac_check_lib_save_LIBS
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9366 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9367 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9368 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9373 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9374 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9375 if test "x$ac_cv_func_shmat" = xyes
; then :
9379 if test $ac_cv_func_shmat = no
; then
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9381 $as_echo_n "checking for shmat in -lipc... " >&6; }
9382 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9383 $as_echo_n "(cached) " >&6
9385 ac_check_lib_save_LIBS
=$LIBS
9387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9388 /* end confdefs.h. */
9390 /* Override any GCC internal prototype to avoid an error.
9391 Use char because int might match the return type of a GCC
9392 builtin and then its argument prototype would still apply. */
9405 if ac_fn_c_try_link
"$LINENO"; then :
9406 ac_cv_lib_ipc_shmat
=yes
9408 ac_cv_lib_ipc_shmat
=no
9410 rm -f core conftest.err conftest.
$ac_objext \
9411 conftest
$ac_exeext conftest.
$ac_ext
9412 LIBS
=$ac_check_lib_save_LIBS
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9415 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9416 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9417 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9423 # Check for libraries that X11R6 Xt/Xaw programs need.
9424 ac_save_LDFLAGS
=$LDFLAGS
9425 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9426 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9427 # check for ICE first), but we must link in the order -lSM -lICE or
9428 # we get undefined symbols. So assume we have SM if we have ICE.
9429 # These have to be linked with before -lX11, unlike the other
9430 # libraries we check for below, so use a different variable.
9431 # John Interrante, Karl Berry
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9433 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9434 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9435 $as_echo_n "(cached) " >&6
9437 ac_check_lib_save_LIBS
=$LIBS
9438 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9440 /* end confdefs.h. */
9442 /* Override any GCC internal prototype to avoid an error.
9443 Use char because int might match the return type of a GCC
9444 builtin and then its argument prototype would still apply. */
9448 char IceConnectionNumber ();
9452 return IceConnectionNumber ();
9457 if ac_fn_c_try_link
"$LINENO"; then :
9458 ac_cv_lib_ICE_IceConnectionNumber
=yes
9460 ac_cv_lib_ICE_IceConnectionNumber
=no
9462 rm -f core conftest.err conftest.
$ac_objext \
9463 conftest
$ac_exeext conftest.
$ac_ext
9464 LIBS
=$ac_check_lib_save_LIBS
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9467 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9468 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9469 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9472 LDFLAGS
=$ac_save_LDFLAGS
9477 if test "$have_x" = "yes"
9479 ac_save_CPPFLAGS
="$CPPFLAGS"
9480 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9483 $as_echo_n "checking for -lX11... " >&6; }
9484 if ${ac_cv_lib_soname_X11+:} false
; then :
9485 $as_echo_n "(cached) " >&6
9487 ac_check_soname_save_LIBS
=$LIBS
9488 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9490 /* end confdefs.h. */
9492 /* Override any GCC internal prototype to avoid an error.
9493 Use char because int might match the return type of a GCC
9494 builtin and then its argument prototype would still apply. */
9498 char XCreateWindow ();
9502 return XCreateWindow ();
9507 if ac_fn_c_try_link
"$LINENO"; then :
9509 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9510 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'` ;;
9511 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9512 if ${ac_cv_lib_soname_X11:+false} :; then :
9513 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9517 rm -f core conftest.err conftest.
$ac_objext \
9518 conftest
$ac_exeext conftest.
$ac_ext
9519 LIBS
=$ac_check_soname_save_LIBS
9521 if ${ac_cv_lib_soname_X11:+false} :; then :
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9523 $as_echo "not found" >&6; }
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9527 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9529 cat >>confdefs.h
<<_ACEOF
9530 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9536 $as_echo_n "checking for -lXext... " >&6; }
9537 if ${ac_cv_lib_soname_Xext+:} false
; then :
9538 $as_echo_n "(cached) " >&6
9540 ac_check_soname_save_LIBS
=$LIBS
9541 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9543 /* end confdefs.h. */
9545 /* Override any GCC internal prototype to avoid an error.
9546 Use char because int might match the return type of a GCC
9547 builtin and then its argument prototype would still apply. */
9551 char XextCreateExtension ();
9555 return XextCreateExtension ();
9560 if ac_fn_c_try_link
"$LINENO"; then :
9562 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9563 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'` ;;
9564 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9565 if ${ac_cv_lib_soname_Xext:+false} :; then :
9566 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9570 rm -f core conftest.err conftest.
$ac_objext \
9571 conftest
$ac_exeext conftest.
$ac_ext
9572 LIBS
=$ac_check_soname_save_LIBS
9574 if ${ac_cv_lib_soname_Xext:+false} :; then :
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9576 $as_echo "not found" >&6; }
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9580 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9582 cat >>confdefs.h
<<_ACEOF
9583 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9586 X_LIBS
="$X_LIBS -lXext"
9588 X_LIBS
="$X_LIBS -lX11"
9590 for ac_header
in X11
/Xlib.h \
9593 X11
/Xcursor
/Xcursor.h \
9594 X11
/extensions
/shape.h \
9595 X11
/extensions
/XInput.h \
9596 X11
/extensions
/XInput2.h \
9597 X11
/extensions
/XShm.h \
9598 X11
/extensions
/Xcomposite.h \
9599 X11
/extensions
/Xinerama.h \
9600 X11
/extensions
/Xrandr.h \
9601 X11
/extensions
/Xrender.h \
9602 X11
/extensions
/xf86vmode.h \
9603 X11
/extensions
/xf86vmproto.h
9605 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9606 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9607 # include <X11/Xlib.h>
9609 #ifdef HAVE_X11_XUTIL_H
9610 # include <X11/Xutil.h>
9613 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9614 cat >>confdefs.h
<<_ACEOF
9615 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9623 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9626 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9627 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9628 $as_echo_n "(cached) " >&6
9630 ac_check_lib_save_LIBS
=$LIBS
9631 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9633 /* end confdefs.h. */
9635 /* Override any GCC internal prototype to avoid an error.
9636 Use char because int might match the return type of a GCC
9637 builtin and then its argument prototype would still apply. */
9641 char XkbQueryExtension ();
9645 return XkbQueryExtension ();
9650 if ac_fn_c_try_link
"$LINENO"; then :
9651 ac_cv_lib_X11_XkbQueryExtension
=yes
9653 ac_cv_lib_X11_XkbQueryExtension
=no
9655 rm -f core conftest.err conftest.
$ac_objext \
9656 conftest
$ac_exeext conftest.
$ac_ext
9657 LIBS
=$ac_check_lib_save_LIBS
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9660 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9661 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9663 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9669 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9672 $as_echo_n "checking for -lXcursor... " >&6; }
9673 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9674 $as_echo_n "(cached) " >&6
9676 ac_check_soname_save_LIBS
=$LIBS
9677 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9679 /* end confdefs.h. */
9681 /* Override any GCC internal prototype to avoid an error.
9682 Use char because int might match the return type of a GCC
9683 builtin and then its argument prototype would still apply. */
9687 char XcursorImageLoadCursor ();
9691 return XcursorImageLoadCursor ();
9696 if ac_fn_c_try_link
"$LINENO"; then :
9698 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9699 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'` ;;
9700 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9701 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9702 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9706 rm -f core conftest.err conftest.
$ac_objext \
9707 conftest
$ac_exeext conftest.
$ac_ext
9708 LIBS
=$ac_check_soname_save_LIBS
9710 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9712 $as_echo "not found" >&6; }
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9716 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9718 cat >>confdefs.h
<<_ACEOF
9719 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9725 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9726 case "x$with_xcursor" in
9727 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9729 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9730 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9734 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9737 $as_echo_n "checking for -lXi... " >&6; }
9738 if ${ac_cv_lib_soname_Xi+:} false
; then :
9739 $as_echo_n "(cached) " >&6
9741 ac_check_soname_save_LIBS
=$LIBS
9742 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9744 /* end confdefs.h. */
9746 /* Override any GCC internal prototype to avoid an error.
9747 Use char because int might match the return type of a GCC
9748 builtin and then its argument prototype would still apply. */
9752 char XOpenDevice ();
9756 return XOpenDevice ();
9761 if ac_fn_c_try_link
"$LINENO"; then :
9763 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9764 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'` ;;
9765 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9766 if ${ac_cv_lib_soname_Xi:+false} :; then :
9767 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9771 rm -f core conftest.err conftest.
$ac_objext \
9772 conftest
$ac_exeext conftest.
$ac_ext
9773 LIBS
=$ac_check_soname_save_LIBS
9775 if ${ac_cv_lib_soname_Xi:+false} :; then :
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9777 $as_echo "not found" >&6; }
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9781 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9783 cat >>confdefs.h
<<_ACEOF
9784 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9790 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9791 case "x$with_xinput" in
9792 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9794 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9795 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9799 if test "x$ac_cv_lib_soname_Xi" != x
9801 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9802 case "x$with_xinput2" in
9803 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9805 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9806 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9811 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9814 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9815 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9816 $as_echo_n "(cached) " >&6
9818 ac_check_lib_save_LIBS
=$LIBS
9819 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9821 /* end confdefs.h. */
9823 /* Override any GCC internal prototype to avoid an error.
9824 Use char because int might match the return type of a GCC
9825 builtin and then its argument prototype would still apply. */
9829 char XShmQueryExtension ();
9833 return XShmQueryExtension ();
9838 if ac_fn_c_try_link
"$LINENO"; then :
9839 ac_cv_lib_Xext_XShmQueryExtension
=yes
9841 ac_cv_lib_Xext_XShmQueryExtension
=no
9843 rm -f core conftest.err conftest.
$ac_objext \
9844 conftest
$ac_exeext conftest.
$ac_ext
9845 LIBS
=$ac_check_lib_save_LIBS
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9848 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9849 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9851 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9856 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9857 case "x$with_xshm" in
9858 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9860 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9861 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9865 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9868 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9869 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9870 $as_echo_n "(cached) " >&6
9872 ac_check_lib_save_LIBS
=$LIBS
9873 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9875 /* end confdefs.h. */
9877 /* Override any GCC internal prototype to avoid an error.
9878 Use char because int might match the return type of a GCC
9879 builtin and then its argument prototype would still apply. */
9883 char XShapeQueryExtension ();
9887 return XShapeQueryExtension ();
9892 if ac_fn_c_try_link
"$LINENO"; then :
9893 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9895 ac_cv_lib_Xext_XShapeQueryExtension
=no
9897 rm -f core conftest.err conftest.
$ac_objext \
9898 conftest
$ac_exeext conftest.
$ac_ext
9899 LIBS
=$ac_check_lib_save_LIBS
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9902 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9903 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9905 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9910 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9911 case "x$with_xshape" in
9912 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9914 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9915 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9919 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9922 $as_echo_n "checking for -lXxf86vm... " >&6; }
9923 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9924 $as_echo_n "(cached) " >&6
9926 ac_check_soname_save_LIBS
=$LIBS
9927 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9929 /* end confdefs.h. */
9931 /* Override any GCC internal prototype to avoid an error.
9932 Use char because int might match the return type of a GCC
9933 builtin and then its argument prototype would still apply. */
9937 char XF86VidModeQueryExtension ();
9941 return XF86VidModeQueryExtension ();
9946 if ac_fn_c_try_link
"$LINENO"; then :
9948 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9949 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'` ;;
9950 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9951 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9952 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9956 rm -f core conftest.err conftest.
$ac_objext \
9957 conftest
$ac_exeext conftest.
$ac_ext
9958 LIBS
=$ac_check_soname_save_LIBS
9960 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9962 $as_echo "not found" >&6; }
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9966 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9968 cat >>confdefs.h
<<_ACEOF
9969 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9975 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9976 case "x$with_xxf86vm" in
9977 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9979 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9980 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9984 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9987 $as_echo_n "checking for -lXrender... " >&6; }
9988 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9989 $as_echo_n "(cached) " >&6
9991 ac_check_soname_save_LIBS
=$LIBS
9992 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9994 /* end confdefs.h. */
9996 /* Override any GCC internal prototype to avoid an error.
9997 Use char because int might match the return type of a GCC
9998 builtin and then its argument prototype would still apply. */
10002 char XRenderQueryExtension ();
10006 return XRenderQueryExtension ();
10011 if ac_fn_c_try_link
"$LINENO"; then :
10013 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10014 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'` ;;
10015 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10016 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10017 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10021 rm -f core conftest.err conftest.
$ac_objext \
10022 conftest
$ac_exeext conftest.
$ac_ext
10023 LIBS
=$ac_check_soname_save_LIBS
10025 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10027 $as_echo "not found" >&6; }
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10031 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10033 cat >>confdefs.h
<<_ACEOF
10034 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10038 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10039 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10040 $as_echo_n "(cached) " >&6
10042 ac_check_lib_save_LIBS
=$LIBS
10043 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10045 /* end confdefs.h. */
10047 /* Override any GCC internal prototype to avoid an error.
10048 Use char because int might match the return type of a GCC
10049 builtin and then its argument prototype would still apply. */
10053 char XRenderSetPictureTransform ();
10057 return XRenderSetPictureTransform ();
10062 if ac_fn_c_try_link
"$LINENO"; then :
10063 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10065 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10067 rm -f core conftest.err conftest.
$ac_objext \
10068 conftest
$ac_exeext conftest.
$ac_ext
10069 LIBS
=$ac_check_lib_save_LIBS
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10072 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10073 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10075 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10080 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10081 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10082 $as_echo_n "(cached) " >&6
10084 ac_check_lib_save_LIBS
=$LIBS
10085 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10087 /* end confdefs.h. */
10089 /* Override any GCC internal prototype to avoid an error.
10090 Use char because int might match the return type of a GCC
10091 builtin and then its argument prototype would still apply. */
10095 char XRenderCreateLinearGradient ();
10099 return XRenderCreateLinearGradient ();
10104 if ac_fn_c_try_link
"$LINENO"; then :
10105 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10107 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10109 rm -f core conftest.err conftest.
$ac_objext \
10110 conftest
$ac_exeext conftest.
$ac_ext
10111 LIBS
=$ac_check_lib_save_LIBS
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10114 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10115 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10117 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10124 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10125 case "x$with_xrender" in
10126 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10128 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10129 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10133 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10136 /* end confdefs.h. */
10137 #include <X11/Xlib.h>
10138 #include <X11/extensions/Xrandr.h>
10142 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10147 if ac_fn_c_try_compile
"$LINENO"; then :
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10149 $as_echo_n "checking for -lXrandr... " >&6; }
10150 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10151 $as_echo_n "(cached) " >&6
10153 ac_check_soname_save_LIBS
=$LIBS
10154 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10156 /* end confdefs.h. */
10158 /* Override any GCC internal prototype to avoid an error.
10159 Use char because int might match the return type of a GCC
10160 builtin and then its argument prototype would still apply. */
10164 char XRRQueryExtension ();
10168 return XRRQueryExtension ();
10173 if ac_fn_c_try_link
"$LINENO"; then :
10175 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10176 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'` ;;
10177 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10178 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10179 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10183 rm -f core conftest.err conftest.
$ac_objext \
10184 conftest
$ac_exeext conftest.
$ac_ext
10185 LIBS
=$ac_check_soname_save_LIBS
10187 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10189 $as_echo "not found" >&6; }
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10193 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10195 cat >>confdefs.h
<<_ACEOF
10196 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10200 /* end confdefs.h. */
10201 #include <X11/Xlib.h>
10202 #include <X11/extensions/Xrandr.h>
10206 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10211 if ac_fn_c_try_compile
"$LINENO"; then :
10213 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10221 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10222 case "x$with_xrandr" in
10223 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10225 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10226 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10230 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10233 /* end confdefs.h. */
10234 #include <X11/Xlib.h>
10235 #include <X11/extensions/Xinerama.h>
10239 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10244 if ac_fn_c_try_compile
"$LINENO"; then :
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10246 $as_echo_n "checking for -lXinerama... " >&6; }
10247 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10248 $as_echo_n "(cached) " >&6
10250 ac_check_soname_save_LIBS
=$LIBS
10251 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10253 /* end confdefs.h. */
10255 /* Override any GCC internal prototype to avoid an error.
10256 Use char because int might match the return type of a GCC
10257 builtin and then its argument prototype would still apply. */
10261 char XineramaQueryScreens ();
10265 return XineramaQueryScreens ();
10270 if ac_fn_c_try_link
"$LINENO"; then :
10272 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10273 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'` ;;
10274 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10275 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10276 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10280 rm -f core conftest.err conftest.
$ac_objext \
10281 conftest
$ac_exeext conftest.
$ac_ext
10282 LIBS
=$ac_check_soname_save_LIBS
10284 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10286 $as_echo "not found" >&6; }
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10290 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10292 cat >>confdefs.h
<<_ACEOF
10293 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10299 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10301 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10302 case "x$with_xinerama" in
10303 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10305 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10306 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10310 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10313 $as_echo_n "checking for -lXcomposite... " >&6; }
10314 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10315 $as_echo_n "(cached) " >&6
10317 ac_check_soname_save_LIBS
=$LIBS
10318 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10320 /* end confdefs.h. */
10322 /* Override any GCC internal prototype to avoid an error.
10323 Use char because int might match the return type of a GCC
10324 builtin and then its argument prototype would still apply. */
10328 char XCompositeRedirectWindow ();
10332 return XCompositeRedirectWindow ();
10337 if ac_fn_c_try_link
"$LINENO"; then :
10339 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10340 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'` ;;
10341 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10342 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10343 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10347 rm -f core conftest.err conftest.
$ac_objext \
10348 conftest
$ac_exeext conftest.
$ac_ext
10349 LIBS
=$ac_check_soname_save_LIBS
10351 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10353 $as_echo "not found" >&6; }
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10357 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10359 cat >>confdefs.h
<<_ACEOF
10360 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10366 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10367 case "x$with_xcomposite" in
10368 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10370 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10371 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10375 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10376 #include <X11/Xlib.h>
10379 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10381 cat >>confdefs.h
<<_ACEOF
10382 #define HAVE_XICCALLBACK_CALLBACK 1
10387 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10388 #include <X11/Xlib.h>
10391 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10393 cat >>confdefs.h
<<_ACEOF
10394 #define HAVE_XEVENT_XCOOKIE 1
10403 if test "x$with_opengl" != "xno"
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10406 $as_echo_n "checking for -lGL... " >&6; }
10407 if ${ac_cv_lib_soname_GL+:} false
; then :
10408 $as_echo_n "(cached) " >&6
10410 ac_check_soname_save_LIBS
=$LIBS
10411 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10413 /* end confdefs.h. */
10415 /* Override any GCC internal prototype to avoid an error.
10416 Use char because int might match the return type of a GCC
10417 builtin and then its argument prototype would still apply. */
10421 char glXCreateContext ();
10425 return glXCreateContext ();
10430 if ac_fn_c_try_link
"$LINENO"; then :
10432 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10433 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'` ;;
10434 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10435 if ${ac_cv_lib_soname_GL:+false} :; then :
10436 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10440 rm -f core conftest.err conftest.
$ac_objext \
10441 conftest
$ac_exeext conftest.
$ac_ext
10442 LIBS
=$ac_check_soname_save_LIBS
10444 if ${ac_cv_lib_soname_GL:+false} :; then :
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10446 $as_echo "not found" >&6; }
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10448 $as_echo_n "checking for -lGL... " >&6; }
10449 if ${ac_cv_lib_soname_GL+:} false
; then :
10450 $as_echo_n "(cached) " >&6
10452 ac_check_soname_save_LIBS
=$LIBS
10453 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"
10454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10455 /* end confdefs.h. */
10457 /* Override any GCC internal prototype to avoid an error.
10458 Use char because int might match the return type of a GCC
10459 builtin and then its argument prototype would still apply. */
10463 char glXCreateContext ();
10467 return glXCreateContext ();
10472 if ac_fn_c_try_link
"$LINENO"; then :
10474 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10475 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'` ;;
10476 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10477 if ${ac_cv_lib_soname_GL:+false} :; then :
10478 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10482 rm -f core conftest.err conftest.
$ac_objext \
10483 conftest
$ac_exeext conftest.
$ac_ext
10484 LIBS
=$ac_check_soname_save_LIBS
10486 if ${ac_cv_lib_soname_GL:+false} :; then :
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10488 $as_echo "not found" >&6; }
10489 if test -f /usr
/X11R
6/lib
/libGL.a
10491 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10492 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10494 opengl_msg
="No OpenGL library found on this system."
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10498 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10500 cat >>confdefs.h
<<_ACEOF
10501 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10504 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"
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10508 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10510 cat >>confdefs.h
<<_ACEOF
10511 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10516 if test "x$with_glu" != "xno"
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10519 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10520 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10521 $as_echo_n "(cached) " >&6
10523 ac_check_lib_save_LIBS
=$LIBS
10524 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10526 /* end confdefs.h. */
10528 /* Override any GCC internal prototype to avoid an error.
10529 Use char because int might match the return type of a GCC
10530 builtin and then its argument prototype would still apply. */
10538 return gluLookAt ();
10543 if ac_fn_c_try_link
"$LINENO"; then :
10544 ac_cv_lib_GLU_gluLookAt
=yes
10546 ac_cv_lib_GLU_gluLookAt
=no
10548 rm -f core conftest.err conftest.
$ac_objext \
10549 conftest
$ac_exeext conftest.
$ac_ext
10550 LIBS
=$ac_check_lib_save_LIBS
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10553 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10554 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10558 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10559 case "x$with_glu" in
10560 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10562 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10563 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10568 if test "x$with_osmesa" != "xno"
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10571 $as_echo_n "checking for -lOSMesa... " >&6; }
10572 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10573 $as_echo_n "(cached) " >&6
10575 ac_check_soname_save_LIBS
=$LIBS
10576 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10578 /* end confdefs.h. */
10580 /* Override any GCC internal prototype to avoid an error.
10581 Use char because int might match the return type of a GCC
10582 builtin and then its argument prototype would still apply. */
10595 if ac_fn_c_try_link
"$LINENO"; then :
10597 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10598 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'` ;;
10599 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10600 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10601 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10605 rm -f core conftest.err conftest.
$ac_objext \
10606 conftest
$ac_exeext conftest.
$ac_ext
10607 LIBS
=$ac_check_soname_save_LIBS
10609 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10611 $as_echo "not found" >&6; }
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10615 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10617 cat >>confdefs.h
<<_ACEOF
10618 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10623 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10624 case "x$with_osmesa" in
10625 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10627 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10628 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10633 if test -n "$opengl_msg"; then :
10634 case "x$with_opengl" in
10635 x
) as_fn_append wine_warnings
"|$opengl_msg
10636 OpenGL and Direct3D won't be supported." ;;
10638 *) as_fn_error $?
"$opengl_msg
10639 OpenGL and Direct3D won't be supported.
10640 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10644 CPPFLAGS
="$ac_save_CPPFLAGS"
10648 enable_winex11_drv
=${enable_winex11_drv:-no}
10650 if test "x$X_LIBS" = "x"; then :
10653 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10654 without X support, which probably isn't what you want. You will need
10655 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10656 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10660 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10662 if test "$ac_cv_header_CL_cl_h" = "yes"
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10665 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10666 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10667 $as_echo_n "(cached) " >&6
10669 ac_check_lib_save_LIBS
=$LIBS
10670 LIBS
="-lOpenCL $LIBS"
10671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10672 /* end confdefs.h. */
10674 /* Override any GCC internal prototype to avoid an error.
10675 Use char because int might match the return type of a GCC
10676 builtin and then its argument prototype would still apply. */
10680 char clGetPlatformInfo ();
10684 return clGetPlatformInfo ();
10689 if ac_fn_c_try_link
"$LINENO"; then :
10690 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10692 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10694 rm -f core conftest.err conftest.
$ac_objext \
10695 conftest
$ac_exeext conftest.
$ac_ext
10696 LIBS
=$ac_check_lib_save_LIBS
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10699 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10700 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10701 OPENCL_LIBS
="-lOpenCL"
10706 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10707 case "x$with_opencl" in
10708 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10710 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10711 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10714 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10716 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10719 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10720 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10721 $as_echo_n "(cached) " >&6
10723 ac_check_lib_save_LIBS
=$LIBS
10724 LIBS
="-lpcap $LIBS"
10725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10726 /* end confdefs.h. */
10728 /* Override any GCC internal prototype to avoid an error.
10729 Use char because int might match the return type of a GCC
10730 builtin and then its argument prototype would still apply. */
10734 char pcap_create ();
10738 return pcap_create ();
10743 if ac_fn_c_try_link
"$LINENO"; then :
10744 ac_cv_lib_pcap_pcap_create
=yes
10746 ac_cv_lib_pcap_pcap_create
=no
10748 rm -f core conftest.err conftest.
$ac_objext \
10749 conftest
$ac_exeext conftest.
$ac_ext
10750 LIBS
=$ac_check_lib_save_LIBS
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10753 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10754 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10760 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10761 case "x$with_pcap" in
10762 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10764 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10765 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10768 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10771 if test "x$with_xml" != "xno"
10773 if ${XML2_CFLAGS:+false} :; then :
10774 if ${PKG_CONFIG+:} false
; then :
10775 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10778 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10779 if ${XML2_LIBS:+false} :; then :
10780 if ${PKG_CONFIG+:} false
; then :
10781 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10784 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10785 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10786 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10787 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10788 ac_save_CPPFLAGS
=$CPPFLAGS
10789 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10790 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10792 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10793 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10794 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10795 cat >>confdefs.h
<<_ACEOF
10796 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10803 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"
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10806 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10807 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10808 $as_echo_n "(cached) " >&6
10810 ac_check_lib_save_LIBS
=$LIBS
10811 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10813 /* end confdefs.h. */
10815 /* Override any GCC internal prototype to avoid an error.
10816 Use char because int might match the return type of a GCC
10817 builtin and then its argument prototype would still apply. */
10821 char xmlParseMemory ();
10825 return xmlParseMemory ();
10830 if ac_fn_c_try_link
"$LINENO"; then :
10831 ac_cv_lib_xml2_xmlParseMemory
=yes
10833 ac_cv_lib_xml2_xmlParseMemory
=no
10835 rm -f core conftest.err conftest.
$ac_objext \
10836 conftest
$ac_exeext conftest.
$ac_ext
10837 LIBS
=$ac_check_lib_save_LIBS
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10840 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10841 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10843 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10850 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10851 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10852 $as_echo_n "(cached) " >&6
10854 ac_check_lib_save_LIBS
=$LIBS
10855 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10857 /* end confdefs.h. */
10859 /* Override any GCC internal prototype to avoid an error.
10860 Use char because int might match the return type of a GCC
10861 builtin and then its argument prototype would still apply. */
10865 char xmlReadMemory ();
10869 return xmlReadMemory ();
10874 if ac_fn_c_try_link
"$LINENO"; then :
10875 ac_cv_lib_xml2_xmlReadMemory
=yes
10877 ac_cv_lib_xml2_xmlReadMemory
=no
10879 rm -f core conftest.err conftest.
$ac_objext \
10880 conftest
$ac_exeext conftest.
$ac_ext
10881 LIBS
=$ac_check_lib_save_LIBS
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10884 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10885 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10887 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10892 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10893 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10894 $as_echo_n "(cached) " >&6
10896 ac_check_lib_save_LIBS
=$LIBS
10897 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10899 /* end confdefs.h. */
10901 /* Override any GCC internal prototype to avoid an error.
10902 Use char because int might match the return type of a GCC
10903 builtin and then its argument prototype would still apply. */
10907 char xmlNewDocPI ();
10911 return xmlNewDocPI ();
10916 if ac_fn_c_try_link
"$LINENO"; then :
10917 ac_cv_lib_xml2_xmlNewDocPI
=yes
10919 ac_cv_lib_xml2_xmlNewDocPI
=no
10921 rm -f core conftest.err conftest.
$ac_objext \
10922 conftest
$ac_exeext conftest.
$ac_ext
10923 LIBS
=$ac_check_lib_save_LIBS
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10926 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10927 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10929 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10934 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10935 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10936 $as_echo_n "(cached) " >&6
10938 ac_check_lib_save_LIBS
=$LIBS
10939 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10941 /* end confdefs.h. */
10943 /* Override any GCC internal prototype to avoid an error.
10944 Use char because int might match the return type of a GCC
10945 builtin and then its argument prototype would still apply. */
10949 char xmlSchemaSetParserStructuredErrors ();
10953 return xmlSchemaSetParserStructuredErrors ();
10958 if ac_fn_c_try_link
"$LINENO"; then :
10959 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10961 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10963 rm -f core conftest.err conftest.
$ac_objext \
10964 conftest
$ac_exeext conftest.
$ac_ext
10965 LIBS
=$ac_check_lib_save_LIBS
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10968 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10969 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10971 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10976 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10977 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10978 $as_echo_n "(cached) " >&6
10980 ac_check_lib_save_LIBS
=$LIBS
10981 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10983 /* end confdefs.h. */
10985 /* Override any GCC internal prototype to avoid an error.
10986 Use char because int might match the return type of a GCC
10987 builtin and then its argument prototype would still apply. */
10991 char xmlSchemaSetValidStructuredErrors ();
10995 return xmlSchemaSetValidStructuredErrors ();
11000 if ac_fn_c_try_link
"$LINENO"; then :
11001 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
11003 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
11005 rm -f core conftest.err conftest.
$ac_objext \
11006 conftest
$ac_exeext conftest.
$ac_ext
11007 LIBS
=$ac_check_lib_save_LIBS
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11010 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11011 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11013 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11018 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11019 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11020 $as_echo_n "(cached) " >&6
11022 ac_check_lib_save_LIBS
=$LIBS
11023 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11025 /* end confdefs.h. */
11027 /* Override any GCC internal prototype to avoid an error.
11028 Use char because int might match the return type of a GCC
11029 builtin and then its argument prototype would still apply. */
11033 char xmlFirstElementChild ();
11037 return xmlFirstElementChild ();
11042 if ac_fn_c_try_link
"$LINENO"; then :
11043 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11045 ac_cv_lib_xml2_xmlFirstElementChild
=no
11047 rm -f core conftest.err conftest.
$ac_objext \
11048 conftest
$ac_exeext conftest.
$ac_ext
11049 LIBS
=$ac_check_lib_save_LIBS
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11052 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11053 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11055 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11059 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11061 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11063 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11071 CPPFLAGS
=$ac_save_CPPFLAGS
11072 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11073 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11076 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11077 case "x$with_xml" in
11078 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11080 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11081 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11085 if test "x$with_xslt" != "xno"
11087 if ${XSLT_CFLAGS:+false} :; then :
11088 if ${PKG_CONFIG+:} false
; then :
11089 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11092 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11093 if ${XSLT_LIBS:+false} :; then :
11094 if ${PKG_CONFIG+:} false
; then :
11095 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11098 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11099 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11100 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11101 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11102 ac_save_CPPFLAGS
=$CPPFLAGS
11103 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11104 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11106 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11107 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11108 # include <libxslt/pattern.h>
11111 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11112 cat >>confdefs.h
<<_ACEOF
11113 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11120 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11123 $as_echo_n "checking for -lxslt... " >&6; }
11124 if ${ac_cv_lib_soname_xslt+:} false
; then :
11125 $as_echo_n "(cached) " >&6
11127 ac_check_soname_save_LIBS
=$LIBS
11128 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11130 /* end confdefs.h. */
11132 /* Override any GCC internal prototype to avoid an error.
11133 Use char because int might match the return type of a GCC
11134 builtin and then its argument prototype would still apply. */
11138 char xsltCompilePattern ();
11142 return xsltCompilePattern ();
11147 if ac_fn_c_try_link
"$LINENO"; then :
11149 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11150 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'` ;;
11151 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11152 if ${ac_cv_lib_soname_xslt:+false} :; then :
11153 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11157 rm -f core conftest.err conftest.
$ac_objext \
11158 conftest
$ac_exeext conftest.
$ac_ext
11159 LIBS
=$ac_check_soname_save_LIBS
11161 if ${ac_cv_lib_soname_xslt:+false} :; then :
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11163 $as_echo "not found" >&6; }
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11167 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11169 cat >>confdefs.h
<<_ACEOF
11170 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11178 CPPFLAGS
=$ac_save_CPPFLAGS
11179 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11180 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11183 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11184 case "x$with_xslt" in
11185 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11187 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11188 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11192 if test "x$with_dbus" != "xno"
11194 if ${DBUS_CFLAGS:+false} :; then :
11195 if ${PKG_CONFIG+:} false
; then :
11196 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11200 if ${DBUS_LIBS:+false} :; then :
11201 if ${PKG_CONFIG+:} false
; then :
11202 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11207 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11208 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11209 ac_save_CPPFLAGS
=$CPPFLAGS
11210 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11211 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11212 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11214 $as_echo_n "checking for -ldbus-1... " >&6; }
11215 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11216 $as_echo_n "(cached) " >&6
11218 ac_check_soname_save_LIBS
=$LIBS
11219 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11221 /* end confdefs.h. */
11223 /* Override any GCC internal prototype to avoid an error.
11224 Use char because int might match the return type of a GCC
11225 builtin and then its argument prototype would still apply. */
11229 char dbus_connection_close ();
11233 return dbus_connection_close ();
11238 if ac_fn_c_try_link
"$LINENO"; then :
11240 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11241 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'` ;;
11242 *) 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'`
11243 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11244 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11248 rm -f core conftest.err conftest.
$ac_objext \
11249 conftest
$ac_exeext conftest.
$ac_ext
11250 LIBS
=$ac_check_soname_save_LIBS
11252 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11254 $as_echo "not found" >&6; }
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11258 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11260 cat >>confdefs.h
<<_ACEOF
11261 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11271 CPPFLAGS
=$ac_save_CPPFLAGS
11272 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11273 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11276 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11277 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11278 case "x$with_dbus" in
11279 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11281 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11282 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11286 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11288 if ${HAL_CFLAGS:+false} :; then :
11289 if ${PKG_CONFIG+:} false
; then :
11290 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11294 if ${HAL_LIBS:+false} :; then :
11295 if ${PKG_CONFIG+:} false
; then :
11296 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11300 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11301 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11302 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11303 ac_save_CPPFLAGS
=$CPPFLAGS
11304 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11305 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11306 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11308 $as_echo_n "checking for -lhal... " >&6; }
11309 if ${ac_cv_lib_soname_hal+:} false
; then :
11310 $as_echo_n "(cached) " >&6
11312 ac_check_soname_save_LIBS
=$LIBS
11313 LIBS
="-lhal $HAL_LIBS $LIBS"
11314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11315 /* end confdefs.h. */
11317 /* Override any GCC internal prototype to avoid an error.
11318 Use char because int might match the return type of a GCC
11319 builtin and then its argument prototype would still apply. */
11323 char libhal_ctx_new ();
11327 return libhal_ctx_new ();
11332 if ac_fn_c_try_link
"$LINENO"; then :
11334 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11335 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'` ;;
11336 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11337 if ${ac_cv_lib_soname_hal:+false} :; then :
11338 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11342 rm -f core conftest.err conftest.
$ac_objext \
11343 conftest
$ac_exeext conftest.
$ac_ext
11344 LIBS
=$ac_check_soname_save_LIBS
11346 if ${ac_cv_lib_soname_hal:+false} :; then :
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11348 $as_echo "not found" >&6; }
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11352 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11354 cat >>confdefs.h
<<_ACEOF
11355 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11365 CPPFLAGS
=$ac_save_CPPFLAGS
11366 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11367 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11369 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11370 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11371 case "x$with_hal" in
11372 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11374 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11375 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11380 if test "x$with_gnutls" != "xno"
11382 if ${GNUTLS_CFLAGS:+false} :; then :
11383 if ${PKG_CONFIG+:} false
; then :
11384 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11388 if ${GNUTLS_LIBS:+false} :; then :
11389 if ${PKG_CONFIG+:} false
; then :
11390 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11395 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11396 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11397 ac_save_CPPFLAGS
=$CPPFLAGS
11398 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11399 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11400 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11403 #include <gnutls/gnutls.h>
11404 #include <gnutls/crypto.h>
11408 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11413 if ac_fn_c_try_compile
"$LINENO"; then :
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11415 $as_echo_n "checking for -lgnutls... " >&6; }
11416 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11417 $as_echo_n "(cached) " >&6
11419 ac_check_soname_save_LIBS
=$LIBS
11420 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11422 /* end confdefs.h. */
11424 /* Override any GCC internal prototype to avoid an error.
11425 Use char because int might match the return type of a GCC
11426 builtin and then its argument prototype would still apply. */
11430 char gnutls_global_init ();
11434 return gnutls_global_init ();
11439 if ac_fn_c_try_link
"$LINENO"; then :
11441 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11442 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'` ;;
11443 *) 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'`
11444 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11445 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'`
11449 rm -f core conftest.err conftest.
$ac_objext \
11450 conftest
$ac_exeext conftest.
$ac_ext
11451 LIBS
=$ac_check_soname_save_LIBS
11453 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11455 $as_echo "not found" >&6; }
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11459 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11461 cat >>confdefs.h
<<_ACEOF
11462 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11468 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11474 CPPFLAGS
=$ac_save_CPPFLAGS
11475 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11476 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11479 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11480 case "x$with_gnutls" in
11481 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11483 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11484 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11489 if test "$ac_cv_header_ncurses_h" = "yes"
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11492 $as_echo_n "checking for -lncurses... " >&6; }
11493 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11494 $as_echo_n "(cached) " >&6
11496 ac_check_soname_save_LIBS
=$LIBS
11497 LIBS
="-lncurses $LIBS"
11498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11499 /* end confdefs.h. */
11501 /* Override any GCC internal prototype to avoid an error.
11502 Use char because int might match the return type of a GCC
11503 builtin and then its argument prototype would still apply. */
11516 if ac_fn_c_try_link
"$LINENO"; then :
11518 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11519 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'` ;;
11520 *) 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'`
11521 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11522 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11526 rm -f core conftest.err conftest.
$ac_objext \
11527 conftest
$ac_exeext conftest.
$ac_ext
11528 LIBS
=$ac_check_soname_save_LIBS
11530 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11532 $as_echo "not found" >&6; }
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11536 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11538 cat >>confdefs.h
<<_ACEOF
11539 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11542 CURSES_LIBS
="-lncurses"
11544 elif test "$ac_cv_header_curses_h" = "yes"
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11547 $as_echo_n "checking for -lcurses... " >&6; }
11548 if ${ac_cv_lib_soname_curses+:} false
; then :
11549 $as_echo_n "(cached) " >&6
11551 ac_check_soname_save_LIBS
=$LIBS
11552 LIBS
="-lcurses $LIBS"
11553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11554 /* end confdefs.h. */
11556 /* Override any GCC internal prototype to avoid an error.
11557 Use char because int might match the return type of a GCC
11558 builtin and then its argument prototype would still apply. */
11571 if ac_fn_c_try_link
"$LINENO"; then :
11573 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11574 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'` ;;
11575 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11576 if ${ac_cv_lib_soname_curses:+false} :; then :
11577 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11581 rm -f core conftest.err conftest.
$ac_objext \
11582 conftest
$ac_exeext conftest.
$ac_ext
11583 LIBS
=$ac_check_soname_save_LIBS
11585 if ${ac_cv_lib_soname_curses:+false} :; then :
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11587 $as_echo "not found" >&6; }
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11591 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11593 cat >>confdefs.h
<<_ACEOF
11594 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11597 CURSES_LIBS
="-lcurses"
11600 ac_save_LIBS
="$LIBS"
11601 LIBS
="$LIBS $CURSES_LIBS"
11602 for ac_func
in mousemask
11604 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11605 if test "x$ac_cv_func_mousemask" = xyes
; then :
11606 cat >>confdefs.h
<<_ACEOF
11607 #define HAVE_MOUSEMASK 1
11613 LIBS
="$ac_save_LIBS"
11614 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11615 case "x$with_curses" in
11616 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11618 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11619 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11623 if test "x$with_sane" != "xno"
11625 if ${SANE_CFLAGS:+false} :; then :
11626 if ${PKG_CONFIG+:} false
; then :
11627 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11630 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11631 if ${SANE_LIBS:+false} :; then :
11632 if ${PKG_CONFIG+:} false
; then :
11633 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11636 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11638 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11639 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11640 ac_save_CPPFLAGS
=$CPPFLAGS
11641 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11642 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11643 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11645 $as_echo_n "checking for -lsane... " >&6; }
11646 if ${ac_cv_lib_soname_sane+:} false
; then :
11647 $as_echo_n "(cached) " >&6
11649 ac_check_soname_save_LIBS
=$LIBS
11650 LIBS
="-lsane $SANE_LIBS $LIBS"
11651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11652 /* end confdefs.h. */
11654 /* Override any GCC internal prototype to avoid an error.
11655 Use char because int might match the return type of a GCC
11656 builtin and then its argument prototype would still apply. */
11664 return sane_init ();
11669 if ac_fn_c_try_link
"$LINENO"; then :
11671 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11672 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'` ;;
11673 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11674 if ${ac_cv_lib_soname_sane:+false} :; then :
11675 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11679 rm -f core conftest.err conftest.
$ac_objext \
11680 conftest
$ac_exeext conftest.
$ac_ext
11681 LIBS
=$ac_check_soname_save_LIBS
11683 if ${ac_cv_lib_soname_sane:+false} :; then :
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11685 $as_echo "not found" >&6; }
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11689 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11691 cat >>confdefs.h
<<_ACEOF
11692 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11702 CPPFLAGS
=$ac_save_CPPFLAGS
11703 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11704 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11707 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11708 case "x$with_sane" in
11709 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11711 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11712 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11716 if test "x$with_v4l" != "xno"
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11719 $as_echo_n "checking for -lv4l1... " >&6; }
11720 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11721 $as_echo_n "(cached) " >&6
11723 ac_check_soname_save_LIBS
=$LIBS
11724 LIBS
="-lv4l1 $LIBS"
11725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11726 /* end confdefs.h. */
11728 /* Override any GCC internal prototype to avoid an error.
11729 Use char because int might match the return type of a GCC
11730 builtin and then its argument prototype would still apply. */
11738 return v4l1_open ();
11743 if ac_fn_c_try_link
"$LINENO"; then :
11745 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11746 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'` ;;
11747 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11748 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11749 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11753 rm -f core conftest.err conftest.
$ac_objext \
11754 conftest
$ac_exeext conftest.
$ac_ext
11755 LIBS
=$ac_check_soname_save_LIBS
11757 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11759 $as_echo "not found" >&6; }
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11763 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11765 cat >>confdefs.h
<<_ACEOF
11766 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11772 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11773 case "x$with_v4l" in
11774 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11776 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11777 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11781 if test "x$with_gphoto" != "xno"
11783 if ${GPHOTO2_CFLAGS:+false} :; then :
11784 if ${PKG_CONFIG+:} false
; then :
11785 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11788 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11789 if ${GPHOTO2_LIBS:+false} :; then :
11790 if ${PKG_CONFIG+:} false
; then :
11791 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11794 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11795 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11796 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11797 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11798 ac_save_CPPFLAGS
=$CPPFLAGS
11799 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11800 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11801 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11803 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11804 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11805 $as_echo_n "(cached) " >&6
11807 ac_check_lib_save_LIBS
=$LIBS
11808 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11810 /* end confdefs.h. */
11812 /* Override any GCC internal prototype to avoid an error.
11813 Use char because int might match the return type of a GCC
11814 builtin and then its argument prototype would still apply. */
11818 char gp_camera_new ();
11822 return gp_camera_new ();
11827 if ac_fn_c_try_link
"$LINENO"; then :
11828 ac_cv_lib_gphoto2_gp_camera_new
=yes
11830 ac_cv_lib_gphoto2_gp_camera_new
=no
11832 rm -f core conftest.err conftest.
$ac_objext \
11833 conftest
$ac_exeext conftest.
$ac_ext
11834 LIBS
=$ac_check_lib_save_LIBS
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11837 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11838 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11840 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11843 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11847 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11851 CPPFLAGS
=$ac_save_CPPFLAGS
11852 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11853 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11855 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11856 if ${PKG_CONFIG+:} false
; then :
11857 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11860 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11861 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11862 if ${PKG_CONFIG+:} false
; then :
11863 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11866 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11867 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11868 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11869 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11870 ac_save_CPPFLAGS
=$CPPFLAGS
11871 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11872 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11873 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11875 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11876 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11877 $as_echo_n "(cached) " >&6
11879 ac_check_lib_save_LIBS
=$LIBS
11880 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11882 /* end confdefs.h. */
11884 /* Override any GCC internal prototype to avoid an error.
11885 Use char because int might match the return type of a GCC
11886 builtin and then its argument prototype would still apply. */
11890 char gp_port_info_list_new ();
11894 return gp_port_info_list_new ();
11899 if ac_fn_c_try_link
"$LINENO"; then :
11900 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11902 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11904 rm -f core conftest.err conftest.
$ac_objext \
11905 conftest
$ac_exeext conftest.
$ac_ext
11906 LIBS
=$ac_check_lib_save_LIBS
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11909 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11910 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11912 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11915 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11919 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11923 CPPFLAGS
=$ac_save_CPPFLAGS
11924 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11925 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11928 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11929 case "x$with_gphoto" in
11930 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11932 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11933 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11936 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11937 case "x$with_gphoto" in
11938 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11940 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11941 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11946 if test "$ac_cv_header_resolv_h" = "yes"
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11949 $as_echo_n "checking for resolver library... " >&6; }
11950 if ${ac_cv_have_resolv+:} false
; then :
11951 $as_echo_n "(cached) " >&6
11953 ac_save_LIBS
="$LIBS"
11954 for lib
in '' -lresolv
11956 LIBS
="$lib $ac_save_LIBS"
11957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11958 /* end confdefs.h. */
11959 #ifdef HAVE_NETINET_IN_H
11960 #include <netinet/in.h>
11962 #include <resolv.h>
11966 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11971 if ac_fn_c_try_link
"$LINENO"; then :
11972 ac_cv_have_resolv
=${lib:-"none required"}
11974 ac_cv_have_resolv
="not found"
11976 rm -f core conftest.err conftest.
$ac_objext \
11977 conftest
$ac_exeext conftest.
$ac_ext
11978 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11980 LIBS
="$ac_save_LIBS"
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11983 $as_echo "$ac_cv_have_resolv" >&6; }
11985 case "$ac_cv_have_resolv" in
11989 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11992 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11994 RESOLV_LIBS
=$ac_cv_have_resolv
11999 if test "x$with_cms" != "xno"
12001 if ${LCMS2_CFLAGS:+false} :; then :
12002 if ${PKG_CONFIG+:} false
; then :
12003 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12007 if ${LCMS2_LIBS:+false} :; then :
12008 if ${PKG_CONFIG+:} false
; then :
12009 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12013 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12014 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12015 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12016 ac_save_CPPFLAGS
=$CPPFLAGS
12017 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12018 for ac_header
in lcms2.h
12020 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12021 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12022 cat >>confdefs.h
<<_ACEOF
12023 #define HAVE_LCMS2_H 1
12030 if test "$ac_cv_header_lcms2_h" = "yes"
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12033 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12034 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12035 $as_echo_n "(cached) " >&6
12037 ac_check_lib_save_LIBS
=$LIBS
12038 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12040 /* end confdefs.h. */
12042 /* Override any GCC internal prototype to avoid an error.
12043 Use char because int might match the return type of a GCC
12044 builtin and then its argument prototype would still apply. */
12048 char cmsOpenProfileFromFile ();
12052 return cmsOpenProfileFromFile ();
12057 if ac_fn_c_try_link
"$LINENO"; then :
12058 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12060 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12062 rm -f core conftest.err conftest.
$ac_objext \
12063 conftest
$ac_exeext conftest.
$ac_ext
12064 LIBS
=$ac_check_lib_save_LIBS
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12067 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12068 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12070 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12080 CPPFLAGS
=$ac_save_CPPFLAGS
12081 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12082 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12085 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12086 case "x$with_cms" in
12087 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12089 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12090 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12094 if test "x$with_freetype" != "xno"
12096 if ${FREETYPE_CFLAGS:+false} :; then :
12097 if ${PKG_CONFIG+:} false
; then :
12098 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12101 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12102 if ${FREETYPE_LIBS:+false} :; then :
12103 if ${PKG_CONFIG+:} false
; then :
12104 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12107 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12108 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12109 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12110 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12111 ac_save_CPPFLAGS
=$CPPFLAGS
12112 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12113 for ac_header
in ft2build.h
12115 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12116 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12117 cat >>confdefs.h
<<_ACEOF
12118 #define HAVE_FT2BUILD_H 1
12125 if test "$ac_cv_header_ft2build_h" = "yes"
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12128 $as_echo_n "checking for -lfreetype... " >&6; }
12129 if ${ac_cv_lib_soname_freetype+:} false
; then :
12130 $as_echo_n "(cached) " >&6
12132 ac_check_soname_save_LIBS
=$LIBS
12133 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12135 /* end confdefs.h. */
12137 /* Override any GCC internal prototype to avoid an error.
12138 Use char because int might match the return type of a GCC
12139 builtin and then its argument prototype would still apply. */
12143 char FT_Init_FreeType ();
12147 return FT_Init_FreeType ();
12152 if ac_fn_c_try_link
"$LINENO"; then :
12154 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12155 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'` ;;
12156 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12157 if ${ac_cv_lib_soname_freetype:+false} :; then :
12158 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12162 rm -f core conftest.err conftest.
$ac_objext \
12163 conftest
$ac_exeext conftest.
$ac_ext
12164 LIBS
=$ac_check_soname_save_LIBS
12166 if ${ac_cv_lib_soname_freetype:+false} :; then :
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12168 $as_echo "not found" >&6; }
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12172 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12174 cat >>confdefs.h
<<_ACEOF
12175 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12179 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12181 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12182 #include FT_MODULE_H
12184 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12186 cat >>confdefs.h
<<_ACEOF
12187 #define HAVE_FT_TRUETYPEENGINETYPE 1
12198 CPPFLAGS
=$ac_save_CPPFLAGS
12199 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12200 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12203 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12204 case "x$with_freetype" in
12206 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12207 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12210 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12213 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12214 if ${ac_cv_c_ppdev+:} false
; then :
12215 $as_echo_n "(cached) " >&6
12217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12218 /* end confdefs.h. */
12219 #ifdef HAVE_SYS_IOCTL_H
12220 # include <sys/ioctl.h>
12222 #include <linux/ppdev.h>
12226 ioctl (1,PPCLAIM,0)
12231 if ac_fn_c_try_compile
"$LINENO"; then :
12232 ac_cv_c_ppdev
="yes"
12236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12239 $as_echo "$ac_cv_c_ppdev" >&6; }
12240 if test "$ac_cv_c_ppdev" = "yes"
12243 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12247 ac_wine_check_funcs_save_LIBS
="$LIBS"
12248 LIBS
="$LIBS $PTHREAD_LIBS"
12250 pthread_attr_get_np \
12251 pthread_getattr_np \
12252 pthread_getthreadid_np \
12253 pthread_get_stackaddr_np \
12254 pthread_get_stacksize_np
12256 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12257 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12258 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12259 cat >>confdefs.h
<<_ACEOF
12260 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12266 LIBS
="$ac_wine_check_funcs_save_LIBS"
12268 if test "$ac_cv_header_zlib_h" = "yes"
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12271 $as_echo_n "checking for inflate in -lz... " >&6; }
12272 if ${ac_cv_lib_z_inflate+:} false
; then :
12273 $as_echo_n "(cached) " >&6
12275 ac_check_lib_save_LIBS
=$LIBS
12277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12278 /* end confdefs.h. */
12280 /* Override any GCC internal prototype to avoid an error.
12281 Use char because int might match the return type of a GCC
12282 builtin and then its argument prototype would still apply. */
12295 if ac_fn_c_try_link
"$LINENO"; then :
12296 ac_cv_lib_z_inflate
=yes
12298 ac_cv_lib_z_inflate
=no
12300 rm -f core conftest.err conftest.
$ac_objext \
12301 conftest
$ac_exeext conftest.
$ac_ext
12302 LIBS
=$ac_check_lib_save_LIBS
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12305 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12306 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12308 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12315 if test "x$Z_LIBS" = "x"; then :
12316 case "x$with_zlib" in
12317 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12319 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12320 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12324 if test "x$enable_tools" != xno
12326 if test "$ac_cv_header_gettext_po_h" = "yes"
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12329 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12330 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12331 $as_echo_n "(cached) " >&6
12333 ac_check_lib_save_LIBS
=$LIBS
12334 LIBS
="-lgettextpo $LIBS"
12335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12336 /* end confdefs.h. */
12338 /* Override any GCC internal prototype to avoid an error.
12339 Use char because int might match the return type of a GCC
12340 builtin and then its argument prototype would still apply. */
12344 char po_message_msgctxt ();
12348 return po_message_msgctxt ();
12353 if ac_fn_c_try_link
"$LINENO"; then :
12354 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12356 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12358 rm -f core conftest.err conftest.
$ac_objext \
12359 conftest
$ac_exeext conftest.
$ac_ext
12360 LIBS
=$ac_check_lib_save_LIBS
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12363 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12364 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12366 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12368 GETTEXTPO_LIBS
="-lgettextpo"
12373 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12374 case "x$with_gettextpo" in
12375 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12377 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12378 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12383 if test "x$with_gstreamer" != "xno"
12385 if ${GSTREAMER_CFLAGS:+false} :; then :
12386 if ${PKG_CONFIG+:} false
; then :
12387 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12391 if ${GSTREAMER_LIBS:+false} :; then :
12392 if ${PKG_CONFIG+:} false
; then :
12393 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12398 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12399 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12400 ac_save_CPPFLAGS
=$CPPFLAGS
12401 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12403 for i
in $GSTREAMER_CFLAGS
12406 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12409 GSTREAMER_CFLAGS
=$ac_gst_incl
12410 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12411 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12412 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12413 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12414 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12416 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12418 /* end confdefs.h. */
12419 #include <gst/app/gstappsink.h>
12423 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12428 if ac_fn_c_try_compile
"$LINENO"; then :
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12430 $as_echo "yes" >&6; }
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12432 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12433 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12434 $as_echo_n "(cached) " >&6
12436 ac_check_lib_save_LIBS
=$LIBS
12437 LIBS
="-lgstreamer-0.10 $LIBS"
12438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12439 /* end confdefs.h. */
12441 /* Override any GCC internal prototype to avoid an error.
12442 Use char because int might match the return type of a GCC
12443 builtin and then its argument prototype would still apply. */
12447 char gst_pad_get_caps_reffed ();
12451 return gst_pad_get_caps_reffed ();
12456 if ac_fn_c_try_link
"$LINENO"; then :
12457 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12459 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12461 rm -f core conftest.err conftest.
$ac_objext \
12462 conftest
$ac_exeext conftest.
$ac_ext
12463 LIBS
=$ac_check_lib_save_LIBS
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12466 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12467 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12469 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12470 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12471 $as_echo_n "(cached) " >&6
12473 ac_check_lib_save_LIBS
=$LIBS
12474 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12476 /* end confdefs.h. */
12478 /* Override any GCC internal prototype to avoid an error.
12479 Use char because int might match the return type of a GCC
12480 builtin and then its argument prototype would still apply. */
12484 char gst_app_buffer_new ();
12488 return gst_app_buffer_new ();
12493 if ac_fn_c_try_link
"$LINENO"; then :
12494 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12496 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12498 rm -f core conftest.err conftest.
$ac_objext \
12499 conftest
$ac_exeext conftest.
$ac_ext
12500 LIBS
=$ac_check_lib_save_LIBS
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12503 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12504 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12512 $as_echo "no" >&6; }
12514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12519 GSTREAMER_CFLAGS
=""
12523 CPPFLAGS
=$ac_save_CPPFLAGS
12524 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12525 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12528 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12529 case "x$with_gstreamer" in
12530 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12532 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12533 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12536 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12540 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12543 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12544 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12545 $as_echo_n "(cached) " >&6
12547 ac_check_lib_save_LIBS
=$LIBS
12548 LIBS
="-lasound $LIBS"
12549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12550 /* end confdefs.h. */
12552 /* Override any GCC internal prototype to avoid an error.
12553 Use char because int might match the return type of a GCC
12554 builtin and then its argument prototype would still apply. */
12558 char snd_pcm_hw_params_get_access_mask ();
12562 return snd_pcm_hw_params_get_access_mask ();
12567 if ac_fn_c_try_link
"$LINENO"; then :
12568 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12570 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12572 rm -f core conftest.err conftest.
$ac_objext \
12573 conftest
$ac_exeext conftest.
$ac_ext
12574 LIBS
=$ac_check_lib_save_LIBS
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12577 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12578 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12580 /* end confdefs.h. */
12581 #ifdef HAVE_ALSA_ASOUNDLIB_H
12582 #include <alsa/asoundlib.h>
12583 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12584 #include <sys/asoundlib.h>
12589 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12594 if ac_fn_c_try_compile
"$LINENO"; then :
12595 ALSA_LIBS
="-lasound"
12597 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12602 if test "x$with_oss" != xno
12604 ac_save_CPPFLAGS
="$CPPFLAGS"
12605 if test -f /etc
/oss.conf
12609 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12610 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12611 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12612 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12613 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12615 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12617 cat >>confdefs.h
<<_ACEOF
12618 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12621 OSS4_CFLAGS
="$ac_oss_incl"
12628 CPPFLAGS
="$ac_save_CPPFLAGS"
12629 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12631 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12635 if test "x$with_capi" != "xno"
12637 if ${CAPI20_CFLAGS:+false} :; then :
12638 if ${PKG_CONFIG+:} false
; then :
12639 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12643 if ${CAPI20_LIBS:+false} :; then :
12644 if ${PKG_CONFIG+:} false
; then :
12645 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12650 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12651 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12652 ac_save_CPPFLAGS
=$CPPFLAGS
12653 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12654 for ac_header
in capi20.h linux
/capi.h
12656 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12657 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12659 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12660 cat >>confdefs.h
<<_ACEOF
12661 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12668 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12671 $as_echo_n "checking for -lcapi20... " >&6; }
12672 if ${ac_cv_lib_soname_capi20+:} false
; then :
12673 $as_echo_n "(cached) " >&6
12675 ac_check_soname_save_LIBS
=$LIBS
12676 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12678 /* end confdefs.h. */
12680 /* Override any GCC internal prototype to avoid an error.
12681 Use char because int might match the return type of a GCC
12682 builtin and then its argument prototype would still apply. */
12686 char capi20_register ();
12690 return capi20_register ();
12695 if ac_fn_c_try_link
"$LINENO"; then :
12697 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12698 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'` ;;
12699 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12700 if ${ac_cv_lib_soname_capi20:+false} :; then :
12701 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12705 rm -f core conftest.err conftest.
$ac_objext \
12706 conftest
$ac_exeext conftest.
$ac_ext
12707 LIBS
=$ac_check_soname_save_LIBS
12709 if ${ac_cv_lib_soname_capi20:+false} :; then :
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12711 $as_echo "not found" >&6; }
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12715 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12717 cat >>confdefs.h
<<_ACEOF
12718 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12724 CPPFLAGS
=$ac_save_CPPFLAGS
12725 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12726 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12729 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12730 case "x$with_capi" in
12731 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12733 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12734 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12740 if test "x$with_cups" != "xno"
12742 ac_save_CPPFLAGS
="$CPPFLAGS"
12743 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12744 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12745 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12746 for ac_header
in cups
/cups.h
12748 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12749 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12750 cat >>confdefs.h
<<_ACEOF
12751 #define HAVE_CUPS_CUPS_H 1
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12754 $as_echo_n "checking for -lcups... " >&6; }
12755 if ${ac_cv_lib_soname_cups+:} false
; then :
12756 $as_echo_n "(cached) " >&6
12758 ac_check_soname_save_LIBS
=$LIBS
12759 LIBS
="-lcups $ac_cups_libs $LIBS"
12760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12761 /* end confdefs.h. */
12763 /* Override any GCC internal prototype to avoid an error.
12764 Use char because int might match the return type of a GCC
12765 builtin and then its argument prototype would still apply. */
12769 char cupsGetDefault ();
12773 return cupsGetDefault ();
12778 if ac_fn_c_try_link
"$LINENO"; then :
12780 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12781 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'` ;;
12782 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12783 if ${ac_cv_lib_soname_cups:+false} :; then :
12784 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12788 rm -f core conftest.err conftest.
$ac_objext \
12789 conftest
$ac_exeext conftest.
$ac_ext
12790 LIBS
=$ac_check_soname_save_LIBS
12792 if ${ac_cv_lib_soname_cups:+false} :; then :
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12794 $as_echo "not found" >&6; }
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12798 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12800 cat >>confdefs.h
<<_ACEOF
12801 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12804 CUPS_CFLAGS
="$ac_cups_cflags"
12810 CPPFLAGS
="$ac_save_CPPFLAGS"
12812 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12813 case "x$with_cups" in
12814 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12816 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12817 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12821 if test "x$with_fontconfig" != "xno"
12823 if ${FONTCONFIG_CFLAGS:+false} :; then :
12824 if ${PKG_CONFIG+:} false
; then :
12825 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12828 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12829 if ${FONTCONFIG_LIBS:+false} :; then :
12830 if ${PKG_CONFIG+:} false
; then :
12831 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12834 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12836 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12837 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12838 ac_save_CPPFLAGS
=$CPPFLAGS
12839 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12840 for ac_header
in fontconfig
/fontconfig.h
12842 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12843 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12844 cat >>confdefs.h
<<_ACEOF
12845 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12852 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12855 $as_echo_n "checking for -lfontconfig... " >&6; }
12856 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12857 $as_echo_n "(cached) " >&6
12859 ac_check_soname_save_LIBS
=$LIBS
12860 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12862 /* end confdefs.h. */
12864 /* Override any GCC internal prototype to avoid an error.
12865 Use char because int might match the return type of a GCC
12866 builtin and then its argument prototype would still apply. */
12879 if ac_fn_c_try_link
"$LINENO"; then :
12881 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12882 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'` ;;
12883 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12884 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12885 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12889 rm -f core conftest.err conftest.
$ac_objext \
12890 conftest
$ac_exeext conftest.
$ac_ext
12891 LIBS
=$ac_check_soname_save_LIBS
12893 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12895 $as_echo "not found" >&6; }
12896 FONTCONFIG_CFLAGS
=""
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12899 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12901 cat >>confdefs.h
<<_ACEOF
12902 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12908 FONTCONFIG_CFLAGS
=""
12910 CPPFLAGS
=$ac_save_CPPFLAGS
12911 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12912 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12915 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12916 case "x$with_fontconfig" in
12917 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12919 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12920 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12924 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12927 $as_echo_n "checking for -lgsm... " >&6; }
12928 if ${ac_cv_lib_soname_gsm+:} false
; then :
12929 $as_echo_n "(cached) " >&6
12931 ac_check_soname_save_LIBS
=$LIBS
12933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12934 /* end confdefs.h. */
12936 /* Override any GCC internal prototype to avoid an error.
12937 Use char because int might match the return type of a GCC
12938 builtin and then its argument prototype would still apply. */
12942 char gsm_create ();
12946 return gsm_create ();
12951 if ac_fn_c_try_link
"$LINENO"; then :
12953 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12954 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'` ;;
12955 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12956 if ${ac_cv_lib_soname_gsm:+false} :; then :
12957 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12961 rm -f core conftest.err conftest.
$ac_objext \
12962 conftest
$ac_exeext conftest.
$ac_ext
12963 LIBS
=$ac_check_soname_save_LIBS
12965 if ${ac_cv_lib_soname_gsm:+false} :; then :
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12967 $as_echo "not found" >&6; }
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12971 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12973 cat >>confdefs.h
<<_ACEOF
12974 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12980 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12981 case "x$with_gsm" in
12982 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12984 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12985 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12989 if test "x$with_jpeg" != "xno"
12991 if ${JPEG_CFLAGS:+false} :; then :
12992 if ${PKG_CONFIG+:} false
; then :
12993 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12997 if ${JPEG_LIBS:+false} :; then :
12998 if ${PKG_CONFIG+:} false
; then :
12999 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13004 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13005 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13006 ac_save_CPPFLAGS
=$CPPFLAGS
13007 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
13008 for ac_header
in jpeglib.h
13010 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13011 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
13012 cat >>confdefs.h
<<_ACEOF
13013 #define HAVE_JPEGLIB_H 1
13020 if test "$ac_cv_header_jpeglib_h" = "yes"
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13023 $as_echo_n "checking for -ljpeg... " >&6; }
13024 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13025 $as_echo_n "(cached) " >&6
13027 ac_check_soname_save_LIBS
=$LIBS
13028 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13030 /* end confdefs.h. */
13032 /* Override any GCC internal prototype to avoid an error.
13033 Use char because int might match the return type of a GCC
13034 builtin and then its argument prototype would still apply. */
13038 char jpeg_start_decompress ();
13042 return jpeg_start_decompress ();
13047 if ac_fn_c_try_link
"$LINENO"; then :
13049 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13050 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'` ;;
13051 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13052 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13053 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13057 rm -f core conftest.err conftest.
$ac_objext \
13058 conftest
$ac_exeext conftest.
$ac_ext
13059 LIBS
=$ac_check_soname_save_LIBS
13061 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13063 $as_echo "not found" >&6; }
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13067 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13069 cat >>confdefs.h
<<_ACEOF
13070 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13078 CPPFLAGS
=$ac_save_CPPFLAGS
13079 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13080 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13083 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13084 case "x$with_jpeg" in
13085 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13087 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13088 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13092 if test "x$with_png" != "xno"
13094 if ${PNG_CFLAGS:+false} :; then :
13095 if ${PKG_CONFIG+:} false
; then :
13096 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13099 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13100 if ${PNG_LIBS:+false} :; then :
13101 if ${PKG_CONFIG+:} false
; then :
13102 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13105 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13107 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13108 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13109 ac_save_CPPFLAGS
=$CPPFLAGS
13110 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13111 for ac_header
in png.h
13113 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13114 if test "x$ac_cv_header_png_h" = xyes
; then :
13115 cat >>confdefs.h
<<_ACEOF
13116 #define HAVE_PNG_H 1
13123 if test "$ac_cv_header_png_h" = "yes"
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13126 $as_echo_n "checking for -lpng... " >&6; }
13127 if ${ac_cv_lib_soname_png+:} false
; then :
13128 $as_echo_n "(cached) " >&6
13130 ac_check_soname_save_LIBS
=$LIBS
13131 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13133 /* end confdefs.h. */
13135 /* Override any GCC internal prototype to avoid an error.
13136 Use char because int might match the return type of a GCC
13137 builtin and then its argument prototype would still apply. */
13141 char png_create_read_struct ();
13145 return png_create_read_struct ();
13150 if ac_fn_c_try_link
"$LINENO"; then :
13152 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13153 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'` ;;
13154 *) 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'`
13155 if ${ac_cv_lib_soname_png:+false} :; then :
13156 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13160 rm -f core conftest.err conftest.
$ac_objext \
13161 conftest
$ac_exeext conftest.
$ac_ext
13162 LIBS
=$ac_check_soname_save_LIBS
13164 if ${ac_cv_lib_soname_png:+false} :; then :
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13166 $as_echo "not found" >&6; }
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13170 $as_echo "$ac_cv_lib_soname_png" >&6; }
13172 cat >>confdefs.h
<<_ACEOF
13173 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13177 /* end confdefs.h. */
13182 typeof(png_set_expand_gray_1_2_4_to_8) *p
13187 if ac_fn_c_try_compile
"$LINENO"; then :
13189 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13197 CPPFLAGS
=$ac_save_CPPFLAGS
13198 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13199 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13202 if test "x$ac_cv_lib_soname_png" = "x"; then :
13203 case "x$with_png" in
13204 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13206 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13207 This is an error since --with-png was requested." "$LINENO" 5 ;;
13211 if test "x$with_tiff" != "xno"
13213 if ${TIFF_CFLAGS:+false} :; then :
13214 if ${PKG_CONFIG+:} false
; then :
13215 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13219 if ${TIFF_LIBS:+false} :; then :
13220 if ${PKG_CONFIG+:} false
; then :
13221 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13226 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13227 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13228 ac_save_CPPFLAGS
=$CPPFLAGS
13229 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13230 for ac_header
in tiffio.h
13232 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13233 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13234 cat >>confdefs.h
<<_ACEOF
13235 #define HAVE_TIFFIO_H 1
13242 if test "$ac_cv_header_tiffio_h" = "yes"
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13245 $as_echo_n "checking for -ltiff... " >&6; }
13246 if ${ac_cv_lib_soname_tiff+:} false
; then :
13247 $as_echo_n "(cached) " >&6
13249 ac_check_soname_save_LIBS
=$LIBS
13250 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13252 /* end confdefs.h. */
13254 /* Override any GCC internal prototype to avoid an error.
13255 Use char because int might match the return type of a GCC
13256 builtin and then its argument prototype would still apply. */
13260 char TIFFClientOpen ();
13264 return TIFFClientOpen ();
13269 if ac_fn_c_try_link
"$LINENO"; then :
13271 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13272 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'` ;;
13273 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13274 if ${ac_cv_lib_soname_tiff:+false} :; then :
13275 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13279 rm -f core conftest.err conftest.
$ac_objext \
13280 conftest
$ac_exeext conftest.
$ac_ext
13281 LIBS
=$ac_check_soname_save_LIBS
13283 if ${ac_cv_lib_soname_tiff:+false} :; then :
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13285 $as_echo "not found" >&6; }
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13289 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13291 cat >>confdefs.h
<<_ACEOF
13292 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13298 CPPFLAGS
=$ac_save_CPPFLAGS
13299 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13300 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13303 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13304 case "x$with_tiff" in
13305 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13307 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13308 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13312 if test "x$with_mpg123" != "xno"
13314 if ${MPG123_CFLAGS:+false} :; then :
13315 if ${PKG_CONFIG+:} false
; then :
13316 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13320 if ${MPG123_LIBS:+false} :; then :
13321 if ${PKG_CONFIG+:} false
; then :
13322 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13326 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13327 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13328 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13329 ac_save_CPPFLAGS
=$CPPFLAGS
13330 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13331 for ac_header
in mpg123.h
13333 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13334 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13335 cat >>confdefs.h
<<_ACEOF
13336 #define HAVE_MPG123_H 1
13343 if test "$ac_cv_header_mpg123_h" = "yes"
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13346 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13347 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13348 $as_echo_n "(cached) " >&6
13350 ac_check_lib_save_LIBS
=$LIBS
13351 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13353 /* end confdefs.h. */
13355 /* Override any GCC internal prototype to avoid an error.
13356 Use char because int might match the return type of a GCC
13357 builtin and then its argument prototype would still apply. */
13361 char mpg123_feed ();
13365 return mpg123_feed ();
13370 if ac_fn_c_try_link
"$LINENO"; then :
13371 ac_cv_lib_mpg123_mpg123_feed
=yes
13373 ac_cv_lib_mpg123_mpg123_feed
=no
13375 rm -f core conftest.err conftest.
$ac_objext \
13376 conftest
$ac_exeext conftest.
$ac_ext
13377 LIBS
=$ac_check_lib_save_LIBS
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13380 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13381 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13391 CPPFLAGS
=$ac_save_CPPFLAGS
13392 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13393 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13396 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13397 case "x$with_mpg123" in
13398 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13400 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13401 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13404 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}
13406 if test "$ac_cv_header_AL_al_h" = "yes"
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13409 $as_echo_n "checking for -lopenal... " >&6; }
13410 if ${ac_cv_lib_soname_openal+:} false
; then :
13411 $as_echo_n "(cached) " >&6
13413 ac_check_soname_save_LIBS
=$LIBS
13414 LIBS
="-lopenal $LIBS"
13415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13416 /* end confdefs.h. */
13418 /* Override any GCC internal prototype to avoid an error.
13419 Use char because int might match the return type of a GCC
13420 builtin and then its argument prototype would still apply. */
13424 char alGetSource3i ();
13428 return alGetSource3i ();
13433 if ac_fn_c_try_link
"$LINENO"; then :
13435 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13436 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'` ;;
13437 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13438 if ${ac_cv_lib_soname_openal:+false} :; then :
13439 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13443 rm -f core conftest.err conftest.
$ac_objext \
13444 conftest
$ac_exeext conftest.
$ac_ext
13445 LIBS
=$ac_check_soname_save_LIBS
13447 if ${ac_cv_lib_soname_openal:+false} :; then :
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13449 $as_echo "not found" >&6; }
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13453 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13455 cat >>confdefs.h
<<_ACEOF
13456 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13459 OPENAL_LIBS
="-lopenal"
13461 ac_cv_lib_openal
=yes
13463 cat >>confdefs.h
<<_ACEOF
13464 #define HAVE_OPENAL 1
13469 if test "x$ac_cv_lib_openal" != xyes
; then :
13470 case "x$with_openal" in
13471 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13473 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13474 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13477 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13479 if test "$ac_cv_header_kstat_h" = "yes"
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13482 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13483 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13484 $as_echo_n "(cached) " >&6
13486 ac_check_lib_save_LIBS
=$LIBS
13487 LIBS
="-lkstat $LIBS"
13488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13489 /* end confdefs.h. */
13491 /* Override any GCC internal prototype to avoid an error.
13492 Use char because int might match the return type of a GCC
13493 builtin and then its argument prototype would still apply. */
13497 char kstat_open ();
13501 return kstat_open ();
13506 if ac_fn_c_try_link
"$LINENO"; then :
13507 ac_cv_lib_kstat_kstat_open
=yes
13509 ac_cv_lib_kstat_kstat_open
=no
13511 rm -f core conftest.err conftest.
$ac_objext \
13512 conftest
$ac_exeext conftest.
$ac_ext
13513 LIBS
=$ac_check_lib_save_LIBS
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13516 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13517 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13519 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13521 KSTAT_LIBS
="-lkstat"
13527 if test "$ac_cv_header_libprocstat_h" = "yes"
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13530 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13531 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13532 $as_echo_n "(cached) " >&6
13534 ac_check_lib_save_LIBS
=$LIBS
13535 LIBS
="-lprocstat $LIBS"
13536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13537 /* end confdefs.h. */
13539 /* Override any GCC internal prototype to avoid an error.
13540 Use char because int might match the return type of a GCC
13541 builtin and then its argument prototype would still apply. */
13545 char procstat_open_sysctl ();
13549 return procstat_open_sysctl ();
13554 if ac_fn_c_try_link
"$LINENO"; then :
13555 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13557 ac_cv_lib_procstat_procstat_open_sysctl
=no
13559 rm -f core conftest.err conftest.
$ac_objext \
13560 conftest
$ac_exeext conftest.
$ac_ext
13561 LIBS
=$ac_check_lib_save_LIBS
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13564 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13565 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13567 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13569 PROCSTAT_LIBS
="-lprocstat"
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13576 $as_echo_n "checking for -lodbc... " >&6; }
13577 if ${ac_cv_lib_soname_odbc+:} false
; then :
13578 $as_echo_n "(cached) " >&6
13580 ac_check_soname_save_LIBS
=$LIBS
13581 LIBS
="-lodbc $LIBS"
13582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13583 /* end confdefs.h. */
13585 /* Override any GCC internal prototype to avoid an error.
13586 Use char because int might match the return type of a GCC
13587 builtin and then its argument prototype would still apply. */
13591 char SQLConnect ();
13595 return SQLConnect ();
13600 if ac_fn_c_try_link
"$LINENO"; then :
13602 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13603 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'` ;;
13604 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13605 if ${ac_cv_lib_soname_odbc:+false} :; then :
13606 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13610 rm -f core conftest.err conftest.
$ac_objext \
13611 conftest
$ac_exeext conftest.
$ac_ext
13612 LIBS
=$ac_check_soname_save_LIBS
13614 if ${ac_cv_lib_soname_odbc:+false} :; then :
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13616 $as_echo "not found" >&6; }
13617 cat >>confdefs.h
<<_ACEOF
13618 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13623 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13625 cat >>confdefs.h
<<_ACEOF
13626 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13632 if test "x$with_netapi" != "xno"
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13635 $as_echo_n "checking for -lnetapi... " >&6; }
13636 if ${ac_cv_lib_soname_netapi+:} false
; then :
13637 $as_echo_n "(cached) " >&6
13639 ac_check_soname_save_LIBS
=$LIBS
13640 LIBS
="-lnetapi $LIBS"
13641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13642 /* end confdefs.h. */
13644 /* Override any GCC internal prototype to avoid an error.
13645 Use char because int might match the return type of a GCC
13646 builtin and then its argument prototype would still apply. */
13650 char libnetapi_init ();
13654 return libnetapi_init ();
13659 if ac_fn_c_try_link
"$LINENO"; then :
13661 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13662 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'` ;;
13663 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13664 if ${ac_cv_lib_soname_netapi:+false} :; then :
13665 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13669 rm -f core conftest.err conftest.
$ac_objext \
13670 conftest
$ac_exeext conftest.
$ac_ext
13671 LIBS
=$ac_check_soname_save_LIBS
13673 if ${ac_cv_lib_soname_netapi:+false} :; then :
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13675 $as_echo "not found" >&6; }
13676 cat >>confdefs.h
<<_ACEOF
13677 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13682 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13684 cat >>confdefs.h
<<_ACEOF
13685 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13692 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13693 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13694 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13695 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13697 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13698 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13699 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13701 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13707 if test "x${GCC}" = "xyes"
13709 EXTRACFLAGS
="-Wall -pipe"
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13712 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13713 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13714 $as_echo_n "(cached) " >&6
13716 if test "$cross_compiling" = yes; then :
13717 ac_cv_c_gcc_strength_bug
="yes"
13719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13720 /* end confdefs.h. */
13721 int L[4] = {0,1,2,3};
13725 static int Array[3];
13726 unsigned int B = 3;
13728 for(i=0; i<B; i++) Array[i] = i - 3;
13729 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13731 return (Array[1] != -2 || L[2] != 3)
13736 if ac_fn_c_try_run
"$LINENO"; then :
13737 ac_cv_c_gcc_strength_bug
="no"
13739 ac_cv_c_gcc_strength_bug
="yes"
13741 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13742 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13747 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13748 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13750 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13754 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13755 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13756 $as_echo_n "(cached) " >&6
13758 ac_wine_try_cflags_saved
=$CFLAGS
13759 CFLAGS
="$CFLAGS -fno-builtin"
13760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13761 /* end confdefs.h. */
13762 int main(int argc, char **argv) { return 0; }
13764 if ac_fn_c_try_link
"$LINENO"; then :
13765 ac_cv_cflags__fno_builtin
=yes
13767 ac_cv_cflags__fno_builtin
=no
13769 rm -f core conftest.err conftest.
$ac_objext \
13770 conftest
$ac_exeext conftest.
$ac_ext
13771 CFLAGS
=$ac_wine_try_cflags_saved
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13774 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13775 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13776 BUILTINFLAG
="-fno-builtin"
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13780 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13781 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13782 $as_echo_n "(cached) " >&6
13784 ac_wine_try_cflags_saved
=$CFLAGS
13785 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13787 /* end confdefs.h. */
13788 int main(int argc, char **argv) { return 0; }
13790 if ac_fn_c_try_link
"$LINENO"; then :
13791 ac_cv_cflags__fno_strict_aliasing
=yes
13793 ac_cv_cflags__fno_strict_aliasing
=no
13795 rm -f core conftest.err conftest.
$ac_objext \
13796 conftest
$ac_exeext conftest.
$ac_ext
13797 CFLAGS
=$ac_wine_try_cflags_saved
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13800 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13801 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13802 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13804 saved_CFLAGS
=$CFLAGS
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13806 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13807 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13808 $as_echo_n "(cached) " >&6
13810 ac_wine_try_cflags_saved
=$CFLAGS
13811 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13813 /* end confdefs.h. */
13814 int main(int argc, char **argv) { return 0; }
13816 if ac_fn_c_try_link
"$LINENO"; then :
13817 ac_cv_cflags__Werror_unknown_warning_option
=yes
13819 ac_cv_cflags__Werror_unknown_warning_option
=no
13821 rm -f core conftest.err conftest.
$ac_objext \
13822 conftest
$ac_exeext conftest.
$ac_ext
13823 CFLAGS
=$ac_wine_try_cflags_saved
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13826 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13827 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13828 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13831 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13832 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13833 $as_echo_n "(cached) " >&6
13835 ac_wine_try_cflags_saved
=$CFLAGS
13836 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13838 /* end confdefs.h. */
13839 int main(int argc, char **argv) { return 0; }
13841 if ac_fn_c_try_link
"$LINENO"; then :
13842 ac_cv_cflags__Wdeclaration_after_statement
=yes
13844 ac_cv_cflags__Wdeclaration_after_statement
=no
13846 rm -f core conftest.err conftest.
$ac_objext \
13847 conftest
$ac_exeext conftest.
$ac_ext
13848 CFLAGS
=$ac_wine_try_cflags_saved
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13851 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13852 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13853 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13856 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13857 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13858 $as_echo_n "(cached) " >&6
13860 ac_wine_try_cflags_saved
=$CFLAGS
13861 CFLAGS
="$CFLAGS -Wempty-body"
13862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13863 /* end confdefs.h. */
13864 int main(int argc, char **argv) { return 0; }
13866 if ac_fn_c_try_link
"$LINENO"; then :
13867 ac_cv_cflags__Wempty_body
=yes
13869 ac_cv_cflags__Wempty_body
=no
13871 rm -f core conftest.err conftest.
$ac_objext \
13872 conftest
$ac_exeext conftest.
$ac_ext
13873 CFLAGS
=$ac_wine_try_cflags_saved
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13876 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13877 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13878 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13881 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13882 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13883 $as_echo_n "(cached) " >&6
13885 ac_wine_try_cflags_saved
=$CFLAGS
13886 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13888 /* end confdefs.h. */
13889 int main(int argc, char **argv) { return 0; }
13891 if ac_fn_c_try_link
"$LINENO"; then :
13892 ac_cv_cflags__Wignored_qualifiers
=yes
13894 ac_cv_cflags__Wignored_qualifiers
=no
13896 rm -f core conftest.err conftest.
$ac_objext \
13897 conftest
$ac_exeext conftest.
$ac_ext
13898 CFLAGS
=$ac_wine_try_cflags_saved
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13901 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13902 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13903 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13906 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13907 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13908 $as_echo_n "(cached) " >&6
13910 ac_wine_try_cflags_saved
=$CFLAGS
13911 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13913 /* end confdefs.h. */
13914 int main(int argc, char **argv) { return 0; }
13916 if ac_fn_c_try_link
"$LINENO"; then :
13917 ac_cv_cflags__Wstrict_prototypes
=yes
13919 ac_cv_cflags__Wstrict_prototypes
=no
13921 rm -f core conftest.err conftest.
$ac_objext \
13922 conftest
$ac_exeext conftest.
$ac_ext
13923 CFLAGS
=$ac_wine_try_cflags_saved
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13926 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13927 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13928 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13931 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13932 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13933 $as_echo_n "(cached) " >&6
13935 ac_wine_try_cflags_saved
=$CFLAGS
13936 CFLAGS
="$CFLAGS -Wtype-limits"
13937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13938 /* end confdefs.h. */
13939 int main(int argc, char **argv) { return 0; }
13941 if ac_fn_c_try_link
"$LINENO"; then :
13942 ac_cv_cflags__Wtype_limits
=yes
13944 ac_cv_cflags__Wtype_limits
=no
13946 rm -f core conftest.err conftest.
$ac_objext \
13947 conftest
$ac_exeext conftest.
$ac_ext
13948 CFLAGS
=$ac_wine_try_cflags_saved
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13951 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13952 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13953 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13956 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13957 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13958 $as_echo_n "(cached) " >&6
13960 ac_wine_try_cflags_saved
=$CFLAGS
13961 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13963 /* end confdefs.h. */
13964 int main(int argc, char **argv) { return 0; }
13966 if ac_fn_c_try_link
"$LINENO"; then :
13967 ac_cv_cflags__Wunused_but_set_parameter
=yes
13969 ac_cv_cflags__Wunused_but_set_parameter
=no
13971 rm -f core conftest.err conftest.
$ac_objext \
13972 conftest
$ac_exeext conftest.
$ac_ext
13973 CFLAGS
=$ac_wine_try_cflags_saved
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13976 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13977 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13978 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13981 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13982 if ${ac_cv_cflags__Wvla+:} false
; then :
13983 $as_echo_n "(cached) " >&6
13985 ac_wine_try_cflags_saved
=$CFLAGS
13986 CFLAGS
="$CFLAGS -Wvla"
13987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13988 /* end confdefs.h. */
13989 int main(int argc, char **argv) { return 0; }
13991 if ac_fn_c_try_link
"$LINENO"; then :
13992 ac_cv_cflags__Wvla
=yes
13994 ac_cv_cflags__Wvla
=no
13996 rm -f core conftest.err conftest.
$ac_objext \
13997 conftest
$ac_exeext conftest.
$ac_ext
13998 CFLAGS
=$ac_wine_try_cflags_saved
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14001 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14002 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
14003 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14006 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14007 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
14008 $as_echo_n "(cached) " >&6
14010 ac_wine_try_cflags_saved
=$CFLAGS
14011 CFLAGS
="$CFLAGS -Wwrite-strings"
14012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14013 /* end confdefs.h. */
14014 int main(int argc, char **argv) { return 0; }
14016 if ac_fn_c_try_link
"$LINENO"; then :
14017 ac_cv_cflags__Wwrite_strings
=yes
14019 ac_cv_cflags__Wwrite_strings
=no
14021 rm -f core conftest.err conftest.
$ac_objext \
14022 conftest
$ac_exeext conftest.
$ac_ext
14023 CFLAGS
=$ac_wine_try_cflags_saved
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14026 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14027 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14028 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14032 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14033 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14034 $as_echo_n "(cached) " >&6
14036 ac_wine_try_cflags_saved
=$CFLAGS
14037 CFLAGS
="$CFLAGS -Wpointer-arith"
14038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14039 /* end confdefs.h. */
14040 int main(int argc, char **argv) { return 0; }
14042 if ac_fn_c_try_link
"$LINENO"; then :
14043 ac_cv_cflags__Wpointer_arith
=yes
14045 ac_cv_cflags__Wpointer_arith
=no
14047 rm -f core conftest.err conftest.
$ac_objext \
14048 conftest
$ac_exeext conftest.
$ac_ext
14049 CFLAGS
=$ac_wine_try_cflags_saved
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14052 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14053 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14054 saved_string_h_CFLAGS
=$CFLAGS
14055 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14057 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14058 if ${ac_cv_c_string_h_warnings+:} false
; then :
14059 $as_echo_n "(cached) " >&6
14061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14062 /* end confdefs.h. */
14063 #include <string.h>
14072 if ac_fn_c_try_compile
"$LINENO"; then :
14073 ac_cv_c_string_h_warnings
=no
14075 ac_cv_c_string_h_warnings
=yes
14077 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14080 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14081 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14082 CFLAGS
=$saved_string_h_CFLAGS
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14086 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14087 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14088 $as_echo_n "(cached) " >&6
14090 ac_wine_try_cflags_saved
=$CFLAGS
14091 CFLAGS
="$CFLAGS -Wlogical-op"
14092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14093 /* end confdefs.h. */
14094 int main(int argc, char **argv) { return 0; }
14096 if ac_fn_c_try_link
"$LINENO"; then :
14097 ac_cv_cflags__Wlogical_op
=yes
14099 ac_cv_cflags__Wlogical_op
=no
14101 rm -f core conftest.err conftest.
$ac_objext \
14102 conftest
$ac_exeext conftest.
$ac_ext
14103 CFLAGS
=$ac_wine_try_cflags_saved
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14106 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14107 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14108 saved_string_h_CFLAGS
=$CFLAGS
14109 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14111 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14112 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14113 $as_echo_n "(cached) " >&6
14115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14116 /* end confdefs.h. */
14117 #include <string.h>
14118 char*f(const char *h,char n) {return strchr(h,n);}
14127 if ac_fn_c_try_compile
"$LINENO"; then :
14128 ac_cv_c_logicalop_noisy
=no
14130 ac_cv_c_logicalop_noisy
=yes
14132 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14135 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14136 CFLAGS
=$saved_string_h_CFLAGS
14137 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14140 CFLAGS
=$saved_CFLAGS
14142 for ac_flag
in $CFLAGS; do
14144 -g) case $host_os in
14145 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14146 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14147 if ${ac_cv_cflags__gstabsp+:} false
; then :
14148 $as_echo_n "(cached) " >&6
14150 ac_wine_try_cflags_saved
=$CFLAGS
14151 CFLAGS
="$CFLAGS -gstabs+"
14152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14153 /* end confdefs.h. */
14154 int main(int argc, char **argv) { return 0; }
14156 if ac_fn_c_try_link
"$LINENO"; then :
14157 ac_cv_cflags__gstabsp
=yes
14159 ac_cv_cflags__gstabsp
=no
14161 rm -f core conftest.err conftest.
$ac_objext \
14162 conftest
$ac_exeext conftest.
$ac_ext
14163 CFLAGS
=$ac_wine_try_cflags_saved
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14166 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14167 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14168 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14170 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14171 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14172 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14173 $as_echo_n "(cached) " >&6
14175 ac_wine_try_cflags_saved
=$CFLAGS
14176 CFLAGS
="$CFLAGS -gdwarf-2"
14177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14178 /* end confdefs.h. */
14179 int main(int argc, char **argv) { return 0; }
14181 if ac_fn_c_try_link
"$LINENO"; then :
14182 ac_cv_cflags__gdwarf_2
=yes
14184 ac_cv_cflags__gdwarf_2
=no
14186 rm -f core conftest.err conftest.
$ac_objext \
14187 conftest
$ac_exeext conftest.
$ac_ext
14188 CFLAGS
=$ac_wine_try_cflags_saved
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14191 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14192 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14193 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14196 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14197 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14198 $as_echo_n "(cached) " >&6
14200 ac_wine_try_cflags_saved
=$CFLAGS
14201 CFLAGS
="$CFLAGS -gstrict-dwarf"
14202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14203 /* end confdefs.h. */
14204 int main(int argc, char **argv) { return 0; }
14206 if ac_fn_c_try_link
"$LINENO"; then :
14207 ac_cv_cflags__gstrict_dwarf
=yes
14209 ac_cv_cflags__gstrict_dwarf
=no
14211 rm -f core conftest.err conftest.
$ac_objext \
14212 conftest
$ac_exeext conftest.
$ac_ext
14213 CFLAGS
=$ac_wine_try_cflags_saved
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14216 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14217 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14218 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14225 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14226 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14227 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14228 $as_echo_n "(cached) " >&6
14230 ac_wine_try_cflags_saved
=$CFLAGS
14231 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14233 /* end confdefs.h. */
14234 int main(int argc, char **argv) { return 0; }
14236 if ac_fn_c_try_link
"$LINENO"; then :
14237 ac_cv_cflags__fno_omit_frame_pointer
=yes
14239 ac_cv_cflags__fno_omit_frame_pointer
=no
14241 rm -f core conftest.err conftest.
$ac_objext \
14242 conftest
$ac_exeext conftest.
$ac_ext
14243 CFLAGS
=$ac_wine_try_cflags_saved
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14246 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14247 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14248 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14253 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14254 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14255 if ${ac_cv_cflags__Wno_format+:} false
; then :
14256 $as_echo_n "(cached) " >&6
14258 ac_wine_try_cflags_saved
=$CFLAGS
14259 CFLAGS
="$CFLAGS -Wno-format"
14260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14261 /* end confdefs.h. */
14262 int main(int argc, char **argv) { return 0; }
14264 if ac_fn_c_try_link
"$LINENO"; then :
14265 ac_cv_cflags__Wno_format
=yes
14267 ac_cv_cflags__Wno_format
=no
14269 rm -f core conftest.err conftest.
$ac_objext \
14270 conftest
$ac_exeext conftest.
$ac_ext
14271 CFLAGS
=$ac_wine_try_cflags_saved
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14274 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14275 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14276 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14280 if test "x$enable_maintainer_mode" = "xyes"
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14283 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14284 if ${ac_cv_cflags__Werror+:} false
; then :
14285 $as_echo_n "(cached) " >&6
14287 ac_wine_try_cflags_saved
=$CFLAGS
14288 CFLAGS
="$CFLAGS -Werror"
14289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14290 /* end confdefs.h. */
14291 int main(int argc, char **argv) { return 0; }
14293 if ac_fn_c_try_link
"$LINENO"; then :
14294 ac_cv_cflags__Werror
=yes
14296 ac_cv_cflags__Werror
=no
14298 rm -f core conftest.err conftest.
$ac_objext \
14299 conftest
$ac_exeext conftest.
$ac_ext
14300 CFLAGS
=$ac_wine_try_cflags_saved
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14303 $as_echo "$ac_cv_cflags__Werror" >&6; }
14304 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14305 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14309 saved_CFLAGS
="$CFLAGS"
14310 CFLAGS
="$CFLAGS -Werror"
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14312 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14313 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14314 $as_echo_n "(cached) " >&6
14316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14317 /* end confdefs.h. */
14318 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14327 if ac_fn_c_try_compile
"$LINENO"; then :
14328 ac_cv_have_ms_hook_prologue
="yes"
14330 ac_cv_have_ms_hook_prologue
="no"
14332 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14335 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14336 CFLAGS
="$saved_CFLAGS"
14337 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14340 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14343 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14350 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14351 if ${ac_cv_c_fortify_enabled+:} false
; then :
14352 $as_echo_n "(cached) " >&6
14354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14355 /* end confdefs.h. */
14356 #include <string.h>
14360 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14361 #error Fortify enabled
14367 if ac_fn_c_try_compile
"$LINENO"; then :
14368 ac_cv_c_fortify_enabled
=no
14370 ac_cv_c_fortify_enabled
=yes
14372 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14375 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14376 if test "$ac_cv_c_fortify_enabled" = yes
14378 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14383 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14384 if ${ac_cv_c_extern_prefix+:} false
; then :
14385 $as_echo_n "(cached) " >&6
14387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14388 /* end confdefs.h. */
14389 extern int ac_test;
14393 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14398 if ac_fn_c_try_link
"$LINENO"; then :
14399 ac_cv_c_extern_prefix
="yes"
14401 ac_cv_c_extern_prefix
="no"
14403 rm -f core conftest.err conftest.
$ac_objext \
14404 conftest
$ac_exeext conftest.
$ac_ext
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14407 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14412 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14413 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14414 $as_echo_n "(cached) " >&6
14416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14417 /* end confdefs.h. */
14419 #define __stdcall __attribute__((__stdcall__))
14421 int __stdcall ac_test(int i) { return i; }
14425 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14430 if ac_fn_c_try_link
"$LINENO"; then :
14431 ac_cv_c_stdcall_suffix
="yes"
14433 ac_cv_c_stdcall_suffix
="no"
14435 rm -f core conftest.err conftest.
$ac_objext \
14436 conftest
$ac_exeext conftest.
$ac_ext
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14439 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14440 *) ac_cv_c_stdcall_suffix
="no" ;;
14444 if test "$ac_cv_c_extern_prefix" = "yes"
14446 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14448 asm_name_prefix
="_"
14450 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14456 if test "$ac_cv_c_stdcall_suffix" = "yes"
14458 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14461 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14467 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14468 if ${ac_cv_asm_func_def+:} false
; then :
14469 $as_echo_n "(cached) " >&6
14471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14472 /* end confdefs.h. */
14477 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14482 if ac_fn_c_try_link
"$LINENO"; then :
14483 ac_cv_asm_func_def
=".def"
14485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14486 /* end confdefs.h. */
14491 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14496 if ac_fn_c_try_link
"$LINENO"; then :
14497 ac_cv_asm_func_def
=".type @function"
14499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14500 /* end confdefs.h. */
14505 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14510 if ac_fn_c_try_link
"$LINENO"; then :
14511 ac_cv_asm_func_def
=".type 2"
14513 ac_cv_asm_func_def
="unknown"
14515 rm -f core conftest.err conftest.
$ac_objext \
14516 conftest
$ac_exeext conftest.
$ac_ext
14518 rm -f core conftest.err conftest.
$ac_objext \
14519 conftest
$ac_exeext conftest.
$ac_ext
14521 rm -f core conftest.err conftest.
$ac_objext \
14522 conftest
$ac_exeext conftest.
$ac_ext
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14525 $as_echo "$ac_cv_asm_func_def" >&6; }
14528 case "$ac_cv_asm_func_def" in
14530 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14532 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14534 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14536 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14538 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14540 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14542 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14544 asm_func_header
="" ;;
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14548 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14549 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14550 $as_echo_n "(cached) " >&6
14552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14553 /* end confdefs.h. */
14554 asm(".text\n\t.long 0");
14563 if ac_fn_c_try_compile
"$LINENO"; then :
14564 ac_cv_c_asm_outside_funcs
="yes"
14566 ac_cv_c_asm_outside_funcs
="no"
14568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14571 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14574 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14575 if ${ac_cv_c_dot_previous+:} false
; then :
14576 $as_echo_n "(cached) " >&6
14578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14579 /* end confdefs.h. */
14584 asm(".text\nac_test:\t.long 0\n\t.previous");
14589 if ac_fn_c_try_link
"$LINENO"; then :
14590 ac_cv_c_dot_previous
="yes"
14592 ac_cv_c_dot_previous
="no"
14594 rm -f core conftest.err conftest.
$ac_objext \
14595 conftest
$ac_exeext conftest.
$ac_ext
14597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14598 $as_echo "$ac_cv_c_dot_previous" >&6; }
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14601 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14602 if ${ac_cv_c_cfi_support+:} false
; then :
14603 $as_echo_n "(cached) " >&6
14605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14606 /* end confdefs.h. */
14607 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14616 if ac_fn_c_try_compile
"$LINENO"; then :
14617 ac_cv_c_cfi_support
="yes"
14619 ac_cv_c_cfi_support
="no"
14621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14624 $as_echo "$ac_cv_c_cfi_support" >&6; }
14626 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14627 asm_func_trailer
=""
14628 if test "$ac_cv_c_dot_previous" = "yes"
14630 asm_func_trailer
="\\n\\t.previous"
14632 if test "$ac_cv_c_cfi_support" = "yes"
14634 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14635 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14637 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14639 UNWINDFLAGS
=-fasynchronous-unwind-tables
14642 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14646 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14649 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14651 cat >>confdefs.h
<<_ACEOF
14652 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14656 cat >>confdefs.h
<<_ACEOF
14657 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14662 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14665 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14670 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14677 *i
[3456789]86*|x86_64
*)
14678 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14679 loader_programs
="$loader_programs $wine_binary-preloader"
14680 as_fn_append LOADER_RULES
"
14681 $wine_binary-preloader: preloader.o
14682 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14684 install install-lib:: $wine_binary-preloader
14685 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14688 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14690 preloader_EXTRADEFS = $BUILTINFLAG
14695 as_fn_append LOADER_RULES
"
14696 PROGRAMS = $loader_programs
14700 ac_save_CFLAGS
="$CFLAGS"
14701 CFLAGS
="$CFLAGS $BUILTINFLAG"
14780 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14781 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14782 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14783 cat >>confdefs.h
<<_ACEOF
14784 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14790 CFLAGS
="$ac_save_CFLAGS"
14792 if test "$ac_cv_func_dlopen" = no
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14795 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14796 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14797 $as_echo_n "(cached) " >&6
14799 ac_check_lib_save_LIBS
=$LIBS
14801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14802 /* end confdefs.h. */
14804 /* Override any GCC internal prototype to avoid an error.
14805 Use char because int might match the return type of a GCC
14806 builtin and then its argument prototype would still apply. */
14819 if ac_fn_c_try_link
"$LINENO"; then :
14820 ac_cv_lib_dl_dlopen
=yes
14822 ac_cv_lib_dl_dlopen
=no
14824 rm -f core conftest.err conftest.
$ac_objext \
14825 conftest
$ac_exeext conftest.
$ac_ext
14826 LIBS
=$ac_check_lib_save_LIBS
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14829 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14830 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14831 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14837 ac_wine_check_funcs_save_LIBS
="$LIBS"
14838 LIBS
="$LIBS $DL_LIBS"
14839 for ac_func
in dladdr
14841 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14842 if test "x$ac_cv_func_dladdr" = xyes
; then :
14843 cat >>confdefs.h
<<_ACEOF
14844 #define HAVE_DLADDR 1
14850 LIBS
="$ac_wine_check_funcs_save_LIBS"
14852 if test "$ac_cv_func_poll" = no
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14855 $as_echo_n "checking for poll in -lpoll... " >&6; }
14856 if ${ac_cv_lib_poll_poll+:} false
; then :
14857 $as_echo_n "(cached) " >&6
14859 ac_check_lib_save_LIBS
=$LIBS
14860 LIBS
="-lpoll $LIBS"
14861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14862 /* end confdefs.h. */
14864 /* Override any GCC internal prototype to avoid an error.
14865 Use char because int might match the return type of a GCC
14866 builtin and then its argument prototype would still apply. */
14879 if ac_fn_c_try_link
"$LINENO"; then :
14880 ac_cv_lib_poll_poll
=yes
14882 ac_cv_lib_poll_poll
=no
14884 rm -f core conftest.err conftest.
$ac_objext \
14885 conftest
$ac_exeext conftest.
$ac_ext
14886 LIBS
=$ac_check_lib_save_LIBS
14888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14889 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14890 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14891 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14899 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14900 if ${ac_cv_search_gethostbyname+:} false
; then :
14901 $as_echo_n "(cached) " >&6
14903 ac_func_search_save_LIBS
=$LIBS
14904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14905 /* end confdefs.h. */
14907 /* Override any GCC internal prototype to avoid an error.
14908 Use char because int might match the return type of a GCC
14909 builtin and then its argument prototype would still apply. */
14913 char gethostbyname ();
14917 return gethostbyname ();
14922 for ac_lib
in '' nsl
; do
14923 if test -z "$ac_lib"; then
14924 ac_res
="none required"
14927 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14929 if ac_fn_c_try_link
"$LINENO"; then :
14930 ac_cv_search_gethostbyname
=$ac_res
14932 rm -f core conftest.err conftest.
$ac_objext \
14934 if ${ac_cv_search_gethostbyname+:} false
; then :
14938 if ${ac_cv_search_gethostbyname+:} false
; then :
14941 ac_cv_search_gethostbyname
=no
14943 rm conftest.
$ac_ext
14944 LIBS
=$ac_func_search_save_LIBS
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14947 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14948 ac_res
=$ac_cv_search_gethostbyname
14949 if test "$ac_res" != no
; then :
14950 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14956 $as_echo_n "checking for library containing connect... " >&6; }
14957 if ${ac_cv_search_connect+:} false
; then :
14958 $as_echo_n "(cached) " >&6
14960 ac_func_search_save_LIBS
=$LIBS
14961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14962 /* end confdefs.h. */
14964 /* Override any GCC internal prototype to avoid an error.
14965 Use char because int might match the return type of a GCC
14966 builtin and then its argument prototype would still apply. */
14979 for ac_lib
in '' socket
; do
14980 if test -z "$ac_lib"; then
14981 ac_res
="none required"
14984 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14986 if ac_fn_c_try_link
"$LINENO"; then :
14987 ac_cv_search_connect
=$ac_res
14989 rm -f core conftest.err conftest.
$ac_objext \
14991 if ${ac_cv_search_connect+:} false
; then :
14995 if ${ac_cv_search_connect+:} false
; then :
14998 ac_cv_search_connect
=no
15000 rm conftest.
$ac_ext
15001 LIBS
=$ac_func_search_save_LIBS
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15004 $as_echo "$ac_cv_search_connect" >&6; }
15005 ac_res
=$ac_cv_search_connect
15006 if test "$ac_res" != no
; then :
15007 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15013 $as_echo_n "checking for library containing inet_aton... " >&6; }
15014 if ${ac_cv_search_inet_aton+:} false
; then :
15015 $as_echo_n "(cached) " >&6
15017 ac_func_search_save_LIBS
=$LIBS
15018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15019 /* end confdefs.h. */
15021 /* Override any GCC internal prototype to avoid an error.
15022 Use char because int might match the return type of a GCC
15023 builtin and then its argument prototype would still apply. */
15031 return inet_aton ();
15036 for ac_lib
in '' resolv
; do
15037 if test -z "$ac_lib"; then
15038 ac_res
="none required"
15041 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15043 if ac_fn_c_try_link
"$LINENO"; then :
15044 ac_cv_search_inet_aton
=$ac_res
15046 rm -f core conftest.err conftest.
$ac_objext \
15048 if ${ac_cv_search_inet_aton+:} false
; then :
15052 if ${ac_cv_search_inet_aton+:} false
; then :
15055 ac_cv_search_inet_aton
=no
15057 rm conftest.
$ac_ext
15058 LIBS
=$ac_func_search_save_LIBS
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15061 $as_echo "$ac_cv_search_inet_aton" >&6; }
15062 ac_res
=$ac_cv_search_inet_aton
15063 if test "$ac_res" != no
; then :
15064 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15084 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15085 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15086 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15087 cat >>confdefs.h
<<_ACEOF
15088 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15097 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15098 if ${ac_cv_search_clock_gettime+:} false
; then :
15099 $as_echo_n "(cached) " >&6
15101 ac_func_search_save_LIBS
=$LIBS
15102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15103 /* end confdefs.h. */
15105 /* Override any GCC internal prototype to avoid an error.
15106 Use char because int might match the return type of a GCC
15107 builtin and then its argument prototype would still apply. */
15111 char clock_gettime ();
15115 return clock_gettime ();
15120 for ac_lib
in '' rt
; do
15121 if test -z "$ac_lib"; then
15122 ac_res
="none required"
15125 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15127 if ac_fn_c_try_link
"$LINENO"; then :
15128 ac_cv_search_clock_gettime
=$ac_res
15130 rm -f core conftest.err conftest.
$ac_objext \
15132 if ${ac_cv_search_clock_gettime+:} false
; then :
15136 if ${ac_cv_search_clock_gettime+:} false
; then :
15139 ac_cv_search_clock_gettime
=no
15141 rm conftest.
$ac_ext
15142 LIBS
=$ac_func_search_save_LIBS
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15145 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15146 ac_res
=$ac_cv_search_clock_gettime
15147 if test "$ac_res" != no
; then :
15148 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15150 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15152 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15160 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15162 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15164 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15166 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15167 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15168 $as_echo_n "(cached) " >&6
15170 ac_check_lib_save_LIBS
=$LIBS
15171 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15173 /* end confdefs.h. */
15175 /* Override any GCC internal prototype to avoid an error.
15176 Use char because int might match the return type of a GCC
15177 builtin and then its argument prototype would still apply. */
15181 char ldap_initialize ();
15185 return ldap_initialize ();
15190 if ac_fn_c_try_link
"$LINENO"; then :
15191 ac_cv_lib_ldap_r_ldap_initialize
=yes
15193 ac_cv_lib_ldap_r_ldap_initialize
=no
15195 rm -f core conftest.err conftest.
$ac_objext \
15196 conftest
$ac_exeext conftest.
$ac_ext
15197 LIBS
=$ac_check_lib_save_LIBS
15199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15200 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15201 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15203 $as_echo_n "checking for ber_init in -llber... " >&6; }
15204 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15205 $as_echo_n "(cached) " >&6
15207 ac_check_lib_save_LIBS
=$LIBS
15208 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15210 /* end confdefs.h. */
15212 /* Override any GCC internal prototype to avoid an error.
15213 Use char because int might match the return type of a GCC
15214 builtin and then its argument prototype would still apply. */
15222 return ber_init ();
15227 if ac_fn_c_try_link
"$LINENO"; then :
15228 ac_cv_lib_lber_ber_init
=yes
15230 ac_cv_lib_lber_ber_init
=no
15232 rm -f core conftest.err conftest.
$ac_objext \
15233 conftest
$ac_exeext conftest.
$ac_ext
15234 LIBS
=$ac_check_lib_save_LIBS
15236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15237 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15238 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15240 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15242 LDAP_LIBS
="-lldap_r -llber"
15249 ac_wine_check_funcs_save_LIBS
="$LIBS"
15250 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15252 ldap_count_references \
15253 ldap_first_reference \
15254 ldap_next_reference \
15255 ldap_parse_reference \
15256 ldap_parse_sort_control \
15257 ldap_parse_sortresponse_control \
15258 ldap_parse_vlv_control \
15259 ldap_parse_vlvresponse_control
15261 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15262 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15263 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15264 cat >>confdefs.h
<<_ACEOF
15265 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15271 LIBS
="$ac_wine_check_funcs_save_LIBS"
15273 if test "x$LDAP_LIBS" = "x"; then :
15274 case "x$with_ldap" in
15275 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15277 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15278 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15283 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15284 if ${wine_cv_one_arg_mkdir+:} false
; then :
15285 $as_echo_n "(cached) " >&6
15287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15288 /* end confdefs.h. */
15289 #include <sys/stat.h>
15298 if ac_fn_c_try_compile
"$LINENO"; then :
15299 wine_cv_one_arg_mkdir
=yes
15301 wine_cv_one_arg_mkdir
=no
15303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15306 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15307 if test "$wine_cv_one_arg_mkdir" = "yes"
15310 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15315 $as_echo_n "checking for sched_setaffinity... " >&6; }
15316 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15317 $as_echo_n "(cached) " >&6
15319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15320 /* end confdefs.h. */
15321 #define _GNU_SOURCE
15326 sched_setaffinity(0, 0, 0);
15331 if ac_fn_c_try_link
"$LINENO"; then :
15332 wine_cv_have_sched_setaffinity
=yes
15334 wine_cv_have_sched_setaffinity
=no
15336 rm -f core conftest.err conftest.
$ac_objext \
15337 conftest
$ac_exeext conftest.
$ac_ext
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15340 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15341 if test "$wine_cv_have_sched_setaffinity" = "yes"
15344 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15349 $as_echo_n "checking for fallocate... " >&6; }
15350 if ${wine_cv_have_fallocate+:} false
; then :
15351 $as_echo_n "(cached) " >&6
15353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15354 /* end confdefs.h. */
15355 #define _GNU_SOURCE
15360 fallocate(-1, 0, 0, 0);
15365 if ac_fn_c_try_link
"$LINENO"; then :
15366 wine_cv_have_fallocate
=yes
15368 wine_cv_have_fallocate
=no
15370 rm -f core conftest.err conftest.
$ac_objext \
15371 conftest
$ac_exeext conftest.
$ac_ext
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15374 $as_echo "$wine_cv_have_fallocate" >&6; }
15375 if test "$wine_cv_have_fallocate" = "yes"
15378 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15384 $as_echo_n "checking for inline... " >&6; }
15385 if ${ac_cv_c_inline+:} false
; then :
15386 $as_echo_n "(cached) " >&6
15389 for ac_kw
in inline __inline__ __inline
; do
15390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15391 /* end confdefs.h. */
15392 #ifndef __cplusplus
15394 static $ac_kw foo_t static_foo () {return 0; }
15395 $ac_kw foo_t foo () {return 0; }
15399 if ac_fn_c_try_compile
"$LINENO"; then :
15400 ac_cv_c_inline
=$ac_kw
15402 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15403 test "$ac_cv_c_inline" != no
&& break
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15408 $as_echo "$ac_cv_c_inline" >&6; }
15410 case $ac_cv_c_inline in
15413 case $ac_cv_c_inline in
15415 *) ac_val
=$ac_cv_c_inline;;
15417 cat >>confdefs.h
<<_ACEOF
15418 #ifndef __cplusplus
15419 #define inline $ac_val
15425 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15426 if test "x$ac_cv_type_mode_t" = xyes
; then :
15428 cat >>confdefs.h
<<_ACEOF
15429 #define HAVE_MODE_T 1
15434 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15435 if test "x$ac_cv_type_off_t" = xyes
; then :
15437 cat >>confdefs.h
<<_ACEOF
15438 #define HAVE_OFF_T 1
15443 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15444 if test "x$ac_cv_type_pid_t" = xyes
; then :
15446 cat >>confdefs.h
<<_ACEOF
15447 #define HAVE_PID_T 1
15452 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15453 if test "x$ac_cv_type_size_t" = xyes
; then :
15455 cat >>confdefs.h
<<_ACEOF
15456 #define HAVE_SIZE_T 1
15461 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15462 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15464 cat >>confdefs.h
<<_ACEOF
15465 #define HAVE_SSIZE_T 1
15470 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15471 if test "x$ac_cv_type_long_long" = xyes
; then :
15473 cat >>confdefs.h
<<_ACEOF
15474 #define HAVE_LONG_LONG 1
15479 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15480 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15482 cat >>confdefs.h
<<_ACEOF
15483 #define HAVE_FSBLKCNT_T 1
15488 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15489 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15491 cat >>confdefs.h
<<_ACEOF
15492 #define HAVE_FSFILCNT_T 1
15498 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15499 #include <signal.h>
15501 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15503 cat >>confdefs.h
<<_ACEOF
15504 #define HAVE_SIGSET_T 1
15510 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15512 if test "x$ac_cv_type_request_sense" = xyes
; then :
15514 cat >>confdefs.h
<<_ACEOF
15515 #define HAVE_REQUEST_SENSE 1
15522 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15523 #ifdef HAVE_SYS_SOCKET_H
15524 #include <sys/socket.h>
15526 #ifdef HAVE_SYS_SOCKETVAR_H
15527 #include <sys/socketvar.h>
15529 #ifdef HAVE_NET_ROUTE_H
15530 #include <net/route.h>
15532 #ifdef HAVE_NETINET_IN_H
15533 #include <netinet/in.h>
15535 #ifdef HAVE_NETINET_IN_SYSTM_H
15536 #include <netinet/in_systm.h>
15538 #ifdef HAVE_NETINET_IP_H
15539 #include <netinet/ip.h>
15541 #ifdef HAVE_NETINET_IN_PCB_H
15542 #include <netinet/in_pcb.h>
15545 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15547 cat >>confdefs.h
<<_ACEOF
15548 #define HAVE_STRUCT_XINPGEN 1
15555 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15558 #ifdef HAVE_SYS_LINK_H
15559 #include <sys/link.h>
15562 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15564 cat >>confdefs.h
<<_ACEOF
15565 #define HAVE_STRUCT_R_DEBUG 1
15570 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15573 #ifdef HAVE_SYS_LINK_H
15574 #include <sys/link.h>
15577 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15579 cat >>confdefs.h
<<_ACEOF
15580 #define HAVE_STRUCT_LINK_MAP 1
15587 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15588 #include <linux/input.h>
15591 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15593 cat >>confdefs.h
<<_ACEOF
15594 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15602 $as_echo_n "checking for sigaddset... " >&6; }
15603 if ${wine_cv_have_sigaddset+:} false
; then :
15604 $as_echo_n "(cached) " >&6
15606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15607 /* end confdefs.h. */
15608 #include <signal.h>
15612 sigset_t set; sigaddset(&set,SIGTERM);
15617 if ac_fn_c_try_link
"$LINENO"; then :
15618 wine_cv_have_sigaddset
=yes
15620 wine_cv_have_sigaddset
=no
15622 rm -f core conftest.err conftest.
$ac_objext \
15623 conftest
$ac_exeext conftest.
$ac_ext
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15626 $as_echo "$wine_cv_have_sigaddset" >&6; }
15627 if test "$wine_cv_have_sigaddset" = "yes"
15630 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15636 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15637 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15638 $as_echo_n "(cached) " >&6
15640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15641 /* end confdefs.h. */
15649 struct hostent *result;
15656 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15657 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15663 if ac_fn_c_try_link
"$LINENO"; then :
15664 wine_cv_linux_gethostbyname_r_6
=yes
15666 wine_cv_linux_gethostbyname_r_6
=no
15669 rm -f core conftest.err conftest.
$ac_objext \
15670 conftest
$ac_exeext conftest.
$ac_ext
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15674 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15675 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15678 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15682 if test "$ac_cv_header_linux_joystick_h" = "yes"
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15685 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15686 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15687 $as_echo_n "(cached) " >&6
15689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15690 /* end confdefs.h. */
15692 #include <sys/ioctl.h>
15693 #include <sys/types.h>
15694 #include <linux/joystick.h>
15696 struct js_event blub;
15697 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15698 #error "no 2.2 header"
15709 if ac_fn_c_try_compile
"$LINENO"; then :
15710 wine_cv_linux_joystick_22_api
=yes
15712 wine_cv_linux_joystick_22_api
=no
15714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15718 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15719 if test "$wine_cv_linux_joystick_22_api" = "yes"
15722 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15728 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15729 #ifdef HAVE_SYS_PARAM_H
15730 # include <sys/param.h>
15732 #ifdef HAVE_SYS_MOUNT_H
15733 # include <sys/mount.h>
15735 #ifdef HAVE_SYS_VFS_H
15736 # include <sys/vfs.h>
15738 #ifdef HAVE_SYS_STATFS_H
15739 # include <sys/statfs.h>
15742 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15744 cat >>confdefs.h
<<_ACEOF
15745 #define HAVE_STRUCT_STATFS_F_BFREE 1
15750 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15751 #ifdef HAVE_SYS_PARAM_H
15752 # include <sys/param.h>
15754 #ifdef HAVE_SYS_MOUNT_H
15755 # include <sys/mount.h>
15757 #ifdef HAVE_SYS_VFS_H
15758 # include <sys/vfs.h>
15760 #ifdef HAVE_SYS_STATFS_H
15761 # include <sys/statfs.h>
15764 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15766 cat >>confdefs.h
<<_ACEOF
15767 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15772 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15773 #ifdef HAVE_SYS_PARAM_H
15774 # include <sys/param.h>
15776 #ifdef HAVE_SYS_MOUNT_H
15777 # include <sys/mount.h>
15779 #ifdef HAVE_SYS_VFS_H
15780 # include <sys/vfs.h>
15782 #ifdef HAVE_SYS_STATFS_H
15783 # include <sys/statfs.h>
15786 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15788 cat >>confdefs.h
<<_ACEOF
15789 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15794 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15795 #ifdef HAVE_SYS_PARAM_H
15796 # include <sys/param.h>
15798 #ifdef HAVE_SYS_MOUNT_H
15799 # include <sys/mount.h>
15801 #ifdef HAVE_SYS_VFS_H
15802 # include <sys/vfs.h>
15804 #ifdef HAVE_SYS_STATFS_H
15805 # include <sys/statfs.h>
15808 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15810 cat >>confdefs.h
<<_ACEOF
15811 #define HAVE_STRUCT_STATFS_F_FFREE 1
15816 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15817 #ifdef HAVE_SYS_PARAM_H
15818 # include <sys/param.h>
15820 #ifdef HAVE_SYS_MOUNT_H
15821 # include <sys/mount.h>
15823 #ifdef HAVE_SYS_VFS_H
15824 # include <sys/vfs.h>
15826 #ifdef HAVE_SYS_STATFS_H
15827 # include <sys/statfs.h>
15830 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15832 cat >>confdefs.h
<<_ACEOF
15833 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15838 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15839 #ifdef HAVE_SYS_PARAM_H
15840 # include <sys/param.h>
15842 #ifdef HAVE_SYS_MOUNT_H
15843 # include <sys/mount.h>
15845 #ifdef HAVE_SYS_VFS_H
15846 # include <sys/vfs.h>
15848 #ifdef HAVE_SYS_STATFS_H
15849 # include <sys/statfs.h>
15852 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15854 cat >>confdefs.h
<<_ACEOF
15855 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15862 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15863 #include <sys/statvfs.h>
15866 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15868 cat >>confdefs.h
<<_ACEOF
15869 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15876 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15877 #include <dirent.h>
15880 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15882 cat >>confdefs.h
<<_ACEOF
15883 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15890 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15891 #ifdef HAVE_SYS_SOCKET_H
15892 # include <sys/socket.h>
15894 #ifdef HAVE_SYS_UN_H
15895 # include <sys/un.h>
15898 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15900 cat >>confdefs.h
<<_ACEOF
15901 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15906 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15907 #ifdef HAVE_SYS_SOCKET_H
15908 # include <sys/socket.h>
15910 #ifdef HAVE_SYS_UN_H
15911 # include <sys/un.h>
15914 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15916 cat >>confdefs.h
<<_ACEOF
15917 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15922 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15923 #ifdef HAVE_SYS_SOCKET_H
15924 # include <sys/socket.h>
15926 #ifdef HAVE_SYS_UN_H
15927 # include <sys/un.h>
15930 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15932 cat >>confdefs.h
<<_ACEOF
15933 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15940 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15941 #ifdef HAVE_SCSI_SG_H
15942 #include <scsi/sg.h>
15945 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15947 cat >>confdefs.h
<<_ACEOF
15948 #define HAVE_SCSIREQ_T_CMD 1
15953 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>
15954 #ifdef HAVE_SCSI_SG_H
15955 #include <scsi/sg.h>
15958 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15960 cat >>confdefs.h
<<_ACEOF
15961 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15968 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15970 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15972 cat >>confdefs.h
<<_ACEOF
15973 #define HAVE_SIGINFO_T_SI_FD 1
15980 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15981 #ifdef HAVE_SYS_MTIO_H
15982 #include <sys/mtio.h>
15985 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15987 cat >>confdefs.h
<<_ACEOF
15988 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15993 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15994 #ifdef HAVE_SYS_MTIO_H
15995 #include <sys/mtio.h>
15998 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
16000 cat >>confdefs.h
<<_ACEOF
16001 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16006 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16007 #ifdef HAVE_SYS_MTIO_H
16008 #include <sys/mtio.h>
16011 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
16013 cat >>confdefs.h
<<_ACEOF
16014 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16021 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16022 #include <getopt.h>
16025 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16027 cat >>confdefs.h
<<_ACEOF
16028 #define HAVE_STRUCT_OPTION_NAME 1
16035 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16036 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16038 cat >>confdefs.h
<<_ACEOF
16039 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16044 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16045 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16047 cat >>confdefs.h
<<_ACEOF
16048 #define HAVE_STRUCT_STAT_ST_MTIM 1
16053 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16054 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16056 cat >>confdefs.h
<<_ACEOF
16057 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16062 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16063 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16065 cat >>confdefs.h
<<_ACEOF
16066 #define HAVE_STRUCT_STAT_ST_CTIM 1
16071 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16072 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16074 cat >>confdefs.h
<<_ACEOF
16075 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16080 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16081 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16083 cat >>confdefs.h
<<_ACEOF
16084 #define HAVE_STRUCT_STAT_ST_ATIM 1
16089 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16090 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16092 cat >>confdefs.h
<<_ACEOF
16093 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16098 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16099 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16101 cat >>confdefs.h
<<_ACEOF
16102 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16107 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16108 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16110 cat >>confdefs.h
<<_ACEOF
16111 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16116 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16117 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16119 cat >>confdefs.h
<<_ACEOF
16120 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16125 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16126 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16128 cat >>confdefs.h
<<_ACEOF
16129 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16134 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16135 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16137 cat >>confdefs.h
<<_ACEOF
16138 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16145 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
16146 #include <sys/types.h>
16148 #ifdef HAVE_NETINET_IN_H
16149 #include <netinet/in.h>
16152 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16154 cat >>confdefs.h
<<_ACEOF
16155 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16162 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16163 #include <resolv.h>
16166 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16168 cat >>confdefs.h
<<_ACEOF
16169 #define HAVE_STRUCT___RES_STATE 1
16176 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
16177 #include <resolv.h>
16180 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16182 cat >>confdefs.h
<<_ACEOF
16183 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16190 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16191 #include <sys/types.h>
16193 #ifdef HAVE_NETINET_IN_H
16194 # include <netinet/in.h>
16196 #ifdef HAVE_ARPA_NAMESER_H
16197 # include <arpa/nameser.h>
16200 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16202 cat >>confdefs.h
<<_ACEOF
16203 #define HAVE_NS_MSG__MSG_PTR 1
16210 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16211 #include <sys/types.h>
16213 #ifdef HAVE_NETINET_IP_H
16214 #include <netinet/ip.h>
16216 #ifdef HAVE_NETINET_IP_ICMP_H
16217 #include <netinet/ip_icmp.h>
16219 #ifdef HAVE_NETINET_ICMP_VAR_H
16220 #include <netinet/icmp_var.h>
16223 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16225 cat >>confdefs.h
<<_ACEOF
16226 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16233 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16234 #include <sys/types.h>
16236 #ifdef HAVE_ALIAS_H
16239 #ifdef HAVE_SYS_SOCKET_H
16240 #include <sys/socket.h>
16242 #ifdef HAVE_SYS_SOCKETVAR_H
16243 #include <sys/socketvar.h>
16245 #ifdef HAVE_SYS_TIMEOUT_H
16246 #include <sys/timeout.h>
16248 #ifdef HAVE_NETINET_IN_H
16249 #include <netinet/in.h>
16251 #ifdef HAVE_NETINET_IN_SYSTM_H
16252 #include <netinet/in_systm.h>
16254 #ifdef HAVE_NETINET_IP_H
16255 #include <netinet/ip.h>
16257 #ifdef HAVE_NETINET_IP_VAR_H
16258 #include <netinet/ip_var.h>
16260 #ifdef HAVE_NETINET_IP_ICMP_H
16261 #include <netinet/ip_icmp.h>
16263 #ifdef HAVE_NETINET_ICMP_VAR_H
16264 #include <netinet/icmp_var.h>
16267 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16269 cat >>confdefs.h
<<_ACEOF
16270 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16277 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16278 #include <sys/types.h>
16280 #ifdef HAVE_SYS_SOCKETVAR_H
16281 #include <sys/socketvar.h>
16283 #ifdef HAVE_NETINET_IN_H
16284 #include <netinet/in.h>
16286 #ifdef HAVE_NETINET_IP_VAR_H
16287 #include <netinet/ip_var.h>
16290 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16292 cat >>confdefs.h
<<_ACEOF
16293 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16300 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
16301 #include <netinet/ip_var.h>
16304 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16306 cat >>confdefs.h
<<_ACEOF
16307 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16314 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16315 #include <sys/types.h>
16317 #ifdef HAVE_SYS_SOCKETVAR_H
16318 #include <sys/socketvar.h>
16320 #ifdef HAVE_NETINET_IN_H
16321 #include <netinet/in.h>
16323 #ifdef HAVE_NETINET_TCP_H
16324 #include <netinet/tcp.h>
16326 #ifdef HAVE_NETINET_TCP_VAR_H
16327 #include <netinet/tcp_var.h>
16330 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16332 cat >>confdefs.h
<<_ACEOF
16333 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16340 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
16341 #include <netinet/tcp_var.h>
16344 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16346 cat >>confdefs.h
<<_ACEOF
16347 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16354 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16355 #include <sys/types.h>
16357 #ifdef HAVE_NETINET_IN_H
16358 #include <netinet/in.h>
16360 #ifdef HAVE_NETINET_IP_VAR_H
16361 #include <netinet/ip_var.h>
16363 #ifdef HAVE_NETINET_UDP_H
16364 #include <netinet/udp.h>
16366 #ifdef HAVE_NETINET_UDP_VAR_H
16367 #include <netinet/udp_var.h>
16370 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16372 cat >>confdefs.h
<<_ACEOF
16373 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16380 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16381 #include <sys/types.h>
16383 #ifdef HAVE_NET_IF_H
16384 # include <net/if.h>
16387 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16389 cat >>confdefs.h
<<_ACEOF
16390 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16398 $as_echo_n "checking for timezone variable... " >&6; }
16399 if ${ac_cv_have_timezone+:} false
; then :
16400 $as_echo_n "(cached) " >&6
16402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16403 /* end confdefs.h. */
16413 if ac_fn_c_try_link
"$LINENO"; then :
16414 ac_cv_have_timezone
="yes"
16416 ac_cv_have_timezone
="no"
16418 rm -f core conftest.err conftest.
$ac_objext \
16419 conftest
$ac_exeext conftest.
$ac_ext
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16422 $as_echo "$ac_cv_have_timezone" >&6; }
16423 if test "$ac_cv_have_timezone" = "yes"
16426 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16430 $as_echo_n "checking for daylight variable... " >&6; }
16431 if ${ac_cv_have_daylight+:} false
; then :
16432 $as_echo_n "(cached) " >&6
16434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16435 /* end confdefs.h. */
16445 if ac_fn_c_try_link
"$LINENO"; then :
16446 ac_cv_have_daylight
="yes"
16448 ac_cv_have_daylight
="no"
16450 rm -f core conftest.err conftest.
$ac_objext \
16451 conftest
$ac_exeext conftest.
$ac_ext
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16454 $as_echo "$ac_cv_have_daylight" >&6; }
16455 if test "$ac_cv_have_daylight" = "yes"
16458 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16462 ac_save_LIBS
="$LIBS"
16464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16465 $as_echo_n "checking for isfinite... " >&6; }
16466 if ${ac_cv_have_isfinite+:} false
; then :
16467 $as_echo_n "(cached) " >&6
16469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16470 /* end confdefs.h. */
16471 #define _GNU_SOURCE
16476 float f = 0.0; return isfinite(f)
16481 if ac_fn_c_try_link
"$LINENO"; then :
16482 ac_cv_have_isfinite
="yes"
16484 ac_cv_have_isfinite
="no"
16486 rm -f core conftest.err conftest.
$ac_objext \
16487 conftest
$ac_exeext conftest.
$ac_ext
16489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16490 $as_echo "$ac_cv_have_isfinite" >&6; }
16491 if test "$ac_cv_have_isfinite" = "yes"
16494 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16499 $as_echo_n "checking for isinf... " >&6; }
16500 if ${ac_cv_have_isinf+:} false
; then :
16501 $as_echo_n "(cached) " >&6
16503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16504 /* end confdefs.h. */
16509 float f = 0.0; return isinf(f)
16514 if ac_fn_c_try_link
"$LINENO"; then :
16515 ac_cv_have_isinf
="yes"
16517 ac_cv_have_isinf
="no"
16519 rm -f core conftest.err conftest.
$ac_objext \
16520 conftest
$ac_exeext conftest.
$ac_ext
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16523 $as_echo "$ac_cv_have_isinf" >&6; }
16524 if test "$ac_cv_have_isinf" = "yes"
16527 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16532 $as_echo_n "checking for isnan... " >&6; }
16533 if ${ac_cv_have_isnan+:} false
; then :
16534 $as_echo_n "(cached) " >&6
16536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16537 /* end confdefs.h. */
16542 float f = 0.0; return isnan(f)
16547 if ac_fn_c_try_link
"$LINENO"; then :
16548 ac_cv_have_isnan
="yes"
16550 ac_cv_have_isnan
="no"
16552 rm -f core conftest.err conftest.
$ac_objext \
16553 conftest
$ac_exeext conftest.
$ac_ext
16555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16556 $as_echo "$ac_cv_have_isnan" >&6; }
16557 if test "$ac_cv_have_isnan" = "yes"
16560 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16587 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16588 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16589 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16590 cat >>confdefs.h
<<_ACEOF
16591 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16597 LIBS
="$ac_save_LIBS"
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16600 $as_echo_n "checking for __builtin_clz... " >&6; }
16601 if ${ac_cv_have___builtin_clz+:} false
; then :
16602 $as_echo_n "(cached) " >&6
16604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16605 /* end confdefs.h. */
16610 return __builtin_clz(1)
16615 if ac_fn_c_try_link
"$LINENO"; then :
16616 ac_cv_have___builtin_clz
="yes"
16618 ac_cv_have___builtin_clz
="no"
16620 rm -f core conftest.err conftest.
$ac_objext \
16621 conftest
$ac_exeext conftest.
$ac_ext
16623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16624 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16625 if test "$ac_cv_have___builtin_clz" = "yes"
16628 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16634 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16635 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16636 if ${ac_cv_cpp_def___i386__+:} false
; then :
16637 $as_echo_n "(cached) " >&6
16639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16640 /* end confdefs.h. */
16645 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16646 $EGREP "yes" >/dev
/null
2>&1; then :
16647 ac_cv_cpp_def___i386__
=yes
16649 ac_cv_cpp_def___i386__
=no
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16655 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16656 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16657 CFLAGS
="$CFLAGS -D__i386__"
16658 LINTFLAGS
="$LINTFLAGS -D__i386__"
16660 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16661 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16662 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16663 $as_echo_n "(cached) " >&6
16665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16666 /* end confdefs.h. */
16671 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16672 $EGREP "yes" >/dev
/null
2>&1; then :
16673 ac_cv_cpp_def___x86_64__
=yes
16675 ac_cv_cpp_def___x86_64__
=no
16680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16681 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16682 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16683 CFLAGS
="$CFLAGS -D__x86_64__"
16684 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16686 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16687 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16688 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16689 $as_echo_n "(cached) " >&6
16691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16692 /* end confdefs.h. */
16693 #ifndef __sparc64__
16697 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16698 $EGREP "yes" >/dev
/null
2>&1; then :
16699 ac_cv_cpp_def___sparc64__
=yes
16701 ac_cv_cpp_def___sparc64__
=no
16706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16707 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16708 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16709 CFLAGS
="$CFLAGS -D__sparc64__"
16710 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16712 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16713 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16714 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16715 $as_echo_n "(cached) " >&6
16717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16718 /* end confdefs.h. */
16723 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16724 $EGREP "yes" >/dev
/null
2>&1; then :
16725 ac_cv_cpp_def___sparc__
=yes
16727 ac_cv_cpp_def___sparc__
=no
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16733 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16734 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16735 CFLAGS
="$CFLAGS -D__sparc__"
16736 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16738 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16739 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16740 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16741 $as_echo_n "(cached) " >&6
16743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16744 /* end confdefs.h. */
16745 #ifndef __powerpc64__
16749 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16750 $EGREP "yes" >/dev
/null
2>&1; then :
16751 ac_cv_cpp_def___powerpc64__
=yes
16753 ac_cv_cpp_def___powerpc64__
=no
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16759 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16760 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16761 CFLAGS
="$CFLAGS -D__powerpc64__"
16762 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16764 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16765 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16766 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16767 $as_echo_n "(cached) " >&6
16769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16770 /* end confdefs.h. */
16771 #ifndef __powerpc__
16775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16776 $EGREP "yes" >/dev
/null
2>&1; then :
16777 ac_cv_cpp_def___powerpc__
=yes
16779 ac_cv_cpp_def___powerpc__
=no
16784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16785 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16786 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16787 CFLAGS
="$CFLAGS -D__powerpc__"
16788 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16790 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16791 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16792 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16793 $as_echo_n "(cached) " >&6
16795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16796 /* end confdefs.h. */
16797 #ifndef __aarch64__
16801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16802 $EGREP "yes" >/dev
/null
2>&1; then :
16803 ac_cv_cpp_def___aarch64__
=yes
16805 ac_cv_cpp_def___aarch64__
=no
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16811 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16812 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16813 CFLAGS
="$CFLAGS -D__aarch64__"
16814 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16816 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16817 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16818 if ${ac_cv_cpp_def___arm__+:} false
; then :
16819 $as_echo_n "(cached) " >&6
16821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16822 /* end confdefs.h. */
16827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16828 $EGREP "yes" >/dev
/null
2>&1; then :
16829 ac_cv_cpp_def___arm__
=yes
16831 ac_cv_cpp_def___arm__
=no
16836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16837 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16838 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16839 CFLAGS
="$CFLAGS -D__arm__"
16840 LINTFLAGS
="$LINTFLAGS -D__arm__"
16844 case $host_vendor in
16845 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16846 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16847 if ${ac_cv_cpp_def___sun__+:} false
; then :
16848 $as_echo_n "(cached) " >&6
16850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16851 /* end confdefs.h. */
16856 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16857 $EGREP "yes" >/dev
/null
2>&1; then :
16858 ac_cv_cpp_def___sun__
=yes
16860 ac_cv_cpp_def___sun__
=no
16865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16866 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16867 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16868 CFLAGS
="$CFLAGS -D__sun__"
16869 LINTFLAGS
="$LINTFLAGS -D__sun__"
16877 ac_config_commands
="$ac_config_commands include/stamp-h"
16879 $as_echo_n "creating Makefile rules..." >&6
16881 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16882 SOCKET_LIBS = $SOCKET_LIBS
16883 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16884 IOKIT_LIBS = $IOKIT_LIBS
16885 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16886 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16887 CORESERVICES_LIBS = $CORESERVICES_LIBS
16888 APPKIT_LIBS = $APPKIT_LIBS
16889 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16890 SECURITY_LIBS = $SECURITY_LIBS
16891 COREAUDIO_LIBS = $COREAUDIO_LIBS
16892 OPENAL_LIBS = $OPENAL_LIBS
16893 OPENCL_LIBS = $OPENCL_LIBS
16894 QUICKTIME_LIBS = $QUICKTIME_LIBS
16895 CARBON_LIBS = $CARBON_LIBS
16896 PTHREAD_LIBS = $PTHREAD_LIBS
16897 X_CFLAGS = $X_CFLAGS
16898 X_PRE_LIBS = $X_PRE_LIBS
16900 X_EXTRA_LIBS = $X_EXTRA_LIBS
16901 XML2_CFLAGS = $XML2_CFLAGS
16902 XML2_LIBS = $XML2_LIBS
16903 XSLT_CFLAGS = $XSLT_CFLAGS
16904 XSLT_LIBS = $XSLT_LIBS
16905 DBUS_CFLAGS = $DBUS_CFLAGS
16906 DBUS_LIBS = $DBUS_LIBS
16907 HAL_CFLAGS = $HAL_CFLAGS
16908 HAL_LIBS = $HAL_LIBS
16909 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16910 GNUTLS_LIBS = $GNUTLS_LIBS
16911 SANE_CFLAGS = $SANE_CFLAGS
16912 SANE_LIBS = $SANE_LIBS
16913 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16914 GPHOTO2_LIBS = $GPHOTO2_LIBS
16915 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16916 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16917 RESOLV_LIBS = $RESOLV_LIBS
16918 LCMS2_CFLAGS = $LCMS2_CFLAGS
16919 LCMS2_LIBS = $LCMS2_LIBS
16920 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16921 FREETYPE_LIBS = $FREETYPE_LIBS
16923 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16924 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16925 GSTREAMER_LIBS = $GSTREAMER_LIBS
16926 ALSA_LIBS = $ALSA_LIBS
16927 OSS4_CFLAGS = $OSS4_CFLAGS
16928 CAPI20_CFLAGS = $CAPI20_CFLAGS
16929 CAPI20_LIBS = $CAPI20_LIBS
16930 CUPS_CFLAGS = $CUPS_CFLAGS
16931 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16932 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16933 JPEG_CFLAGS = $JPEG_CFLAGS
16934 JPEG_LIBS = $JPEG_LIBS
16935 PNG_CFLAGS = $PNG_CFLAGS
16936 PNG_LIBS = $PNG_LIBS
16937 TIFF_CFLAGS = $TIFF_CFLAGS
16938 TIFF_LIBS = $TIFF_LIBS
16939 MPG123_CFLAGS = $MPG123_CFLAGS
16940 MPG123_LIBS = $MPG123_LIBS
16941 KSTAT_LIBS = $KSTAT_LIBS
16942 PROCSTAT_LIBS = $PROCSTAT_LIBS
16944 POLL_LIBS = $POLL_LIBS
16946 LDAP_LIBS = $LDAP_LIBS
16951 wine_fn_append_rule
"
16952 # Rules automatically generated by configure
16954 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16959 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16960 @./config.status Make.tmp Makefile"
16962 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16963 .gitignore: config.status
16964 @./config.status .gitignore"
16966 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16967 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16969 if test "x$enable_fonts" != xno
; then
16970 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16971 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16972 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16973 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16974 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16976 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16977 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16978 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16979 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16980 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16981 wine_fn_config_symlink wine
16982 if test "x$enable_win64" != xno
; then
16983 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16984 wine_fn_config_symlink wine64
16987 wine_fn_config_dll acledit enable_acledit
16988 wine_fn_config_dll aclui enable_aclui implib
16989 wine_fn_config_dll activeds enable_activeds implib
16990 wine_fn_config_dll actxprxy enable_actxprxy clean
16991 wine_fn_config_lib adsiid
16992 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16993 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16994 wine_fn_config_dll advpack enable_advpack implib
16995 wine_fn_config_test dlls
/advpack
/tests advpack_test
16996 wine_fn_config_dll amstream enable_amstream clean
16997 wine_fn_config_test dlls
/amstream
/tests amstream_test
16998 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16999 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17000 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17001 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17002 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17003 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17004 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17005 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17006 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17007 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17008 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17009 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17010 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17011 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17012 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17013 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17014 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17015 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17016 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17017 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17018 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17019 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17020 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17021 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17022 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17023 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17024 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17025 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17026 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17027 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17028 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17029 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17030 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17031 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17032 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17033 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17034 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17035 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17036 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17037 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17038 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17039 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17040 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17041 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17042 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17043 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17044 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17045 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17046 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17047 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17048 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17049 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17050 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17051 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17052 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17053 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17054 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17055 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17056 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17057 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17058 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17059 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17060 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17061 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17062 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17063 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17064 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17065 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17066 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17067 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17068 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17069 wine_fn_config_dll apphelp enable_apphelp
17070 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17071 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17072 wine_fn_config_dll atl enable_atl clean
,implib
17073 wine_fn_config_test dlls
/atl
/tests atl_test
17074 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17075 wine_fn_config_test dlls
/atl100
/tests atl100_test
17076 wine_fn_config_dll atl110 enable_atl110 clean
17077 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17078 wine_fn_config_test dlls
/atl80
/tests atl80_test
17079 wine_fn_config_dll atl90 enable_atl90 clean
17080 wine_fn_config_dll authz enable_authz
17081 wine_fn_config_dll avicap32 enable_avicap32 implib
17082 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
17083 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17084 wine_fn_config_dll avifile.dll16 enable_win16
17085 wine_fn_config_dll avrt enable_avrt implib
17086 wine_fn_config_dll bcrypt enable_bcrypt
17087 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17088 wine_fn_config_dll browseui enable_browseui clean
,po
17089 wine_fn_config_test dlls
/browseui
/tests browseui_test
17090 wine_fn_config_dll cabinet enable_cabinet implib
17091 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17092 wine_fn_config_dll capi2032 enable_capi2032 implib
17093 wine_fn_config_dll cards enable_cards implib
17094 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17095 wine_fn_config_dll clusapi enable_clusapi implib
17096 wine_fn_config_dll combase enable_combase
17097 wine_fn_config_test dlls
/combase
/tests combase_test
17098 wine_fn_config_dll comcat enable_comcat
17099 wine_fn_config_test dlls
/comcat
/tests comcat_test
17100 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
17101 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17102 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
17103 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17104 wine_fn_config_dll
comm.drv16 enable_win16
17105 wine_fn_config_dll commdlg.dll16 enable_win16
17106 wine_fn_config_dll compobj.dll16 enable_win16
17107 wine_fn_config_dll compstui enable_compstui implib
17108 wine_fn_config_dll comsvcs enable_comsvcs implib
17109 wine_fn_config_dll connect enable_connect
17110 wine_fn_config_dll credui enable_credui implib
,po
17111 wine_fn_config_test dlls
/credui
/tests credui_test
17112 wine_fn_config_dll crtdll enable_crtdll implib
17113 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
17114 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17115 wine_fn_config_dll cryptdlg enable_cryptdlg po
17116 wine_fn_config_dll cryptdll enable_cryptdll implib
17117 wine_fn_config_dll cryptext enable_cryptext
17118 wine_fn_config_dll cryptnet enable_cryptnet implib
17119 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17120 wine_fn_config_dll cryptui enable_cryptui implib
,po
17121 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17122 wine_fn_config_dll ctapi32 enable_ctapi32
17123 wine_fn_config_dll ctl3d.dll16 enable_win16
17124 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17125 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17126 wine_fn_config_dll d2d1 enable_d2d1 implib
17127 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17128 wine_fn_config_dll d3d10 enable_d3d10 implib
17129 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17130 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17131 wine_fn_config_dll d3d10core enable_d3d10core implib
17132 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17133 wine_fn_config_dll d3d11 enable_d3d11
17134 wine_fn_config_dll d3d8 enable_d3d8 implib
17135 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17136 wine_fn_config_dll d3d9 enable_d3d9 implib
17137 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17138 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17139 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17140 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17141 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17142 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17143 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17144 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17145 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17146 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17147 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17148 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17149 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17150 wine_fn_config_dll d3dim enable_d3dim implib
17151 wine_fn_config_dll d3drm enable_d3drm implib
17152 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17153 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17154 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17155 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17156 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17157 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17158 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17159 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17160 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17161 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17162 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17163 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17164 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17165 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17166 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17167 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17168 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17169 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17170 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17171 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17172 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17173 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17174 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17175 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17176 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17177 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17178 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17179 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17180 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17181 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17182 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17183 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17184 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17185 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17186 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17187 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17188 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17189 wine_fn_config_dll dbgeng enable_dbgeng implib
17190 wine_fn_config_dll dbghelp enable_dbghelp implib
17191 wine_fn_config_dll dciman32 enable_dciman32 implib
17192 wine_fn_config_dll ddeml.dll16 enable_win16
17193 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17194 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17195 wine_fn_config_dll ddrawex enable_ddrawex clean
17196 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17197 wine_fn_config_dll devenum enable_devenum clean
,po
17198 wine_fn_config_test dlls
/devenum
/tests devenum_test
17199 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17200 wine_fn_config_dll difxapi enable_difxapi
17201 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17202 wine_fn_config_test dlls
/dinput
/tests dinput_test
17203 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17204 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17205 wine_fn_config_dll dispdib.dll16 enable_win16
17206 wine_fn_config_dll dispex enable_dispex clean
17207 wine_fn_config_test dlls
/dispex
/tests dispex_test
17208 wine_fn_config_dll display.drv16 enable_win16
17209 wine_fn_config_dll dmband enable_dmband clean
17210 wine_fn_config_test dlls
/dmband
/tests dmband_test
17211 wine_fn_config_dll dmcompos enable_dmcompos clean
17212 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17213 wine_fn_config_dll dmime enable_dmime clean
17214 wine_fn_config_test dlls
/dmime
/tests dmime_test
17215 wine_fn_config_dll dmloader enable_dmloader clean
17216 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17217 wine_fn_config_dll dmscript enable_dmscript clean
17218 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17219 wine_fn_config_dll dmstyle enable_dmstyle clean
17220 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17221 wine_fn_config_dll dmsynth enable_dmsynth clean
17222 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17223 wine_fn_config_dll dmusic enable_dmusic clean
17224 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17225 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17226 wine_fn_config_dll dnsapi enable_dnsapi implib
17227 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17228 wine_fn_config_dll dplay enable_dplay implib
17229 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17230 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17231 wine_fn_config_dll dpnaddr enable_dpnaddr
17232 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17233 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17234 wine_fn_config_dll dpnhpast enable_dpnhpast
17235 wine_fn_config_dll dpnlobby enable_dpnlobby
17236 wine_fn_config_dll dpvoice enable_dpvoice clean
17237 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17238 wine_fn_config_dll dpwsockx enable_dpwsockx
17239 wine_fn_config_dll drmclien enable_drmclien
17240 wine_fn_config_dll dsound enable_dsound clean
,implib
17241 wine_fn_config_test dlls
/dsound
/tests dsound_test
17242 wine_fn_config_dll dssenh enable_dssenh
17243 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17244 wine_fn_config_dll dswave enable_dswave clean
17245 wine_fn_config_test dlls
/dswave
/tests dswave_test
17246 wine_fn_config_dll dwmapi enable_dwmapi implib
17247 wine_fn_config_dll dwrite enable_dwrite implib
17248 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17249 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17250 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17251 wine_fn_config_lib dxerr8
17252 wine_fn_config_lib dxerr9
17253 wine_fn_config_dll dxgi enable_dxgi implib
17254 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17255 wine_fn_config_lib dxguid
17256 wine_fn_config_dll dxva2 enable_dxva2
17257 wine_fn_config_dll evr enable_evr
17258 wine_fn_config_dll explorerframe enable_explorerframe clean
17259 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17260 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17261 wine_fn_config_dll faultrep enable_faultrep implib
17262 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17263 wine_fn_config_dll fltlib enable_fltlib
17264 wine_fn_config_dll fntcache enable_fntcache
17265 wine_fn_config_dll fontsub enable_fontsub
17266 wine_fn_config_dll fusion enable_fusion
17267 wine_fn_config_test dlls
/fusion
/tests fusion_test
17268 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17269 wine_fn_config_dll gameux enable_gameux clean
17270 wine_fn_config_test dlls
/gameux
/tests gameux_test
17271 wine_fn_config_dll gdi.exe16 enable_win16
17272 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17273 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17274 wine_fn_config_dll gdiplus enable_gdiplus implib
17275 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17276 wine_fn_config_dll glu32 enable_glu32 implib
17277 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17278 wine_fn_config_dll gpkcsp enable_gpkcsp
17279 wine_fn_config_dll hal enable_hal
17280 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17281 wine_fn_config_dll hid enable_hid implib
17282 wine_fn_config_dll hlink enable_hlink clean
,implib
17283 wine_fn_config_test dlls
/hlink
/tests hlink_test
17284 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17285 wine_fn_config_dll httpapi enable_httpapi
17286 wine_fn_config_dll iccvid enable_iccvid po
17287 wine_fn_config_dll icmp enable_icmp
17288 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17289 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17290 wine_fn_config_dll ifsmgr.vxd enable_win16
17291 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17292 wine_fn_config_dll imagehlp enable_imagehlp implib
17293 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17294 wine_fn_config_dll imm.dll16 enable_win16
17295 wine_fn_config_dll imm32 enable_imm32 implib
17296 wine_fn_config_test dlls
/imm32
/tests imm32_test
17297 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17298 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17299 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17300 wine_fn_config_dll inetmib1 enable_inetmib1
17301 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17302 wine_fn_config_dll infosoft enable_infosoft clean
17303 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17304 wine_fn_config_dll initpki enable_initpki
17305 wine_fn_config_dll inkobj enable_inkobj
17306 wine_fn_config_dll inseng enable_inseng clean
17307 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17308 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17309 wine_fn_config_dll itircl enable_itircl
17310 wine_fn_config_dll itss enable_itss clean
17311 wine_fn_config_test dlls
/itss
/tests itss_test
17312 wine_fn_config_dll joy.cpl enable_joy_cpl po
17313 wine_fn_config_dll jscript enable_jscript clean
,po
17314 wine_fn_config_test dlls
/jscript
/tests jscript_test
17315 wine_fn_config_dll jsproxy enable_jsproxy implib
17316 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17317 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17318 wine_fn_config_dll keyboard.drv16 enable_win16
17319 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17320 wine_fn_config_dll ksuser enable_ksuser
17321 wine_fn_config_dll ktmw32 enable_ktmw32
17322 wine_fn_config_dll loadperf enable_loadperf implib
17323 wine_fn_config_dll localspl enable_localspl po
17324 wine_fn_config_test dlls
/localspl
/tests localspl_test
17325 wine_fn_config_dll localui enable_localui po
17326 wine_fn_config_test dlls
/localui
/tests localui_test
17327 wine_fn_config_dll lz32 enable_lz32 implib
17328 wine_fn_config_test dlls
/lz32
/tests lz32_test
17329 wine_fn_config_dll lzexpand.dll16 enable_win16
17330 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17331 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17332 wine_fn_config_dll mapistub enable_mapistub
17333 wine_fn_config_dll mciavi32 enable_mciavi32
17334 wine_fn_config_dll mcicda enable_mcicda
17335 wine_fn_config_dll mciqtz32 enable_mciqtz32
17336 wine_fn_config_dll mciseq enable_mciseq
17337 wine_fn_config_dll mciwave enable_mciwave
17338 wine_fn_config_dll mf enable_mf
17339 wine_fn_config_dll mfplat enable_mfplat
17340 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17341 wine_fn_config_dll mgmtapi enable_mgmtapi
17342 wine_fn_config_dll midimap enable_midimap
17343 wine_fn_config_dll mlang enable_mlang clean
,implib
17344 wine_fn_config_test dlls
/mlang
/tests mlang_test
17345 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17346 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17347 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17348 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17349 wine_fn_config_dll mmdevldr.vxd enable_win16
17350 wine_fn_config_dll mmsystem.dll16 enable_win16
17351 wine_fn_config_dll monodebg.vxd enable_win16
17352 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17353 wine_fn_config_dll mouse.drv16 enable_win16
17354 wine_fn_config_dll mpr enable_mpr implib
,po
17355 wine_fn_config_test dlls
/mpr
/tests mpr_test
17356 wine_fn_config_dll mprapi enable_mprapi implib
17357 wine_fn_config_dll msacm.dll16 enable_win16
17358 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17359 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17360 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17361 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17362 wine_fn_config_dll msasn1 enable_msasn1 implib
17363 wine_fn_config_dll mscat32 enable_mscat32
17364 wine_fn_config_dll mscms enable_mscms implib
17365 wine_fn_config_test dlls
/mscms
/tests mscms_test
17366 wine_fn_config_dll mscoree enable_mscoree clean
17367 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17368 wine_fn_config_dll msctf enable_msctf clean
17369 wine_fn_config_test dlls
/msctf
/tests msctf_test
17370 wine_fn_config_dll msdaps enable_msdaps clean
17371 wine_fn_config_dll msdmo enable_msdmo implib
17372 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17373 wine_fn_config_dll msftedit enable_msftedit
17374 wine_fn_config_dll msg711.acm enable_msg711_acm
17375 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17376 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17377 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17378 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17379 wine_fn_config_dll msi enable_msi clean
,implib
,po
17380 wine_fn_config_test dlls
/msi
/tests msi_test
17381 wine_fn_config_dll msident enable_msident clean
17382 wine_fn_config_dll msimg32 enable_msimg32 implib
17383 wine_fn_config_dll msimsg enable_msimsg
17384 wine_fn_config_dll msimtf enable_msimtf clean
17385 wine_fn_config_dll msisip enable_msisip
17386 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17387 wine_fn_config_dll msls31 enable_msls31
17388 wine_fn_config_dll msnet32 enable_msnet32
17389 wine_fn_config_dll mspatcha enable_mspatcha implib
17390 wine_fn_config_dll msrle32 enable_msrle32 po
17391 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17392 wine_fn_config_dll mssign32 enable_mssign32
17393 wine_fn_config_dll mssip32 enable_mssip32
17394 wine_fn_config_dll mstask enable_mstask clean
17395 wine_fn_config_test dlls
/mstask
/tests mstask_test
17396 wine_fn_config_dll msvcirt enable_msvcirt
17397 wine_fn_config_dll msvcm80 enable_msvcm80
17398 wine_fn_config_dll msvcm90 enable_msvcm90
17399 wine_fn_config_dll msvcp100 enable_msvcp100
17400 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17401 wine_fn_config_dll msvcp110 enable_msvcp110
17402 wine_fn_config_dll msvcp120 enable_msvcp120
17403 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
17404 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17405 wine_fn_config_dll msvcp60 enable_msvcp60
17406 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17407 wine_fn_config_dll msvcp70 enable_msvcp70
17408 wine_fn_config_dll msvcp71 enable_msvcp71
17409 wine_fn_config_dll msvcp80 enable_msvcp80
17410 wine_fn_config_dll msvcp90 enable_msvcp90
17411 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17412 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17413 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17414 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17415 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17416 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17417 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17418 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17419 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17420 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17421 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17422 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17423 wine_fn_config_dll msvcrt enable_msvcrt implib
17424 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17425 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17426 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17427 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17428 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17429 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17430 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17431 wine_fn_config_dll msvidc32 enable_msvidc32 po
17432 wine_fn_config_dll msvideo.dll16 enable_win16
17433 wine_fn_config_dll mswsock enable_mswsock implib
17434 wine_fn_config_dll msxml enable_msxml clean
17435 wine_fn_config_dll msxml2 enable_msxml2 clean
17436 wine_fn_config_dll msxml3 enable_msxml3 clean
17437 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17438 wine_fn_config_dll msxml4 enable_msxml4 clean
17439 wine_fn_config_dll msxml6 enable_msxml6 clean
17440 wine_fn_config_dll nddeapi enable_nddeapi implib
17441 wine_fn_config_dll ndis.sys enable_ndis_sys
17442 wine_fn_config_dll netapi32 enable_netapi32 implib
17443 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17444 wine_fn_config_dll netcfgx enable_netcfgx clean
17445 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17446 wine_fn_config_dll netprofm enable_netprofm clean
17447 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17448 wine_fn_config_dll newdev enable_newdev implib
17449 wine_fn_config_dll normaliz enable_normaliz implib
17450 wine_fn_config_dll npmshtml enable_npmshtml
17451 wine_fn_config_dll npptools enable_npptools
17452 wine_fn_config_dll ntdll enable_ntdll implib
17453 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17454 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17455 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17456 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17457 wine_fn_config_dll ntprint enable_ntprint
17458 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17459 wine_fn_config_dll objsel enable_objsel clean
17460 wine_fn_config_dll odbc32 enable_odbc32 implib
17461 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17462 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17463 wine_fn_config_dll odbccu32 enable_odbccu32
17464 wine_fn_config_dll ole2.dll16 enable_win16
17465 wine_fn_config_dll ole2conv.dll16 enable_win16
17466 wine_fn_config_dll ole2disp.dll16 enable_win16
17467 wine_fn_config_dll ole2nls.dll16 enable_win16
17468 wine_fn_config_dll ole2prox.dll16 enable_win16
17469 wine_fn_config_dll ole2thk.dll16 enable_win16
17470 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17471 wine_fn_config_test dlls
/ole32
/tests ole32_test
17472 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17473 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17474 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17475 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17476 wine_fn_config_dll olecli.dll16 enable_win16
17477 wine_fn_config_dll olecli32 enable_olecli32 implib
17478 wine_fn_config_dll oledb32 enable_oledb32 clean
17479 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17480 wine_fn_config_dll oledlg enable_oledlg implib
,po
17481 wine_fn_config_dll olepro32 enable_olepro32 implib
17482 wine_fn_config_dll olesvr.dll16 enable_win16
17483 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17484 wine_fn_config_dll olethk32 enable_olethk32
17485 wine_fn_config_dll openal32 enable_openal32
17486 wine_fn_config_dll opencl enable_opencl
17487 wine_fn_config_dll opengl32 enable_opengl32 implib
17488 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17489 wine_fn_config_dll packager enable_packager clean
17490 wine_fn_config_test dlls
/packager
/tests packager_test
17491 wine_fn_config_dll pdh enable_pdh implib
17492 wine_fn_config_test dlls
/pdh
/tests pdh_test
17493 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17494 wine_fn_config_dll pidgen enable_pidgen
17495 wine_fn_config_dll powrprof enable_powrprof implib
17496 wine_fn_config_dll printui enable_printui
17497 wine_fn_config_dll prntvpt enable_prntvpt
17498 wine_fn_config_dll propsys enable_propsys clean
,implib
17499 wine_fn_config_test dlls
/propsys
/tests propsys_test
17500 wine_fn_config_dll psapi enable_psapi implib
17501 wine_fn_config_test dlls
/psapi
/tests psapi_test
17502 wine_fn_config_dll pstorec enable_pstorec clean
17503 wine_fn_config_dll qcap enable_qcap
17504 wine_fn_config_test dlls
/qcap
/tests qcap_test
17505 wine_fn_config_dll qedit enable_qedit clean
17506 wine_fn_config_test dlls
/qedit
/tests qedit_test
17507 wine_fn_config_dll qmgr enable_qmgr clean
17508 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17509 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17510 wine_fn_config_dll quartz enable_quartz clean
,implib
17511 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17512 wine_fn_config_dll query enable_query
17513 wine_fn_config_dll rasapi16.dll16 enable_win16
17514 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17515 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17516 wine_fn_config_dll rasdlg enable_rasdlg implib
17517 wine_fn_config_dll regapi enable_regapi
17518 wine_fn_config_dll resutils enable_resutils implib
17519 wine_fn_config_dll riched20 enable_riched20 implib
17520 wine_fn_config_test dlls
/riched20
/tests riched20_test
17521 wine_fn_config_dll riched32 enable_riched32
17522 wine_fn_config_test dlls
/riched32
/tests riched32_test
17523 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17524 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17525 wine_fn_config_dll rsabase enable_rsabase
17526 wine_fn_config_dll rsaenh enable_rsaenh implib
17527 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17528 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17529 wine_fn_config_dll rtutils enable_rtutils implib
17530 wine_fn_config_dll samlib enable_samlib
17531 wine_fn_config_dll sane.ds enable_sane_ds po
17532 wine_fn_config_dll scarddlg enable_scarddlg
17533 wine_fn_config_dll sccbase enable_sccbase
17534 wine_fn_config_dll schannel enable_schannel
17535 wine_fn_config_test dlls
/schannel
/tests schannel_test
17536 wine_fn_config_dll schedsvc enable_schedsvc clean
17537 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17538 wine_fn_config_dll scrrun enable_scrrun clean
17539 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17540 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17541 wine_fn_config_dll secur32 enable_secur32 implib
17542 wine_fn_config_test dlls
/secur32
/tests secur32_test
17543 wine_fn_config_dll security enable_security
17544 wine_fn_config_dll sensapi enable_sensapi implib
17545 wine_fn_config_dll serialui enable_serialui implib
,po
17546 wine_fn_config_test dlls
/serialui
/tests serialui_test
17547 wine_fn_config_dll setupapi enable_setupapi implib
,po
17548 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17549 wine_fn_config_dll setupx.dll16 enable_win16
17550 wine_fn_config_dll sfc enable_sfc implib
17551 wine_fn_config_dll sfc_os enable_sfc_os implib
17552 wine_fn_config_dll shdoclc enable_shdoclc po
17553 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17554 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17555 wine_fn_config_dll shell.dll16 enable_win16
17556 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17557 wine_fn_config_test dlls
/shell32
/tests shell32_test
17558 wine_fn_config_dll shfolder enable_shfolder implib
17559 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17560 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17561 wine_fn_config_dll slbcsp enable_slbcsp
17562 wine_fn_config_dll slc enable_slc implib
17563 wine_fn_config_test dlls
/slc
/tests slc_test
17564 wine_fn_config_dll snmpapi enable_snmpapi implib
17565 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17566 wine_fn_config_dll softpub enable_softpub
17567 wine_fn_config_dll sound.drv16 enable_win16
17568 wine_fn_config_dll spoolss enable_spoolss implib
17569 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17570 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17571 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17572 wine_fn_config_dll sti enable_sti clean
,implib
17573 wine_fn_config_test dlls
/sti
/tests sti_test
17574 wine_fn_config_dll storage.dll16 enable_win16
17575 wine_fn_config_dll stress.dll16 enable_win16
17576 wine_fn_config_lib strmbase
17577 wine_fn_config_lib strmiids
17578 wine_fn_config_dll svrapi enable_svrapi
17579 wine_fn_config_dll sxs enable_sxs implib
17580 wine_fn_config_test dlls
/sxs
/tests sxs_test
17581 wine_fn_config_dll system.drv16 enable_win16
17582 wine_fn_config_dll t2embed enable_t2embed
17583 wine_fn_config_dll tapi32 enable_tapi32 implib
17584 wine_fn_config_dll taskschd enable_taskschd clean
17585 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17586 wine_fn_config_dll toolhelp.dll16 enable_win16
17587 wine_fn_config_dll traffic enable_traffic
17588 wine_fn_config_dll twain.dll16 enable_win16
17589 wine_fn_config_dll twain_32 enable_twain_32
17590 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17591 wine_fn_config_dll typelib.dll16 enable_win16
17592 wine_fn_config_dll unicows enable_unicows implib
17593 wine_fn_config_dll updspapi enable_updspapi
17594 wine_fn_config_dll url enable_url implib
17595 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17596 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17597 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17598 wine_fn_config_dll user.exe16 enable_win16
17599 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17600 wine_fn_config_test dlls
/user32
/tests user32_test
17601 wine_fn_config_dll userenv enable_userenv implib
17602 wine_fn_config_test dlls
/userenv
/tests userenv_test
17603 wine_fn_config_dll usp10 enable_usp10 implib
17604 wine_fn_config_test dlls
/usp10
/tests usp10_test
17605 wine_fn_config_lib uuid
17606 wine_fn_config_dll uxtheme enable_uxtheme implib
17607 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17608 wine_fn_config_dll vbscript enable_vbscript clean
17609 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17610 wine_fn_config_dll vcomp enable_vcomp
17611 wine_fn_config_dll vcomp100 enable_vcomp100
17612 wine_fn_config_dll vcomp90 enable_vcomp90
17613 wine_fn_config_dll vdhcp.vxd enable_win16
17614 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17615 wine_fn_config_dll ver.dll16 enable_win16
17616 wine_fn_config_dll version enable_version implib
17617 wine_fn_config_test dlls
/version
/tests version_test
17618 wine_fn_config_dll vmm.vxd enable_win16
17619 wine_fn_config_dll vnbt.vxd enable_win16
17620 wine_fn_config_dll vnetbios.vxd enable_win16
17621 wine_fn_config_dll vssapi enable_vssapi
17622 wine_fn_config_dll vtdapi.vxd enable_win16
17623 wine_fn_config_dll vwin32.vxd enable_win16
17624 wine_fn_config_dll w32skrnl enable_win16
17625 wine_fn_config_dll w32sys.dll16 enable_win16
17626 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17627 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
17628 wine_fn_config_dll wbemprox enable_wbemprox clean
17629 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17630 wine_fn_config_dll webservices enable_webservices implib
17631 wine_fn_config_dll wer enable_wer implib
17632 wine_fn_config_test dlls
/wer
/tests wer_test
17633 wine_fn_config_dll wevtapi enable_wevtapi
17634 wine_fn_config_dll wiaservc enable_wiaservc clean
17635 wine_fn_config_dll win32s16.dll16 enable_win16
17636 wine_fn_config_dll win87em.dll16 enable_win16
17637 wine_fn_config_dll winaspi.dll16 enable_win16
17638 wine_fn_config_dll windebug.dll16 enable_win16
17639 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17640 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17641 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17642 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17643 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17644 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17645 wine_fn_config_lib winecrt0
17646 wine_fn_config_dll wined3d enable_wined3d implib
17647 wine_fn_config_dll winegstreamer enable_winegstreamer
17648 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17649 wine_fn_config_dll winemac.drv enable_winemac_drv
17650 wine_fn_config_dll winemapi enable_winemapi
17651 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17652 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17653 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17654 wine_fn_config_dll wineps16.drv16 enable_win16
17655 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17656 wine_fn_config_dll winex11.drv enable_winex11_drv
17657 wine_fn_config_dll wing.dll16 enable_win16
17658 wine_fn_config_dll wing32 enable_wing32
17659 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17660 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17661 wine_fn_config_dll wininet enable_wininet implib
,po
17662 wine_fn_config_test dlls
/wininet
/tests wininet_test
17663 wine_fn_config_dll winmm enable_winmm implib
,po
17664 wine_fn_config_test dlls
/winmm
/tests winmm_test
17665 wine_fn_config_dll winnls.dll16 enable_win16
17666 wine_fn_config_dll winnls32 enable_winnls32 implib
17667 wine_fn_config_dll winscard enable_winscard implib
17668 wine_fn_config_dll winsock.dll16 enable_win16
17669 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17670 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17671 wine_fn_config_dll winsta enable_winsta
17672 wine_fn_config_dll wintab.dll16 enable_win16
17673 wine_fn_config_dll wintab32 enable_wintab32 implib
17674 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17675 wine_fn_config_dll wintrust enable_wintrust implib
17676 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17677 wine_fn_config_dll wlanapi enable_wlanapi
17678 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17679 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17680 wine_fn_config_dll wmi enable_wmi
17681 wine_fn_config_dll wmiutils enable_wmiutils clean
17682 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17683 wine_fn_config_dll wmp enable_wmp clean
17684 wine_fn_config_test dlls
/wmp
/tests wmp_test
17685 wine_fn_config_dll wmvcore enable_wmvcore
17686 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17687 wine_fn_config_dll wow32 enable_win16 implib
17688 wine_fn_config_dll wpcap enable_wpcap
17689 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17690 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17691 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17692 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17693 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17694 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17695 wine_fn_config_dll wsock32 enable_wsock32 implib
17696 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17697 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17698 wine_fn_config_dll wuapi enable_wuapi clean
17699 wine_fn_config_dll wuaueng enable_wuaueng
17700 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17701 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
17702 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
17703 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
17704 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
17705 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
17706 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17707 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17708 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17709 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17710 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17711 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17712 wine_fn_config_dll xinput1_1 enable_xinput1_1
17713 wine_fn_config_dll xinput1_2 enable_xinput1_2
17714 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17715 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17716 wine_fn_config_dll xinput1_4 enable_xinput1_4
17717 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17718 wine_fn_config_dll xmllite enable_xmllite implib
17719 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17720 wine_fn_config_dll xolehlp enable_xolehlp
17721 wine_fn_config_dll xpsprint enable_xpsprint
17722 wine_fn_config_dll xpssvcs enable_xpssvcs
17723 wine_fn_config_makefile documentation enable_documentation clean
17724 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17725 wine_fn_config_makefile include enable_include clean
,install-dev
17726 wine_fn_config_makefile libs
/port enable_libs_port
17727 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17728 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17729 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17730 wine_fn_config_program arp enable_arp
install
17731 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17732 wine_fn_config_program attrib enable_attrib
install,po
17733 wine_fn_config_program cabarc enable_cabarc
install
17734 wine_fn_config_program cacls enable_cacls
install
17735 wine_fn_config_program
clock enable_clock
install,po
17736 wine_fn_config_program cmd enable_cmd
install,po
17737 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17738 wine_fn_config_program conhost enable_conhost
install
17739 wine_fn_config_program control enable_control
install
17740 wine_fn_config_program cscript enable_cscript clean
,install
17741 wine_fn_config_program dpnsvr enable_dpnsvr
install
17742 wine_fn_config_program dxdiag enable_dxdiag
install,po
17743 wine_fn_config_program eject enable_eject
install
17744 wine_fn_config_program
expand enable_expand
install
17745 wine_fn_config_program explorer enable_explorer
install,po
17746 wine_fn_config_program extrac32 enable_extrac32
install
17747 wine_fn_config_program findstr enable_findstr
install
17748 wine_fn_config_program hh enable_hh
install
17749 wine_fn_config_program hostname enable_hostname
install,po
17750 wine_fn_config_program icinfo enable_icinfo
install
17751 wine_fn_config_program iexplore enable_iexplore
install
17752 wine_fn_config_program ipconfig enable_ipconfig
install,po
17753 wine_fn_config_program lodctr enable_lodctr
install
17754 wine_fn_config_program mofcomp enable_mofcomp
install
17755 wine_fn_config_program mshta enable_mshta
install
17756 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17757 wine_fn_config_program net enable_net
install,po
17758 wine_fn_config_program netsh enable_netsh
install
17759 wine_fn_config_program netstat enable_netstat
install,po
17760 wine_fn_config_program ngen enable_ngen
install
17761 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17762 wine_fn_config_program oleview enable_oleview
install,po
17763 wine_fn_config_program
ping enable_ping
install
17764 wine_fn_config_program plugplay enable_plugplay
install
17765 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17766 wine_fn_config_program progman enable_progman
install,po
17767 wine_fn_config_program reg enable_reg
install,po
17768 wine_fn_config_test programs
/reg
/tests reg.exe_test
17769 wine_fn_config_program regasm enable_regasm
install
17770 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17771 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17772 wine_fn_config_program regsvcs enable_regsvcs
install
17773 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17774 wine_fn_config_program rpcss enable_rpcss clean
,install
17775 wine_fn_config_program rundll.exe16 enable_win16
install
17776 wine_fn_config_program rundll32 enable_rundll32
install
17777 wine_fn_config_program sc enable_sc
install
17778 wine_fn_config_program schtasks enable_schtasks
install
17779 wine_fn_config_program sdbinst enable_sdbinst
install
17780 wine_fn_config_program secedit enable_secedit
install
17781 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17782 wine_fn_config_program services enable_services clean
,install
17783 wine_fn_config_test programs
/services
/tests services.exe_test
17784 wine_fn_config_program spoolsv enable_spoolsv
install
17785 wine_fn_config_program start enable_start
install,po
17786 wine_fn_config_program svchost enable_svchost
install
17787 wine_fn_config_program systeminfo enable_systeminfo
install
17788 wine_fn_config_program taskkill enable_taskkill
install,po
17789 wine_fn_config_program tasklist enable_tasklist
install
17790 wine_fn_config_program taskmgr enable_taskmgr
install,po
17791 wine_fn_config_program termsv enable_termsv
install
17792 wine_fn_config_program uninstaller enable_uninstaller
install,po
17793 wine_fn_config_program unlodctr enable_unlodctr
install
17794 wine_fn_config_program view enable_view
install,po
17795 wine_fn_config_program wevtutil enable_wevtutil
install
17796 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17797 wine_fn_config_program winebrowser enable_winebrowser
install
17798 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17799 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17800 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17801 wine_fn_config_program winedevice enable_winedevice
install
17802 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17803 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17804 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17805 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17806 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17807 wine_fn_config_program winetest enable_winetest clean
17808 wine_fn_config_program winevdm enable_win16
install
17809 wine_fn_config_program winhelp.exe16 enable_win16
install
17810 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17811 wine_fn_config_program winoldap.mod16 enable_win16
install
17812 wine_fn_config_program winver enable_winver
install
17813 wine_fn_config_program wmic enable_wmic
install,po
17814 wine_fn_config_program wordpad enable_wordpad
install,po
17815 wine_fn_config_program
write enable_write
install,po
17816 wine_fn_config_program wscript enable_wscript clean
,install
17817 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17818 wine_fn_config_program wusa enable_wusa
install
17819 wine_fn_config_program xcopy enable_xcopy
install,po
17820 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17821 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17822 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17823 wine_fn_config_tool tools
/sfnt2fon clean
17824 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17825 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17826 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17827 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17828 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17829 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17881 wine_fn_ignore_file
".gitignore"
17882 wine_fn_ignore_file
"Makefile"
17883 wine_fn_ignore_file
"TAGS"
17884 wine_fn_ignore_file
"tags"
17885 wine_fn_ignore_file
"autom4te.cache"
17886 wine_fn_ignore_file
"config.cache"
17887 wine_fn_ignore_file
"config.log"
17888 wine_fn_ignore_file
"config.status"
17889 wine_fn_ignore_file
"configure.lineno"
17890 wine_fn_ignore_file
"include/config.h"
17891 wine_fn_ignore_file
"include/stamp-h"
17892 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17894 if test "x$enable_tools" != xno
17896 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17897 ac_config_commands
="$ac_config_commands tools/makedep"
17901 ac_config_commands
="$ac_config_commands Makefile"
17904 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17908 if test "x$enable_maintainer_mode" = xyes
17910 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17911 autoconf --warnings=all
17912 include/config.h.in: include/stamp-h.in
17913 include/stamp-h.in: configure.ac aclocal.m4
17914 autoheader --warnings=all
17915 @echo timestamp > \$@"
17918 if test "x$with_gettextpo" = xyes
17920 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17921 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17922 \$(LINGUAS:%=po/%.po): po/wine.pot
17923 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17924 po/wine.pot: \$(ALL_POT_FILES)
17925 msgcat -o \$@ \$(ALL_POT_FILES)"
17928 if test "$MSGFMT" != false
17930 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17932 \$(RM) \$(LINGUAS:%=po/%.mo)"
17935 test "$srcdir" = . || posrc
="$srcdir/po"
17938 wine_fn_ignore_file
"po/$i.mo"
17939 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17940 \$(MSGFMT) -o \$@ $posrc/$i.po"
17946 if test "x$enable_tools" != xno
17948 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17949 @./config.status tools/makedep
17950 Makefile: tools/makedep$ac_exeext
17952 \$(RM) tools/makedep$ac_exeext"
17954 wine_fn_append_rule
"\$(MAKEDEP):
17955 @echo \"You need to run make in $TOOLSDIR first\" && false"
17958 if test -n "$with_wine64"
17960 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17961 fonts server tools:
17962 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17963 $with_wine64/loader/wine:
17964 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17965 $with_wine64/loader/wine-preloader:
17966 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17968 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17970 as_fn_append LOADER_RULES
"
17971 install install-lib:: wine.inf install-man-pages
17972 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17973 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17976 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17980 if test "$srcdir" = .
17982 ac_config_commands
="$ac_config_commands .gitignore"
17986 $as_echo " done" >&6
17987 cat >confcache
<<\_ACEOF
17988 # This file is a shell script that caches the results of configure
17989 # tests run on this system so they can be shared between configure
17990 # scripts and configure runs, see configure's option --config-cache.
17991 # It is not useful on other systems. If it contains results you don't
17992 # want to keep, you may remove or edit it.
17994 # config.status only pays attention to the cache file if you give it
17995 # the --recheck option to rerun configure.
17997 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17998 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17999 # following values.
18003 # The following way of writing the cache mishandles newlines in values,
18004 # but we know of no workaround that is simple, portable, and efficient.
18005 # So, we kill variables containing newlines.
18006 # Ultrix sh set writes to stderr and can't be redirected directly,
18007 # and sets the high bit in the cache file unless we assign to the vars.
18009 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18010 eval ac_val
=\$
$ac_var
18014 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18015 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18018 _ | IFS | as_nl
) ;; #(
18019 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
18020 *) { eval $ac_var=; unset $ac_var;} ;;
18026 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18027 *${as_nl}ac_space
=\
*)
18028 # `set' does not quote correctly, so add quotes: double-quote
18029 # substitution turns \\\\ into \\, and sed turns \\ into \.
18032 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18035 # `set' quotes correctly as required by POSIX, so do not add quotes.
18036 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18045 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18047 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18049 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18050 if test -w "$cache_file"; then
18051 if test "x$cache_file" != "x/dev/null"; then
18052 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18053 $as_echo "$as_me: updating cache $cache_file" >&6;}
18054 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18055 cat confcache
>"$cache_file"
18057 case $cache_file in #(
18059 mv -f confcache
"$cache_file"$$
&&
18060 mv -f "$cache_file"$$
"$cache_file" ;; #(
18062 mv -f confcache
"$cache_file" ;;
18067 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18068 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18073 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18074 # Let make expand exec_prefix.
18075 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18077 DEFS
=-DHAVE_CONFIG_H
18082 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18083 # 1. Remove the extension, and $U if already installed.
18084 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18085 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18086 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18087 # will be set to the directory where LIBOBJS objects are built.
18088 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18089 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18091 LIBOBJS
=$ac_libobjs
18093 LTLIBOBJS
=$ac_ltlibobjs
18097 : "${CONFIG_STATUS=./config.status}"
18099 ac_clean_files_save
=$ac_clean_files
18100 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18101 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18102 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18104 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18106 # Generated by $as_me.
18107 # Run this file to recreate the current configuration.
18108 # Compiler output produced by configure, useful for debugging
18109 # configure, is in config.log if it exists.
18112 ac_cs_recheck=false
18115 SHELL=\${CONFIG_SHELL-$SHELL}
18118 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18119 ## -------------------- ##
18120 ## M4sh Initialization. ##
18121 ## -------------------- ##
18123 # Be more Bourne compatible
18124 DUALCASE
=1; export DUALCASE
# for MKS sh
18125 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18128 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18129 # is contrary to our usage. Disable this feature.
18130 alias -g '${1+"$@"}'='"$@"'
18131 setopt NO_GLOB_SUBST
18133 case `(set -o) 2>/dev/null` in #(
18145 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18146 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18147 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18148 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18149 # Prefer a ksh shell builtin over an external printf program on Solaris,
18150 # but without wasting forks for bash or zsh.
18151 if test -z "$BASH_VERSION$ZSH_VERSION" \
18152 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18153 as_echo='print
-r --'
18154 as_echo_n='print
-rn --'
18155 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18156 as_echo='printf %s
\n'
18157 as_echo_n='printf %s
'
18159 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18160 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18161 as_echo_n='/usr
/ucb
/echo -n'
18163 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18164 as_echo_n_body='eval
18168 expr "X$arg" : "X\\(.*\\)$as_nl";
18169 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18171 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18173 export as_echo_n_body
18174 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18176 export as_echo_body
18177 as_echo='sh
-c $as_echo_body as_echo
'
18180 # The user is always right.
18181 if test "${PATH_SEPARATOR+set}" != set; then
18183 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18184 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18191 # We need space, tab and new line, in precisely that order. Quoting is
18192 # there to prevent editors from complaining about space-tab.
18193 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18194 # splitting by setting IFS to empty value.)
18197 # Find who we are. Look in the path if we contain no directory separator.
18200 *[\\/]* ) as_myself=$0 ;;
18201 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18202 for as_dir in $PATH
18205 test -z "$as_dir" && as_dir=.
18206 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18212 # We did not find ourselves, most probably we were run as `sh COMMAND'
18213 # in which case we are not to be found in the path.
18214 if test "x$as_myself" = x
; then
18217 if test ! -f "$as_myself"; then
18218 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18222 # Unset variables that we do not need and which cause bugs (e.g. in
18223 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18224 # suppresses any "Segmentation fault" message there. '((' could
18225 # trigger a bug in pdksh 5.2.14.
18226 for as_var
in BASH_ENV ENV MAIL MAILPATH
18227 do eval test x\
${$as_var+set} = xset \
18228 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18241 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18244 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18245 # ----------------------------------------
18246 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18247 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18248 # script with STATUS, using 1 if that was 0.
18251 as_status
=$1; test $as_status -eq 0 && as_status
=1
18253 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18254 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18256 $as_echo "$as_me: error: $2" >&2
18257 as_fn_exit
$as_status
18261 # as_fn_set_status STATUS
18262 # -----------------------
18263 # Set $? to STATUS, without forking.
18264 as_fn_set_status
()
18267 } # as_fn_set_status
18269 # as_fn_exit STATUS
18270 # -----------------
18271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18275 as_fn_set_status
$1
18281 # Portably unset VAR.
18284 { eval $1=; unset $1;}
18286 as_unset
=as_fn_unset
18287 # as_fn_append VAR VALUE
18288 # ----------------------
18289 # Append the text in VALUE to the end of the definition contained in VAR. Take
18290 # advantage of any shell optimizations that allow amortized linear growth over
18291 # repeated appends, instead of the typical quadratic growth present in naive
18293 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18294 eval 'as_fn_append ()
18305 # as_fn_arith ARG...
18306 # ------------------
18307 # Perform arithmetic evaluation on the ARGs, and store the result in the
18308 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18309 # must be portable across $(()) and expr.
18310 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18311 eval 'as_fn_arith ()
18318 as_val
=`expr "$@" || test $? -eq 1`
18323 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18324 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18330 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18331 as_basename
=basename
18336 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18342 as_me
=`$as_basename -- "$0" ||
18343 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18344 X"$0" : 'X\(//\)$' \| \
18345 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18347 sed '/^.*\/\([^/][^/]*\)\/*$/{
18361 # Avoid depending upon Character Ranges.
18362 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18363 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18364 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18365 as_cr_digits
='0123456789'
18366 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18368 ECHO_C
= ECHO_N
= ECHO_T
=
18369 case `echo -n x` in #(((((
18371 case `echo 'xy\c'` in
18372 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18374 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18381 rm -f conf$$ conf$$.exe conf$$.
file
18382 if test -d conf$$.dir
; then
18383 rm -f conf$$.dir
/conf$$.
file
18386 mkdir conf$$.dir
2>/dev
/null
18388 if (echo >conf$$.
file) 2>/dev
/null
; then
18389 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18391 # ... but there are two gotchas:
18392 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18393 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18394 # In both cases, we have to default to `cp -pR'.
18395 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18397 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18405 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18406 rmdir conf$$.dir
2>/dev
/null
18411 # Create "$as_dir" as a directory, including parents if necessary.
18416 -*) as_dir
=.
/$as_dir;;
18418 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18422 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18423 *) as_qdir
=$as_dir;;
18425 as_dirs
="'$as_qdir' $as_dirs"
18426 as_dir
=`$as_dirname -- "$as_dir" ||
18427 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18428 X"$as_dir" : 'X\(//\)[^/]' \| \
18429 X"$as_dir" : 'X\(//\)$' \| \
18430 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18431 $as_echo X"$as_dir" |
18432 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18436 /^X\(\/\/\)[^/].*/{
18449 test -d "$as_dir" && break
18451 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18452 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18456 if mkdir
-p .
2>/dev
/null
; then
18457 as_mkdir_p
='mkdir -p "$as_dir"'
18459 test -d .
/-p && rmdir .
/-p
18464 # as_fn_executable_p FILE
18465 # -----------------------
18466 # Test if FILE is an executable regular file.
18467 as_fn_executable_p
()
18469 test -f "$1" && test -x "$1"
18470 } # as_fn_executable_p
18471 as_test_x
='test -x'
18472 as_executable_p
=as_fn_executable_p
18474 # Sed expression to map a string onto a valid CPP name.
18475 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18477 # Sed expression to map a string onto a valid variable name.
18478 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18482 ## ----------------------------------- ##
18483 ## Main body of $CONFIG_STATUS script. ##
18484 ## ----------------------------------- ##
18486 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18489 # Save the log message, to keep $0 and so on meaningful, and to
18490 # report actual input values of CONFIG_FILES etc. instead of their
18491 # values after options handling.
18493 This file was extended by Wine $as_me 1.7.42, which was
18494 generated by GNU Autoconf 2.69. Invocation command line was
18496 CONFIG_FILES = $CONFIG_FILES
18497 CONFIG_HEADERS = $CONFIG_HEADERS
18498 CONFIG_LINKS = $CONFIG_LINKS
18499 CONFIG_COMMANDS = $CONFIG_COMMANDS
18502 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18507 case $ac_config_files in *"
18508 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18511 case $ac_config_headers in *"
18512 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18516 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18517 # Files that config.status was made for.
18518 config_files="$ac_config_files"
18519 config_headers="$ac_config_headers"
18520 config_links="$ac_config_links"
18521 config_commands="$ac_config_commands"
18525 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18527 \`$as_me' instantiates files and other configuration actions
18528 from templates according to the current configuration. Unless the files
18529 and actions are specified as TAGs, all are instantiated by default.
18531 Usage: $0 [OPTION]... [TAG]...
18533 -h, --help print this help, then exit
18534 -V, --version print version number and configuration settings, then exit
18535 --config print configuration, then exit
18536 -q, --quiet, --silent
18537 do not print progress messages
18538 -d, --debug don't remove temporary files
18539 --recheck update $as_me by reconfiguring in the same conditions
18540 --file=FILE[:TEMPLATE]
18541 instantiate the configuration file FILE
18542 --header=FILE[:TEMPLATE]
18543 instantiate the configuration header FILE
18545 Configuration files:
18548 Configuration headers:
18551 Configuration links:
18554 Configuration commands:
18557 Report bugs to <wine-devel@winehq.org>.
18558 Wine home page: <http://www.winehq.org>."
18561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18562 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18564 Wine config.status 1.7.42
18565 configured by $0, generated by GNU Autoconf 2.69,
18566 with options \\"\$ac_cs_config\\"
18568 Copyright (C) 2012 Free Software Foundation, Inc.
18569 This config.status script is free software; the Free Software Foundation
18570 gives unlimited permission to copy, distribute and modify it."
18574 test -n "\$AWK" || AWK=awk
18577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18578 # The default lists apply if the user does not specify any file.
18584 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18585 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18589 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18601 # Handling of the options.
18602 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18604 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18605 $as_echo "$ac_cs_version"; exit ;;
18606 --config |
--confi |
--conf |
--con |
--co |
--c )
18607 $as_echo "$ac_cs_config"; exit ;;
18608 --debug |
--debu |
--deb |
--de |
--d |
-d )
18610 --file |
--fil |
--fi |
--f )
18613 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18614 '') as_fn_error $?
"missing file argument" ;;
18616 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18617 ac_need_defaults
=false
;;
18618 --header |
--heade |
--head |
--hea )
18621 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18623 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18624 ac_need_defaults
=false
;;
18626 # Conflict between --help and --header
18627 as_fn_error $?
"ambiguous option: \`$1'
18628 Try \`$0 --help' for more information.";;
18629 --help |
--hel |
-h )
18630 $as_echo "$ac_cs_usage"; exit ;;
18631 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18632 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18635 # This is an error.
18636 -*) as_fn_error $?
"unrecognized option: \`$1'
18637 Try \`$0 --help' for more information." ;;
18639 *) as_fn_append ac_config_targets
" $1"
18640 ac_need_defaults
=false
;;
18646 ac_configure_extra_args
=
18648 if $ac_cs_silent; then
18650 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18655 if \$ac_cs_recheck; then
18656 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18658 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18659 CONFIG_SHELL='$SHELL'
18660 export CONFIG_SHELL
18665 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18669 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18670 ## Running $as_me. ##
18676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18680 wine_fn_output_makedep ()
18682 as_dir=tools; as_fn_mkdir_p
18683 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18685 wine_fn_output_makefile ()
18687 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18688 `cat $wine_rules_file`
18690 as_fn_error $? "could not create Makefile" "$LINENO" 5
18692 wine_fn_output_gitignore ()
18694 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18697 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18702 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18704 # Handling of arguments.
18705 for ac_config_target
in $ac_config_targets
18707 case $ac_config_target in
18708 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18709 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18710 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18711 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18712 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18713 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18714 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18715 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18716 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18717 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18718 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18719 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18720 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18721 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18723 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18728 # If the user did not use the arguments to specify the items to instantiate,
18729 # then the envvar interface is used. Set only those that are not.
18730 # We use the long form for the default assignment because of an extremely
18731 # bizarre bug on SunOS 4.1.3.
18732 if $ac_need_defaults; then
18733 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18734 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18735 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18736 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18739 # Have a temporary directory for convenience. Make it in the build tree
18740 # simply because there is no reason against having it here, and in addition,
18741 # creating and moving files from /tmp can sometimes cause problems.
18742 # Hook for its removal unless debugging.
18743 # Note that there is a small window in which the directory will not be cleaned:
18744 # after its creation but before its name has been assigned to `$tmp'.
18748 trap 'exit_status=$?
18749 : "${ac_tmp:=$tmp}"
18750 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18752 trap 'as_fn_exit 1' 1 2 13 15
18754 # Create a (secure) tmp directory for tmp files.
18757 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18761 tmp
=.
/conf$$
-$RANDOM
18762 (umask 077 && mkdir
"$tmp")
18763 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18766 # Set up the scripts for CONFIG_FILES section.
18767 # No need to generate them if there are no CONFIG_FILES.
18768 # This happens for instance with `./config.status config.h'.
18769 if test -n "$CONFIG_FILES"; then
18772 ac_cr
=`echo X | tr X '\015'`
18773 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18774 # But we know of no other shell where ac_cr would be empty at this
18775 # point, so we can use a bashism as a fallback.
18776 if test "x$ac_cr" = x
; then
18777 eval ac_cr
=\$
\'\\r
\'
18779 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18780 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18783 ac_cs_awk_cr
=$ac_cr
18786 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18791 echo "cat >conf$$subs.awk <<_ACEOF" &&
18792 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18794 } >conf$$subs.sh ||
18795 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18796 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18798 for ac_last_try in false false false false false :; do
18799 . ./conf$$subs.sh ||
18800 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18802 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18803 if test $ac_delim_n = $ac_delim_num; then
18805 elif $ac_last_try; then
18806 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18808 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18811 rm -f conf$$subs.sh
18813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18814 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18818 s/^/S["/; s
/!.
*/"]=/
18828 s/\(.\{148\}\)..*/\1/
18830 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18835 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18842 s/\(.\{148\}\)..*/\1/
18844 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18848 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18853 ' <conf$$subs.awk | sed '
18858 ' >>$CONFIG_STATUS || ac_write_fail=1
18859 rm -f conf$$subs.awk
18860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18862 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18863 for (key in S) S_is_set[key] = 1
18869 nfields = split(line, field, "@
")
18871 len = length(field[1])
18872 for (i = 2; i < nfields; i++) {
18874 keylen = length(key)
18875 if (S_is_set[key]) {
18877 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18878 len += length(value) + length(field[++i])
18889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18890 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18891 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18894 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18895 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18898 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18899 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18900 # trailing colons and then remove the whole line if VPATH becomes empty
18901 # (actually we leave an empty line to preserve line numbers).
18902 if test "x
$srcdir" = x.; then
18903 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18922 fi # test -n "$CONFIG_FILES"
18924 # Set up the scripts for CONFIG_HEADERS section.
18925 # No need to generate them if there are no CONFIG_HEADERS.
18926 # This happens for instance with `./config.status Makefile'.
18927 if test -n "$CONFIG_HEADERS"; then
18928 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18932 # Transform confdefs.h into an awk script `defines.awk', embedded as
18933 # here-document in config.status, that substitutes the proper values into
18934 # config.h.in to produce config.h.
18936 # Create a delimiter string that does not exist in confdefs.h, to ease
18937 # handling of long lines.
18939 for ac_last_try in false false :; do
18940 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18941 if test -z "$ac_tt"; then
18943 elif $ac_last_try; then
18944 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18946 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18950 # For the awk script, D is an array of macro values keyed by name,
18951 # likewise P contains macro parameters if any. Preserve backslash
18952 # newline sequences.
18954 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18956 s/.\{148\}/&'"$ac_delim"'/g
18959 s/^[ ]*#[ ]*define[ ][ ]*/ /
18966 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18968 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18972 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18973 D["\
1"]=" \
3\\\\\\n
"\\/p
18975 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18980 s/.\{148\}/&'"$ac_delim"'/g
18985 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18988 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18990 ' <confdefs.h | sed '
18991 s/'"$ac_delim"'/"\\\
18992 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18994 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18995 for (key in D) D_is_set[key] = 1
18998 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19000 split(line, arg, " ")
19001 if (arg[1] == "#") {
19005 defundef
= substr
(arg
[1], 2)
19008 split(mac1
, mac2
, "(") #)
19010 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
19011 if (D_is_set
[macro
]) {
19012 # Preserve the white space surrounding the "#".
19013 print prefix
"define", macro P
[macro
] D
[macro
]
19016 # Replace #undef with comments. This is necessary, for example,
19017 # in the case of _POSIX_SOURCE, which is predefined and required
19018 # on some systems where configure will not decide to define it.
19019 if (defundef
== "undef") {
19020 print
"/*", prefix defundef
, macro
, "*/"
19028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19029 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19030 fi # test -n "$CONFIG_HEADERS"
19033 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19038 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19040 case $ac_mode$ac_tag in
19042 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19043 :[FH
]-) ac_tag
=-:-;;
19044 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19061 -) ac_f
="$ac_tmp/stdin";;
19062 *) # Look for the file first in the build tree, then in the source tree
19063 # (if the path is not absolute). The absolute path cannot be DOS-style,
19064 # because $ac_f cannot contain `:'.
19068 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19070 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19072 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19073 as_fn_append ac_file_inputs
" '$ac_f'"
19076 # Let's still pretend it is `configure' which instantiates (i.e., don't
19077 # use $as_me), people would be surprised to read:
19078 # /* config.h. Generated by config.status. */
19079 configure_input
='Generated from '`
19080 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19082 if test x
"$ac_file" != x-
; then
19083 configure_input
="$ac_file. $configure_input"
19084 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19085 $as_echo "$as_me: creating $ac_file" >&6;}
19087 # Neutralize special characters interpreted by sed in replacement strings.
19088 case $configure_input in #(
19089 *\
&* |
*\|
* |
*\\* )
19090 ac_sed_conf_input
=`$as_echo "$configure_input" |
19091 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19092 *) ac_sed_conf_input
=$configure_input;;
19096 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19097 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19102 ac_dir
=`$as_dirname -- "$ac_file" ||
19103 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19104 X"$ac_file" : 'X\(//\)[^/]' \| \
19105 X"$ac_file" : 'X\(//\)$' \| \
19106 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19107 $as_echo X"$ac_file" |
19108 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19112 /^X\(\/\/\)[^/].*/{
19125 as_dir
="$ac_dir"; as_fn_mkdir_p
19129 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19131 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19132 # A ".." for each directory in $ac_dir_suffix.
19133 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19134 case $ac_top_builddir_sub in
19135 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19136 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19139 ac_abs_top_builddir
=$ac_pwd
19140 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19141 # for backward compatibility:
19142 ac_top_builddir
=$ac_top_build_prefix
19145 .
) # We are building in place.
19147 ac_top_srcdir
=$ac_top_builddir_sub
19148 ac_abs_top_srcdir
=$ac_pwd ;;
19149 [\\/]* | ?
:[\\/]* ) # Absolute name.
19150 ac_srcdir
=$srcdir$ac_dir_suffix;
19151 ac_top_srcdir
=$srcdir
19152 ac_abs_top_srcdir
=$srcdir ;;
19153 *) # Relative name.
19154 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19155 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19156 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19158 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19170 # If the template does not know about datarootdir, expand it.
19171 # FIXME: This hack should be removed a few years after 2.60.
19172 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19183 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19184 *datarootdir
*) ac_datarootdir_seen
=yes;;
19185 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19187 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19190 ac_datarootdir_hack='
19191 s&@datadir@&$datadir&g
19192 s&@docdir@&$docdir&g
19193 s&@infodir@&$infodir&g
19194 s&@localedir@&$localedir&g
19195 s&@mandir@&$mandir&g
19196 s&\\\${datarootdir}&$datarootdir&g' ;;
19200 # Neutralize VPATH when `$srcdir' = `.'.
19201 # Shell code in configure.ac might set extrasub.
19202 # FIXME: do we really want to maintain this feature?
19203 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19204 ac_sed_extra="$ac_vpsub
19207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19209 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19210 s|@configure_input@|
$ac_sed_conf_input|
;t t
19211 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19212 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19213 s
&@srcdir@
&$ac_srcdir&;t t
19214 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19215 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19216 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19217 s
&@builddir@
&$ac_builddir&;t t
19218 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19219 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19220 $ac_datarootdir_hack
19222 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19223 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19225 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19226 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19227 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19228 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19230 which seems to be undefined. Please make sure it is defined" >&5
19231 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19232 which seems to be undefined. Please make sure it is defined" >&2;}
19234 rm -f "$ac_tmp/stdin"
19236 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19237 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19239 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19245 if test x"$ac_file" != x-; then
19247 $as_echo "/* $configure_input */" \
19248 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19249 } >"$ac_tmp/config.h" \
19250 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19251 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19252 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19253 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19256 mv "$ac_tmp/config.h" "$ac_file" \
19257 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19260 $as_echo "/* $configure_input */" \
19261 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19262 || as_fn_error $? "could not create -" "$LINENO" 5
19270 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19273 # Prefer the file from the source tree if names are identical.
19274 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19275 ac_source=$srcdir/$ac_source
19278 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19279 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19281 if test ! -r "$ac_source"; then
19282 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19286 # Try a relative symlink, then a hard link, then a copy.
19288 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19289 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19291 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19292 ln "$ac_source" "$ac_file" 2>/dev/null ||
19293 cp -p "$ac_source" "$ac_file" ||
19294 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19297 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19298 $as_echo "$as_me: executing $ac_file commands" >&6;}
19303 case $ac_file$ac_mode in
19304 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19305 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19306 "Makefile":C) wine_fn_output_makefile Makefile ;;
19307 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19315 ac_clean_files=$ac_clean_files_save
19317 test $ac_write_fail = 0 ||
19318 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19321 # configure is writing to config.log, and then calls config.status.
19322 # config.status does its own redirection, appending to config.log.
19323 # Unfortunately, on DOS this fails, as config.log is still kept open
19324 # by configure, so config.status won't be able to
write to it
; its
19325 # output is simply discarded. So we exec the FD to /dev/null,
19326 # effectively closing config.log, so it can be properly (re)opened and
19327 # appended to by config.status. When coming back to configure, we
19328 # need to make the FD available again.
19329 if test "$no_create" != yes; then
19331 ac_config_status_args
=
19332 test "$silent" = yes &&
19333 ac_config_status_args
="$ac_config_status_args --quiet"
19335 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19337 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19338 # would make configure fail if this is the last instruction.
19339 $ac_cs_success || as_fn_exit
1
19341 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19343 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19347 if test "$no_create" = "yes"
19353 if test "x$wine_notices != "x
; then
19356 for msg
in $wine_notices; do
19358 if ${msg:+false} :; then :
19361 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19362 $as_echo "$as_me: $msg" >&6;}
19367 for msg
in $wine_warnings; do
19369 if ${msg:+false} :; then :
19373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19374 $as_echo "$as_me: WARNING: $msg" >&2;}
19380 $as_me: Finished. Do '${ac_make}' to compile Wine.