2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.7.36.
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.36'
584 PACKAGE_STRING
='Wine 1.7.36'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
698 APPLICATIONSERVICES_LIBS
783 program_transform_name
796 enable_option_checking
800 enable_maintainer_mode
857 enable_api_ms_win_core_com_l1_1_0
858 enable_api_ms_win_core_console_l1_1_0
859 enable_api_ms_win_core_datetime_l1_1_0
860 enable_api_ms_win_core_datetime_l1_1_1
861 enable_api_ms_win_core_debug_l1_1_1
862 enable_api_ms_win_core_errorhandling_l1_1_1
863 enable_api_ms_win_core_errorhandling_l1_1_2
864 enable_api_ms_win_core_fibers_l1_1_0
865 enable_api_ms_win_core_fibers_l1_1_1
866 enable_api_ms_win_core_file_l1_2_0
867 enable_api_ms_win_core_file_l2_1_0
868 enable_api_ms_win_core_file_l2_1_1
869 enable_api_ms_win_core_handle_l1_1_0
870 enable_api_ms_win_core_heap_l1_2_0
871 enable_api_ms_win_core_heap_obsolete_l1_1_0
872 enable_api_ms_win_core_interlocked_l1_2_0
873 enable_api_ms_win_core_io_l1_1_1
874 enable_api_ms_win_core_kernel32_legacy_l1_1_0
875 enable_api_ms_win_core_libraryloader_l1_1_1
876 enable_api_ms_win_core_localization_l1_2_0
877 enable_api_ms_win_core_localization_l1_2_1
878 enable_api_ms_win_core_localization_obsolete_l1_1_0
879 enable_api_ms_win_core_localregistry_l1_1_0
880 enable_api_ms_win_core_memory_l1_1_1
881 enable_api_ms_win_core_namedpipe_l1_2_0
882 enable_api_ms_win_core_processenvironment_l1_2_0
883 enable_api_ms_win_core_processthreads_l1_1_0
884 enable_api_ms_win_core_processthreads_l1_1_1
885 enable_api_ms_win_core_processthreads_l1_1_2
886 enable_api_ms_win_core_profile_l1_1_0
887 enable_api_ms_win_core_psapi_l1_1_0
888 enable_api_ms_win_core_registry_l1_1_0
889 enable_api_ms_win_core_rtlsupport_l1_2_0
890 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
891 enable_api_ms_win_core_string_l1_1_0
892 enable_api_ms_win_core_synch_l1_2_0
893 enable_api_ms_win_core_sysinfo_l1_2_0
894 enable_api_ms_win_core_sysinfo_l1_2_1
895 enable_api_ms_win_core_threadpool_legacy_l1_1_0
896 enable_api_ms_win_core_timezone_l1_1_0
897 enable_api_ms_win_core_url_l1_1_0
898 enable_api_ms_win_core_util_l1_1_0
899 enable_api_ms_win_core_winrt_error_l1_1_0
900 enable_api_ms_win_core_winrt_error_l1_1_1
901 enable_api_ms_win_core_winrt_l1_1_0
902 enable_api_ms_win_core_winrt_string_l1_1_0
903 enable_api_ms_win_core_xstate_l2_1_0
904 enable_api_ms_win_downlevel_advapi32_l1_1_0
905 enable_api_ms_win_downlevel_advapi32_l2_1_0
906 enable_api_ms_win_downlevel_normaliz_l1_1_0
907 enable_api_ms_win_downlevel_ole32_l1_1_0
908 enable_api_ms_win_downlevel_shell32_l1_1_0
909 enable_api_ms_win_downlevel_shlwapi_l1_1_0
910 enable_api_ms_win_downlevel_shlwapi_l2_1_0
911 enable_api_ms_win_downlevel_user32_l1_1_0
912 enable_api_ms_win_downlevel_version_l1_1_0
913 enable_api_ms_win_eventing_provider_l1_1_0
914 enable_api_ms_win_ntuser_dc_access_l1_1_0
915 enable_api_ms_win_security_base_l1_1_0
916 enable_api_ms_win_security_base_l1_2_0
917 enable_api_ms_win_security_sddl_l1_1_0
918 enable_api_ms_win_service_core_l1_1_1
919 enable_api_ms_win_service_management_l1_1_0
920 enable_api_ms_win_service_winsvc_l1_2_0
963 enable_d3dcompiler_33
964 enable_d3dcompiler_34
965 enable_d3dcompiler_35
966 enable_d3dcompiler_36
967 enable_d3dcompiler_37
968 enable_d3dcompiler_38
969 enable_d3dcompiler_39
970 enable_d3dcompiler_40
971 enable_d3dcompiler_41
972 enable_d3dcompiler_42
973 enable_d3dcompiler_43
1049 enable_explorerframe
1050 enable_ext_ms_win_gdi_devcaps_l1_1_0
1205 enable_photometadatahandler
1287 enable_windowscodecs
1288 enable_windowscodecsext
1290 enable_winecoreaudio_drv
1292 enable_winegstreamer
1293 enable_winejoystick_drv
1299 enable_wineqtdecoder
1342 enable_documentation
1350 enable_aspnet_regiis
1383 enable_presentationfontcache
1396 enable_servicemodelreg
1417 enable_winemenubuilder
1419 enable_winemsibuilder
1433 ac_precious_vars
='build_alias
1482 # Initialize some variables set by options.
1484 ac_init_version
=false
1485 ac_unrecognized_opts
=
1486 ac_unrecognized_sep
=
1487 # The variables have the same names as the options, with
1488 # dashes changed to underlines.
1489 cache_file
=/dev
/null
1496 program_transform_name
=s
,x
,x
,
1504 # Installation directory options.
1505 # These are left unexpanded so users can "make install exec_prefix=/foo"
1506 # and all the variables that are supposed to be based on exec_prefix
1507 # by default will actually change.
1508 # Use braces instead of parens because sh, perl, etc. also accept them.
1509 # (The list follows the same order as the GNU Coding Standards.)
1510 bindir
='${exec_prefix}/bin'
1511 sbindir
='${exec_prefix}/sbin'
1512 libexecdir
='${exec_prefix}/libexec'
1513 datarootdir
='${prefix}/share'
1514 datadir
='${datarootdir}'
1515 sysconfdir
='${prefix}/etc'
1516 sharedstatedir
='${prefix}/com'
1517 localstatedir
='${prefix}/var'
1518 includedir
='${prefix}/include'
1519 oldincludedir
='/usr/include'
1520 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1521 infodir
='${datarootdir}/info'
1526 libdir
='${exec_prefix}/lib'
1527 localedir
='${datarootdir}/locale'
1528 mandir
='${datarootdir}/man'
1534 # If the previous option needs an argument, assign it.
1535 if test -n "$ac_prev"; then
1536 eval $ac_prev=\
$ac_option
1542 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1547 # Accept the important Cygnus configure options, so we can diagnose typos.
1549 case $ac_dashdash$ac_option in
1553 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1555 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1556 bindir
=$ac_optarg ;;
1558 -build |
--build |
--buil |
--bui |
--bu)
1559 ac_prev
=build_alias
;;
1560 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1561 build_alias
=$ac_optarg ;;
1563 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1564 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1565 ac_prev
=cache_file
;;
1566 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1567 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1568 cache_file
=$ac_optarg ;;
1570 --config-cache |
-C)
1571 cache_file
=config.cache
;;
1573 -datadir |
--datadir |
--datadi |
--datad)
1575 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1576 datadir
=$ac_optarg ;;
1578 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1579 |
--dataroo |
--dataro |
--datar)
1580 ac_prev
=datarootdir
;;
1581 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1582 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1583 datarootdir
=$ac_optarg ;;
1585 -disable-* |
--disable-*)
1586 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1587 # Reject names that are not valid shell variable names.
1588 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1589 as_fn_error $?
"invalid feature name: $ac_useropt"
1590 ac_useropt_orig
=$ac_useropt
1591 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1592 case $ac_user_opts in
1594 "enable_
$ac_useropt"
1596 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1597 ac_unrecognized_sep
=', ';;
1599 eval enable_
$ac_useropt=no
;;
1601 -docdir |
--docdir |
--docdi |
--doc |
--do)
1603 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1604 docdir
=$ac_optarg ;;
1606 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1608 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1609 dvidir
=$ac_optarg ;;
1611 -enable-* |
--enable-*)
1612 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1613 # Reject names that are not valid shell variable names.
1614 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1615 as_fn_error $?
"invalid feature name: $ac_useropt"
1616 ac_useropt_orig
=$ac_useropt
1617 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1618 case $ac_user_opts in
1620 "enable_
$ac_useropt"
1622 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1623 ac_unrecognized_sep
=', ';;
1625 eval enable_
$ac_useropt=\
$ac_optarg ;;
1627 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1628 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1629 |
--exec |
--exe |
--ex)
1630 ac_prev
=exec_prefix
;;
1631 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1632 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1633 |
--exec=* |
--exe=* |
--ex=*)
1634 exec_prefix
=$ac_optarg ;;
1636 -gas |
--gas |
--ga |
--g)
1637 # Obsolete; use --with-gas.
1640 -help |
--help |
--hel |
--he |
-h)
1641 ac_init_help
=long
;;
1642 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1643 ac_init_help
=recursive
;;
1644 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1645 ac_init_help
=short
;;
1647 -host |
--host |
--hos |
--ho)
1648 ac_prev
=host_alias
;;
1649 -host=* |
--host=* |
--hos=* |
--ho=*)
1650 host_alias
=$ac_optarg ;;
1652 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1654 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1656 htmldir
=$ac_optarg ;;
1658 -includedir |
--includedir |
--includedi |
--included |
--include \
1659 |
--includ |
--inclu |
--incl |
--inc)
1660 ac_prev
=includedir
;;
1661 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1662 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1663 includedir
=$ac_optarg ;;
1665 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1667 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1668 infodir
=$ac_optarg ;;
1670 -libdir |
--libdir |
--libdi |
--libd)
1672 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1673 libdir
=$ac_optarg ;;
1675 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1676 |
--libexe |
--libex |
--libe)
1677 ac_prev
=libexecdir
;;
1678 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1679 |
--libexe=* |
--libex=* |
--libe=*)
1680 libexecdir
=$ac_optarg ;;
1682 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1683 ac_prev
=localedir
;;
1684 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1685 localedir
=$ac_optarg ;;
1687 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1688 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1689 ac_prev
=localstatedir
;;
1690 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1691 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1692 localstatedir
=$ac_optarg ;;
1694 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1696 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1697 mandir
=$ac_optarg ;;
1699 -nfp |
--nfp |
--nf)
1700 # Obsolete; use --without-fp.
1703 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1704 |
--no-cr |
--no-c |
-n)
1707 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1708 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1711 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1712 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1713 |
--oldin |
--oldi |
--old |
--ol |
--o)
1714 ac_prev
=oldincludedir
;;
1715 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1716 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1717 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1718 oldincludedir
=$ac_optarg ;;
1720 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1722 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1723 prefix
=$ac_optarg ;;
1725 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1726 |
--program-pre |
--program-pr |
--program-p)
1727 ac_prev
=program_prefix
;;
1728 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1729 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1730 program_prefix
=$ac_optarg ;;
1732 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1733 |
--program-suf |
--program-su |
--program-s)
1734 ac_prev
=program_suffix
;;
1735 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1736 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1737 program_suffix
=$ac_optarg ;;
1739 -program-transform-name |
--program-transform-name \
1740 |
--program-transform-nam |
--program-transform-na \
1741 |
--program-transform-n |
--program-transform- \
1742 |
--program-transform |
--program-transfor \
1743 |
--program-transfo |
--program-transf \
1744 |
--program-trans |
--program-tran \
1745 |
--progr-tra |
--program-tr |
--program-t)
1746 ac_prev
=program_transform_name
;;
1747 -program-transform-name=* |
--program-transform-name=* \
1748 |
--program-transform-nam=* |
--program-transform-na=* \
1749 |
--program-transform-n=* |
--program-transform-=* \
1750 |
--program-transform=* |
--program-transfor=* \
1751 |
--program-transfo=* |
--program-transf=* \
1752 |
--program-trans=* |
--program-tran=* \
1753 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1754 program_transform_name
=$ac_optarg ;;
1756 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1758 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1759 pdfdir
=$ac_optarg ;;
1761 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1763 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1766 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1767 |
-silent |
--silent |
--silen |
--sile |
--sil)
1770 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1772 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1774 sbindir
=$ac_optarg ;;
1776 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1777 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1778 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1780 ac_prev
=sharedstatedir
;;
1781 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1782 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1783 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1785 sharedstatedir
=$ac_optarg ;;
1787 -site |
--site |
--sit)
1789 -site=* |
--site=* |
--sit=*)
1792 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1794 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1795 srcdir
=$ac_optarg ;;
1797 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1798 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1799 ac_prev
=sysconfdir
;;
1800 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1801 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1802 sysconfdir
=$ac_optarg ;;
1804 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1805 ac_prev
=target_alias
;;
1806 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1807 target_alias
=$ac_optarg ;;
1809 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1812 -version |
--version |
--versio |
--versi |
--vers |
-V)
1813 ac_init_version
=: ;;
1816 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1817 # Reject names that are not valid shell variable names.
1818 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1819 as_fn_error $?
"invalid package name: $ac_useropt"
1820 ac_useropt_orig
=$ac_useropt
1821 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1822 case $ac_user_opts in
1826 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1827 ac_unrecognized_sep
=', ';;
1829 eval with_
$ac_useropt=\
$ac_optarg ;;
1831 -without-* |
--without-*)
1832 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1833 # Reject names that are not valid shell variable names.
1834 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1835 as_fn_error $?
"invalid package name: $ac_useropt"
1836 ac_useropt_orig
=$ac_useropt
1837 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1838 case $ac_user_opts in
1842 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1843 ac_unrecognized_sep
=', ';;
1845 eval with_
$ac_useropt=no
;;
1848 # Obsolete; use --with-x.
1851 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1852 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1853 ac_prev
=x_includes
;;
1854 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1855 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1856 x_includes
=$ac_optarg ;;
1858 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1859 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1860 ac_prev
=x_libraries
;;
1861 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1862 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1863 x_libraries
=$ac_optarg ;;
1865 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1866 Try \`$0 --help' for more information"
1870 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1871 # Reject names that are not valid shell variable names.
1872 case $ac_envvar in #(
1873 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1874 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1876 eval $ac_envvar=\
$ac_optarg
1877 export $ac_envvar ;;
1880 # FIXME: should be removed in autoconf 3.0.
1881 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1882 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1883 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1884 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1890 if test -n "$ac_prev"; then
1891 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1892 as_fn_error $?
"missing argument to $ac_option"
1895 if test -n "$ac_unrecognized_opts"; then
1896 case $enable_option_checking in
1898 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1899 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1903 # Check all directory arguments for consistency.
1904 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1905 datadir sysconfdir sharedstatedir localstatedir includedir \
1906 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1907 libdir localedir mandir
1909 eval ac_val
=\$
$ac_var
1910 # Remove trailing slashes.
1913 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1914 eval $ac_var=\
$ac_val;;
1916 # Be sure to have absolute directory names.
1918 [\\/$
]* | ?
:[\\/]* ) continue;;
1919 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1921 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1924 # There might be people who depend on the old broken behavior: `$host'
1925 # used to hold the argument of --host etc.
1926 # FIXME: To remove some day.
1929 target
=$target_alias
1931 # FIXME: To remove some day.
1932 if test "x$host_alias" != x
; then
1933 if test "x$build_alias" = x
; then
1934 cross_compiling
=maybe
1935 elif test "x$build_alias" != "x$host_alias"; then
1941 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1943 test "$silent" = yes && exec 6>/dev
/null
1946 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1947 ac_ls_di
=`ls -di .` &&
1948 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1949 as_fn_error $?
"working directory cannot be determined"
1950 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1951 as_fn_error $?
"pwd does not report name of working directory"
1954 # Find the source files, if location was not specified.
1955 if test -z "$srcdir"; then
1956 ac_srcdir_defaulted
=yes
1957 # Try the directory containing this script, then the parent directory.
1958 ac_confdir
=`$as_dirname -- "$as_myself" ||
1959 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1960 X"$as_myself" : 'X\(//\)[^/]' \| \
1961 X"$as_myself" : 'X\(//\)$' \| \
1962 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1963 $as_echo X"$as_myself" |
1964 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1982 if test ! -r "$srcdir/$ac_unique_file"; then
1986 ac_srcdir_defaulted
=no
1988 if test ! -r "$srcdir/$ac_unique_file"; then
1989 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1990 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1992 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1994 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1996 # When building in place, set srcdir=.
1997 if test "$ac_abs_confdir" = "$ac_pwd"; then
2000 # Remove unnecessary trailing slashes from srcdir.
2001 # Double slashes in file names in object file debugging info
2002 # mess up M-x gdb in Emacs.
2004 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2006 for ac_var
in $ac_precious_vars; do
2007 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2008 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2009 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2010 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2014 # Report the --help message.
2016 if test "$ac_init_help" = "long"; then
2017 # Omit some internal or obsolete options to make the list less imposing.
2018 # This message is too long to be a string in the A/UX 3.1 sh.
2020 \`configure' configures Wine 1.7.36 to adapt to many kinds of systems.
2022 Usage: $0 [OPTION]... [VAR=VALUE]...
2024 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2025 VAR=VALUE. See below for descriptions of some of the useful variables.
2027 Defaults for the options are specified in brackets.
2030 -h, --help display this help and exit
2031 --help=short display options specific to this package
2032 --help=recursive display the short help of all the included packages
2033 -V, --version display version information and exit
2034 -q, --quiet, --silent do not print \`checking ...' messages
2035 --cache-file=FILE cache test results in FILE [disabled]
2036 -C, --config-cache alias for \`--cache-file=config.cache'
2037 -n, --no-create do not create output files
2038 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2040 Installation directories:
2041 --prefix=PREFIX install architecture-independent files in PREFIX
2042 [$ac_default_prefix]
2043 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2046 By default, \`make install' will install all the files in
2047 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2048 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2049 for instance \`--prefix=\$HOME'.
2051 For better control, use the options below.
2053 Fine tuning of the installation directories:
2054 --bindir=DIR user executables [EPREFIX/bin]
2055 --sbindir=DIR system admin executables [EPREFIX/sbin]
2056 --libexecdir=DIR program executables [EPREFIX/libexec]
2057 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2058 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2059 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2060 --libdir=DIR object code libraries [EPREFIX/lib]
2061 --includedir=DIR C header files [PREFIX/include]
2062 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2063 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2064 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2065 --infodir=DIR info documentation [DATAROOTDIR/info]
2066 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2067 --mandir=DIR man documentation [DATAROOTDIR/man]
2068 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2069 --htmldir=DIR html documentation [DOCDIR]
2070 --dvidir=DIR dvi documentation [DOCDIR]
2071 --pdfdir=DIR pdf documentation [DOCDIR]
2072 --psdir=DIR ps documentation [DOCDIR]
2078 --x-includes=DIR X include files are
in DIR
2079 --x-libraries=DIR X library files are
in DIR
2082 --build=BUILD configure
for building on BUILD
[guessed
]
2083 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2087 if test -n "$ac_init_help"; then
2088 case $ac_init_help in
2089 short | recursive
) echo "Configuration of Wine 1.7.36:";;
2094 --disable-option-checking ignore unrecognized
--enable/--with options
2095 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2096 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2097 --disable-win16 do not include Win16 support
2098 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2100 --disable-tests do not build the regression tests
2101 --enable-maintainer-mode
2102 enable maintainer-specific build rules
2103 --disable-largefile omit support for large files
2106 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2107 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2108 --without-alsa do not use the Alsa sound support
2109 --without-capi do not use CAPI (ISDN support)
2110 --without-cms do not use CMS (color management support)
2111 --without-coreaudio do not use the CoreAudio sound support
2112 --without-cups do not use CUPS
2113 --without-curses do not use (n)curses
2114 --without-dbus do not use DBus (dynamic device support)
2115 --without-fontconfig do not use fontconfig
2116 --without-freetype do not use the FreeType library
2117 --without-gettext do not use gettext
2118 --with-gettextpo use the GetTextPO library to rebuild po files
2119 --without-gphoto do not use gphoto (Digital Camera support)
2120 --without-glu do not use the GLU library
2121 --without-gnutls do not use GnuTLS (schannel support)
2122 --without-gsm do not use libgsm (GSM 06.10 codec support)
2123 --without-gstreamer do not use GStreamer (codecs support)
2124 --without-hal do not use HAL (dynamic device support)
2125 --without-jpeg do not use JPEG
2126 --without-ldap do not use LDAP
2127 --without-mpg123 do not use the mpg123 library
2128 --without-netapi do not use the Samba NetAPI library
2129 --without-openal do not use OpenAL
2130 --without-opencl do not use OpenCL
2131 --without-opengl do not use OpenGL
2132 --without-osmesa do not use the OSMesa library
2133 --without-oss do not use the OSS sound support
2134 --without-pcap do not use the Packet Capture library
2135 --without-png do not use PNG
2136 --without-pthread do not use the pthread library
2137 --without-sane do not use SANE (scanner support)
2138 --without-tiff do not use TIFF
2139 --without-v4l do not use v4l1 (v4l support)
2140 --without-xcomposite do not use the Xcomposite extension
2141 --without-xcursor do not use the Xcursor extension
2142 --without-xinerama do not use Xinerama (multi-monitor support)
2143 --without-xinput do not use the Xinput extension
2144 --without-xinput2 do not use the Xinput 2 extension
2145 --without-xml do not use XML
2146 --without-xrandr do not use Xrandr (resolution changes)
2147 --without-xrender do not use the Xrender extension
2148 --without-xshape do not use the Xshape extension
2149 --without-xshm do not use XShm (shared memory extension)
2150 --without-xslt do not use XSLT
2151 --without-xxf86vm do not use XFree video mode extension
2152 --without-zlib do not use Zlib (data compression)
2153 --with-wine-tools=DIR use Wine tools from directory DIR
2154 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2155 --with-x use the X Window System
2157 Some influential environment variables:
2158 CC C compiler command
2159 CFLAGS C compiler flags
2160 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2161 nonstandard directory <lib dir>
2162 LIBS libraries to pass to the linker, e.g. -l<library>
2163 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2164 you have headers in a nonstandard directory <include dir>
2165 CXX C++ compiler command
2166 CXXFLAGS C++ compiler flags
2168 XMKMF Path to xmkmf, Makefile generator for X Window System
2169 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2170 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2171 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2172 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2173 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2174 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2175 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2176 HAL_LIBS Linker flags for hal, overriding pkg-config
2178 C compiler flags for gnutls, overriding pkg-config
2179 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2180 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2181 SANE_LIBS Linker flags for libsane, overriding pkg-config
2183 C compiler flags for libgphoto2, overriding pkg-config
2185 Linker flags for libgphoto2, overriding pkg-config
2187 C compiler flags for libgphoto2_port, overriding pkg-config
2189 Linker flags for libgphoto2_port, overriding pkg-config
2191 C compiler flags for lcms2, overriding pkg-config
2192 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2194 C compiler flags for freetype2, overriding pkg-config
2196 Linker flags for freetype2, overriding pkg-config
2198 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2200 Linker flags for gstreamer-app-0.10, overriding pkg-config
2202 C compiler flags for capi20, overriding pkg-config
2203 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2205 C compiler flags for fontconfig, overriding pkg-config
2207 Linker flags for fontconfig, overriding pkg-config
2208 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2209 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2210 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2211 PNG_LIBS Linker flags for libpng, overriding pkg-config
2212 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2213 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2215 C compiler flags for libmpg123, overriding pkg-config
2216 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2218 Use these variables to override the choices made by `configure' or to
help
2219 it to
find libraries and programs with nonstandard names
/locations.
2221 Report bugs to
<wine-devel@winehq.org
>.
2222 Wine home page
: <http
://www.winehq.org
>.
2227 if test "$ac_init_help" = "recursive"; then
2228 # If there are subdirs, report their specific --help.
2229 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2230 test -d "$ac_dir" ||
2231 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2236 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2238 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2239 # A ".." for each directory in $ac_dir_suffix.
2240 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2241 case $ac_top_builddir_sub in
2242 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2243 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2246 ac_abs_top_builddir
=$ac_pwd
2247 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2248 # for backward compatibility:
2249 ac_top_builddir
=$ac_top_build_prefix
2252 .
) # We are building in place.
2254 ac_top_srcdir
=$ac_top_builddir_sub
2255 ac_abs_top_srcdir
=$ac_pwd ;;
2256 [\\/]* | ?
:[\\/]* ) # Absolute name.
2257 ac_srcdir
=$srcdir$ac_dir_suffix;
2258 ac_top_srcdir
=$srcdir
2259 ac_abs_top_srcdir
=$srcdir ;;
2261 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2262 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2263 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2265 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2267 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2268 # Check for guested configure.
2269 if test -f "$ac_srcdir/configure.gnu"; then
2271 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2272 elif test -f "$ac_srcdir/configure"; then
2274 $SHELL "$ac_srcdir/configure" --help=recursive
2276 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2278 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2282 test -n "$ac_init_help" && exit $ac_status
2283 if $ac_init_version; then
2285 Wine configure
1.7.36
2286 generated by GNU Autoconf
2.69
2288 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2289 This configure
script is free software
; the Free Software Foundation
2290 gives unlimited permission to copy
, distribute and modify it.
2295 ## ------------------------ ##
2296 ## Autoconf initialization. ##
2297 ## ------------------------ ##
2299 # ac_fn_c_try_compile LINENO
2300 # --------------------------
2301 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2302 ac_fn_c_try_compile
()
2304 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2305 rm -f conftest.
$ac_objext
2306 if { { ac_try
="$ac_compile"
2308 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2309 *) ac_try_echo=$ac_try;;
2311 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2312 $as_echo "$ac_try_echo"; } >&5
2313 (eval "$ac_compile") 2>conftest.err
2315 if test -s conftest.err; then
2316 grep -v '^ *+' conftest.err >conftest.er1
2317 cat conftest.er1 >&5
2318 mv -f conftest.er1 conftest.err
2320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2321 test $ac_status = 0; } && {
2322 test -z "$ac_c_werror_flag" ||
2323 test ! -s conftest.err
2324 } && test -s conftest.$ac_objext; then :
2327 $as_echo "$as_me: failed program was:" >&5
2328 sed 's/^/| /' conftest.$ac_ext >&5
2332 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2333 as_fn_set_status $ac_retval
2335 } # ac_fn_c_try_compile
2337 # ac_fn_cxx_try_compile LINENO
2338 # ----------------------------
2339 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2340 ac_fn_cxx_try_compile ()
2342 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2343 rm -f conftest.$ac_objext
2344 if { { ac_try="$ac_compile"
2346 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2347 *) ac_try_echo
=$ac_try;;
2349 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2350 $as_echo "$ac_try_echo"; } >&5
2351 (eval "$ac_compile") 2>conftest.err
2353 if test -s conftest.err
; then
2354 grep -v '^ *+' conftest.err
>conftest.er1
2355 cat conftest.er1
>&5
2356 mv -f conftest.er1 conftest.err
2358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2359 test $ac_status = 0; } && {
2360 test -z "$ac_cxx_werror_flag" ||
2361 test ! -s conftest.err
2362 } && test -s conftest.
$ac_objext; then :
2365 $as_echo "$as_me: failed program was:" >&5
2366 sed 's/^/| /' conftest.
$ac_ext >&5
2370 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2371 as_fn_set_status
$ac_retval
2373 } # ac_fn_cxx_try_compile
2375 # ac_fn_c_try_link LINENO
2376 # -----------------------
2377 # Try to link conftest.$ac_ext, and return whether this succeeded.
2380 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2381 rm -f conftest.
$ac_objext conftest
$ac_exeext
2382 if { { ac_try
="$ac_link"
2384 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2385 *) ac_try_echo=$ac_try;;
2387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2388 $as_echo "$ac_try_echo"; } >&5
2389 (eval "$ac_link") 2>conftest.err
2391 if test -s conftest.err; then
2392 grep -v '^ *+' conftest.err >conftest.er1
2393 cat conftest.er1 >&5
2394 mv -f conftest.er1 conftest.err
2396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2397 test $ac_status = 0; } && {
2398 test -z "$ac_c_werror_flag" ||
2399 test ! -s conftest.err
2400 } && test -s conftest$ac_exeext && {
2401 test "$cross_compiling" = yes ||
2402 test -x conftest$ac_exeext
2406 $as_echo "$as_me: failed program was:" >&5
2407 sed 's/^/| /' conftest.$ac_ext >&5
2411 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2412 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2413 # interfere with the next link command; also delete a directory that is
2414 # left behind by Apple's compiler. We do this before executing the actions.
2415 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2416 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2417 as_fn_set_status $ac_retval
2419 } # ac_fn_c_try_link
2421 # ac_fn_c_try_cpp LINENO
2422 # ----------------------
2423 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2426 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2427 if { { ac_try="$ac_cpp conftest.$ac_ext"
2429 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2430 *) ac_try_echo
=$ac_try;;
2432 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2433 $as_echo "$ac_try_echo"; } >&5
2434 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2436 if test -s conftest.err
; then
2437 grep -v '^ *+' conftest.err
>conftest.er1
2438 cat conftest.er1
>&5
2439 mv -f conftest.er1 conftest.err
2441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2442 test $ac_status = 0; } > conftest.i
&& {
2443 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2444 test ! -s conftest.err
2448 $as_echo "$as_me: failed program was:" >&5
2449 sed 's/^/| /' conftest.
$ac_ext >&5
2453 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2454 as_fn_set_status
$ac_retval
2458 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2459 # -------------------------------------------------------
2460 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2461 # the include files in INCLUDES and setting the cache variable VAR
2463 ac_fn_c_check_header_mongrel
()
2465 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2466 if eval \
${$3+:} false
; then :
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2468 $as_echo_n "checking for $2... " >&6; }
2469 if eval \
${$3+:} false
; then :
2470 $as_echo_n "(cached) " >&6
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2474 $as_echo "$ac_res" >&6; }
2476 # Is the header compilable?
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2478 $as_echo_n "checking $2 usability... " >&6; }
2479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2480 /* end confdefs.h. */
2484 if ac_fn_c_try_compile
"$LINENO"; then :
2485 ac_header_compiler
=yes
2487 ac_header_compiler
=no
2489 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2491 $as_echo "$ac_header_compiler" >&6; }
2493 # Is the header present?
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2495 $as_echo_n "checking $2 presence... " >&6; }
2496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2497 /* end confdefs.h. */
2500 if ac_fn_c_try_cpp
"$LINENO"; then :
2501 ac_header_preproc
=yes
2503 ac_header_preproc
=no
2505 rm -f conftest.err conftest.i conftest.
$ac_ext
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2507 $as_echo "$ac_header_preproc" >&6; }
2509 # So? What about this header?
2510 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2513 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2515 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2519 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2521 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2523 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2525 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&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;}
2528 ( $as_echo "## ------------------------------------ ##
2529 ## Report this to wine-devel@winehq.org ##
2530 ## ------------------------------------ ##"
2531 ) |
sed "s/^/$as_me: WARNING: /" >&2
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2535 $as_echo_n "checking for $2... " >&6; }
2536 if eval \
${$3+:} false
; then :
2537 $as_echo_n "(cached) " >&6
2539 eval "$3=\$ac_header_compiler"
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2543 $as_echo "$ac_res" >&6; }
2545 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2547 } # ac_fn_c_check_header_mongrel
2549 # ac_fn_c_try_run LINENO
2550 # ----------------------
2551 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2552 # that executables *can* be run.
2555 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2556 if { { ac_try
="$ac_link"
2558 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2559 *) ac_try_echo=$ac_try;;
2561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2562 $as_echo "$ac_try_echo"; } >&5
2563 (eval "$ac_link") 2>&5
2565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2566 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2567 { { case "(($ac_try" in
2568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2569 *) ac_try_echo
=$ac_try;;
2571 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2572 $as_echo "$ac_try_echo"; } >&5
2573 (eval "$ac_try") 2>&5
2575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2576 test $ac_status = 0; }; }; then :
2579 $as_echo "$as_me: program exited with status $ac_status" >&5
2580 $as_echo "$as_me: failed program was:" >&5
2581 sed 's/^/| /' conftest.
$ac_ext >&5
2583 ac_retval
=$ac_status
2585 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2586 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2587 as_fn_set_status
$ac_retval
2591 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2592 # -------------------------------------------------------
2593 # Tests whether HEADER exists and can be compiled using the include files in
2594 # INCLUDES, setting the cache variable VAR accordingly.
2595 ac_fn_c_check_header_compile
()
2597 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2599 $as_echo_n "checking for $2... " >&6; }
2600 if eval \
${$3+:} false
; then :
2601 $as_echo_n "(cached) " >&6
2603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2604 /* end confdefs.h. */
2608 if ac_fn_c_try_compile
"$LINENO"; then :
2613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2617 $as_echo "$ac_res" >&6; }
2618 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2620 } # ac_fn_c_check_header_compile
2622 # ac_fn_c_check_func LINENO FUNC VAR
2623 # ----------------------------------
2624 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2625 ac_fn_c_check_func
()
2627 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2629 $as_echo_n "checking for $2... " >&6; }
2630 if eval \
${$3+:} false
; then :
2631 $as_echo_n "(cached) " >&6
2633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2634 /* end confdefs.h. */
2635 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2637 #define $2 innocuous_$2
2639 /* System header to define __stub macros and hopefully few prototypes,
2640 which can conflict with char $2 (); below.
2641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2642 <limits.h> exists even on freestanding compilers. */
2645 # include <limits.h>
2647 # include <assert.h>
2652 /* Override any GCC internal prototype to avoid an error.
2653 Use char because int might match the return type of a GCC
2654 builtin and then its argument prototype would still apply. */
2659 /* The GNU C library defines this for functions which it implements
2660 to always fail with ENOSYS. Some functions are actually named
2661 something starting with __ and the normal name is an alias. */
2662 #if defined __stub_$2 || defined __stub___$2
2674 if ac_fn_c_try_link
"$LINENO"; then :
2679 rm -f core conftest.err conftest.
$ac_objext \
2680 conftest
$ac_exeext conftest.
$ac_ext
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2684 $as_echo "$ac_res" >&6; }
2685 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2687 } # ac_fn_c_check_func
2689 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2690 # ----------------------------------------------------
2691 # Tries to find if the field MEMBER exists in type AGGR, after including
2692 # INCLUDES, setting cache variable VAR accordingly.
2693 ac_fn_c_check_member
()
2695 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2697 $as_echo_n "checking for $2.$3... " >&6; }
2698 if eval \
${$4+:} false
; then :
2699 $as_echo_n "(cached) " >&6
2701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2702 /* end confdefs.h. */
2714 if ac_fn_c_try_compile
"$LINENO"; then :
2717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2718 /* end confdefs.h. */
2724 if (sizeof ac_aggr.$3)
2730 if ac_fn_c_try_compile
"$LINENO"; then :
2735 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2737 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2741 $as_echo "$ac_res" >&6; }
2742 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2744 } # ac_fn_c_check_member
2746 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2747 # -------------------------------------------
2748 # Tests whether TYPE exists after having included INCLUDES, setting cache
2749 # variable VAR accordingly.
2750 ac_fn_c_check_type
()
2752 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2754 $as_echo_n "checking for $2... " >&6; }
2755 if eval \
${$3+:} false
; then :
2756 $as_echo_n "(cached) " >&6
2759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2760 /* end confdefs.h. */
2771 if ac_fn_c_try_compile
"$LINENO"; then :
2772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2773 /* end confdefs.h. */
2784 if ac_fn_c_try_compile
"$LINENO"; then :
2789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2795 $as_echo "$ac_res" >&6; }
2796 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2798 } # ac_fn_c_check_type
2799 cat >config.log
<<_ACEOF
2800 This file contains any messages produced by compilers while
2801 running configure, to aid debugging if configure makes a mistake.
2803 It was created by Wine $as_me 1.7.36, which was
2804 generated by GNU Autoconf 2.69. Invocation command line was
2816 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2817 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2818 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2819 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2820 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2822 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2823 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2825 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2826 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2827 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2828 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2829 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2830 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2831 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2839 test -z "$as_dir" && as_dir
=.
2840 $as_echo "PATH: $as_dir"
2856 # Keep a trace of the command line.
2857 # Strip out --no-create and --no-recursion so they do not pile up.
2858 # Strip out --silent because we don't want to record it for future runs.
2859 # Also quote any args containing shell meta-characters.
2860 # Make two passes to allow for proper duplicate-argument suppression.
2864 ac_must_keep_next
=false
2870 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2871 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2872 |
-silent |
--silent |
--silen |
--sile |
--sil)
2875 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2878 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2880 as_fn_append ac_configure_args1
" '$ac_arg'"
2881 if test $ac_must_keep_next = true
; then
2882 ac_must_keep_next
=false
# Got value, back to normal.
2885 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2886 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2887 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2888 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2889 case "$ac_configure_args0 " in
2890 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2893 -* ) ac_must_keep_next
=true
;;
2896 as_fn_append ac_configure_args
" '$ac_arg'"
2901 { ac_configure_args0
=; unset ac_configure_args0
;}
2902 { ac_configure_args1
=; unset ac_configure_args1
;}
2904 # When interrupted or exit'd, cleanup temporary files, and complete
2905 # config.log. We remove comments because anyway the quotes in there
2906 # would cause problems or look ugly.
2907 # WARNING: Use '\'' to represent an apostrophe within the trap.
2908 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2909 trap 'exit_status=$?
2910 # Save into config.log some information that might help in debugging.
2914 $as_echo "## ---------------- ##
2915 ## Cache variables. ##
2916 ## ---------------- ##"
2918 # The following way of writing the cache mishandles newlines in values,
2920 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2921 eval ac_val=\$$ac_var
2925 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2926 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2929 _ | IFS | as_nl) ;; #(
2930 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2931 *) { eval $ac_var=; unset $ac_var;} ;;
2936 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2937 *${as_nl}ac_space=\ *)
2939 "s/'\''/'\''\\\\'\'''\''/g;
2940 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2943 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2950 $as_echo "## ----------------- ##
2951 ## Output variables. ##
2952 ## ----------------- ##"
2954 for ac_var in $ac_subst_vars
2956 eval ac_val=\$$ac_var
2958 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2960 $as_echo "$ac_var='\''$ac_val'\''"
2964 if test -n "$ac_subst_files"; then
2965 $as_echo "## ------------------- ##
2966 ## File substitutions. ##
2967 ## ------------------- ##"
2969 for ac_var
in $ac_subst_files
2971 eval ac_val
=\$
$ac_var
2973 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2975 $as_echo "$ac_var='\''$ac_val'\''"
2980 if test -s confdefs.h; then
2981 $as_echo "## ----------- ##
2988 test "$ac_signal" != 0 &&
2989 $as_echo "$as_me: caught signal $ac_signal"
2990 $as_echo "$as_me: exit $exit_status"
2992 rm -f core *.core core.conftest.* &&
2993 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2996 for ac_signal
in 1 2 13 15; do
2997 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3001 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3002 rm -f -r conftest
* confdefs.h
3004 $as_echo "/* confdefs.h */" > confdefs.h
3006 # Predefined preprocessor variables.
3008 cat >>confdefs.h
<<_ACEOF
3009 #define PACKAGE_NAME "$PACKAGE_NAME"
3012 cat >>confdefs.h
<<_ACEOF
3013 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3016 cat >>confdefs.h
<<_ACEOF
3017 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3020 cat >>confdefs.h
<<_ACEOF
3021 #define PACKAGE_STRING "$PACKAGE_STRING"
3024 cat >>confdefs.h
<<_ACEOF
3025 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3028 cat >>confdefs.h
<<_ACEOF
3029 #define PACKAGE_URL "$PACKAGE_URL"
3033 # Let the site file select an alternate cache file if it wants to.
3034 # Prefer an explicitly selected file to automatically selected ones.
3037 if test -n "$CONFIG_SITE"; then
3038 # We do not want a PATH search for config.site.
3039 case $CONFIG_SITE in #((
3040 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3041 */*) ac_site_file1
=$CONFIG_SITE;;
3042 *) ac_site_file1
=.
/$CONFIG_SITE;;
3044 elif test "x$prefix" != xNONE
; then
3045 ac_site_file1
=$prefix/share
/config.site
3046 ac_site_file2
=$prefix/etc
/config.site
3048 ac_site_file1
=$ac_default_prefix/share
/config.site
3049 ac_site_file2
=$ac_default_prefix/etc
/config.site
3051 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3053 test "x$ac_site_file" = xNONE
&& continue
3054 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3056 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3057 sed 's/^/| /' "$ac_site_file" >&5
3059 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3060 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3061 as_fn_error $?
"failed to load site script $ac_site_file
3062 See \`config.log' for more details" "$LINENO" 5; }
3066 if test -r "$cache_file"; then
3067 # Some versions of bash will fail to source /dev/null (special files
3068 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3069 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3071 $as_echo "$as_me: loading cache $cache_file" >&6;}
3073 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3074 *) .
"./$cache_file";;
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3079 $as_echo "$as_me: creating cache $cache_file" >&6;}
3083 # Check that the precious variables saved in the cache have kept the same
3085 ac_cache_corrupted
=false
3086 for ac_var
in $ac_precious_vars; do
3087 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3088 eval ac_new_set
=\
$ac_env_${ac_var}_set
3089 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3090 eval ac_new_val
=\
$ac_env_${ac_var}_value
3091 case $ac_old_set,$ac_new_set in
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3094 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3095 ac_cache_corrupted
=: ;;
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3098 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3099 ac_cache_corrupted
=: ;;
3102 if test "x$ac_old_val" != "x$ac_new_val"; then
3103 # differences in whitespace do not lead to failure.
3104 ac_old_val_w
=`echo x $ac_old_val`
3105 ac_new_val_w
=`echo x $ac_new_val`
3106 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3108 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3109 ac_cache_corrupted
=:
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3112 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3113 eval $ac_var=\
$ac_old_val
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3116 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3118 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3121 # Pass precious variables to config.status.
3122 if test "$ac_new_set" = set; then
3124 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3125 *) ac_arg
=$ac_var=$ac_new_val ;;
3127 case " $ac_configure_args " in
3128 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3129 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3133 if $ac_cache_corrupted; then
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3135 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3137 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3138 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3140 ## -------------------- ##
3141 ## Main body of script. ##
3142 ## -------------------- ##
3145 ac_cpp
='$CPP $CPPFLAGS'
3146 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3147 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3148 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3152 ac_config_headers
="$ac_config_headers include/config.h"
3155 for ac_dir
in tools
"$srcdir"/tools
; do
3156 if test -f "$ac_dir/install-sh"; then
3158 ac_install_sh
="$ac_aux_dir/install-sh -c"
3160 elif test -f "$ac_dir/install.sh"; then
3162 ac_install_sh
="$ac_aux_dir/install.sh -c"
3164 elif test -f "$ac_dir/shtool"; then
3166 ac_install_sh
="$ac_aux_dir/shtool install -c"
3170 if test -z "$ac_aux_dir"; then
3171 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3174 # These three variables are undocumented and unsupported,
3175 # and are intended to be withdrawn in a future Autoconf release.
3176 # They can cause serious problems if a builder's source tree is in a directory
3177 # whose full name contains unusual characters.
3178 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3179 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3180 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3184 libwine_version
="1.0"
3188 # Check whether --enable-win16 was given.
3189 if test "${enable_win16+set}" = set; then :
3190 enableval
=$enable_win16;
3193 # Check whether --enable-win64 was given.
3194 if test "${enable_win64+set}" = set; then :
3195 enableval
=$enable_win64;
3198 # Check whether --enable-tests was given.
3199 if test "${enable_tests+set}" = set; then :
3200 enableval
=$enable_tests;
3203 # Check whether --enable-maintainer-mode was given.
3204 if test "${enable_maintainer_mode+set}" = set; then :
3205 enableval
=$enable_maintainer_mode;
3210 # Check whether --with-alsa was given.
3211 if test "${with_alsa+set}" = set; then :
3212 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3216 # Check whether --with-capi was given.
3217 if test "${with_capi+set}" = set; then :
3222 # Check whether --with-cms was given.
3223 if test "${with_cms+set}" = set; then :
3228 # Check whether --with-coreaudio was given.
3229 if test "${with_coreaudio+set}" = set; then :
3230 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3234 # Check whether --with-cups was given.
3235 if test "${with_cups+set}" = set; then :
3240 # Check whether --with-curses was given.
3241 if test "${with_curses+set}" = set; then :
3242 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3246 # Check whether --with-dbus was given.
3247 if test "${with_dbus+set}" = set; then :
3252 # Check whether --with-fontconfig was given.
3253 if test "${with_fontconfig+set}" = set; then :
3254 withval
=$with_fontconfig;
3258 # Check whether --with-freetype was given.
3259 if test "${with_freetype+set}" = set; then :
3260 withval
=$with_freetype;
3264 # Check whether --with-gettext was given.
3265 if test "${with_gettext+set}" = set; then :
3266 withval
=$with_gettext;
3270 # Check whether --with-gettextpo was given.
3271 if test "${with_gettextpo+set}" = set; then :
3272 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3276 # Check whether --with-gphoto was given.
3277 if test "${with_gphoto+set}" = set; then :
3278 withval
=$with_gphoto;
3282 # Check whether --with-glu was given.
3283 if test "${with_glu+set}" = set; then :
3288 # Check whether --with-gnutls was given.
3289 if test "${with_gnutls+set}" = set; then :
3290 withval
=$with_gnutls;
3294 # Check whether --with-gsm was given.
3295 if test "${with_gsm+set}" = set; then :
3296 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3300 # Check whether --with-gstreamer was given.
3301 if test "${with_gstreamer+set}" = set; then :
3302 withval
=$with_gstreamer;
3306 # Check whether --with-hal was given.
3307 if test "${with_hal+set}" = set; then :
3312 # Check whether --with-jpeg was given.
3313 if test "${with_jpeg+set}" = set; then :
3318 # Check whether --with-ldap was given.
3319 if test "${with_ldap+set}" = set; then :
3320 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3324 # Check whether --with-mpg123 was given.
3325 if test "${with_mpg123+set}" = set; then :
3326 withval
=$with_mpg123;
3330 # Check whether --with-netapi was given.
3331 if test "${with_netapi+set}" = set; then :
3332 withval
=$with_netapi;
3336 # Check whether --with-openal was given.
3337 if test "${with_openal+set}" = set; then :
3338 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3342 # Check whether --with-opencl was given.
3343 if test "${with_opencl+set}" = set; then :
3344 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3348 # Check whether --with-opengl was given.
3349 if test "${with_opengl+set}" = set; then :
3350 withval
=$with_opengl;
3354 # Check whether --with-osmesa was given.
3355 if test "${with_osmesa+set}" = set; then :
3356 withval
=$with_osmesa;
3360 # Check whether --with-oss was given.
3361 if test "${with_oss+set}" = set; then :
3366 # Check whether --with-pcap was given.
3367 if test "${with_pcap+set}" = set; then :
3368 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3372 # Check whether --with-png was given.
3373 if test "${with_png+set}" = set; then :
3378 # Check whether --with-pthread was given.
3379 if test "${with_pthread+set}" = set; then :
3380 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3384 # Check whether --with-sane was given.
3385 if test "${with_sane+set}" = set; then :
3390 # Check whether --with-tiff was given.
3391 if test "${with_tiff+set}" = set; then :
3396 # Check whether --with-v4l was given.
3397 if test "${with_v4l+set}" = set; then :
3402 # Check whether --with-xcomposite was given.
3403 if test "${with_xcomposite+set}" = set; then :
3404 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3408 # Check whether --with-xcursor was given.
3409 if test "${with_xcursor+set}" = set; then :
3410 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3414 # Check whether --with-xinerama was given.
3415 if test "${with_xinerama+set}" = set; then :
3416 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3420 # Check whether --with-xinput was given.
3421 if test "${with_xinput+set}" = set; then :
3422 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3426 # Check whether --with-xinput2 was given.
3427 if test "${with_xinput2+set}" = set; then :
3428 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3432 # Check whether --with-xml was given.
3433 if test "${with_xml+set}" = set; then :
3438 # Check whether --with-xrandr was given.
3439 if test "${with_xrandr+set}" = set; then :
3440 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3444 # Check whether --with-xrender was given.
3445 if test "${with_xrender+set}" = set; then :
3446 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3450 # Check whether --with-xshape was given.
3451 if test "${with_xshape+set}" = set; then :
3452 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3456 # Check whether --with-xshm was given.
3457 if test "${with_xshm+set}" = set; then :
3458 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3462 # Check whether --with-xslt was given.
3463 if test "${with_xslt+set}" = set; then :
3468 # Check whether --with-xxf86vm was given.
3469 if test "${with_xxf86vm+set}" = set; then :
3470 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
3474 # Check whether --with-zlib was given.
3475 if test "${with_zlib+set}" = set; then :
3476 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3481 # Check whether --with-wine-tools was given.
3482 if test "${with_wine_tools+set}" = set; then :
3483 withval
=$with_wine_tools;
3487 # Check whether --with-wine64 was given.
3488 if test "${with_wine64+set}" = set; then :
3489 withval
=$with_wine64;
3493 # Make sure we can run config.sub.
3494 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3495 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3498 $as_echo_n "checking build system type... " >&6; }
3499 if ${ac_cv_build+:} false
; then :
3500 $as_echo_n "(cached) " >&6
3502 ac_build_alias
=$build_alias
3503 test "x$ac_build_alias" = x
&&
3504 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3505 test "x$ac_build_alias" = x
&&
3506 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3507 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3508 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3512 $as_echo "$ac_cv_build" >&6; }
3513 case $ac_cv_build in
3515 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3518 ac_save_IFS
=$IFS; IFS
='-'
3524 # Remember, the first character of IFS is used to create $*,
3525 # except with old shells:
3528 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3532 $as_echo_n "checking host system type... " >&6; }
3533 if ${ac_cv_host+:} false
; then :
3534 $as_echo_n "(cached) " >&6
3536 if test "x$host_alias" = x
; then
3537 ac_cv_host
=$ac_cv_build
3539 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3540 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3545 $as_echo "$ac_cv_host" >&6; }
3548 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3551 ac_save_IFS
=$IFS; IFS
='-'
3557 # Remember, the first character of IFS is used to create $*,
3558 # except with old shells:
3561 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3567 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3568 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3569 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3575 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3577 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3578 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3579 $as_echo_n "(cached) " >&6
3581 cat >conftest.
make <<\_ACEOF
3584 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3586 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3587 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3589 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3591 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3595 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3597 $as_echo "yes" >&6; }
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3601 $as_echo "no" >&6; }
3602 SET_MAKE
="MAKE=${MAKE-make}"
3606 ac_cpp
='$CPP $CPPFLAGS'
3607 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3608 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3609 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3610 if test -n "$ac_tool_prefix"; then
3611 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3612 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3614 $as_echo_n "checking for $ac_word... " >&6; }
3615 if ${ac_cv_prog_CC+:} false
; then :
3616 $as_echo_n "(cached) " >&6
3618 if test -n "$CC"; then
3619 ac_cv_prog_CC
="$CC" # Let the user override the test.
3621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3625 test -z "$as_dir" && as_dir
=.
3626 for ac_exec_ext
in '' $ac_executable_extensions; do
3627 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3628 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3639 if test -n "$CC"; then
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3641 $as_echo "$CC" >&6; }
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3644 $as_echo "no" >&6; }
3649 if test -z "$ac_cv_prog_CC"; then
3651 # Extract the first word of "gcc", so it can be a program name with args.
3652 set dummy gcc
; ac_word
=$2
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3654 $as_echo_n "checking for $ac_word... " >&6; }
3655 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3656 $as_echo_n "(cached) " >&6
3658 if test -n "$ac_ct_CC"; then
3659 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3665 test -z "$as_dir" && as_dir
=.
3666 for ac_exec_ext
in '' $ac_executable_extensions; do
3667 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3668 ac_cv_prog_ac_ct_CC
="gcc"
3669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3678 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3679 if test -n "$ac_ct_CC"; then
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3681 $as_echo "$ac_ct_CC" >&6; }
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3684 $as_echo "no" >&6; }
3687 if test "x$ac_ct_CC" = x
; then
3690 case $cross_compiling:$ac_tool_warned in
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3694 ac_tool_warned
=yes ;;
3702 if test -z "$CC"; then
3703 if test -n "$ac_tool_prefix"; then
3704 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3705 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3707 $as_echo_n "checking for $ac_word... " >&6; }
3708 if ${ac_cv_prog_CC+:} false
; then :
3709 $as_echo_n "(cached) " >&6
3711 if test -n "$CC"; then
3712 ac_cv_prog_CC
="$CC" # Let the user override the test.
3714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3718 test -z "$as_dir" && as_dir
=.
3719 for ac_exec_ext
in '' $ac_executable_extensions; do
3720 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3721 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3732 if test -n "$CC"; then
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3734 $as_echo "$CC" >&6; }
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3737 $as_echo "no" >&6; }
3743 if test -z "$CC"; then
3744 # Extract the first word of "cc", so it can be a program name with args.
3745 set dummy cc
; ac_word
=$2
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3747 $as_echo_n "checking for $ac_word... " >&6; }
3748 if ${ac_cv_prog_CC+:} false
; then :
3749 $as_echo_n "(cached) " >&6
3751 if test -n "$CC"; then
3752 ac_cv_prog_CC
="$CC" # Let the user override the test.
3755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3759 test -z "$as_dir" && as_dir
=.
3760 for ac_exec_ext
in '' $ac_executable_extensions; do
3761 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3762 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3763 ac_prog_rejected
=yes
3767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3774 if test $ac_prog_rejected = yes; then
3775 # We found a bogon in the path, so make sure we never use it.
3776 set dummy
$ac_cv_prog_CC
3778 if test $# != 0; then
3779 # We chose a different compiler from the bogus one.
3780 # However, it has the same basename, so the bogon will be chosen
3781 # first if we set CC to just the basename; use the full file name.
3783 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3789 if test -n "$CC"; then
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3791 $as_echo "$CC" >&6; }
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3794 $as_echo "no" >&6; }
3799 if test -z "$CC"; then
3800 if test -n "$ac_tool_prefix"; then
3801 for ac_prog
in cl.exe
3803 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3804 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3806 $as_echo_n "checking for $ac_word... " >&6; }
3807 if ${ac_cv_prog_CC+:} false
; then :
3808 $as_echo_n "(cached) " >&6
3810 if test -n "$CC"; then
3811 ac_cv_prog_CC
="$CC" # Let the user override the test.
3813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3817 test -z "$as_dir" && as_dir
=.
3818 for ac_exec_ext
in '' $ac_executable_extensions; do
3819 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3820 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3831 if test -n "$CC"; then
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3833 $as_echo "$CC" >&6; }
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3836 $as_echo "no" >&6; }
3840 test -n "$CC" && break
3843 if test -z "$CC"; then
3845 for ac_prog
in cl.exe
3847 # Extract the first word of "$ac_prog", so it can be a program name with args.
3848 set dummy
$ac_prog; ac_word
=$2
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3850 $as_echo_n "checking for $ac_word... " >&6; }
3851 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3852 $as_echo_n "(cached) " >&6
3854 if test -n "$ac_ct_CC"; then
3855 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3861 test -z "$as_dir" && as_dir
=.
3862 for ac_exec_ext
in '' $ac_executable_extensions; do
3863 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3864 ac_cv_prog_ac_ct_CC
="$ac_prog"
3865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3874 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3875 if test -n "$ac_ct_CC"; then
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3877 $as_echo "$ac_ct_CC" >&6; }
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3880 $as_echo "no" >&6; }
3884 test -n "$ac_ct_CC" && break
3887 if test "x$ac_ct_CC" = x
; then
3890 case $cross_compiling:$ac_tool_warned in
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3894 ac_tool_warned
=yes ;;
3903 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3905 as_fn_error $?
"no acceptable C compiler found in \$PATH
3906 See \`config.log' for more details" "$LINENO" 5; }
3908 # Provide some information about the compiler.
3909 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3912 for ac_option
in --version -v -V -qversion; do
3913 { { ac_try
="$ac_compiler $ac_option >&5"
3915 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3916 *) ac_try_echo=$ac_try;;
3918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3919 $as_echo "$ac_try_echo"; } >&5
3920 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3922 if test -s conftest.err; then
3924 ... rest of stderr output deleted ...
3925 10q' conftest.err >conftest.er1
3926 cat conftest.er1 >&5
3928 rm -f conftest.er1 conftest.err
3929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3930 test $ac_status = 0; }
3933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3934 /* end confdefs.h. */
3944 ac_clean_files_save=$ac_clean_files
3945 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3946 # Try to create an executable without -o first, disregard a.out.
3947 # It will help us diagnose broken compilers, and finding out an intuition
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3950 $as_echo_n "checking whether the C compiler works... " >&6; }
3951 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3953 # The possible output files:
3954 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3957 for ac_file in $ac_files
3960 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3961 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3966 if { { ac_try="$ac_link_default"
3968 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3969 *) ac_try_echo
=$ac_try;;
3971 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3972 $as_echo "$ac_try_echo"; } >&5
3973 (eval "$ac_link_default") 2>&5
3975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3976 test $ac_status = 0; }; then :
3977 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3978 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3979 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3980 # so that the user can short-circuit this test for compilers unknown to
3982 for ac_file
in $ac_files ''
3984 test -f "$ac_file" ||
continue
3986 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3989 # We found the default executable, but exeext='' is most
3993 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3995 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3997 # We set ac_cv_exeext here because the later test for it is not
3998 # safe: cross compilers may not add the suffix if given an `-o'
3999 # argument, so we may need to know it at that point already.
4000 # Even if this section looks crufty: it has the advantage of
4007 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4012 if test -z "$ac_file"; then :
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4014 $as_echo "no" >&6; }
4015 $as_echo "$as_me: failed program was:" >&5
4016 sed 's/^/| /' conftest.
$ac_ext >&5
4018 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4020 as_fn_error
77 "C compiler cannot create executables
4021 See \`config.log' for more details" "$LINENO" 5; }
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4024 $as_echo "yes" >&6; }
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4027 $as_echo_n "checking for C compiler default output file name... " >&6; }
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4029 $as_echo "$ac_file" >&6; }
4030 ac_exeext
=$ac_cv_exeext
4032 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4033 ac_clean_files
=$ac_clean_files_save
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4035 $as_echo_n "checking for suffix of executables... " >&6; }
4036 if { { ac_try
="$ac_link"
4038 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4039 *) ac_try_echo=$ac_try;;
4041 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4042 $as_echo "$ac_try_echo"; } >&5
4043 (eval "$ac_link") 2>&5
4045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4046 test $ac_status = 0; }; then :
4047 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4048 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4049 # work properly (i.e., refer to `conftest.exe'), while it won't with
4051 for ac_file
in conftest.exe conftest conftest.
*; do
4052 test -f "$ac_file" ||
continue
4054 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4055 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4061 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4062 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4063 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4064 See \`config.log' for more details" "$LINENO" 5; }
4066 rm -f conftest conftest
$ac_cv_exeext
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4068 $as_echo "$ac_cv_exeext" >&6; }
4070 rm -f conftest.
$ac_ext
4071 EXEEXT
=$ac_cv_exeext
4073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4074 /* end confdefs.h. */
4079 FILE *f = fopen ("conftest.out", "w");
4080 return ferror (f) || fclose (f) != 0;
4086 ac_clean_files
="$ac_clean_files conftest.out"
4087 # Check that the compiler produces executables we can run. If not, either
4088 # the compiler is broken, or we cross compile.
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4090 $as_echo_n "checking whether we are cross compiling... " >&6; }
4091 if test "$cross_compiling" != yes; then
4092 { { ac_try
="$ac_link"
4094 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4098 $as_echo "$ac_try_echo"; } >&5
4099 (eval "$ac_link") 2>&5
4101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4102 test $ac_status = 0; }
4103 if { ac_try='./conftest$ac_cv_exeext'
4104 { { case "(($ac_try" in
4105 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4106 *) ac_try_echo
=$ac_try;;
4108 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4109 $as_echo "$ac_try_echo"; } >&5
4110 (eval "$ac_try") 2>&5
4112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4113 test $ac_status = 0; }; }; then
4116 if test "$cross_compiling" = maybe
; then
4119 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4121 as_fn_error $?
"cannot run C compiled programs.
4122 If you meant to cross compile, use \`--host'.
4123 See \`config.log' for more details" "$LINENO" 5; }
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4128 $as_echo "$cross_compiling" >&6; }
4130 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4131 ac_clean_files
=$ac_clean_files_save
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4133 $as_echo_n "checking for suffix of object files... " >&6; }
4134 if ${ac_cv_objext+:} false
; then :
4135 $as_echo_n "(cached) " >&6
4137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4138 /* end confdefs.h. */
4148 rm -f conftest.o conftest.obj
4149 if { { ac_try
="$ac_compile"
4151 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4152 *) ac_try_echo=$ac_try;;
4154 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4155 $as_echo "$ac_try_echo"; } >&5
4156 (eval "$ac_compile") 2>&5
4158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4159 test $ac_status = 0; }; then :
4160 for ac_file in conftest.o conftest.obj conftest.*; do
4161 test -f "$ac_file" || continue;
4163 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4164 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4169 $as_echo "$as_me: failed program was:" >&5
4170 sed 's/^/| /' conftest.$ac_ext >&5
4172 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4174 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4175 See \
`config.log' for more details" "$LINENO" 5; }
4177 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4180 $as_echo "$ac_cv_objext" >&6; }
4181 OBJEXT=$ac_cv_objext
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4184 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4185 if ${ac_cv_c_compiler_gnu+:} false; then :
4186 $as_echo_n "(cached) " >&6
4188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4189 /* end confdefs.h. */
4202 if ac_fn_c_try_compile "$LINENO"; then :
4207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4208 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4212 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4213 if test $ac_compiler_gnu = yes; then
4218 ac_test_CFLAGS=${CFLAGS+set}
4219 ac_save_CFLAGS=$CFLAGS
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4221 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4222 if ${ac_cv_prog_cc_g+:} false; then :
4223 $as_echo_n "(cached) " >&6
4225 ac_save_c_werror_flag=$ac_c_werror_flag
4226 ac_c_werror_flag=yes
4229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4230 /* end confdefs.h. */
4240 if ac_fn_c_try_compile "$LINENO"; then :
4244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4245 /* end confdefs.h. */
4255 if ac_fn_c_try_compile "$LINENO"; then :
4258 ac_c_werror_flag=$ac_save_c_werror_flag
4260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4261 /* end confdefs.h. */
4271 if ac_fn_c_try_compile "$LINENO"; then :
4274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4279 ac_c_werror_flag=$ac_save_c_werror_flag
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4282 $as_echo "$ac_cv_prog_cc_g" >&6; }
4283 if test "$ac_test_CFLAGS" = set; then
4284 CFLAGS=$ac_save_CFLAGS
4285 elif test $ac_cv_prog_cc_g = yes; then
4286 if test "$GCC" = yes; then
4292 if test "$GCC" = yes; then
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4299 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4300 if ${ac_cv_prog_cc_c89+:} false; then :
4301 $as_echo_n "(cached) " >&6
4303 ac_cv_prog_cc_c89=no
4305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4306 /* end confdefs.h. */
4310 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4311 struct buf { int x; };
4312 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4313 static char *e (p, i)
4319 static char *f (char * (*g) (char **, int), char **p, ...)
4324 s = g (p, va_arg (v,int));
4329 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4330 function prototypes and stuff, but not '\xHH' hex character constants.
4331 These don't provoke an error unfortunately, instead are silently treated
4332 as 'x'. The following induces an error, until -std is added to get
4333 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4334 array size at least. It's necessary to write '\x00'==0 to get something
4335 that's true only with -std. */
4336 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4338 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4339 inside strings and character constants. */
4341 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4343 int test (int i, double x);
4344 struct s1 {int (*f) (int a);};
4345 struct s2 {int (*f) (double a);};
4346 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4352 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4357 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4358 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4360 CC="$ac_save_CC $ac_arg"
4361 if ac_fn_c_try_compile "$LINENO"; then :
4362 ac_cv_prog_cc_c89=$ac_arg
4364 rm -f core conftest.err conftest.$ac_objext
4365 test "x$ac_cv_prog_cc_c89" != "xno" && break
4367 rm -f conftest.$ac_ext
4372 case "x$ac_cv_prog_cc_c89" in
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4375 $as_echo "none needed" >&6; } ;;
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4378 $as_echo "unsupported" >&6; } ;;
4380 CC="$CC $ac_cv_prog_cc_c89"
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4382 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4384 if test "x$ac_cv_prog_cc_c89" != xno; then :
4389 ac_cpp='$CPP $CPPFLAGS'
4390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4395 ac_cpp='$CXXCPP $CPPFLAGS'
4396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4399 if test -z "$CXX"; then
4400 if test -n "$CCC"; then
4403 if test -n "$ac_tool_prefix"; then
4404 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4406 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4407 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4409 $as_echo_n "checking for $ac_word... " >&6; }
4410 if ${ac_cv_prog_CXX+:} false; then :
4411 $as_echo_n "(cached) " >&6
4413 if test -n "$CXX"; then
4414 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4420 test -z "$as_dir" && as_dir=.
4421 for ac_exec_ext in '' $ac_executable_extensions; do
4422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4423 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4434 if test -n "$CXX"; then
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4436 $as_echo "$CXX" >&6; }
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4439 $as_echo "no" >&6; }
4443 test -n "$CXX" && break
4446 if test -z "$CXX"; then
4448 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4450 # Extract the first word of "$ac_prog", so it can be a program name with args.
4451 set dummy $ac_prog; ac_word=$2
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4453 $as_echo_n "checking for $ac_word... " >&6; }
4454 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4455 $as_echo_n "(cached) " >&6
4457 if test -n "$ac_ct_CXX"; then
4458 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4464 test -z "$as_dir" && as_dir=.
4465 for ac_exec_ext in '' $ac_executable_extensions; do
4466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4467 ac_cv_prog_ac_ct_CXX="$ac_prog"
4468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4477 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4478 if test -n "$ac_ct_CXX"; then
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4480 $as_echo "$ac_ct_CXX" >&6; }
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4483 $as_echo "no" >&6; }
4487 test -n "$ac_ct_CXX" && break
4490 if test "x$ac_ct_CXX" = x; then
4493 case $cross_compiling:$ac_tool_warned in
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4497 ac_tool_warned=yes ;;
4505 # Provide some information about the compiler.
4506 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4509 for ac_option in --version -v -V -qversion; do
4510 { { ac_try="$ac_compiler $ac_option >&5"
4512 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4513 *) ac_try_echo
=$ac_try;;
4515 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4516 $as_echo "$ac_try_echo"; } >&5
4517 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4519 if test -s conftest.err
; then
4521 ... rest of stderr output deleted ...
4522 10q' conftest.err
>conftest.er1
4523 cat conftest.er1
>&5
4525 rm -f conftest.er1 conftest.err
4526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4527 test $ac_status = 0; }
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4531 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4532 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4533 $as_echo_n "(cached) " >&6
4535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4536 /* end confdefs.h. */
4549 if ac_fn_cxx_try_compile
"$LINENO"; then :
4554 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4555 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4559 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4560 if test $ac_compiler_gnu = yes; then
4565 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4566 ac_save_CXXFLAGS
=$CXXFLAGS
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4568 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4569 if ${ac_cv_prog_cxx_g+:} false
; then :
4570 $as_echo_n "(cached) " >&6
4572 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4573 ac_cxx_werror_flag
=yes
4576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4577 /* end confdefs.h. */
4587 if ac_fn_cxx_try_compile
"$LINENO"; then :
4588 ac_cv_prog_cxx_g
=yes
4591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4592 /* end confdefs.h. */
4602 if ac_fn_cxx_try_compile
"$LINENO"; then :
4605 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4608 /* end confdefs.h. */
4618 if ac_fn_cxx_try_compile
"$LINENO"; then :
4619 ac_cv_prog_cxx_g
=yes
4621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4623 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4626 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4629 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4630 if test "$ac_test_CXXFLAGS" = set; then
4631 CXXFLAGS
=$ac_save_CXXFLAGS
4632 elif test $ac_cv_prog_cxx_g = yes; then
4633 if test "$GXX" = yes; then
4639 if test "$GXX" = yes; then
4646 ac_cpp
='$CPP $CPPFLAGS'
4647 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4648 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4649 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4651 if test -n "$ac_tool_prefix"; then
4652 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4653 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4655 $as_echo_n "checking for $ac_word... " >&6; }
4656 if ${ac_cv_prog_CPPBIN+:} false
; then :
4657 $as_echo_n "(cached) " >&6
4659 if test -n "$CPPBIN"; then
4660 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4666 test -z "$as_dir" && as_dir
=.
4667 for ac_exec_ext
in '' $ac_executable_extensions; do
4668 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4669 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4679 CPPBIN
=$ac_cv_prog_CPPBIN
4680 if test -n "$CPPBIN"; then
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4682 $as_echo "$CPPBIN" >&6; }
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4685 $as_echo "no" >&6; }
4690 if test -z "$ac_cv_prog_CPPBIN"; then
4691 ac_ct_CPPBIN
=$CPPBIN
4692 # Extract the first word of "cpp", so it can be a program name with args.
4693 set dummy cpp
; ac_word
=$2
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4695 $as_echo_n "checking for $ac_word... " >&6; }
4696 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4697 $as_echo_n "(cached) " >&6
4699 if test -n "$ac_ct_CPPBIN"; then
4700 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4706 test -z "$as_dir" && as_dir
=.
4707 for ac_exec_ext
in '' $ac_executable_extensions; do
4708 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4709 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4719 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4720 if test -n "$ac_ct_CPPBIN"; then
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4722 $as_echo "$ac_ct_CPPBIN" >&6; }
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4725 $as_echo "no" >&6; }
4728 if test "x$ac_ct_CPPBIN" = x
; then
4731 case $cross_compiling:$ac_tool_warned in
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4734 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4735 ac_tool_warned
=yes ;;
4737 CPPBIN
=$ac_ct_CPPBIN
4740 CPPBIN
="$ac_cv_prog_CPPBIN"
4744 cat >>confdefs.h
<<_ACEOF
4745 #define EXEEXT "$ac_exeext"
4748 if test -n "$ac_tool_prefix"; then
4749 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4750 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4752 $as_echo_n "checking for $ac_word... " >&6; }
4753 if ${ac_cv_prog_LD+:} false
; then :
4754 $as_echo_n "(cached) " >&6
4756 if test -n "$LD"; then
4757 ac_cv_prog_LD
="$LD" # Let the user override the test.
4759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4763 test -z "$as_dir" && as_dir
=.
4764 for ac_exec_ext
in '' $ac_executable_extensions; do
4765 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4766 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4777 if test -n "$LD"; then
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4779 $as_echo "$LD" >&6; }
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4782 $as_echo "no" >&6; }
4787 if test -z "$ac_cv_prog_LD"; then
4789 # Extract the first word of "ld", so it can be a program name with args.
4790 set dummy ld
; ac_word
=$2
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4792 $as_echo_n "checking for $ac_word... " >&6; }
4793 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4794 $as_echo_n "(cached) " >&6
4796 if test -n "$ac_ct_LD"; then
4797 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4803 test -z "$as_dir" && as_dir
=.
4804 for ac_exec_ext
in '' $ac_executable_extensions; do
4805 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4806 ac_cv_prog_ac_ct_LD
="ld"
4807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4816 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4817 if test -n "$ac_ct_LD"; then
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4819 $as_echo "$ac_ct_LD" >&6; }
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4822 $as_echo "no" >&6; }
4825 if test "x$ac_ct_LD" = x
; then
4828 case $cross_compiling:$ac_tool_warned in
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4831 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4832 ac_tool_warned
=yes ;;
4843 if test "x$enable_win64" = "xyes"
4848 notice_platform
="64-bit "
4855 notice_platform
="32-bit "
4858 enable_win16
=${enable_win16:-yes}
4860 with_fontconfig
=${with_fontconfig:-no}
4863 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4868 $as_echo_n "checking whether $CC works... " >&6; }
4870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4871 /* end confdefs.h. */
4881 if ac_fn_c_try_link
"$LINENO"; then :
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4883 $as_echo "yes" >&6; }
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4886 $as_echo "no" >&6; }
4887 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4889 rm -f core conftest.err conftest.
$ac_objext \
4890 conftest
$ac_exeext conftest.
$ac_ext
4892 notice_platform
="32-bit "
4895 enable_win16
=${enable_win16:-yes}
4897 if test "x${GCC}" = "xyes"
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4900 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4902 /* end confdefs.h. */
4907 void func(__builtin_ms_va_list *args);
4912 if ac_fn_c_try_compile
"$LINENO"; then :
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4914 $as_echo "yes" >&6; }
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4917 $as_echo "no" >&6; }
4918 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4920 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4928 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4930 /* end confdefs.h. */
4931 int ac_test(int i) { return i; }
4935 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4940 if ac_fn_c_try_link
"$LINENO"; then :
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4942 $as_echo "yes" >&6; }
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4945 $as_echo "no" >&6; }
4946 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4948 rm -f core conftest.err conftest.
$ac_objext \
4949 conftest
$ac_exeext conftest.
$ac_ext
4950 CFLAGS
="$CFLAGS -marm"
4954 *-mingw32*|
*-cygwin*)
4955 enable_win16
=${enable_win16:-no}
4956 CFLAGS
="$CFLAGS -D_WIN32"
4959 enable_win16
=${enable_win16:-yes}
4963 enable_win16
=${enable_win16:-no}
4964 enable_win64
=${enable_win64:-no}
4966 enable_winetest
=${enable_winetest:-$enable_tests}
4968 if test -n "$with_wine64"
4970 if test "x$enable_win64" = "xyes"
4972 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4973 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4975 enable_fonts
=${enable_fonts:-no}
4976 enable_server
=${enable_server:-no}
4977 elif test "x$enable_win64" = "xyes"
4979 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4983 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4984 if ${wine_cv_toolsdir+:} false
; then :
4985 $as_echo_n "(cached) " >&6
4987 wine_cv_toolsdir
="$with_wine_tools"
4988 if test -z "$with_wine_tools"; then
4989 if test "$cross_compiling" = "yes"; then
4990 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4991 elif test -n "$with_wine64"; then
4992 wine_cv_toolsdir
="$with_wine64"
4995 if test -z "$wine_cv_toolsdir"; then
4996 wine_makedep
=tools
/makedep
4997 wine_cv_toolsdir
="\$(top_builddir)"
4998 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4999 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
5000 case "$wine_cv_toolsdir" in
5002 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5004 enable_tools
=${enable_tools:-no}
5005 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5007 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5011 $as_echo "$wine_cv_toolsdir" >&6; }
5012 TOOLSDIR
=$wine_cv_toolsdir
5014 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5016 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5022 # Extract the first word of "$ac_prog", so it can be a program name with args.
5023 set dummy
$ac_prog; ac_word
=$2
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025 $as_echo_n "checking for $ac_word... " >&6; }
5026 if ${ac_cv_prog_FLEX+:} false
; then :
5027 $as_echo_n "(cached) " >&6
5029 if test -n "$FLEX"; then
5030 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5036 test -z "$as_dir" && as_dir
=.
5037 for ac_exec_ext
in '' $ac_executable_extensions; do
5038 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5039 ac_cv_prog_FLEX
="$ac_prog"
5040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5049 FLEX
=$ac_cv_prog_FLEX
5050 if test -n "$FLEX"; then
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5052 $as_echo "$FLEX" >&6; }
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5055 $as_echo "no" >&6; }
5059 test -n "$FLEX" && break
5061 test -n "$FLEX" || FLEX
="none"
5063 if test "$FLEX" = "none"
5065 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5068 $as_echo_n "checking whether flex is recent enough... " >&6; }
5069 cat >conftest.l
<<EOF
5071 #include "prediluvian.h"
5075 if $FLEX -t conftest.l
>/dev
/null
2>&5
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5078 $as_echo "yes" >&6; }
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5081 $as_echo "no" >&6; }
5082 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5085 for ac_prog
in bison
5087 # Extract the first word of "$ac_prog", so it can be a program name with args.
5088 set dummy
$ac_prog; ac_word
=$2
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5090 $as_echo_n "checking for $ac_word... " >&6; }
5091 if ${ac_cv_prog_BISON+:} false
; then :
5092 $as_echo_n "(cached) " >&6
5094 if test -n "$BISON"; then
5095 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5101 test -z "$as_dir" && as_dir
=.
5102 for ac_exec_ext
in '' $ac_executable_extensions; do
5103 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5104 ac_cv_prog_BISON
="$ac_prog"
5105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5114 BISON
=$ac_cv_prog_BISON
5115 if test -n "$BISON"; then
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5117 $as_echo "$BISON" >&6; }
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5120 $as_echo "no" >&6; }
5124 test -n "$BISON" && break
5126 test -n "$BISON" || BISON
="none"
5128 if test "$BISON" = "none"
5130 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5133 if test -n "$ac_tool_prefix"; then
5134 for ac_prog
in ar gar
5136 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5137 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5139 $as_echo_n "checking for $ac_word... " >&6; }
5140 if ${ac_cv_prog_AR+:} false
; then :
5141 $as_echo_n "(cached) " >&6
5143 if test -n "$AR"; then
5144 ac_cv_prog_AR
="$AR" # Let the user override the test.
5146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5150 test -z "$as_dir" && as_dir
=.
5151 for ac_exec_ext
in '' $ac_executable_extensions; do
5152 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5153 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5164 if test -n "$AR"; then
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5166 $as_echo "$AR" >&6; }
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5169 $as_echo "no" >&6; }
5173 test -n "$AR" && break
5176 if test -z "$AR"; then
5178 for ac_prog
in ar gar
5180 # Extract the first word of "$ac_prog", so it can be a program name with args.
5181 set dummy
$ac_prog; ac_word
=$2
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5183 $as_echo_n "checking for $ac_word... " >&6; }
5184 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5185 $as_echo_n "(cached) " >&6
5187 if test -n "$ac_ct_AR"; then
5188 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5194 test -z "$as_dir" && as_dir
=.
5195 for ac_exec_ext
in '' $ac_executable_extensions; do
5196 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5197 ac_cv_prog_ac_ct_AR
="$ac_prog"
5198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5207 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5208 if test -n "$ac_ct_AR"; then
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5210 $as_echo "$ac_ct_AR" >&6; }
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5213 $as_echo "no" >&6; }
5217 test -n "$ac_ct_AR" && break
5220 if test "x$ac_ct_AR" = x
; then
5223 case $cross_compiling:$ac_tool_warned in
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5227 ac_tool_warned
=yes ;;
5233 if test -n "$ac_tool_prefix"; then
5234 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5235 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5237 $as_echo_n "checking for $ac_word... " >&6; }
5238 if ${ac_cv_prog_STRIP+:} false
; then :
5239 $as_echo_n "(cached) " >&6
5241 if test -n "$STRIP"; then
5242 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5248 test -z "$as_dir" && as_dir
=.
5249 for ac_exec_ext
in '' $ac_executable_extensions; do
5250 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5251 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5261 STRIP
=$ac_cv_prog_STRIP
5262 if test -n "$STRIP"; then
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5264 $as_echo "$STRIP" >&6; }
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5267 $as_echo "no" >&6; }
5272 if test -z "$ac_cv_prog_STRIP"; then
5274 # Extract the first word of "strip", so it can be a program name with args.
5275 set dummy strip
; ac_word
=$2
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5277 $as_echo_n "checking for $ac_word... " >&6; }
5278 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5279 $as_echo_n "(cached) " >&6
5281 if test -n "$ac_ct_STRIP"; then
5282 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5288 test -z "$as_dir" && as_dir
=.
5289 for ac_exec_ext
in '' $ac_executable_extensions; do
5290 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5291 ac_cv_prog_ac_ct_STRIP
="strip"
5292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5301 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5302 if test -n "$ac_ct_STRIP"; then
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5304 $as_echo "$ac_ct_STRIP" >&6; }
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5307 $as_echo "no" >&6; }
5310 if test "x$ac_ct_STRIP" = x
; then
5313 case $cross_compiling:$ac_tool_warned in
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5317 ac_tool_warned
=yes ;;
5322 STRIP
="$ac_cv_prog_STRIP"
5327 if test -n "$ac_tool_prefix"; then
5328 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5329 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5331 $as_echo_n "checking for $ac_word... " >&6; }
5332 if ${ac_cv_prog_RANLIB+:} false
; then :
5333 $as_echo_n "(cached) " >&6
5335 if test -n "$RANLIB"; then
5336 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5342 test -z "$as_dir" && as_dir
=.
5343 for ac_exec_ext
in '' $ac_executable_extensions; do
5344 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5345 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5355 RANLIB
=$ac_cv_prog_RANLIB
5356 if test -n "$RANLIB"; then
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5358 $as_echo "$RANLIB" >&6; }
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5361 $as_echo "no" >&6; }
5366 if test -z "$ac_cv_prog_RANLIB"; then
5367 ac_ct_RANLIB
=$RANLIB
5368 # Extract the first word of "ranlib", so it can be a program name with args.
5369 set dummy ranlib
; ac_word
=$2
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5371 $as_echo_n "checking for $ac_word... " >&6; }
5372 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5373 $as_echo_n "(cached) " >&6
5375 if test -n "$ac_ct_RANLIB"; then
5376 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5382 test -z "$as_dir" && as_dir
=.
5383 for ac_exec_ext
in '' $ac_executable_extensions; do
5384 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5385 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5395 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5396 if test -n "$ac_ct_RANLIB"; then
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5398 $as_echo "$ac_ct_RANLIB" >&6; }
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5401 $as_echo "no" >&6; }
5404 if test "x$ac_ct_RANLIB" = x
; then
5407 case $cross_compiling:$ac_tool_warned in
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5410 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5411 ac_tool_warned
=yes ;;
5413 RANLIB
=$ac_ct_RANLIB
5416 RANLIB
="$ac_cv_prog_RANLIB"
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5420 $as_echo_n "checking whether ln -s works... " >&6; }
5422 if test "$LN_S" = "ln -s"; then
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5424 $as_echo "yes" >&6; }
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5427 $as_echo "no, using $LN_S" >&6; }
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5431 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5432 if ${ac_cv_path_GREP+:} false
; then :
5433 $as_echo_n "(cached) " >&6
5435 if test -z "$GREP"; then
5436 ac_path_GREP_found
=false
5437 # Loop through the user's path and test for each of PROGNAME-LIST
5438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5439 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5442 test -z "$as_dir" && as_dir
=.
5443 for ac_prog
in grep ggrep
; do
5444 for ac_exec_ext
in '' $ac_executable_extensions; do
5445 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5446 as_fn_executable_p
"$ac_path_GREP" ||
continue
5447 # Check for GNU ac_path_GREP and select it if it is found.
5448 # Check for GNU $ac_path_GREP
5449 case `"$ac_path_GREP" --version 2>&1` in
5451 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5454 $as_echo_n 0123456789 >"conftest.in"
5457 cat "conftest.in" "conftest.in" >"conftest.tmp"
5458 mv "conftest.tmp" "conftest.in"
5459 cp "conftest.in" "conftest.nl"
5460 $as_echo 'GREP' >> "conftest.nl"
5461 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5462 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5463 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5464 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5465 # Best one so far, save it but keep looking for a better one
5466 ac_cv_path_GREP
="$ac_path_GREP"
5467 ac_path_GREP_max
=$ac_count
5469 # 10*(2^10) chars as input seems more than enough
5470 test $ac_count -gt 10 && break
5472 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5475 $ac_path_GREP_found && break 3
5480 if test -z "$ac_cv_path_GREP"; then
5481 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5484 ac_cv_path_GREP
=$GREP
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5489 $as_echo "$ac_cv_path_GREP" >&6; }
5490 GREP
="$ac_cv_path_GREP"
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5494 $as_echo_n "checking for egrep... " >&6; }
5495 if ${ac_cv_path_EGREP+:} false
; then :
5496 $as_echo_n "(cached) " >&6
5498 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5499 then ac_cv_path_EGREP
="$GREP -E"
5501 if test -z "$EGREP"; then
5502 ac_path_EGREP_found
=false
5503 # Loop through the user's path and test for each of PROGNAME-LIST
5504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5505 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5508 test -z "$as_dir" && as_dir
=.
5509 for ac_prog
in egrep; do
5510 for ac_exec_ext
in '' $ac_executable_extensions; do
5511 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5512 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5513 # Check for GNU ac_path_EGREP and select it if it is found.
5514 # Check for GNU $ac_path_EGREP
5515 case `"$ac_path_EGREP" --version 2>&1` in
5517 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5520 $as_echo_n 0123456789 >"conftest.in"
5523 cat "conftest.in" "conftest.in" >"conftest.tmp"
5524 mv "conftest.tmp" "conftest.in"
5525 cp "conftest.in" "conftest.nl"
5526 $as_echo 'EGREP' >> "conftest.nl"
5527 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5528 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5529 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5530 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5531 # Best one so far, save it but keep looking for a better one
5532 ac_cv_path_EGREP
="$ac_path_EGREP"
5533 ac_path_EGREP_max
=$ac_count
5535 # 10*(2^10) chars as input seems more than enough
5536 test $ac_count -gt 10 && break
5538 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5541 $ac_path_EGREP_found && break 3
5546 if test -z "$ac_cv_path_EGREP"; then
5547 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5550 ac_cv_path_EGREP
=$EGREP
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5556 $as_echo "$ac_cv_path_EGREP" >&6; }
5557 EGREP
="$ac_cv_path_EGREP"
5560 # Extract the first word of "ldconfig", so it can be a program name with args.
5561 set dummy ldconfig
; ac_word
=$2
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5563 $as_echo_n "checking for $ac_word... " >&6; }
5564 if ${ac_cv_path_LDCONFIG+:} false
; then :
5565 $as_echo_n "(cached) " >&6
5569 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5573 for as_dir
in /sbin
/usr
/sbin
$PATH
5576 test -z "$as_dir" && as_dir
=.
5577 for ac_exec_ext
in '' $ac_executable_extensions; do
5578 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5579 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5587 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5591 LDCONFIG
=$ac_cv_path_LDCONFIG
5592 if test -n "$LDCONFIG"; then
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5594 $as_echo "$LDCONFIG" >&6; }
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5597 $as_echo "no" >&6; }
5601 for ac_prog
in msgfmt
5603 # Extract the first word of "$ac_prog", so it can be a program name with args.
5604 set dummy
$ac_prog; ac_word
=$2
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5606 $as_echo_n "checking for $ac_word... " >&6; }
5607 if ${ac_cv_prog_MSGFMT+:} false
; then :
5608 $as_echo_n "(cached) " >&6
5610 if test -n "$MSGFMT"; then
5611 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5617 test -z "$as_dir" && as_dir
=.
5618 for ac_exec_ext
in '' $ac_executable_extensions; do
5619 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5620 ac_cv_prog_MSGFMT
="$ac_prog"
5621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5630 MSGFMT
=$ac_cv_prog_MSGFMT
5631 if test -n "$MSGFMT"; then
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5633 $as_echo "$MSGFMT" >&6; }
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5636 $as_echo "no" >&6; }
5640 test -n "$MSGFMT" && break
5642 test -n "$MSGFMT" || MSGFMT
="false"
5644 if ${ac_tool_prefix+:} false
; then :
5645 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5646 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5648 $as_echo_n "checking for $ac_word... " >&6; }
5649 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5650 $as_echo_n "(cached) " >&6
5652 if test -n "$PKG_CONFIG"; then
5653 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5659 test -z "$as_dir" && as_dir
=.
5660 for ac_exec_ext
in '' $ac_executable_extensions; do
5661 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5662 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5672 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5673 if test -n "$PKG_CONFIG"; then
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5675 $as_echo "$PKG_CONFIG" >&6; }
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5678 $as_echo "no" >&6; }
5683 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5684 if test "x$cross_compiling" = xyes
; then :
5687 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5688 # Extract the first word of "pkg-config", so it can be a program name with args.
5689 set dummy pkg-config
; ac_word
=$2
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5691 $as_echo_n "checking for $ac_word... " >&6; }
5692 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5693 $as_echo_n "(cached) " >&6
5695 if test -n "$PKG_CONFIG"; then
5696 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5702 test -z "$as_dir" && as_dir
=.
5703 for ac_exec_ext
in '' $ac_executable_extensions; do
5704 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5705 ac_cv_prog_PKG_CONFIG
="pkg-config"
5706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5715 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5716 if test -n "$PKG_CONFIG"; then
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5718 $as_echo "$PKG_CONFIG" >&6; }
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5721 $as_echo "no" >&6; }
5727 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5730 if test "x$enable_maintainer_mode" != "xyes"
5737 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5738 for ac_prog
in fontforge
5740 # Extract the first word of "$ac_prog", so it can be a program name with args.
5741 set dummy
$ac_prog; ac_word
=$2
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5743 $as_echo_n "checking for $ac_word... " >&6; }
5744 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5745 $as_echo_n "(cached) " >&6
5747 if test -n "$FONTFORGE"; then
5748 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5754 test -z "$as_dir" && as_dir
=.
5755 for ac_exec_ext
in '' $ac_executable_extensions; do
5756 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5757 ac_cv_prog_FONTFORGE
="$ac_prog"
5758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5767 FONTFORGE
=$ac_cv_prog_FONTFORGE
5768 if test -n "$FONTFORGE"; then
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5770 $as_echo "$FONTFORGE" >&6; }
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5773 $as_echo "no" >&6; }
5777 test -n "$FONTFORGE" && break
5779 test -n "$FONTFORGE" || FONTFORGE
="false"
5781 for ac_prog
in rsvg-convert rsvg
5783 # Extract the first word of "$ac_prog", so it can be a program name with args.
5784 set dummy
$ac_prog; ac_word
=$2
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5786 $as_echo_n "checking for $ac_word... " >&6; }
5787 if ${ac_cv_prog_RSVG+:} false
; then :
5788 $as_echo_n "(cached) " >&6
5790 if test -n "$RSVG"; then
5791 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5797 test -z "$as_dir" && as_dir
=.
5798 for ac_exec_ext
in '' $ac_executable_extensions; do
5799 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5800 ac_cv_prog_RSVG
="$ac_prog"
5801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5810 RSVG
=$ac_cv_prog_RSVG
5811 if test -n "$RSVG"; then
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5813 $as_echo "$RSVG" >&6; }
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5816 $as_echo "no" >&6; }
5820 test -n "$RSVG" && break
5822 test -n "$RSVG" || RSVG
="false"
5824 for ac_prog
in convert
5826 # Extract the first word of "$ac_prog", so it can be a program name with args.
5827 set dummy
$ac_prog; ac_word
=$2
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5829 $as_echo_n "checking for $ac_word... " >&6; }
5830 if ${ac_cv_prog_CONVERT+:} false
; then :
5831 $as_echo_n "(cached) " >&6
5833 if test -n "$CONVERT"; then
5834 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5840 test -z "$as_dir" && as_dir
=.
5841 for ac_exec_ext
in '' $ac_executable_extensions; do
5842 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5843 ac_cv_prog_CONVERT
="$ac_prog"
5844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5853 CONVERT
=$ac_cv_prog_CONVERT
5854 if test -n "$CONVERT"; then
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5856 $as_echo "$CONVERT" >&6; }
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5859 $as_echo "no" >&6; }
5863 test -n "$CONVERT" && break
5865 test -n "$CONVERT" || CONVERT
="false"
5867 for ac_prog
in icotool
5869 # Extract the first word of "$ac_prog", so it can be a program name with args.
5870 set dummy
$ac_prog; ac_word
=$2
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5872 $as_echo_n "checking for $ac_word... " >&6; }
5873 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5874 $as_echo_n "(cached) " >&6
5876 if test -n "$ICOTOOL"; then
5877 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5883 test -z "$as_dir" && as_dir
=.
5884 for ac_exec_ext
in '' $ac_executable_extensions; do
5885 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5886 ac_cv_prog_ICOTOOL
="$ac_prog"
5887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5896 ICOTOOL
=$ac_cv_prog_ICOTOOL
5897 if test -n "$ICOTOOL"; then
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5899 $as_echo "$ICOTOOL" >&6; }
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5902 $as_echo "no" >&6; }
5906 test -n "$ICOTOOL" && break
5908 test -n "$ICOTOOL" || ICOTOOL
="false"
5910 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5911 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5913 if test "$CONVERT" = false
5915 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5918 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5919 convert_version
=`convert --version | head -n1`
5920 if test "x$convert_version" != "x"
5922 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5923 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5924 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5929 if test "$CONVERT" = false
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5932 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5933 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5936 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5940 if test "$ICOTOOL" = false
5942 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5945 $as_echo_n "checking for recent enough icotool... " >&6; }
5946 icotool_version
=`icotool --version | head -n1`
5947 if test "x$icotool_version" != "x"
5949 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5950 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5951 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5954 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5957 if test "$ICOTOOL" = false
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5960 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5961 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5964 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5970 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5973 test "x$with_gettext" != xno || MSGFMT
=false
5974 if test "$MSGFMT" != "false"
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5977 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5978 cat >conftest.po
<<EOF
5984 if $MSGFMT -o /dev
/null conftest.po
2>&5
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5987 $as_echo "yes" >&6; }
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5990 $as_echo "no" >&6; }
5994 if test "$MSGFMT" = false
; then :
5995 case "x$with_gettext" in
5996 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5998 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5999 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6005 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6006 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6007 $as_echo_n "(cached) " >&6
6009 ac_check_lib_save_LIBS
=$LIBS
6011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6012 /* end confdefs.h. */
6014 /* Override any GCC internal prototype to avoid an error.
6015 Use char because int might match the return type of a GCC
6016 builtin and then its argument prototype would still apply. */
6020 char i386_set_ldt ();
6024 return i386_set_ldt ();
6029 if ac_fn_c_try_link
"$LINENO"; then :
6030 ac_cv_lib_i386_i386_set_ldt
=yes
6032 ac_cv_lib_i386_i386_set_ldt
=no
6034 rm -f core conftest.err conftest.
$ac_objext \
6035 conftest
$ac_exeext conftest.
$ac_ext
6036 LIBS
=$ac_check_lib_save_LIBS
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6039 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6040 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6041 cat >>confdefs.h
<<_ACEOF
6042 #define HAVE_LIBI386 1
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6050 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6051 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6052 $as_echo_n "(cached) " >&6
6054 ac_check_lib_save_LIBS
=$LIBS
6055 LIBS
="-lossaudio $LIBS"
6056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6057 /* end confdefs.h. */
6059 /* Override any GCC internal prototype to avoid an error.
6060 Use char because int might match the return type of a GCC
6061 builtin and then its argument prototype would still apply. */
6069 return _oss_ioctl ();
6074 if ac_fn_c_try_link
"$LINENO"; then :
6075 ac_cv_lib_ossaudio__oss_ioctl
=yes
6077 ac_cv_lib_ossaudio__oss_ioctl
=no
6079 rm -f core conftest.err conftest.
$ac_objext \
6080 conftest
$ac_exeext conftest.
$ac_ext
6081 LIBS
=$ac_check_lib_save_LIBS
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6084 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6085 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6086 cat >>confdefs.h
<<_ACEOF
6087 #define HAVE_LIBOSSAUDIO 1
6090 LIBS
="-lossaudio $LIBS"
6099 # Check whether --enable-largefile was given.
6100 if test "${enable_largefile+set}" = set; then :
6101 enableval
=$enable_largefile;
6104 if test "$enable_largefile" != no
; then
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6107 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6108 if ${ac_cv_sys_largefile_CC+:} false
; then :
6109 $as_echo_n "(cached) " >&6
6111 ac_cv_sys_largefile_CC
=no
6112 if test "$GCC" != yes; then
6115 # IRIX 6.2 and later do not support large files by default,
6116 # so use the C compiler's -n32 option if that helps.
6117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6118 /* end confdefs.h. */
6119 #include <sys/types.h>
6120 /* Check that off_t can represent 2**63 - 1 correctly.
6121 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6122 since some C++ compilers masquerading as C compilers
6123 incorrectly reject 9223372036854775807. */
6124 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6125 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6126 && LARGE_OFF_T % 2147483647 == 1)
6136 if ac_fn_c_try_compile
"$LINENO"; then :
6139 rm -f core conftest.err conftest.
$ac_objext
6141 if ac_fn_c_try_compile
"$LINENO"; then :
6142 ac_cv_sys_largefile_CC
=' -n32'; break
6144 rm -f core conftest.err conftest.
$ac_objext
6148 rm -f conftest.
$ac_ext
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6152 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6153 if test "$ac_cv_sys_largefile_CC" != no
; then
6154 CC
=$CC$ac_cv_sys_largefile_CC
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6158 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6159 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6160 $as_echo_n "(cached) " >&6
6163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6164 /* end confdefs.h. */
6165 #include <sys/types.h>
6166 /* Check that off_t can represent 2**63 - 1 correctly.
6167 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6168 since some C++ compilers masquerading as C compilers
6169 incorrectly reject 9223372036854775807. */
6170 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6171 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6172 && LARGE_OFF_T % 2147483647 == 1)
6182 if ac_fn_c_try_compile
"$LINENO"; then :
6183 ac_cv_sys_file_offset_bits
=no
; break
6185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6187 /* end confdefs.h. */
6188 #define _FILE_OFFSET_BITS 64
6189 #include <sys/types.h>
6190 /* Check that off_t can represent 2**63 - 1 correctly.
6191 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6192 since some C++ compilers masquerading as C compilers
6193 incorrectly reject 9223372036854775807. */
6194 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6195 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6196 && LARGE_OFF_T % 2147483647 == 1)
6206 if ac_fn_c_try_compile
"$LINENO"; then :
6207 ac_cv_sys_file_offset_bits
=64; break
6209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6210 ac_cv_sys_file_offset_bits
=unknown
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6215 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6216 case $ac_cv_sys_file_offset_bits in #(
6219 cat >>confdefs.h
<<_ACEOF
6220 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6225 if test $ac_cv_sys_file_offset_bits = unknown
; then
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6227 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6228 if ${ac_cv_sys_large_files+:} false
; then :
6229 $as_echo_n "(cached) " >&6
6232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6233 /* end confdefs.h. */
6234 #include <sys/types.h>
6235 /* Check that off_t can represent 2**63 - 1 correctly.
6236 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6237 since some C++ compilers masquerading as C compilers
6238 incorrectly reject 9223372036854775807. */
6239 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6240 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6241 && LARGE_OFF_T % 2147483647 == 1)
6251 if ac_fn_c_try_compile
"$LINENO"; then :
6252 ac_cv_sys_large_files
=no
; break
6254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6256 /* end confdefs.h. */
6257 #define _LARGE_FILES 1
6258 #include <sys/types.h>
6259 /* Check that off_t can represent 2**63 - 1 correctly.
6260 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6261 since some C++ compilers masquerading as C compilers
6262 incorrectly reject 9223372036854775807. */
6263 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6264 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6265 && LARGE_OFF_T % 2147483647 == 1)
6275 if ac_fn_c_try_compile
"$LINENO"; then :
6276 ac_cv_sys_large_files
=1; break
6278 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6279 ac_cv_sys_large_files
=unknown
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6284 $as_echo "$ac_cv_sys_large_files" >&6; }
6285 case $ac_cv_sys_large_files in #(
6288 cat >>confdefs.h
<<_ACEOF
6289 #define _LARGE_FILES $ac_cv_sys_large_files
6301 ac_cpp
='$CPP $CPPFLAGS'
6302 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6303 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6304 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6306 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6307 # On Suns, sometimes $CPP names a directory.
6308 if test -n "$CPP" && test -d "$CPP"; then
6311 if test -z "$CPP"; then
6312 if ${ac_cv_prog_CPP+:} false
; then :
6313 $as_echo_n "(cached) " >&6
6315 # Double quotes because CPP needs to be expanded
6316 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6319 for ac_c_preproc_warn_flag
in '' yes
6321 # Use a header file that comes with gcc, so configuring glibc
6322 # with a fresh cross-compiler works.
6323 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6324 # <limits.h> exists even on freestanding compilers.
6325 # On the NeXT, cc -E runs the code through the compiler's parser,
6326 # not just through cpp. "Syntax error" is here to catch this case.
6327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6328 /* end confdefs.h. */
6330 # include <limits.h>
6332 # include <assert.h>
6336 if ac_fn_c_try_cpp
"$LINENO"; then :
6339 # Broken: fails on valid input.
6342 rm -f conftest.err conftest.i conftest.
$ac_ext
6344 # OK, works on sane cases. Now check whether nonexistent headers
6345 # can be detected and how.
6346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6347 /* end confdefs.h. */
6348 #include <ac_nonexistent.h>
6350 if ac_fn_c_try_cpp
"$LINENO"; then :
6351 # Broken: success on invalid input.
6354 # Passes both tests.
6358 rm -f conftest.err conftest.i conftest.
$ac_ext
6361 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6362 rm -f conftest.i conftest.err conftest.
$ac_ext
6363 if $ac_preproc_ok; then :
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6376 $as_echo "$CPP" >&6; }
6378 for ac_c_preproc_warn_flag
in '' yes
6380 # Use a header file that comes with gcc, so configuring glibc
6381 # with a fresh cross-compiler works.
6382 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6383 # <limits.h> exists even on freestanding compilers.
6384 # On the NeXT, cc -E runs the code through the compiler's parser,
6385 # not just through cpp. "Syntax error" is here to catch this case.
6386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6387 /* end confdefs.h. */
6389 # include <limits.h>
6391 # include <assert.h>
6395 if ac_fn_c_try_cpp
"$LINENO"; then :
6398 # Broken: fails on valid input.
6401 rm -f conftest.err conftest.i conftest.
$ac_ext
6403 # OK, works on sane cases. Now check whether nonexistent headers
6404 # can be detected and how.
6405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6406 /* end confdefs.h. */
6407 #include <ac_nonexistent.h>
6409 if ac_fn_c_try_cpp
"$LINENO"; then :
6410 # Broken: success on invalid input.
6413 # Passes both tests.
6417 rm -f conftest.err conftest.i conftest.
$ac_ext
6420 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6421 rm -f conftest.i conftest.err conftest.
$ac_ext
6422 if $ac_preproc_ok; then :
6425 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6427 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6428 See \`config.log' for more details" "$LINENO" 5; }
6432 ac_cpp
='$CPP $CPPFLAGS'
6433 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6434 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6435 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6439 $as_echo_n "checking for ANSI C header files... " >&6; }
6440 if ${ac_cv_header_stdc+:} false
; then :
6441 $as_echo_n "(cached) " >&6
6443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6444 /* end confdefs.h. */
6458 if ac_fn_c_try_compile
"$LINENO"; then :
6459 ac_cv_header_stdc
=yes
6461 ac_cv_header_stdc
=no
6463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6465 if test $ac_cv_header_stdc = yes; then
6466 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6468 /* end confdefs.h. */
6472 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6473 $EGREP "memchr" >/dev
/null
2>&1; then :
6476 ac_cv_header_stdc
=no
6482 if test $ac_cv_header_stdc = yes; then
6483 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6485 /* end confdefs.h. */
6489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6490 $EGREP "free" >/dev
/null
2>&1; then :
6493 ac_cv_header_stdc
=no
6499 if test $ac_cv_header_stdc = yes; then
6500 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6501 if test "$cross_compiling" = yes; then :
6504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6505 /* end confdefs.h. */
6508 #if ((' ' & 0x0FF) == 0x020)
6509 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6510 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6512 # define ISLOWER(c) \
6513 (('a' <= (c) && (c) <= 'i') \
6514 || ('j' <= (c) && (c) <= 'r') \
6515 || ('s' <= (c) && (c) <= 'z'))
6516 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6519 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6524 for (i = 0; i < 256; i++)
6525 if (XOR (islower (i), ISLOWER (i))
6526 || toupper (i) != TOUPPER (i))
6531 if ac_fn_c_try_run
"$LINENO"; then :
6534 ac_cv_header_stdc
=no
6536 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6537 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6543 $as_echo "$ac_cv_header_stdc" >&6; }
6544 if test $ac_cv_header_stdc = yes; then
6546 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6550 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6551 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6552 inttypes.h stdint.h unistd.h
6554 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6555 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6557 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6558 cat >>confdefs.h
<<_ACEOF
6559 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6569 ApplicationServices
/ApplicationServices.h \
6570 AudioToolbox
/AudioConverter.h \
6571 AudioUnit
/AudioUnit.h \
6572 AudioUnit
/AudioComponent.h \
6575 CoreAudio
/CoreAudio.h \
6576 CoreServices
/CoreServices.h \
6577 DiskArbitration
/DiskArbitration.h \
6579 IOKit
/hid
/IOHIDLib.h \
6582 QuickTime
/ImageCompression.h \
6583 Security
/Security.h \
6634 netinet
/in_systm.h \
6696 valgrind
/memcheck.h \
6697 valgrind
/valgrind.h \
6701 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6702 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6703 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6704 cat >>confdefs.h
<<_ACEOF
6705 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6713 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6714 if ${ac_cv_header_stat_broken+:} false
; then :
6715 $as_echo_n "(cached) " >&6
6717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6718 /* end confdefs.h. */
6719 #include <sys/types.h>
6720 #include <sys/stat.h>
6722 #if defined S_ISBLK && defined S_IFDIR
6723 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6726 #if defined S_ISBLK && defined S_IFCHR
6727 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6730 #if defined S_ISLNK && defined S_IFREG
6731 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6734 #if defined S_ISSOCK && defined S_IFREG
6735 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6739 if ac_fn_c_try_compile
"$LINENO"; then :
6740 ac_cv_header_stat_broken
=no
6742 ac_cv_header_stat_broken
=yes
6744 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6747 $as_echo "$ac_cv_header_stat_broken" >&6; }
6748 if test $ac_cv_header_stat_broken = yes; then
6750 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6756 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6758 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6759 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6760 #ifdef HAVE_SYS_PARAM_H
6761 # include <sys/param.h>
6764 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6765 cat >>confdefs.h
<<_ACEOF
6766 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6781 netinet
/if_ether.h \
6782 netinet
/if_inarp.h \
6791 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6792 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6793 #ifdef HAVE_SYS_SOCKET_H
6794 # include <sys/socket.h>
6796 #ifdef HAVE_SYS_SOCKETVAR_H
6797 # include <sys/socketvar.h>
6799 #ifdef HAVE_NET_ROUTE_H
6800 # include <net/route.h>
6802 #ifdef HAVE_NETINET_IN_H
6803 # include <netinet/in.h>
6805 #ifdef HAVE_NETINET_IN_SYSTM_H
6806 # include <netinet/in_systm.h>
6808 #ifdef HAVE_NET_IF_H
6809 # include <net/if.h>
6811 #ifdef HAVE_NETINET_IP_H
6812 # include <netinet/ip.h>
6815 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6816 cat >>confdefs.h
<<_ACEOF
6817 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6825 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6827 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6828 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6832 #ifdef HAVE_SYS_SOCKET_H
6833 # include <sys/socket.h>
6835 #ifdef HAVE_SYS_SOCKETVAR_H
6836 # include <sys/socketvar.h>
6838 #ifdef HAVE_SYS_TIMEOUT_H
6839 # include <sys/timeout.h>
6841 #ifdef HAVE_NETINET_IN_H
6842 # include <netinet/in.h>
6844 #ifdef HAVE_NETINET_IN_SYSTM_H
6845 # include <netinet/in_systm.h>
6847 #ifdef HAVE_NETINET_IP_H
6848 # include <netinet/ip.h>
6850 #ifdef HAVE_NETINET_IP_VAR_H
6851 # include <netinet/ip_var.h>
6853 #ifdef HAVE_NETINET_IP_ICMP_H
6854 # include <netinet/ip_icmp.h>
6856 #ifdef HAVE_NETINET_UDP_H
6857 # include <netinet/udp.h>
6859 #ifdef HAVE_NETINET_TCP_H
6860 # include <netinet/tcp.h>
6862 #ifdef HAVE_NETINET_TCP_TIMER_H
6863 #include <netinet/tcp_timer.h>
6866 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6867 cat >>confdefs.h
<<_ACEOF
6868 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6876 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6878 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6879 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6880 #ifdef HAVE_ASM_TYPES_H
6881 # include <asm/types.h>
6883 #ifdef HAVE_SYS_SOCKET_H
6884 # include <sys/socket.h>
6886 #ifdef HAVE_LINUX_TYPES_H
6887 # include <linux/types.h>
6890 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6891 cat >>confdefs.h
<<_ACEOF
6892 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6900 for ac_header
in mach-o
/dyld_images.h
6902 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6903 # include <stdbool.h>
6905 #ifdef HAVE_STDINT_H
6906 # include <stdint.h>
6909 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6910 cat >>confdefs.h
<<_ACEOF
6911 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6919 for ac_header
in resolv.h
6921 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6922 #ifdef HAVE_SYS_SOCKET_H
6923 # include <sys/socket.h>
6925 #ifdef HAVE_NETINET_IN_H
6926 # include <netinet/in.h>
6928 #ifdef HAVE_ARPA_NAMESER_H
6929 # include <arpa/nameser.h>
6932 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6933 cat >>confdefs.h
<<_ACEOF
6934 #define HAVE_RESOLV_H 1
6942 for ac_header
in ifaddrs.h
6944 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6946 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6947 cat >>confdefs.h
<<_ACEOF
6948 #define HAVE_IFADDRS_H 1
6956 for ac_header
in sys
/ucontext.h
6958 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6960 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6961 cat >>confdefs.h
<<_ACEOF
6962 #define HAVE_SYS_UCONTEXT_H 1
6970 for ac_header
in sys
/thr.h
6972 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6973 #ifdef HAVE_SYS_UCONTEXT_H
6974 #include <sys/ucontext.h>
6977 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6978 cat >>confdefs.h
<<_ACEOF
6979 #define HAVE_SYS_THR_H 1
6987 for ac_header
in pthread_np.h
6989 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6990 #include <pthread.h>
6993 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6994 cat >>confdefs.h
<<_ACEOF
6995 #define HAVE_PTHREAD_NP_H 1
7003 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7005 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7006 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7007 #include <sys/time.h>
7009 #include <sys/types.h>
7010 #ifdef HAVE_ASM_TYPES_H
7011 #include <asm/types.h>
7014 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7015 cat >>confdefs.h
<<_ACEOF
7016 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7024 for ac_header
in libprocstat.h
7026 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7027 #include <sys/param.h>
7029 #ifdef HAVE_SYS_QUEUE_H
7030 #include <sys/queue.h>
7032 #ifdef HAVE_SYS_SOCKET_H
7033 #include <sys/socket.h>
7036 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7037 cat >>confdefs.h
<<_ACEOF
7038 #define HAVE_LIBPROCSTAT_H 1
7047 dlldir
="\${libdir}/wine"
7051 DLLFLAGS
="-D_REENTRANT"
7060 STATIC_IMPLIBEXT
="def.a"
7061 # Extract the first word of "ldd", so it can be a program name with args.
7062 set dummy ldd
; ac_word
=$2
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7064 $as_echo_n "checking for $ac_word... " >&6; }
7065 if ${ac_cv_path_LDD+:} false
; then :
7066 $as_echo_n "(cached) " >&6
7070 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7074 as_dummy
="/sbin:/usr/sbin:$PATH"
7075 for as_dir
in $as_dummy
7078 test -z "$as_dir" && as_dir
=.
7079 for ac_exec_ext
in '' $ac_executable_extensions; do
7080 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7081 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7089 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7094 if test -n "$LDD"; then
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7096 $as_echo "$LDD" >&6; }
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7099 $as_echo "no" >&6; }
7103 if test -n "$ac_tool_prefix"; then
7104 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7105 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7107 $as_echo_n "checking for $ac_word... " >&6; }
7108 if ${ac_cv_prog_READELF+:} false
; then :
7109 $as_echo_n "(cached) " >&6
7111 if test -n "$READELF"; then
7112 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7118 test -z "$as_dir" && as_dir
=.
7119 for ac_exec_ext
in '' $ac_executable_extensions; do
7120 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7121 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7131 READELF
=$ac_cv_prog_READELF
7132 if test -n "$READELF"; then
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7134 $as_echo "$READELF" >&6; }
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7137 $as_echo "no" >&6; }
7142 if test -z "$ac_cv_prog_READELF"; then
7143 ac_ct_READELF
=$READELF
7144 # Extract the first word of "readelf", so it can be a program name with args.
7145 set dummy readelf
; ac_word
=$2
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7147 $as_echo_n "checking for $ac_word... " >&6; }
7148 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7149 $as_echo_n "(cached) " >&6
7151 if test -n "$ac_ct_READELF"; then
7152 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7158 test -z "$as_dir" && as_dir
=.
7159 for ac_exec_ext
in '' $ac_executable_extensions; do
7160 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7161 ac_cv_prog_ac_ct_READELF
="readelf"
7162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7171 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7172 if test -n "$ac_ct_READELF"; then
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7174 $as_echo "$ac_ct_READELF" >&6; }
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7177 $as_echo "no" >&6; }
7180 if test "x$ac_ct_READELF" = x
; then
7183 case $cross_compiling:$ac_tool_warned in
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7187 ac_tool_warned
=yes ;;
7189 READELF
=$ac_ct_READELF
7192 READELF
="$ac_cv_prog_READELF"
7195 wine_rules_file
=conf$
$rules.
make
7196 rm -f $wine_rules_file
7198 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7199 ALL_TEST_RESOURCES
=""
7202 wine_fn_append_file
()
7204 as_fn_append
$1 " \\$as_nl $2"
7207 wine_fn_ignore_file
()
7210 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7211 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7212 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7216 wine_fn_append_rule
()
7218 $as_echo "$1" >>$wine_rules_file
7223 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7226 wine_fn_depend_rules
()
7228 wine_fn_append_rule \
7229 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7230 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7231 depend: $ac_dir/depend
7232 .PHONY: $ac_dir/depend
7233 $ac_dir/depend: \$(MAKEDEP) dummy
7234 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7237 wine_fn_pot_rules
()
7239 test "x$with_gettextpo" = xyes ||
return
7241 if wine_fn_has_flag mc
7243 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7244 wine_fn_append_rule \
7245 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7246 @cd $ac_dir && \$(MAKE) msg.pot
7247 $ac_dir/msg.pot: tools/wmc include"
7249 if wine_fn_has_flag po
7251 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7252 wine_fn_append_rule \
7253 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7254 @cd $ac_dir && \$(MAKE) rsrc.pot
7255 $ac_dir/rsrc.pot: tools/wrc include"
7259 wine_fn_all_rules
()
7261 wine_fn_depend_rules
7262 wine_fn_append_rule \
7265 $ac_dir: $ac_dir/Makefile dummy
7266 @cd $ac_dir && \$(MAKE)"
7269 wine_fn_install_rules
()
7271 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7273 wine_fn_append_rule \
7274 ".PHONY: $ac_dir/install $ac_dir/uninstall
7275 $ac_dir/install:: $ac_dir
7276 @cd $ac_dir && \$(MAKE) install
7277 $ac_dir/uninstall:: $ac_dir/Makefile
7278 @cd $ac_dir && \$(MAKE) uninstall
7279 install:: $ac_dir/install
7280 __uninstall__: $ac_dir/uninstall"
7282 if wine_fn_has_flag install-lib
7284 wine_fn_append_rule \
7285 ".PHONY: $ac_dir/install-lib
7286 $ac_dir/install-lib:: $ac_dir
7287 @cd $ac_dir && \$(MAKE) install-lib
7288 install-lib:: $ac_dir/install-lib"
7291 if wine_fn_has_flag install-dev
7293 wine_fn_append_rule \
7294 ".PHONY: $ac_dir/install-dev
7295 $ac_dir/install-dev:: $ac_dir
7296 @cd $ac_dir && \$(MAKE) install-dev
7297 install-dev:: $ac_dir/install-dev"
7301 wine_fn_clean_rules
()
7304 ac_extraclean
="$ac_dir/Makefile"
7305 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7307 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7310 if wine_fn_has_flag clean
7312 wine_fn_append_rule \
7313 "__clean__: $ac_dir/clean
7314 .PHONY: $ac_dir/clean
7315 $ac_dir/clean: $ac_dir/Makefile
7316 @cd $ac_dir && \$(MAKE) clean
7317 \$(RM) $ac_extraclean"
7319 wine_fn_append_rule \
7320 "__clean__: $ac_dir/clean
7321 .PHONY: $ac_dir/clean
7322 $ac_dir/clean: dummy
7323 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7327 wine_fn_disabled_rules
()
7330 ac_extraclean
="$ac_dir/Makefile"
7331 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7333 wine_fn_append_rule \
7334 "__clean__: $ac_dir/clean
7335 .PHONY: $ac_dir/clean
7336 $ac_dir/clean: dummy
7337 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7340 wine_fn_config_makefile
()
7346 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7347 wine_fn_disabled_rules
; return
7350 wine_fn_install_rules
7354 wine_fn_config_lib
()
7358 ac_dir
=dlls
/$ac_name
7361 if test "x$enable_tools" = xno
; then :
7364 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7369 wine_fn_append_rule \
7370 ".PHONY: $ac_dir/install $ac_dir/uninstall
7371 $ac_dir/install:: $ac_dir
7372 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7374 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7375 install install-dev:: $ac_dir/install
7376 __uninstall__: $ac_dir/uninstall
7377 __builddeps__: $ac_dir
7381 wine_fn_config_dll
()
7384 ac_dir
=dlls
/$ac_name
7387 ac_implib
=${4:-$ac_name}
7388 ac_file
=$ac_dir/lib
$ac_implib
7393 if test "x$enable_tools" = xno
; then :
7396 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7399 *16) ac_implibflags
=" -m16" ;;
7401 *) ac_dll
=$ac_dll.dll
;;
7405 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7406 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7407 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7408 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7410 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7411 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7413 wine_fn_depend_rules
7414 wine_fn_clean_rules
$ac_clean
7416 wine_fn_disabled_rules
$ac_clean
7421 wine_fn_clean_rules
$ac_clean
7422 wine_fn_append_rule \
7423 "$ac_dir: __builddeps__
7424 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7425 @cd $ac_dir && \$(MAKE) \$@
7426 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7427 install install-lib:: $ac_dir/install-lib
7428 __uninstall__: $ac_dir/uninstall"
7429 if test -n "$DLLEXT"
7431 wine_fn_append_rule \
7432 "$ac_dir/install-lib:: $ac_dir
7433 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7434 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7436 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7438 wine_fn_append_rule \
7439 "$ac_dir/install-lib:: $ac_dir
7440 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7442 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7448 if wine_fn_has_flag staticimplib
7450 wine_fn_append_rule \
7451 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7452 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7453 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7454 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7455 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7456 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7457 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7458 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7459 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7461 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7462 install install-dev:: $ac_dir/install-dev
7463 __uninstall__: $ac_dir/uninstall"
7465 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7467 wine_fn_append_rule \
7468 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7469 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7471 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7474 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7476 wine_fn_append_rule \
7477 "__builddeps__: $ac_file.cross.a
7478 $ac_file.cross.a: $ac_dir/Makefile dummy
7479 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7482 elif wine_fn_has_flag implib
7484 wine_fn_append_rule \
7485 "__builddeps__: $ac_file.$IMPLIBEXT
7486 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7487 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7488 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7489 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7490 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7491 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7492 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7494 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7495 install install-dev:: $ac_dir/install-dev
7496 __uninstall__: $ac_dir/uninstall"
7497 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7499 wine_fn_append_rule \
7500 "__builddeps__: $ac_file.cross.a
7501 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7502 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7505 if test "$ac_name" != "$ac_implib"
7507 wine_fn_append_rule \
7508 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7509 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7510 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7512 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7513 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7514 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7516 wine_fn_append_rule \
7517 "__builddeps__: dlls/lib$ac_implib.cross.a
7518 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7519 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7521 \$(RM) dlls/lib$ac_implib.cross.a"
7522 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7528 wine_fn_config_program
()
7531 ac_dir
=programs
/$ac_name
7538 *) ac_program
=$ac_program.exe
;;
7542 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7543 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7544 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7545 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7547 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7548 wine_fn_disabled_rules
$ac_clean; return
7552 wine_fn_clean_rules
$ac_clean
7553 wine_fn_append_rule
"$ac_dir: __builddeps__"
7556 wine_fn_has_flag
install ||
return
7557 wine_fn_append_rule \
7558 ".PHONY: $ac_dir/install $ac_dir/uninstall
7559 install install-lib:: $ac_dir/install
7560 __uninstall__: $ac_dir/uninstall"
7562 if test -n "$DLLEXT"
7564 wine_fn_append_rule \
7565 "$ac_dir/install:: $ac_dir
7566 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7567 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7569 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7571 if test -z "$with_wine64" && wine_fn_has_flag installbin
7573 wine_fn_append_rule \
7574 "$ac_dir/install:: __tooldeps__
7575 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7577 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7580 wine_fn_append_rule \
7581 "$ac_dir/install:: $ac_dir
7582 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7584 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7587 if test -z "$with_wine64" && wine_fn_has_flag manpage
7589 wine_fn_append_rule \
7590 "$ac_dir/install:: $ac_dir
7591 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7593 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7597 wine_fn_config_test
()
7604 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7605 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7607 if test "x$enable_tests" = xno
; then :
7608 wine_fn_disabled_rules
$ac_clean; return
7611 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7613 wine_fn_clean_rules
$ac_clean
7615 wine_fn_append_rule \
7616 "$ac_dir: programs/winetest/Makefile __builddeps__
7617 programs/winetest: $ac_dir
7618 check test: $ac_dir/test
7619 .PHONY: $ac_dir/test
7621 @cd $ac_dir && \$(MAKE) test
7623 \$(RM) $ac_dir/*.ok"
7625 if test -n "$CROSSTARGET"
7627 wine_fn_append_rule \
7628 "crosstest: $ac_dir/crosstest
7629 .PHONY: $ac_dir/crosstest
7630 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7631 @cd $ac_dir && \$(MAKE) crosstest"
7635 wine_fn_config_tool
()
7639 if test "x$enable_tools" = xno
; then :
7644 wine_fn_install_rules
7647 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7648 wine_fn_append_rule
"$ac_dir: libs/port"
7650 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7654 wine_fn_config_symlink
()
7657 if test "x$1" = "x-d"
7663 wine_fn_append_rule \
7665 @./config.status \$@
7668 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7669 test -n "$ac_linkdir" ||
return
7670 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7674 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7675 loader_programs
="$wine_binary wine-installed"
7676 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7681 install install-lib:: wine-installed
7682 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7685 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7691 if test -n "$ac_tool_prefix"; then
7692 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7693 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7695 $as_echo_n "checking for $ac_word... " >&6; }
7696 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7697 $as_echo_n "(cached) " >&6
7699 if test -n "$DLLTOOL"; then
7700 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7706 test -z "$as_dir" && as_dir
=.
7707 for ac_exec_ext
in '' $ac_executable_extensions; do
7708 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7709 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7719 DLLTOOL
=$ac_cv_prog_DLLTOOL
7720 if test -n "$DLLTOOL"; then
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7722 $as_echo "$DLLTOOL" >&6; }
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7725 $as_echo "no" >&6; }
7730 if test -z "$ac_cv_prog_DLLTOOL"; then
7731 ac_ct_DLLTOOL
=$DLLTOOL
7732 # Extract the first word of "dlltool", so it can be a program name with args.
7733 set dummy dlltool
; ac_word
=$2
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7735 $as_echo_n "checking for $ac_word... " >&6; }
7736 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7737 $as_echo_n "(cached) " >&6
7739 if test -n "$ac_ct_DLLTOOL"; then
7740 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7746 test -z "$as_dir" && as_dir
=.
7747 for ac_exec_ext
in '' $ac_executable_extensions; do
7748 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7749 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7759 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7760 if test -n "$ac_ct_DLLTOOL"; then
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7762 $as_echo "$ac_ct_DLLTOOL" >&6; }
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7765 $as_echo "no" >&6; }
7768 if test "x$ac_ct_DLLTOOL" = x
; then
7771 case $cross_compiling:$ac_tool_warned in
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7774 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7775 ac_tool_warned
=yes ;;
7777 DLLTOOL
=$ac_ct_DLLTOOL
7780 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7786 STATIC_IMPLIBEXT
="a"
7787 enable_iphlpapi
=${enable_iphlpapi:-no}
7788 enable_kernel32
=${enable_kernel32:-no}
7789 enable_msvcrt
=${enable_msvcrt:-no}
7790 enable_ntdll
=${enable_ntdll:-no}
7791 enable_ws2_32
=${enable_ws2_32:-no}
7792 enable_loader
=${enable_loader:-no}
7793 enable_server
=${enable_server:-no}
7794 with_x
=${with_x:-no}
7795 with_pthread
=${with_pthread:-no}
7801 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7805 libwine_targets
="libwine.dll libwine.a"
7807 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7809 all: libwine.dll libwine.a
7811 libwine.a: \$(srcdir)/wine.def
7812 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7814 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7815 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7817 install install-lib:: libwine.dll
7818 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7820 install install-dev:: libwine.a
7821 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7824 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7831 DLLFLAGS
="$DLLFLAGS -fPIC"
7832 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7833 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7834 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7835 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7837 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7839 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7841 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7843 CORESERVICES_LIBS
="-framework CoreServices"
7845 APPKIT_LIBS
="-framework AppKit"
7847 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7849 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7850 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7851 $as_echo_n "(cached) " >&6
7853 ac_wine_try_cflags_saved
=$CFLAGS
7854 CFLAGS
="$CFLAGS -Wl,-no_pie"
7855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7856 /* end confdefs.h. */
7857 int main(int argc, char **argv) { return 0; }
7859 if ac_fn_c_try_link
"$LINENO"; then :
7860 ac_cv_cflags__Wl__no_pie
=yes
7862 ac_cv_cflags__Wl__no_pie
=no
7864 rm -f core conftest.err conftest.
$ac_objext \
7865 conftest
$ac_exeext conftest.
$ac_ext
7866 CFLAGS
=$ac_wine_try_cflags_saved
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7869 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7870 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7871 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7873 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7875 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7878 if test "$ac_cv_header_Security_Security_h" = "yes"
7880 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7882 ac_save_LIBS
="$LIBS"
7883 LIBS
="$LIBS $SECURITY_LIBS"
7884 for ac_func
in SSLCopyPeerCertificates
7886 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7887 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7888 cat >>confdefs.h
<<_ACEOF
7889 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7895 LIBS
="$ac_save_LIBS"
7896 with_gnutls
=${with_gnutls:-no}
7898 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7900 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7902 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7905 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7908 ac_save_LIBS
="$LIBS"
7909 LIBS
="$LIBS $COREAUDIO_LIBS"
7910 for ac_func
in AUGraphAddNode
7912 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7913 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7914 cat >>confdefs.h
<<_ACEOF
7915 #define HAVE_AUGRAPHADDNODE 1
7921 LIBS
="$ac_save_LIBS"
7923 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7925 OPENAL_LIBS
="-framework OpenAL"
7928 cat >>confdefs.h
<<_ACEOF
7929 #define HAVE_OPENAL 1
7932 ac_cv_lib_openal
=yes
7934 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7936 OPENCL_LIBS
="-framework OpenCL"
7938 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7940 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7942 ac_save_LIBS
="$LIBS"
7943 LIBS
="$LIBS $IOKIT_LIBS"
7944 for ac_func
in IOHIDManagerCreate
7946 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7947 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7948 cat >>confdefs.h
<<_ACEOF
7949 #define HAVE_IOHIDMANAGERCREATE 1
7955 LIBS
="$ac_save_LIBS"
7957 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7959 ac_save_LIBS
="$LIBS"
7960 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7962 $as_echo_n "checking for the QuickTime framework... " >&6; }
7963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7964 /* end confdefs.h. */
7965 #include <QuickTime/ImageCompression.h>
7969 CodecManagerVersion(NULL);
7974 if ac_fn_c_try_link
"$LINENO"; then :
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7976 $as_echo "yes" >&6; }
7977 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7979 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7982 $as_echo "no" >&6; }
7983 ac_cv_header_QuickTime_ImageCompression_h
=no
7985 rm -f core conftest.err conftest.
$ac_objext \
7986 conftest
$ac_exeext conftest.
$ac_ext
7987 LIBS
="$ac_save_LIBS"
7989 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
7991 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7993 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7995 CARBON_LIBS
="-framework Carbon"
7999 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8001 ac_save_LIBS
="$LIBS"
8002 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
8003 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8004 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8005 enable_winemac_drv
=${enable_winemac_drv:-yes}
8008 LIBS
="$ac_save_LIBS"
8011 if test "x$enable_win16" = "xyes"
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8014 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8015 if test "$cross_compiling" = yes; then :
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8017 $as_echo "cross-compiling, assuming yes" >&6; }
8019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8020 /* end confdefs.h. */
8023 "good:\tnop;nop\n\t"
8024 ".globl _testfunc\n"
8025 "_testfunc:\tcallw good");
8026 extern void testfunc();
8030 unsigned short *p = (unsigned short *)testfunc;
8031 return p[0] != 0xe866 || p[1] != 0xfffa
8036 if ac_fn_c_try_run
"$LINENO"; then :
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8038 $as_echo "yes" >&6; }
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8041 $as_echo "no" >&6; }
8042 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
8044 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8045 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8050 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8052 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8056 libwine.$libwine_version.dylib: \$(OBJS)
8057 \$(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 \$@
8059 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8060 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8062 libwine.dylib: libwine.$libwine_soversion.dylib
8063 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8065 install install-lib:: libwine.$libwine_version.dylib
8066 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8067 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8069 install install-dev::
8070 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8073 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8077 as_fn_append LOADER_RULES
"
8078 $wine_binary: main.o wine_info.plist
8079 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8081 wine-installed: main.o wine_info.plist
8082 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8087 DLLFLAGS
="$DLLFLAGS -fPIC"
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8092 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8093 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8094 $as_echo_n "(cached) " >&6
8096 ac_wine_try_cflags_saved
=$CFLAGS
8097 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8099 /* end confdefs.h. */
8100 int main(int argc, char **argv) { return 0; }
8102 if ac_fn_c_try_link
"$LINENO"; then :
8103 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8105 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8107 rm -f core conftest.err conftest.
$ac_objext \
8108 conftest
$ac_exeext conftest.
$ac_ext
8109 CFLAGS
=$ac_wine_try_cflags_saved
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8112 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8113 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8114 LDEXECFLAGS
="-Wl,--export-dynamic"
8116 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8118 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8119 if eval \
${$as_ac_var+:} false
; then :
8120 $as_echo_n "(cached) " >&6
8122 ac_wine_try_cflags_saved
=$CFLAGS
8123 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8125 /* end confdefs.h. */
8126 int main(int argc, char **argv) { return 0; }
8128 if ac_fn_c_try_link
"$LINENO"; then :
8129 eval "$as_ac_var=yes"
8131 eval "$as_ac_var=no"
8133 rm -f core conftest.err conftest.
$ac_objext \
8134 conftest
$ac_exeext conftest.
$ac_ext
8135 CFLAGS
=$ac_wine_try_cflags_saved
8137 eval ac_res
=\$
$as_ac_var
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8139 $as_echo "$ac_res" >&6; }
8140 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8141 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8142 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8144 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8146 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8147 if eval \
${$as_ac_var+:} false
; then :
8148 $as_echo_n "(cached) " >&6
8150 ac_wine_try_cflags_saved
=$CFLAGS
8151 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8153 /* end confdefs.h. */
8154 int main(int argc, char **argv) { return 0; }
8156 if ac_fn_c_try_link
"$LINENO"; then :
8157 eval "$as_ac_var=yes"
8159 eval "$as_ac_var=no"
8161 rm -f core conftest.err conftest.
$ac_objext \
8162 conftest
$ac_exeext conftest.
$ac_ext
8163 CFLAGS
=$ac_wine_try_cflags_saved
8165 eval ac_res
=\$
$as_ac_var
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8167 $as_echo "$ac_res" >&6; }
8168 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8169 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8170 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8175 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8176 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8177 $as_echo_n "(cached) " >&6
8179 ac_wine_try_cflags_saved
=$CFLAGS
8180 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8182 /* end confdefs.h. */
8183 int main(int argc, char **argv) { return 0; }
8185 if ac_fn_c_try_link
"$LINENO"; then :
8186 ac_cv_cflags__Wl___enable_new_dtags
=yes
8188 ac_cv_cflags__Wl___enable_new_dtags
=no
8190 rm -f core conftest.err conftest.
$ac_objext \
8191 conftest
$ac_exeext conftest.
$ac_ext
8192 CFLAGS
=$ac_wine_try_cflags_saved
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8195 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8196 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8197 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8201 *i
[3456789]86* | x86_64
)
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8203 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8204 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8205 $as_echo_n "(cached) " >&6
8207 ac_wine_try_cflags_saved
=$CFLAGS
8208 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8210 /* end confdefs.h. */
8211 int main(int argc, char **argv) { return 0; }
8213 if ac_fn_c_try_link
"$LINENO"; then :
8214 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8216 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8218 rm -f core conftest.err conftest.
$ac_objext \
8219 conftest
$ac_exeext conftest.
$ac_ext
8220 CFLAGS
=$ac_wine_try_cflags_saved
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8223 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8224 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8225 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8230 libwine_targets
="libwine.so"
8232 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8236 libwine.so: \$(OBJS)
8237 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8239 install install-lib:: libwine.so
8240 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8243 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8247 as_fn_append LOADER_RULES
"
8248 $wine_binary: main.o
8249 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8251 wine-installed: main.o
8252 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8257 DLLFLAGS
="$DLLFLAGS -fPIC"
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8260 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8261 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8262 $as_echo_n "(cached) " >&6
8264 ac_wine_try_cflags_saved
=$CFLAGS
8265 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8267 /* end confdefs.h. */
8270 if ac_fn_c_try_link
"$LINENO"; then :
8271 ac_cv_c_dll_gnuelf
="yes"
8273 ac_cv_c_dll_gnuelf
="no"
8275 rm -f core conftest.err conftest.
$ac_objext \
8276 conftest
$ac_exeext conftest.
$ac_ext
8277 CFLAGS
=$ac_wine_try_cflags_saved
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8280 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8281 if test "$ac_cv_c_dll_gnuelf" = "yes"
8283 LDSHARED
="\$(CC) -shared"
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8285 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8286 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8287 $as_echo_n "(cached) " >&6
8289 ac_wine_try_cflags_saved
=$CFLAGS
8290 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8292 /* end confdefs.h. */
8293 int main(int argc, char **argv) { return 0; }
8295 if ac_fn_c_try_link
"$LINENO"; then :
8296 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8298 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8300 rm -f core conftest.err conftest.
$ac_objext \
8301 conftest
$ac_exeext conftest.
$ac_ext
8302 CFLAGS
=$ac_wine_try_cflags_saved
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8305 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8306 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8307 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8310 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8311 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8312 $as_echo_n "(cached) " >&6
8314 ac_wine_try_cflags_saved
=$CFLAGS
8315 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8317 /* end confdefs.h. */
8318 int main(int argc, char **argv) { return 0; }
8320 if ac_fn_c_try_link
"$LINENO"; then :
8321 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8323 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8325 rm -f core conftest.err conftest.
$ac_objext \
8326 conftest
$ac_exeext conftest.
$ac_ext
8327 CFLAGS
=$ac_wine_try_cflags_saved
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8330 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8331 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8332 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8336 echo '{ global: *; };' >conftest.map
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8338 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8339 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8340 $as_echo_n "(cached) " >&6
8342 ac_wine_try_cflags_saved
=$CFLAGS
8343 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8345 /* end confdefs.h. */
8346 int main(int argc, char **argv) { return 0; }
8348 if ac_fn_c_try_link
"$LINENO"; then :
8349 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8351 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8353 rm -f core conftest.err conftest.
$ac_objext \
8354 conftest
$ac_exeext conftest.
$ac_ext
8355 CFLAGS
=$ac_wine_try_cflags_saved
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8358 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8359 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8360 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8365 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8366 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8367 $as_echo_n "(cached) " >&6
8369 ac_wine_try_cflags_saved
=$CFLAGS
8370 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8372 /* end confdefs.h. */
8373 int main(int argc, char **argv) { return 0; }
8375 if ac_fn_c_try_link
"$LINENO"; then :
8376 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8378 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8380 rm -f core conftest.err conftest.
$ac_objext \
8381 conftest
$ac_exeext conftest.
$ac_ext
8382 CFLAGS
=$ac_wine_try_cflags_saved
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8385 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8386 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8387 LDEXECFLAGS
="-Wl,--export-dynamic"
8390 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8392 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8393 if eval \
${$as_ac_var+:} false
; then :
8394 $as_echo_n "(cached) " >&6
8396 ac_wine_try_cflags_saved
=$CFLAGS
8397 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8399 /* end confdefs.h. */
8400 int main(int argc, char **argv) { return 0; }
8402 if ac_fn_c_try_link
"$LINENO"; then :
8403 eval "$as_ac_var=yes"
8405 eval "$as_ac_var=no"
8407 rm -f core conftest.err conftest.
$ac_objext \
8408 conftest
$ac_exeext conftest.
$ac_ext
8409 CFLAGS
=$ac_wine_try_cflags_saved
8411 eval ac_res
=\$
$as_ac_var
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8413 $as_echo "$ac_res" >&6; }
8414 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8415 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8416 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8418 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8420 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8421 if eval \
${$as_ac_var+:} false
; then :
8422 $as_echo_n "(cached) " >&6
8424 ac_wine_try_cflags_saved
=$CFLAGS
8425 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8427 /* end confdefs.h. */
8428 int main(int argc, char **argv) { return 0; }
8430 if ac_fn_c_try_link
"$LINENO"; then :
8431 eval "$as_ac_var=yes"
8433 eval "$as_ac_var=no"
8435 rm -f core conftest.err conftest.
$ac_objext \
8436 conftest
$ac_exeext conftest.
$ac_ext
8437 CFLAGS
=$ac_wine_try_cflags_saved
8439 eval ac_res
=\$
$as_ac_var
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8441 $as_echo "$ac_res" >&6; }
8442 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8443 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8444 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8449 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8450 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8451 $as_echo_n "(cached) " >&6
8453 ac_wine_try_cflags_saved
=$CFLAGS
8454 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8456 /* end confdefs.h. */
8457 int main(int argc, char **argv) { return 0; }
8459 if ac_fn_c_try_link
"$LINENO"; then :
8460 ac_cv_cflags__Wl___enable_new_dtags
=yes
8462 ac_cv_cflags__Wl___enable_new_dtags
=no
8464 rm -f core conftest.err conftest.
$ac_objext \
8465 conftest
$ac_exeext conftest.
$ac_ext
8466 CFLAGS
=$ac_wine_try_cflags_saved
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8469 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8470 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8471 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8475 *i
[3456789]86* | x86_64
)
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8477 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8478 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8479 $as_echo_n "(cached) " >&6
8481 ac_wine_try_cflags_saved
=$CFLAGS
8482 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8484 /* end confdefs.h. */
8485 int main(int argc, char **argv) { return 0; }
8487 if ac_fn_c_try_link
"$LINENO"; then :
8488 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8490 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8492 rm -f core conftest.err conftest.
$ac_objext \
8493 conftest
$ac_exeext conftest.
$ac_ext
8494 CFLAGS
=$ac_wine_try_cflags_saved
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8497 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8498 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8500 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8501 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8505 # Extract the first word of "prelink", so it can be a program name with args.
8506 set dummy prelink
; ac_word
=$2
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8508 $as_echo_n "checking for $ac_word... " >&6; }
8509 if ${ac_cv_path_PRELINK+:} false
; then :
8510 $as_echo_n "(cached) " >&6
8514 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8518 for as_dir
in /sbin
/usr
/sbin
$PATH
8521 test -z "$as_dir" && as_dir
=.
8522 for ac_exec_ext
in '' $ac_executable_extensions; do
8523 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8524 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8532 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8536 PRELINK
=$ac_cv_path_PRELINK
8537 if test -n "$PRELINK"; then
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8539 $as_echo "$PRELINK" >&6; }
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8542 $as_echo "no" >&6; }
8546 if test "x$PRELINK" = xfalse
8548 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8555 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8556 if ${ac_cv_c_dll_unixware+:} false
; then :
8557 $as_echo_n "(cached) " >&6
8559 ac_wine_try_cflags_saved
=$CFLAGS
8560 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8562 /* end confdefs.h. */
8565 if ac_fn_c_try_link
"$LINENO"; then :
8566 ac_cv_c_dll_unixware
="yes"
8568 ac_cv_c_dll_unixware
="no"
8570 rm -f core conftest.err conftest.
$ac_objext \
8571 conftest
$ac_exeext conftest.
$ac_ext
8572 CFLAGS
=$ac_wine_try_cflags_saved
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8575 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8576 if test "$ac_cv_c_dll_unixware" = "yes"
8578 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8581 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8583 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8587 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8588 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8590 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8591 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8593 libwine.so: libwine.so.$libwine_soversion
8594 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8596 install install-lib:: libwine.so.$libwine_version
8597 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8598 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8600 install install-dev::
8601 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8604 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8608 as_fn_append LOADER_RULES
"
8609 $wine_binary: main.o
8610 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8612 wine-installed: main.o
8613 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8618 as_fn_append LIBWINE_RULES
"
8619 EXTRA_TARGETS = $libwine_targets
8622 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8623 enable_winemac_drv
=${enable_winemac_drv:-no}
8627 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8631 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
8634 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 " ;;
8636 ac_prefix_list
="" ;;
8638 for ac_prog
in $ac_prefix_list
8640 # Extract the first word of "$ac_prog", so it can be a program name with args.
8641 set dummy
$ac_prog; ac_word
=$2
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8643 $as_echo_n "checking for $ac_word... " >&6; }
8644 if ${ac_cv_prog_CROSSCC+:} false
; then :
8645 $as_echo_n "(cached) " >&6
8647 if test -n "$CROSSCC"; then
8648 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8654 test -z "$as_dir" && as_dir
=.
8655 for ac_exec_ext
in '' $ac_executable_extensions; do
8656 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8657 ac_cv_prog_CROSSCC
="$ac_prog"
8658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8667 CROSSCC
=$ac_cv_prog_CROSSCC
8668 if test -n "$CROSSCC"; then
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8670 $as_echo "$CROSSCC" >&6; }
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8673 $as_echo "no" >&6; }
8677 test -n "$CROSSCC" && break
8679 test -n "$CROSSCC" || CROSSCC
="false"
8681 if test "$CROSSCC" != "false"
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8686 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8688 /* end confdefs.h. */
8698 if ac_fn_c_try_compile
"$LINENO"; then :
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8700 $as_echo "yes" >&6; }
8706 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8712 $as_echo "no" >&6; }
8714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8720 if test "$ac_cv_header_pthread_h" = "yes"
8722 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8723 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8727 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8728 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8729 $as_echo_n "(cached) " >&6
8731 ac_check_lib_save_LIBS
=$LIBS
8732 LIBS
="-lpthread $LIBS"
8733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8734 /* end confdefs.h. */
8736 /* Override any GCC internal prototype to avoid an error.
8737 Use char because int might match the return type of a GCC
8738 builtin and then its argument prototype would still apply. */
8742 char pthread_create ();
8746 return pthread_create ();
8751 if ac_fn_c_try_link
"$LINENO"; then :
8752 ac_cv_lib_pthread_pthread_create
=yes
8754 ac_cv_lib_pthread_pthread_create
=no
8756 rm -f core conftest.err conftest.
$ac_objext \
8757 conftest
$ac_exeext conftest.
$ac_ext
8758 LIBS
=$ac_check_lib_save_LIBS
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8761 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8762 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8763 PTHREAD_LIBS
="-lpthread"
8770 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8771 case "x$with_pthread" in
8773 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8774 Wine cannot support threads without libpthread.
8775 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8781 $as_echo_n "checking for X... " >&6; }
8784 # Check whether --with-x was given.
8785 if test "${with_x+set}" = set; then :
8789 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8790 if test "x$with_x" = xno
; then
8791 # The user explicitly disabled X.
8794 case $x_includes,$x_libraries in #(
8795 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8796 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8797 $as_echo_n "(cached) " >&6
8799 # One or both of the vars are not set, and there is no cached value.
8800 ac_x_includes
=no ac_x_libraries
=no
8801 rm -f -r conftest.dir
8802 if mkdir conftest.dir
; then
8804 cat >Imakefile
<<'_ACEOF'
8806 @echo incroot='${INCROOT}'
8808 @echo usrlibdir='${USRLIBDIR}'
8810 @echo libdir='${LIBDIR}'
8812 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8813 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8814 for ac_var
in incroot usrlibdir libdir
; do
8815 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8817 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8818 for ac_extension
in a so sl dylib la dll
; do
8819 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8820 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8821 ac_im_usrlibdir
=$ac_im_libdir; break
8824 # Screen out bogus values from the imake configuration. They are
8825 # bogus both because they are the default anyway, and because
8826 # using them would break gcc on systems where it needs fixed includes.
8827 case $ac_im_incroot in
8828 /usr
/include
) ac_x_includes
= ;;
8829 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8831 case $ac_im_usrlibdir in
8832 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8833 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8837 rm -f -r conftest.dir
8840 # Standard set of common directories for X headers.
8841 # Check X11 before X11Rn because it is often a symlink to the current release.
8855 /usr/local/X11/include
8856 /usr/local/X11R7/include
8857 /usr/local/X11R6/include
8858 /usr/local/X11R5/include
8859 /usr/local/X11R4/include
8861 /usr/local/include/X11
8862 /usr/local/include/X11R7
8863 /usr/local/include/X11R6
8864 /usr/local/include/X11R5
8865 /usr/local/include/X11R4
8869 /usr/XFree86/include/X11
8873 /usr/unsupported/include
8875 /usr/local/x11r5/include
8876 /usr/lpp/Xamples/include
8878 /usr/openwin/include
8879 /usr/openwin/share/include'
8881 if test "$ac_x_includes" = no
; then
8882 # Guess where to find include files, by looking for Xlib.h.
8883 # First, try using that file with no special directory specified.
8884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8885 /* end confdefs.h. */
8886 #include <X11/Xlib.h>
8888 if ac_fn_c_try_cpp
"$LINENO"; then :
8889 # We can compile using X headers with no special include directory.
8892 for ac_dir
in $ac_x_header_dirs; do
8893 if test -r "$ac_dir/X11/Xlib.h"; then
8894 ac_x_includes
=$ac_dir
8899 rm -f conftest.err conftest.i conftest.
$ac_ext
8900 fi # $ac_x_includes = no
8902 if test "$ac_x_libraries" = no
; then
8903 # Check for the libraries.
8904 # See if we find them without any special options.
8905 # Don't add to $LIBS permanently.
8908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8909 /* end confdefs.h. */
8910 #include <X11/Xlib.h>
8919 if ac_fn_c_try_link
"$LINENO"; then :
8921 # We can link X programs with no special library path.
8925 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8927 # Don't even attempt the hair of trying to link an X program!
8928 for ac_extension
in a so sl dylib la dll
; do
8929 if test -r "$ac_dir/libX11.$ac_extension"; then
8930 ac_x_libraries
=$ac_dir
8936 rm -f core conftest.err conftest.
$ac_objext \
8937 conftest
$ac_exeext conftest.
$ac_ext
8938 fi # $ac_x_libraries = no
8940 case $ac_x_includes,$ac_x_libraries in #(
8942 # Didn't find X, or a directory has "'" in its name.
8943 ac_cv_have_x
="have_x=no";; #(
8945 # Record where we found X for the cache.
8946 ac_cv_have_x
="have_x=yes\
8947 ac_x_includes='$ac_x_includes'\
8948 ac_x_libraries='$ac_x_libraries'"
8954 eval "$ac_cv_have_x"
8957 if test "$have_x" != yes; then
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8959 $as_echo "$have_x" >&6; }
8962 # If each of the values was on the command line, it overrides each guess.
8963 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8964 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8965 # Update the cache value to reflect the command line values.
8966 ac_cv_have_x
="have_x=yes\
8967 ac_x_includes='$x_includes'\
8968 ac_x_libraries='$x_libraries'"
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8970 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8973 if test "$no_x" = yes; then
8974 # Not all programs may use this symbol, but it does not hurt to define it.
8976 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8978 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8980 if test -n "$x_includes"; then
8981 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8984 # It would also be nice to do this for all -L options, not just this one.
8985 if test -n "$x_libraries"; then
8986 X_LIBS
="$X_LIBS -L$x_libraries"
8987 # For Solaris; some versions of Sun CC require a space after -R and
8988 # others require no space. Words are not sufficient . . . .
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8990 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8991 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8992 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8993 ac_c_werror_flag
=yes
8994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8995 /* end confdefs.h. */
9005 if ac_fn_c_try_link
"$LINENO"; then :
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9007 $as_echo "no" >&6; }
9008 X_LIBS
="$X_LIBS -R$x_libraries"
9010 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9012 /* end confdefs.h. */
9022 if ac_fn_c_try_link
"$LINENO"; then :
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9024 $as_echo "yes" >&6; }
9025 X_LIBS
="$X_LIBS -R $x_libraries"
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9028 $as_echo "neither works" >&6; }
9030 rm -f core conftest.err conftest.
$ac_objext \
9031 conftest
$ac_exeext conftest.
$ac_ext
9033 rm -f core conftest.err conftest.
$ac_objext \
9034 conftest
$ac_exeext conftest.
$ac_ext
9035 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9039 # Check for system-dependent libraries X programs must link with.
9040 # Do this before checking for the system-independent R6 libraries
9041 # (-lICE), since we may need -lsocket or whatever for X linking.
9043 if test "$ISC" = yes; then
9044 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9046 # Martyn Johnson says this is needed for Ultrix, if the X
9047 # libraries were built with DECnet support. And Karl Berry says
9048 # the Alpha needs dnet_stub (dnet does not exist).
9049 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9051 /* end confdefs.h. */
9053 /* Override any GCC internal prototype to avoid an error.
9054 Use char because int might match the return type of a GCC
9055 builtin and then its argument prototype would still apply. */
9059 char XOpenDisplay ();
9063 return XOpenDisplay ();
9068 if ac_fn_c_try_link
"$LINENO"; then :
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9072 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9073 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9074 $as_echo_n "(cached) " >&6
9076 ac_check_lib_save_LIBS
=$LIBS
9078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9079 /* end confdefs.h. */
9081 /* Override any GCC internal prototype to avoid an error.
9082 Use char because int might match the return type of a GCC
9083 builtin and then its argument prototype would still apply. */
9091 return dnet_ntoa ();
9096 if ac_fn_c_try_link
"$LINENO"; then :
9097 ac_cv_lib_dnet_dnet_ntoa
=yes
9099 ac_cv_lib_dnet_dnet_ntoa
=no
9101 rm -f core conftest.err conftest.
$ac_objext \
9102 conftest
$ac_exeext conftest.
$ac_ext
9103 LIBS
=$ac_check_lib_save_LIBS
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9106 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9107 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9108 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9111 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9113 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9114 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9115 $as_echo_n "(cached) " >&6
9117 ac_check_lib_save_LIBS
=$LIBS
9118 LIBS
="-ldnet_stub $LIBS"
9119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9120 /* end confdefs.h. */
9122 /* Override any GCC internal prototype to avoid an error.
9123 Use char because int might match the return type of a GCC
9124 builtin and then its argument prototype would still apply. */
9132 return dnet_ntoa ();
9137 if ac_fn_c_try_link
"$LINENO"; then :
9138 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9140 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9142 rm -f core conftest.err conftest.
$ac_objext \
9143 conftest
$ac_exeext conftest.
$ac_ext
9144 LIBS
=$ac_check_lib_save_LIBS
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9147 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9148 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9149 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9154 rm -f core conftest.err conftest.
$ac_objext \
9155 conftest
$ac_exeext conftest.
$ac_ext
9156 LIBS
="$ac_xsave_LIBS"
9158 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9159 # to get the SysV transport functions.
9160 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9162 # The nsl library prevents programs from opening the X display
9163 # on Irix 5.2, according to T.E. Dickey.
9164 # The functions gethostbyname, getservbyname, and inet_addr are
9165 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9166 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9167 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9171 if test $ac_cv_func_gethostbyname = no
; then
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9173 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9174 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9175 $as_echo_n "(cached) " >&6
9177 ac_check_lib_save_LIBS
=$LIBS
9179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9180 /* end confdefs.h. */
9182 /* Override any GCC internal prototype to avoid an error.
9183 Use char because int might match the return type of a GCC
9184 builtin and then its argument prototype would still apply. */
9188 char gethostbyname ();
9192 return gethostbyname ();
9197 if ac_fn_c_try_link
"$LINENO"; then :
9198 ac_cv_lib_nsl_gethostbyname
=yes
9200 ac_cv_lib_nsl_gethostbyname
=no
9202 rm -f core conftest.err conftest.
$ac_objext \
9203 conftest
$ac_exeext conftest.
$ac_ext
9204 LIBS
=$ac_check_lib_save_LIBS
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9207 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9208 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9209 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9212 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9214 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9215 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9216 $as_echo_n "(cached) " >&6
9218 ac_check_lib_save_LIBS
=$LIBS
9220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9221 /* end confdefs.h. */
9223 /* Override any GCC internal prototype to avoid an error.
9224 Use char because int might match the return type of a GCC
9225 builtin and then its argument prototype would still apply. */
9229 char gethostbyname ();
9233 return gethostbyname ();
9238 if ac_fn_c_try_link
"$LINENO"; then :
9239 ac_cv_lib_bsd_gethostbyname
=yes
9241 ac_cv_lib_bsd_gethostbyname
=no
9243 rm -f core conftest.err conftest.
$ac_objext \
9244 conftest
$ac_exeext conftest.
$ac_ext
9245 LIBS
=$ac_check_lib_save_LIBS
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9248 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9249 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9250 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9256 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9257 # socket/setsockopt and other routines are undefined under SCO ODT
9258 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9259 # on later versions), says Simon Leinen: it contains gethostby*
9260 # variants that don't use the name server (or something). -lsocket
9261 # must be given before -lnsl if both are needed. We assume that
9262 # if connect needs -lnsl, so does gethostbyname.
9263 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9264 if test "x$ac_cv_func_connect" = xyes
; then :
9268 if test $ac_cv_func_connect = no
; then
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9270 $as_echo_n "checking for connect in -lsocket... " >&6; }
9271 if ${ac_cv_lib_socket_connect+:} false
; then :
9272 $as_echo_n "(cached) " >&6
9274 ac_check_lib_save_LIBS
=$LIBS
9275 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9277 /* end confdefs.h. */
9279 /* Override any GCC internal prototype to avoid an error.
9280 Use char because int might match the return type of a GCC
9281 builtin and then its argument prototype would still apply. */
9294 if ac_fn_c_try_link
"$LINENO"; then :
9295 ac_cv_lib_socket_connect
=yes
9297 ac_cv_lib_socket_connect
=no
9299 rm -f core conftest.err conftest.
$ac_objext \
9300 conftest
$ac_exeext conftest.
$ac_ext
9301 LIBS
=$ac_check_lib_save_LIBS
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9304 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9305 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9306 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9311 # Guillermo Gomez says -lposix is necessary on A/UX.
9312 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9313 if test "x$ac_cv_func_remove" = xyes
; then :
9317 if test $ac_cv_func_remove = no
; then
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9319 $as_echo_n "checking for remove in -lposix... " >&6; }
9320 if ${ac_cv_lib_posix_remove+:} false
; then :
9321 $as_echo_n "(cached) " >&6
9323 ac_check_lib_save_LIBS
=$LIBS
9324 LIBS
="-lposix $LIBS"
9325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9326 /* end confdefs.h. */
9328 /* Override any GCC internal prototype to avoid an error.
9329 Use char because int might match the return type of a GCC
9330 builtin and then its argument prototype would still apply. */
9343 if ac_fn_c_try_link
"$LINENO"; then :
9344 ac_cv_lib_posix_remove
=yes
9346 ac_cv_lib_posix_remove
=no
9348 rm -f core conftest.err conftest.
$ac_objext \
9349 conftest
$ac_exeext conftest.
$ac_ext
9350 LIBS
=$ac_check_lib_save_LIBS
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9353 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9354 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9355 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9360 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9361 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9362 if test "x$ac_cv_func_shmat" = xyes
; then :
9366 if test $ac_cv_func_shmat = no
; then
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9368 $as_echo_n "checking for shmat in -lipc... " >&6; }
9369 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9370 $as_echo_n "(cached) " >&6
9372 ac_check_lib_save_LIBS
=$LIBS
9374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9375 /* end confdefs.h. */
9377 /* Override any GCC internal prototype to avoid an error.
9378 Use char because int might match the return type of a GCC
9379 builtin and then its argument prototype would still apply. */
9392 if ac_fn_c_try_link
"$LINENO"; then :
9393 ac_cv_lib_ipc_shmat
=yes
9395 ac_cv_lib_ipc_shmat
=no
9397 rm -f core conftest.err conftest.
$ac_objext \
9398 conftest
$ac_exeext conftest.
$ac_ext
9399 LIBS
=$ac_check_lib_save_LIBS
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9402 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9403 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9404 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9410 # Check for libraries that X11R6 Xt/Xaw programs need.
9411 ac_save_LDFLAGS
=$LDFLAGS
9412 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9413 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9414 # check for ICE first), but we must link in the order -lSM -lICE or
9415 # we get undefined symbols. So assume we have SM if we have ICE.
9416 # These have to be linked with before -lX11, unlike the other
9417 # libraries we check for below, so use a different variable.
9418 # John Interrante, Karl Berry
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9420 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9421 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9422 $as_echo_n "(cached) " >&6
9424 ac_check_lib_save_LIBS
=$LIBS
9425 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9427 /* end confdefs.h. */
9429 /* Override any GCC internal prototype to avoid an error.
9430 Use char because int might match the return type of a GCC
9431 builtin and then its argument prototype would still apply. */
9435 char IceConnectionNumber ();
9439 return IceConnectionNumber ();
9444 if ac_fn_c_try_link
"$LINENO"; then :
9445 ac_cv_lib_ICE_IceConnectionNumber
=yes
9447 ac_cv_lib_ICE_IceConnectionNumber
=no
9449 rm -f core conftest.err conftest.
$ac_objext \
9450 conftest
$ac_exeext conftest.
$ac_ext
9451 LIBS
=$ac_check_lib_save_LIBS
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9454 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9455 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9456 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9459 LDFLAGS
=$ac_save_LDFLAGS
9464 if test "$have_x" = "yes"
9466 ac_save_CPPFLAGS
="$CPPFLAGS"
9467 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9470 $as_echo_n "checking for -lX11... " >&6; }
9471 if ${ac_cv_lib_soname_X11+:} false
; then :
9472 $as_echo_n "(cached) " >&6
9474 ac_check_soname_save_LIBS
=$LIBS
9475 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9477 /* end confdefs.h. */
9479 /* Override any GCC internal prototype to avoid an error.
9480 Use char because int might match the return type of a GCC
9481 builtin and then its argument prototype would still apply. */
9485 char XCreateWindow ();
9489 return XCreateWindow ();
9494 if ac_fn_c_try_link
"$LINENO"; then :
9496 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9497 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'` ;;
9498 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9499 if ${ac_cv_lib_soname_X11:+false} :; then :
9500 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9504 rm -f core conftest.err conftest.
$ac_objext \
9505 conftest
$ac_exeext conftest.
$ac_ext
9506 LIBS
=$ac_check_soname_save_LIBS
9508 if ${ac_cv_lib_soname_X11:+false} :; then :
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9510 $as_echo "not found" >&6; }
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9514 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9516 cat >>confdefs.h
<<_ACEOF
9517 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9523 $as_echo_n "checking for -lXext... " >&6; }
9524 if ${ac_cv_lib_soname_Xext+:} false
; then :
9525 $as_echo_n "(cached) " >&6
9527 ac_check_soname_save_LIBS
=$LIBS
9528 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9530 /* end confdefs.h. */
9532 /* Override any GCC internal prototype to avoid an error.
9533 Use char because int might match the return type of a GCC
9534 builtin and then its argument prototype would still apply. */
9538 char XextCreateExtension ();
9542 return XextCreateExtension ();
9547 if ac_fn_c_try_link
"$LINENO"; then :
9549 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9550 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'` ;;
9551 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9552 if ${ac_cv_lib_soname_Xext:+false} :; then :
9553 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9557 rm -f core conftest.err conftest.
$ac_objext \
9558 conftest
$ac_exeext conftest.
$ac_ext
9559 LIBS
=$ac_check_soname_save_LIBS
9561 if ${ac_cv_lib_soname_Xext:+false} :; then :
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9563 $as_echo "not found" >&6; }
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9567 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9569 cat >>confdefs.h
<<_ACEOF
9570 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9573 X_LIBS
="$X_LIBS -lXext"
9575 X_LIBS
="$X_LIBS -lX11"
9577 for ac_header
in X11
/Xlib.h \
9580 X11
/Xcursor
/Xcursor.h \
9581 X11
/extensions
/shape.h \
9582 X11
/extensions
/XInput.h \
9583 X11
/extensions
/XInput2.h \
9584 X11
/extensions
/XShm.h \
9585 X11
/extensions
/Xcomposite.h \
9586 X11
/extensions
/Xinerama.h \
9587 X11
/extensions
/Xrandr.h \
9588 X11
/extensions
/Xrender.h \
9589 X11
/extensions
/xf86vmode.h \
9590 X11
/extensions
/xf86vmproto.h
9592 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9593 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9594 # include <X11/Xlib.h>
9596 #ifdef HAVE_X11_XUTIL_H
9597 # include <X11/Xutil.h>
9600 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9601 cat >>confdefs.h
<<_ACEOF
9602 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9610 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9613 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9614 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9615 $as_echo_n "(cached) " >&6
9617 ac_check_lib_save_LIBS
=$LIBS
9618 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9620 /* end confdefs.h. */
9622 /* Override any GCC internal prototype to avoid an error.
9623 Use char because int might match the return type of a GCC
9624 builtin and then its argument prototype would still apply. */
9628 char XkbQueryExtension ();
9632 return XkbQueryExtension ();
9637 if ac_fn_c_try_link
"$LINENO"; then :
9638 ac_cv_lib_X11_XkbQueryExtension
=yes
9640 ac_cv_lib_X11_XkbQueryExtension
=no
9642 rm -f core conftest.err conftest.
$ac_objext \
9643 conftest
$ac_exeext conftest.
$ac_ext
9644 LIBS
=$ac_check_lib_save_LIBS
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9647 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9648 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9650 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9656 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9659 $as_echo_n "checking for -lXcursor... " >&6; }
9660 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9661 $as_echo_n "(cached) " >&6
9663 ac_check_soname_save_LIBS
=$LIBS
9664 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9666 /* end confdefs.h. */
9668 /* Override any GCC internal prototype to avoid an error.
9669 Use char because int might match the return type of a GCC
9670 builtin and then its argument prototype would still apply. */
9674 char XcursorImageLoadCursor ();
9678 return XcursorImageLoadCursor ();
9683 if ac_fn_c_try_link
"$LINENO"; then :
9685 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9686 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'` ;;
9687 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9688 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9689 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9693 rm -f core conftest.err conftest.
$ac_objext \
9694 conftest
$ac_exeext conftest.
$ac_ext
9695 LIBS
=$ac_check_soname_save_LIBS
9697 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9699 $as_echo "not found" >&6; }
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9703 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9705 cat >>confdefs.h
<<_ACEOF
9706 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9712 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9713 case "x$with_xcursor" in
9714 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9716 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9717 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9721 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9724 $as_echo_n "checking for -lXi... " >&6; }
9725 if ${ac_cv_lib_soname_Xi+:} false
; then :
9726 $as_echo_n "(cached) " >&6
9728 ac_check_soname_save_LIBS
=$LIBS
9729 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9731 /* end confdefs.h. */
9733 /* Override any GCC internal prototype to avoid an error.
9734 Use char because int might match the return type of a GCC
9735 builtin and then its argument prototype would still apply. */
9739 char XOpenDevice ();
9743 return XOpenDevice ();
9748 if ac_fn_c_try_link
"$LINENO"; then :
9750 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9751 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'` ;;
9752 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9753 if ${ac_cv_lib_soname_Xi:+false} :; then :
9754 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9758 rm -f core conftest.err conftest.
$ac_objext \
9759 conftest
$ac_exeext conftest.
$ac_ext
9760 LIBS
=$ac_check_soname_save_LIBS
9762 if ${ac_cv_lib_soname_Xi:+false} :; then :
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9764 $as_echo "not found" >&6; }
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9768 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9770 cat >>confdefs.h
<<_ACEOF
9771 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9777 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9778 case "x$with_xinput" in
9779 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9781 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9782 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9786 if test "x$ac_cv_lib_soname_Xi" != x
9788 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9789 case "x$with_xinput2" in
9790 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9792 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9793 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9798 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9801 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9802 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9803 $as_echo_n "(cached) " >&6
9805 ac_check_lib_save_LIBS
=$LIBS
9806 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9808 /* end confdefs.h. */
9810 /* Override any GCC internal prototype to avoid an error.
9811 Use char because int might match the return type of a GCC
9812 builtin and then its argument prototype would still apply. */
9816 char XShmQueryExtension ();
9820 return XShmQueryExtension ();
9825 if ac_fn_c_try_link
"$LINENO"; then :
9826 ac_cv_lib_Xext_XShmQueryExtension
=yes
9828 ac_cv_lib_Xext_XShmQueryExtension
=no
9830 rm -f core conftest.err conftest.
$ac_objext \
9831 conftest
$ac_exeext conftest.
$ac_ext
9832 LIBS
=$ac_check_lib_save_LIBS
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9835 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9836 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9838 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9843 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9844 case "x$with_xshm" in
9845 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9847 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9848 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9852 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9855 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9856 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9857 $as_echo_n "(cached) " >&6
9859 ac_check_lib_save_LIBS
=$LIBS
9860 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9862 /* end confdefs.h. */
9864 /* Override any GCC internal prototype to avoid an error.
9865 Use char because int might match the return type of a GCC
9866 builtin and then its argument prototype would still apply. */
9870 char XShapeQueryExtension ();
9874 return XShapeQueryExtension ();
9879 if ac_fn_c_try_link
"$LINENO"; then :
9880 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9882 ac_cv_lib_Xext_XShapeQueryExtension
=no
9884 rm -f core conftest.err conftest.
$ac_objext \
9885 conftest
$ac_exeext conftest.
$ac_ext
9886 LIBS
=$ac_check_lib_save_LIBS
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9889 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9890 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9892 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9897 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9898 case "x$with_xshape" in
9899 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9901 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9902 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9906 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9909 $as_echo_n "checking for -lXxf86vm... " >&6; }
9910 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9911 $as_echo_n "(cached) " >&6
9913 ac_check_soname_save_LIBS
=$LIBS
9914 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9916 /* end confdefs.h. */
9918 /* Override any GCC internal prototype to avoid an error.
9919 Use char because int might match the return type of a GCC
9920 builtin and then its argument prototype would still apply. */
9924 char XF86VidModeQueryExtension ();
9928 return XF86VidModeQueryExtension ();
9933 if ac_fn_c_try_link
"$LINENO"; then :
9935 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9936 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'` ;;
9937 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9938 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9939 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9943 rm -f core conftest.err conftest.
$ac_objext \
9944 conftest
$ac_exeext conftest.
$ac_ext
9945 LIBS
=$ac_check_soname_save_LIBS
9947 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9949 $as_echo "not found" >&6; }
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9953 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9955 cat >>confdefs.h
<<_ACEOF
9956 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9962 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9963 case "x$with_xxf86vm" in
9964 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9966 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9967 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9971 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9974 $as_echo_n "checking for -lXrender... " >&6; }
9975 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9976 $as_echo_n "(cached) " >&6
9978 ac_check_soname_save_LIBS
=$LIBS
9979 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9981 /* end confdefs.h. */
9983 /* Override any GCC internal prototype to avoid an error.
9984 Use char because int might match the return type of a GCC
9985 builtin and then its argument prototype would still apply. */
9989 char XRenderQueryExtension ();
9993 return XRenderQueryExtension ();
9998 if ac_fn_c_try_link
"$LINENO"; then :
10000 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10001 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'` ;;
10002 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10003 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10004 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10008 rm -f core conftest.err conftest.
$ac_objext \
10009 conftest
$ac_exeext conftest.
$ac_ext
10010 LIBS
=$ac_check_soname_save_LIBS
10012 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10014 $as_echo "not found" >&6; }
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10018 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10020 cat >>confdefs.h
<<_ACEOF
10021 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10025 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10026 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10027 $as_echo_n "(cached) " >&6
10029 ac_check_lib_save_LIBS
=$LIBS
10030 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10032 /* end confdefs.h. */
10034 /* Override any GCC internal prototype to avoid an error.
10035 Use char because int might match the return type of a GCC
10036 builtin and then its argument prototype would still apply. */
10040 char XRenderSetPictureTransform ();
10044 return XRenderSetPictureTransform ();
10049 if ac_fn_c_try_link
"$LINENO"; then :
10050 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10052 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10054 rm -f core conftest.err conftest.
$ac_objext \
10055 conftest
$ac_exeext conftest.
$ac_ext
10056 LIBS
=$ac_check_lib_save_LIBS
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10059 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10060 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10062 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10067 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10068 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10069 $as_echo_n "(cached) " >&6
10071 ac_check_lib_save_LIBS
=$LIBS
10072 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10074 /* end confdefs.h. */
10076 /* Override any GCC internal prototype to avoid an error.
10077 Use char because int might match the return type of a GCC
10078 builtin and then its argument prototype would still apply. */
10082 char XRenderCreateLinearGradient ();
10086 return XRenderCreateLinearGradient ();
10091 if ac_fn_c_try_link
"$LINENO"; then :
10092 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10094 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10096 rm -f core conftest.err conftest.
$ac_objext \
10097 conftest
$ac_exeext conftest.
$ac_ext
10098 LIBS
=$ac_check_lib_save_LIBS
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10101 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10102 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10104 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10111 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10112 case "x$with_xrender" in
10113 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10115 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10116 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10120 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10123 /* end confdefs.h. */
10124 #include <X11/Xlib.h>
10125 #include <X11/extensions/Xrandr.h>
10129 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10134 if ac_fn_c_try_compile
"$LINENO"; then :
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10136 $as_echo_n "checking for -lXrandr... " >&6; }
10137 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10138 $as_echo_n "(cached) " >&6
10140 ac_check_soname_save_LIBS
=$LIBS
10141 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10143 /* end confdefs.h. */
10145 /* Override any GCC internal prototype to avoid an error.
10146 Use char because int might match the return type of a GCC
10147 builtin and then its argument prototype would still apply. */
10151 char XRRQueryExtension ();
10155 return XRRQueryExtension ();
10160 if ac_fn_c_try_link
"$LINENO"; then :
10162 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10163 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'` ;;
10164 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10165 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10166 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10170 rm -f core conftest.err conftest.
$ac_objext \
10171 conftest
$ac_exeext conftest.
$ac_ext
10172 LIBS
=$ac_check_soname_save_LIBS
10174 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10176 $as_echo "not found" >&6; }
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10180 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10182 cat >>confdefs.h
<<_ACEOF
10183 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10187 /* end confdefs.h. */
10188 #include <X11/Xlib.h>
10189 #include <X11/extensions/Xrandr.h>
10193 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10198 if ac_fn_c_try_compile
"$LINENO"; then :
10200 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10208 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10209 case "x$with_xrandr" in
10210 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10212 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10213 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10217 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10220 /* end confdefs.h. */
10221 #include <X11/Xlib.h>
10222 #include <X11/extensions/Xinerama.h>
10226 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10231 if ac_fn_c_try_compile
"$LINENO"; then :
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10233 $as_echo_n "checking for -lXinerama... " >&6; }
10234 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10235 $as_echo_n "(cached) " >&6
10237 ac_check_soname_save_LIBS
=$LIBS
10238 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10240 /* end confdefs.h. */
10242 /* Override any GCC internal prototype to avoid an error.
10243 Use char because int might match the return type of a GCC
10244 builtin and then its argument prototype would still apply. */
10248 char XineramaQueryScreens ();
10252 return XineramaQueryScreens ();
10257 if ac_fn_c_try_link
"$LINENO"; then :
10259 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10260 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'` ;;
10261 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10262 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10263 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10267 rm -f core conftest.err conftest.
$ac_objext \
10268 conftest
$ac_exeext conftest.
$ac_ext
10269 LIBS
=$ac_check_soname_save_LIBS
10271 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10273 $as_echo "not found" >&6; }
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10277 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10279 cat >>confdefs.h
<<_ACEOF
10280 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10288 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10289 case "x$with_xinerama" in
10290 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10292 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10293 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10297 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10300 $as_echo_n "checking for -lXcomposite... " >&6; }
10301 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10302 $as_echo_n "(cached) " >&6
10304 ac_check_soname_save_LIBS
=$LIBS
10305 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10307 /* end confdefs.h. */
10309 /* Override any GCC internal prototype to avoid an error.
10310 Use char because int might match the return type of a GCC
10311 builtin and then its argument prototype would still apply. */
10315 char XCompositeRedirectWindow ();
10319 return XCompositeRedirectWindow ();
10324 if ac_fn_c_try_link
"$LINENO"; then :
10326 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10327 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'` ;;
10328 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10329 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10330 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10334 rm -f core conftest.err conftest.
$ac_objext \
10335 conftest
$ac_exeext conftest.
$ac_ext
10336 LIBS
=$ac_check_soname_save_LIBS
10338 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10340 $as_echo "not found" >&6; }
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10344 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10346 cat >>confdefs.h
<<_ACEOF
10347 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10353 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10354 case "x$with_xcomposite" in
10355 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10357 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10358 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10362 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10363 #include <X11/Xlib.h>
10366 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10368 cat >>confdefs.h
<<_ACEOF
10369 #define HAVE_XICCALLBACK_CALLBACK 1
10374 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10375 #include <X11/Xlib.h>
10378 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10380 cat >>confdefs.h
<<_ACEOF
10381 #define HAVE_XEVENT_XCOOKIE 1
10390 if test "x$with_opengl" != "xno"
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10393 $as_echo_n "checking for -lGL... " >&6; }
10394 if ${ac_cv_lib_soname_GL+:} false
; then :
10395 $as_echo_n "(cached) " >&6
10397 ac_check_soname_save_LIBS
=$LIBS
10398 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10400 /* end confdefs.h. */
10402 /* Override any GCC internal prototype to avoid an error.
10403 Use char because int might match the return type of a GCC
10404 builtin and then its argument prototype would still apply. */
10408 char glXCreateContext ();
10412 return glXCreateContext ();
10417 if ac_fn_c_try_link
"$LINENO"; then :
10419 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10420 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'` ;;
10421 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10422 if ${ac_cv_lib_soname_GL:+false} :; then :
10423 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10427 rm -f core conftest.err conftest.
$ac_objext \
10428 conftest
$ac_exeext conftest.
$ac_ext
10429 LIBS
=$ac_check_soname_save_LIBS
10431 if ${ac_cv_lib_soname_GL:+false} :; then :
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10433 $as_echo "not found" >&6; }
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10435 $as_echo_n "checking for -lGL... " >&6; }
10436 if ${ac_cv_lib_soname_GL+:} false
; then :
10437 $as_echo_n "(cached) " >&6
10439 ac_check_soname_save_LIBS
=$LIBS
10440 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"
10441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10442 /* end confdefs.h. */
10444 /* Override any GCC internal prototype to avoid an error.
10445 Use char because int might match the return type of a GCC
10446 builtin and then its argument prototype would still apply. */
10450 char glXCreateContext ();
10454 return glXCreateContext ();
10459 if ac_fn_c_try_link
"$LINENO"; then :
10461 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10462 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'` ;;
10463 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10464 if ${ac_cv_lib_soname_GL:+false} :; then :
10465 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10469 rm -f core conftest.err conftest.
$ac_objext \
10470 conftest
$ac_exeext conftest.
$ac_ext
10471 LIBS
=$ac_check_soname_save_LIBS
10473 if ${ac_cv_lib_soname_GL:+false} :; then :
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10475 $as_echo "not found" >&6; }
10476 if test -f /usr
/X11R
6/lib
/libGL.a
10478 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10479 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10481 opengl_msg
="No OpenGL library found on this system."
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10485 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10487 cat >>confdefs.h
<<_ACEOF
10488 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10491 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"
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10495 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10497 cat >>confdefs.h
<<_ACEOF
10498 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10503 if test "x$with_glu" != "xno"
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10506 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10507 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10508 $as_echo_n "(cached) " >&6
10510 ac_check_lib_save_LIBS
=$LIBS
10511 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10513 /* end confdefs.h. */
10515 /* Override any GCC internal prototype to avoid an error.
10516 Use char because int might match the return type of a GCC
10517 builtin and then its argument prototype would still apply. */
10525 return gluLookAt ();
10530 if ac_fn_c_try_link
"$LINENO"; then :
10531 ac_cv_lib_GLU_gluLookAt
=yes
10533 ac_cv_lib_GLU_gluLookAt
=no
10535 rm -f core conftest.err conftest.
$ac_objext \
10536 conftest
$ac_exeext conftest.
$ac_ext
10537 LIBS
=$ac_check_lib_save_LIBS
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10540 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10541 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10545 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10546 case "x$with_glu" in
10547 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10549 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10550 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10555 if test "x$with_osmesa" != "xno"
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10558 $as_echo_n "checking for -lOSMesa... " >&6; }
10559 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10560 $as_echo_n "(cached) " >&6
10562 ac_check_soname_save_LIBS
=$LIBS
10563 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10565 /* end confdefs.h. */
10567 /* Override any GCC internal prototype to avoid an error.
10568 Use char because int might match the return type of a GCC
10569 builtin and then its argument prototype would still apply. */
10582 if ac_fn_c_try_link
"$LINENO"; then :
10584 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10585 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'` ;;
10586 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10587 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10588 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10592 rm -f core conftest.err conftest.
$ac_objext \
10593 conftest
$ac_exeext conftest.
$ac_ext
10594 LIBS
=$ac_check_soname_save_LIBS
10596 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10598 $as_echo "not found" >&6; }
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10602 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10604 cat >>confdefs.h
<<_ACEOF
10605 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10610 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10611 case "x$with_osmesa" in
10612 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10614 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10615 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10620 if test -n "$opengl_msg"; then :
10621 case "x$with_opengl" in
10622 x
) as_fn_append wine_warnings
"|$opengl_msg
10623 OpenGL and Direct3D won't be supported." ;;
10625 *) as_fn_error $?
"$opengl_msg
10626 OpenGL and Direct3D won't be supported.
10627 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10631 CPPFLAGS
="$ac_save_CPPFLAGS"
10635 enable_winex11_drv
=${enable_winex11_drv:-no}
10637 if test "x$X_LIBS" = "x"; then :
10640 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10641 without X support, which probably isn't what you want. You will need
10642 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10643 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10647 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10649 if test "$ac_cv_header_CL_cl_h" = "yes"
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10652 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10653 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10654 $as_echo_n "(cached) " >&6
10656 ac_check_lib_save_LIBS
=$LIBS
10657 LIBS
="-lOpenCL $LIBS"
10658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10659 /* end confdefs.h. */
10661 /* Override any GCC internal prototype to avoid an error.
10662 Use char because int might match the return type of a GCC
10663 builtin and then its argument prototype would still apply. */
10667 char clGetPlatformInfo ();
10671 return clGetPlatformInfo ();
10676 if ac_fn_c_try_link
"$LINENO"; then :
10677 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10679 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10681 rm -f core conftest.err conftest.
$ac_objext \
10682 conftest
$ac_exeext conftest.
$ac_ext
10683 LIBS
=$ac_check_lib_save_LIBS
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10686 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10687 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10688 OPENCL_LIBS
="-lOpenCL"
10693 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10694 case "x$with_opencl" in
10695 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10697 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10698 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10701 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10703 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10706 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10707 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10708 $as_echo_n "(cached) " >&6
10710 ac_check_lib_save_LIBS
=$LIBS
10711 LIBS
="-lpcap $LIBS"
10712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10713 /* end confdefs.h. */
10715 /* Override any GCC internal prototype to avoid an error.
10716 Use char because int might match the return type of a GCC
10717 builtin and then its argument prototype would still apply. */
10721 char pcap_create ();
10725 return pcap_create ();
10730 if ac_fn_c_try_link
"$LINENO"; then :
10731 ac_cv_lib_pcap_pcap_create
=yes
10733 ac_cv_lib_pcap_pcap_create
=no
10735 rm -f core conftest.err conftest.
$ac_objext \
10736 conftest
$ac_exeext conftest.
$ac_ext
10737 LIBS
=$ac_check_lib_save_LIBS
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10740 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10741 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10747 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10748 case "x$with_pcap" in
10749 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10751 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10752 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10755 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10758 if test "x$with_xml" != "xno"
10760 if ${XML2_CFLAGS:+false} :; then :
10761 if ${PKG_CONFIG+:} false
; then :
10762 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10765 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10766 if ${XML2_LIBS:+false} :; then :
10767 if ${PKG_CONFIG+:} false
; then :
10768 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10771 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10772 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10773 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10774 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10775 ac_save_CPPFLAGS
=$CPPFLAGS
10776 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10777 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10779 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10780 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10781 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10782 cat >>confdefs.h
<<_ACEOF
10783 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10790 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"
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10793 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10794 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10795 $as_echo_n "(cached) " >&6
10797 ac_check_lib_save_LIBS
=$LIBS
10798 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10800 /* end confdefs.h. */
10802 /* Override any GCC internal prototype to avoid an error.
10803 Use char because int might match the return type of a GCC
10804 builtin and then its argument prototype would still apply. */
10808 char xmlParseMemory ();
10812 return xmlParseMemory ();
10817 if ac_fn_c_try_link
"$LINENO"; then :
10818 ac_cv_lib_xml2_xmlParseMemory
=yes
10820 ac_cv_lib_xml2_xmlParseMemory
=no
10822 rm -f core conftest.err conftest.
$ac_objext \
10823 conftest
$ac_exeext conftest.
$ac_ext
10824 LIBS
=$ac_check_lib_save_LIBS
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10827 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10828 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10830 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10837 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10838 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10839 $as_echo_n "(cached) " >&6
10841 ac_check_lib_save_LIBS
=$LIBS
10842 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10844 /* end confdefs.h. */
10846 /* Override any GCC internal prototype to avoid an error.
10847 Use char because int might match the return type of a GCC
10848 builtin and then its argument prototype would still apply. */
10852 char xmlReadMemory ();
10856 return xmlReadMemory ();
10861 if ac_fn_c_try_link
"$LINENO"; then :
10862 ac_cv_lib_xml2_xmlReadMemory
=yes
10864 ac_cv_lib_xml2_xmlReadMemory
=no
10866 rm -f core conftest.err conftest.
$ac_objext \
10867 conftest
$ac_exeext conftest.
$ac_ext
10868 LIBS
=$ac_check_lib_save_LIBS
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10871 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10872 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10874 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10879 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10880 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10881 $as_echo_n "(cached) " >&6
10883 ac_check_lib_save_LIBS
=$LIBS
10884 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10886 /* end confdefs.h. */
10888 /* Override any GCC internal prototype to avoid an error.
10889 Use char because int might match the return type of a GCC
10890 builtin and then its argument prototype would still apply. */
10894 char xmlNewDocPI ();
10898 return xmlNewDocPI ();
10903 if ac_fn_c_try_link
"$LINENO"; then :
10904 ac_cv_lib_xml2_xmlNewDocPI
=yes
10906 ac_cv_lib_xml2_xmlNewDocPI
=no
10908 rm -f core conftest.err conftest.
$ac_objext \
10909 conftest
$ac_exeext conftest.
$ac_ext
10910 LIBS
=$ac_check_lib_save_LIBS
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10913 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10914 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10916 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10921 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10922 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10923 $as_echo_n "(cached) " >&6
10925 ac_check_lib_save_LIBS
=$LIBS
10926 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10928 /* end confdefs.h. */
10930 /* Override any GCC internal prototype to avoid an error.
10931 Use char because int might match the return type of a GCC
10932 builtin and then its argument prototype would still apply. */
10936 char xmlSchemaSetParserStructuredErrors ();
10940 return xmlSchemaSetParserStructuredErrors ();
10945 if ac_fn_c_try_link
"$LINENO"; then :
10946 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10948 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10950 rm -f core conftest.err conftest.
$ac_objext \
10951 conftest
$ac_exeext conftest.
$ac_ext
10952 LIBS
=$ac_check_lib_save_LIBS
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10955 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10956 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10958 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10963 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10964 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10965 $as_echo_n "(cached) " >&6
10967 ac_check_lib_save_LIBS
=$LIBS
10968 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10970 /* end confdefs.h. */
10972 /* Override any GCC internal prototype to avoid an error.
10973 Use char because int might match the return type of a GCC
10974 builtin and then its argument prototype would still apply. */
10978 char xmlSchemaSetValidStructuredErrors ();
10982 return xmlSchemaSetValidStructuredErrors ();
10987 if ac_fn_c_try_link
"$LINENO"; then :
10988 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10990 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10992 rm -f core conftest.err conftest.
$ac_objext \
10993 conftest
$ac_exeext conftest.
$ac_ext
10994 LIBS
=$ac_check_lib_save_LIBS
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10997 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10998 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
11000 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11005 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11006 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11007 $as_echo_n "(cached) " >&6
11009 ac_check_lib_save_LIBS
=$LIBS
11010 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11012 /* end confdefs.h. */
11014 /* Override any GCC internal prototype to avoid an error.
11015 Use char because int might match the return type of a GCC
11016 builtin and then its argument prototype would still apply. */
11020 char xmlFirstElementChild ();
11024 return xmlFirstElementChild ();
11029 if ac_fn_c_try_link
"$LINENO"; then :
11030 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11032 ac_cv_lib_xml2_xmlFirstElementChild
=no
11034 rm -f core conftest.err conftest.
$ac_objext \
11035 conftest
$ac_exeext conftest.
$ac_ext
11036 LIBS
=$ac_check_lib_save_LIBS
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11039 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11040 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11042 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11046 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11048 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11050 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11058 CPPFLAGS
=$ac_save_CPPFLAGS
11059 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11060 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11063 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11064 case "x$with_xml" in
11065 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11067 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11068 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11072 if test "x$with_xslt" != "xno"
11074 if ${XSLT_CFLAGS:+false} :; then :
11075 if ${PKG_CONFIG+:} false
; then :
11076 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11079 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11080 if ${XSLT_LIBS:+false} :; then :
11081 if ${PKG_CONFIG+:} false
; then :
11082 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11085 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11086 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11087 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11088 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11089 ac_save_CPPFLAGS
=$CPPFLAGS
11090 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11091 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11093 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11094 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11095 # include <libxslt/pattern.h>
11098 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11099 cat >>confdefs.h
<<_ACEOF
11100 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11107 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11110 $as_echo_n "checking for -lxslt... " >&6; }
11111 if ${ac_cv_lib_soname_xslt+:} false
; then :
11112 $as_echo_n "(cached) " >&6
11114 ac_check_soname_save_LIBS
=$LIBS
11115 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11117 /* end confdefs.h. */
11119 /* Override any GCC internal prototype to avoid an error.
11120 Use char because int might match the return type of a GCC
11121 builtin and then its argument prototype would still apply. */
11125 char xsltCompilePattern ();
11129 return xsltCompilePattern ();
11134 if ac_fn_c_try_link
"$LINENO"; then :
11136 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11137 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'` ;;
11138 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11139 if ${ac_cv_lib_soname_xslt:+false} :; then :
11140 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11144 rm -f core conftest.err conftest.
$ac_objext \
11145 conftest
$ac_exeext conftest.
$ac_ext
11146 LIBS
=$ac_check_soname_save_LIBS
11148 if ${ac_cv_lib_soname_xslt:+false} :; then :
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11150 $as_echo "not found" >&6; }
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11154 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11156 cat >>confdefs.h
<<_ACEOF
11157 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11165 CPPFLAGS
=$ac_save_CPPFLAGS
11166 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11167 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11170 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11171 case "x$with_xslt" in
11172 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11174 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11175 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11179 if test "x$with_dbus" != "xno"
11181 if ${DBUS_CFLAGS:+false} :; then :
11182 if ${PKG_CONFIG+:} false
; then :
11183 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11187 if ${DBUS_LIBS:+false} :; then :
11188 if ${PKG_CONFIG+:} false
; then :
11189 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11194 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11195 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11196 ac_save_CPPFLAGS
=$CPPFLAGS
11197 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11198 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11199 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11201 $as_echo_n "checking for -ldbus-1... " >&6; }
11202 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11203 $as_echo_n "(cached) " >&6
11205 ac_check_soname_save_LIBS
=$LIBS
11206 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11208 /* end confdefs.h. */
11210 /* Override any GCC internal prototype to avoid an error.
11211 Use char because int might match the return type of a GCC
11212 builtin and then its argument prototype would still apply. */
11216 char dbus_connection_close ();
11220 return dbus_connection_close ();
11225 if ac_fn_c_try_link
"$LINENO"; then :
11227 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11228 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'` ;;
11229 *) 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'`
11230 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11231 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11235 rm -f core conftest.err conftest.
$ac_objext \
11236 conftest
$ac_exeext conftest.
$ac_ext
11237 LIBS
=$ac_check_soname_save_LIBS
11239 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11241 $as_echo "not found" >&6; }
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11245 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11247 cat >>confdefs.h
<<_ACEOF
11248 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11258 CPPFLAGS
=$ac_save_CPPFLAGS
11259 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11260 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11263 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11264 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11265 case "x$with_dbus" in
11266 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11268 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11269 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11273 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11275 if ${HAL_CFLAGS:+false} :; then :
11276 if ${PKG_CONFIG+:} false
; then :
11277 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11281 if ${HAL_LIBS:+false} :; then :
11282 if ${PKG_CONFIG+:} false
; then :
11283 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11287 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11288 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11289 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11290 ac_save_CPPFLAGS
=$CPPFLAGS
11291 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11292 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11293 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11295 $as_echo_n "checking for -lhal... " >&6; }
11296 if ${ac_cv_lib_soname_hal+:} false
; then :
11297 $as_echo_n "(cached) " >&6
11299 ac_check_soname_save_LIBS
=$LIBS
11300 LIBS
="-lhal $HAL_LIBS $LIBS"
11301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11302 /* end confdefs.h. */
11304 /* Override any GCC internal prototype to avoid an error.
11305 Use char because int might match the return type of a GCC
11306 builtin and then its argument prototype would still apply. */
11310 char libhal_ctx_new ();
11314 return libhal_ctx_new ();
11319 if ac_fn_c_try_link
"$LINENO"; then :
11321 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11322 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'` ;;
11323 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11324 if ${ac_cv_lib_soname_hal:+false} :; then :
11325 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11329 rm -f core conftest.err conftest.
$ac_objext \
11330 conftest
$ac_exeext conftest.
$ac_ext
11331 LIBS
=$ac_check_soname_save_LIBS
11333 if ${ac_cv_lib_soname_hal:+false} :; then :
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11335 $as_echo "not found" >&6; }
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11339 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11341 cat >>confdefs.h
<<_ACEOF
11342 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11352 CPPFLAGS
=$ac_save_CPPFLAGS
11353 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11354 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11356 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11357 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11358 case "x$with_hal" in
11359 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11361 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11362 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11367 if test "x$with_gnutls" != "xno"
11369 if ${GNUTLS_CFLAGS:+false} :; then :
11370 if ${PKG_CONFIG+:} false
; then :
11371 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11375 if ${GNUTLS_LIBS:+false} :; then :
11376 if ${PKG_CONFIG+:} false
; then :
11377 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11382 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11383 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11384 ac_save_CPPFLAGS
=$CPPFLAGS
11385 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11386 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11387 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11389 /* end confdefs.h. */
11390 #include <gnutls/gnutls.h>
11391 #include <gnutls/crypto.h>
11395 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11400 if ac_fn_c_try_compile
"$LINENO"; then :
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11402 $as_echo_n "checking for -lgnutls... " >&6; }
11403 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11404 $as_echo_n "(cached) " >&6
11406 ac_check_soname_save_LIBS
=$LIBS
11407 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11409 /* end confdefs.h. */
11411 /* Override any GCC internal prototype to avoid an error.
11412 Use char because int might match the return type of a GCC
11413 builtin and then its argument prototype would still apply. */
11417 char gnutls_global_init ();
11421 return gnutls_global_init ();
11426 if ac_fn_c_try_link
"$LINENO"; then :
11428 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11429 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'` ;;
11430 *) 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'`
11431 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11432 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'`
11436 rm -f core conftest.err conftest.
$ac_objext \
11437 conftest
$ac_exeext conftest.
$ac_ext
11438 LIBS
=$ac_check_soname_save_LIBS
11440 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11442 $as_echo "not found" >&6; }
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11446 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11448 cat >>confdefs.h
<<_ACEOF
11449 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11461 CPPFLAGS
=$ac_save_CPPFLAGS
11462 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11463 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11466 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11467 case "x$with_gnutls" in
11468 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11470 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11471 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11476 if test "$ac_cv_header_ncurses_h" = "yes"
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11479 $as_echo_n "checking for -lncurses... " >&6; }
11480 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11481 $as_echo_n "(cached) " >&6
11483 ac_check_soname_save_LIBS
=$LIBS
11484 LIBS
="-lncurses $LIBS"
11485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11486 /* end confdefs.h. */
11488 /* Override any GCC internal prototype to avoid an error.
11489 Use char because int might match the return type of a GCC
11490 builtin and then its argument prototype would still apply. */
11503 if ac_fn_c_try_link
"$LINENO"; then :
11505 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11506 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'` ;;
11507 *) 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'`
11508 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11509 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11513 rm -f core conftest.err conftest.
$ac_objext \
11514 conftest
$ac_exeext conftest.
$ac_ext
11515 LIBS
=$ac_check_soname_save_LIBS
11517 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11519 $as_echo "not found" >&6; }
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11523 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11525 cat >>confdefs.h
<<_ACEOF
11526 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11529 CURSES_LIBS
="-lncurses"
11531 elif test "$ac_cv_header_curses_h" = "yes"
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11534 $as_echo_n "checking for -lcurses... " >&6; }
11535 if ${ac_cv_lib_soname_curses+:} false
; then :
11536 $as_echo_n "(cached) " >&6
11538 ac_check_soname_save_LIBS
=$LIBS
11539 LIBS
="-lcurses $LIBS"
11540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11541 /* end confdefs.h. */
11543 /* Override any GCC internal prototype to avoid an error.
11544 Use char because int might match the return type of a GCC
11545 builtin and then its argument prototype would still apply. */
11558 if ac_fn_c_try_link
"$LINENO"; then :
11560 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11561 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'` ;;
11562 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11563 if ${ac_cv_lib_soname_curses:+false} :; then :
11564 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11568 rm -f core conftest.err conftest.
$ac_objext \
11569 conftest
$ac_exeext conftest.
$ac_ext
11570 LIBS
=$ac_check_soname_save_LIBS
11572 if ${ac_cv_lib_soname_curses:+false} :; then :
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11574 $as_echo "not found" >&6; }
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11578 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11580 cat >>confdefs.h
<<_ACEOF
11581 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11584 CURSES_LIBS
="-lcurses"
11587 ac_save_LIBS
="$LIBS"
11588 LIBS
="$LIBS $CURSES_LIBS"
11589 for ac_func
in mousemask
11591 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11592 if test "x$ac_cv_func_mousemask" = xyes
; then :
11593 cat >>confdefs.h
<<_ACEOF
11594 #define HAVE_MOUSEMASK 1
11600 LIBS
="$ac_save_LIBS"
11601 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11602 case "x$with_curses" in
11603 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11605 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11606 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11610 if test "x$with_sane" != "xno"
11612 if ${SANE_CFLAGS:+false} :; then :
11613 if ${PKG_CONFIG+:} false
; then :
11614 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11617 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11618 if ${SANE_LIBS:+false} :; then :
11619 if ${PKG_CONFIG+:} false
; then :
11620 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11623 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11625 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11626 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11627 ac_save_CPPFLAGS
=$CPPFLAGS
11628 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11629 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11630 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11632 $as_echo_n "checking for -lsane... " >&6; }
11633 if ${ac_cv_lib_soname_sane+:} false
; then :
11634 $as_echo_n "(cached) " >&6
11636 ac_check_soname_save_LIBS
=$LIBS
11637 LIBS
="-lsane $SANE_LIBS $LIBS"
11638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11639 /* end confdefs.h. */
11641 /* Override any GCC internal prototype to avoid an error.
11642 Use char because int might match the return type of a GCC
11643 builtin and then its argument prototype would still apply. */
11651 return sane_init ();
11656 if ac_fn_c_try_link
"$LINENO"; then :
11658 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11659 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'` ;;
11660 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11661 if ${ac_cv_lib_soname_sane:+false} :; then :
11662 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11666 rm -f core conftest.err conftest.
$ac_objext \
11667 conftest
$ac_exeext conftest.
$ac_ext
11668 LIBS
=$ac_check_soname_save_LIBS
11670 if ${ac_cv_lib_soname_sane:+false} :; then :
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11672 $as_echo "not found" >&6; }
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11676 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11678 cat >>confdefs.h
<<_ACEOF
11679 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11689 CPPFLAGS
=$ac_save_CPPFLAGS
11690 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11691 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11694 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11695 case "x$with_sane" in
11696 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11698 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11699 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11703 if test "x$with_v4l" != "xno"
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11706 $as_echo_n "checking for -lv4l1... " >&6; }
11707 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11708 $as_echo_n "(cached) " >&6
11710 ac_check_soname_save_LIBS
=$LIBS
11711 LIBS
="-lv4l1 $LIBS"
11712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11713 /* end confdefs.h. */
11715 /* Override any GCC internal prototype to avoid an error.
11716 Use char because int might match the return type of a GCC
11717 builtin and then its argument prototype would still apply. */
11725 return v4l1_open ();
11730 if ac_fn_c_try_link
"$LINENO"; then :
11732 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11733 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'` ;;
11734 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11735 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11736 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11740 rm -f core conftest.err conftest.
$ac_objext \
11741 conftest
$ac_exeext conftest.
$ac_ext
11742 LIBS
=$ac_check_soname_save_LIBS
11744 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11746 $as_echo "not found" >&6; }
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11750 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11752 cat >>confdefs.h
<<_ACEOF
11753 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11759 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11760 case "x$with_v4l" in
11761 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11763 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11764 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11768 if test "x$with_gphoto" != "xno"
11770 if ${GPHOTO2_CFLAGS:+false} :; then :
11771 if ${PKG_CONFIG+:} false
; then :
11772 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11775 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11776 if ${GPHOTO2_LIBS:+false} :; then :
11777 if ${PKG_CONFIG+:} false
; then :
11778 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11781 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11782 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11783 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11784 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11785 ac_save_CPPFLAGS
=$CPPFLAGS
11786 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11787 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11788 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11790 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11791 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11792 $as_echo_n "(cached) " >&6
11794 ac_check_lib_save_LIBS
=$LIBS
11795 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11797 /* end confdefs.h. */
11799 /* Override any GCC internal prototype to avoid an error.
11800 Use char because int might match the return type of a GCC
11801 builtin and then its argument prototype would still apply. */
11805 char gp_camera_new ();
11809 return gp_camera_new ();
11814 if ac_fn_c_try_link
"$LINENO"; then :
11815 ac_cv_lib_gphoto2_gp_camera_new
=yes
11817 ac_cv_lib_gphoto2_gp_camera_new
=no
11819 rm -f core conftest.err conftest.
$ac_objext \
11820 conftest
$ac_exeext conftest.
$ac_ext
11821 LIBS
=$ac_check_lib_save_LIBS
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11824 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11825 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11827 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11830 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11834 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11838 CPPFLAGS
=$ac_save_CPPFLAGS
11839 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11840 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11842 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11843 if ${PKG_CONFIG+:} false
; then :
11844 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11847 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11848 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11849 if ${PKG_CONFIG+:} false
; then :
11850 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11853 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11854 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11855 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11856 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11857 ac_save_CPPFLAGS
=$CPPFLAGS
11858 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11859 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11860 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11862 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11863 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11864 $as_echo_n "(cached) " >&6
11866 ac_check_lib_save_LIBS
=$LIBS
11867 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11869 /* end confdefs.h. */
11871 /* Override any GCC internal prototype to avoid an error.
11872 Use char because int might match the return type of a GCC
11873 builtin and then its argument prototype would still apply. */
11877 char gp_port_info_list_new ();
11881 return gp_port_info_list_new ();
11886 if ac_fn_c_try_link
"$LINENO"; then :
11887 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11889 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11891 rm -f core conftest.err conftest.
$ac_objext \
11892 conftest
$ac_exeext conftest.
$ac_ext
11893 LIBS
=$ac_check_lib_save_LIBS
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11896 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11897 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11899 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11902 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11906 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11910 CPPFLAGS
=$ac_save_CPPFLAGS
11911 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11912 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11915 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11916 case "x$with_gphoto" in
11917 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11919 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11920 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11923 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11924 case "x$with_gphoto" in
11925 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11927 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11928 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11933 if test "$ac_cv_header_resolv_h" = "yes"
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11936 $as_echo_n "checking for resolver library... " >&6; }
11937 if ${ac_cv_have_resolv+:} false
; then :
11938 $as_echo_n "(cached) " >&6
11940 ac_save_LIBS
="$LIBS"
11941 for lib
in '' -lresolv
11943 LIBS
="$lib $ac_save_LIBS"
11944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11945 /* end confdefs.h. */
11946 #ifdef HAVE_NETINET_IN_H
11947 #include <netinet/in.h>
11949 #include <resolv.h>
11953 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11958 if ac_fn_c_try_link
"$LINENO"; then :
11959 ac_cv_have_resolv
=${lib:-"none required"}
11961 ac_cv_have_resolv
="not found"
11963 rm -f core conftest.err conftest.
$ac_objext \
11964 conftest
$ac_exeext conftest.
$ac_ext
11965 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11967 LIBS
="$ac_save_LIBS"
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11970 $as_echo "$ac_cv_have_resolv" >&6; }
11972 case "$ac_cv_have_resolv" in
11976 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11979 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11981 RESOLV_LIBS
=$ac_cv_have_resolv
11986 if test "x$with_cms" != "xno"
11988 if ${LCMS2_CFLAGS:+false} :; then :
11989 if ${PKG_CONFIG+:} false
; then :
11990 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11994 if ${LCMS2_LIBS:+false} :; then :
11995 if ${PKG_CONFIG+:} false
; then :
11996 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12000 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
12001 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12002 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12003 ac_save_CPPFLAGS
=$CPPFLAGS
12004 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12005 for ac_header
in lcms2.h
12007 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12008 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12009 cat >>confdefs.h
<<_ACEOF
12010 #define HAVE_LCMS2_H 1
12017 if test "$ac_cv_header_lcms2_h" = "yes"
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12020 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12021 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12022 $as_echo_n "(cached) " >&6
12024 ac_check_lib_save_LIBS
=$LIBS
12025 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12027 /* end confdefs.h. */
12029 /* Override any GCC internal prototype to avoid an error.
12030 Use char because int might match the return type of a GCC
12031 builtin and then its argument prototype would still apply. */
12035 char cmsOpenProfileFromFile ();
12039 return cmsOpenProfileFromFile ();
12044 if ac_fn_c_try_link
"$LINENO"; then :
12045 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12047 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12049 rm -f core conftest.err conftest.
$ac_objext \
12050 conftest
$ac_exeext conftest.
$ac_ext
12051 LIBS
=$ac_check_lib_save_LIBS
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12054 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12055 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12057 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12067 CPPFLAGS
=$ac_save_CPPFLAGS
12068 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12069 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12072 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12073 case "x$with_cms" in
12074 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12076 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12077 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12081 if test "x$with_freetype" != "xno"
12083 if ${FREETYPE_CFLAGS:+false} :; then :
12084 if ${PKG_CONFIG+:} false
; then :
12085 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12088 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12089 if ${FREETYPE_LIBS:+false} :; then :
12090 if ${PKG_CONFIG+:} false
; then :
12091 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12094 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12095 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12096 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12097 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12098 ac_save_CPPFLAGS
=$CPPFLAGS
12099 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12100 for ac_header
in ft2build.h
12102 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12103 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12104 cat >>confdefs.h
<<_ACEOF
12105 #define HAVE_FT2BUILD_H 1
12112 if test "$ac_cv_header_ft2build_h" = "yes"
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12115 $as_echo_n "checking for -lfreetype... " >&6; }
12116 if ${ac_cv_lib_soname_freetype+:} false
; then :
12117 $as_echo_n "(cached) " >&6
12119 ac_check_soname_save_LIBS
=$LIBS
12120 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12122 /* end confdefs.h. */
12124 /* Override any GCC internal prototype to avoid an error.
12125 Use char because int might match the return type of a GCC
12126 builtin and then its argument prototype would still apply. */
12130 char FT_Init_FreeType ();
12134 return FT_Init_FreeType ();
12139 if ac_fn_c_try_link
"$LINENO"; then :
12141 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12142 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'` ;;
12143 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12144 if ${ac_cv_lib_soname_freetype:+false} :; then :
12145 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12149 rm -f core conftest.err conftest.
$ac_objext \
12150 conftest
$ac_exeext conftest.
$ac_ext
12151 LIBS
=$ac_check_soname_save_LIBS
12153 if ${ac_cv_lib_soname_freetype:+false} :; then :
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12155 $as_echo "not found" >&6; }
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12159 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12161 cat >>confdefs.h
<<_ACEOF
12162 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12166 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12168 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12169 #include FT_MODULE_H
12171 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12173 cat >>confdefs.h
<<_ACEOF
12174 #define HAVE_FT_TRUETYPEENGINETYPE 1
12185 CPPFLAGS
=$ac_save_CPPFLAGS
12186 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12187 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12190 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12191 case "x$with_freetype" in
12193 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12194 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12197 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12200 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12201 if ${ac_cv_c_ppdev+:} false
; then :
12202 $as_echo_n "(cached) " >&6
12204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12205 /* end confdefs.h. */
12206 #ifdef HAVE_SYS_IOCTL_H
12207 # include <sys/ioctl.h>
12209 #include <linux/ppdev.h>
12213 ioctl (1,PPCLAIM,0)
12218 if ac_fn_c_try_compile
"$LINENO"; then :
12219 ac_cv_c_ppdev
="yes"
12223 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12226 $as_echo "$ac_cv_c_ppdev" >&6; }
12227 if test "$ac_cv_c_ppdev" = "yes"
12230 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12234 ac_wine_check_funcs_save_LIBS
="$LIBS"
12235 LIBS
="$LIBS $PTHREAD_LIBS"
12237 pthread_attr_get_np \
12238 pthread_getattr_np \
12239 pthread_getthreadid_np \
12240 pthread_get_stackaddr_np \
12241 pthread_get_stacksize_np
12243 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12244 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12245 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12246 cat >>confdefs.h
<<_ACEOF
12247 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12253 LIBS
="$ac_wine_check_funcs_save_LIBS"
12255 if test "$ac_cv_header_zlib_h" = "yes"
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12258 $as_echo_n "checking for inflate in -lz... " >&6; }
12259 if ${ac_cv_lib_z_inflate+:} false
; then :
12260 $as_echo_n "(cached) " >&6
12262 ac_check_lib_save_LIBS
=$LIBS
12264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12265 /* end confdefs.h. */
12267 /* Override any GCC internal prototype to avoid an error.
12268 Use char because int might match the return type of a GCC
12269 builtin and then its argument prototype would still apply. */
12282 if ac_fn_c_try_link
"$LINENO"; then :
12283 ac_cv_lib_z_inflate
=yes
12285 ac_cv_lib_z_inflate
=no
12287 rm -f core conftest.err conftest.
$ac_objext \
12288 conftest
$ac_exeext conftest.
$ac_ext
12289 LIBS
=$ac_check_lib_save_LIBS
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12292 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12293 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12295 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12302 if test "x$Z_LIBS" = "x"; then :
12303 case "x$with_zlib" in
12304 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12306 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12307 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12311 if test "x$enable_tools" != xno
12313 if test "$ac_cv_header_gettext_po_h" = "yes"
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12316 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12317 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12318 $as_echo_n "(cached) " >&6
12320 ac_check_lib_save_LIBS
=$LIBS
12321 LIBS
="-lgettextpo $LIBS"
12322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12323 /* end confdefs.h. */
12325 /* Override any GCC internal prototype to avoid an error.
12326 Use char because int might match the return type of a GCC
12327 builtin and then its argument prototype would still apply. */
12331 char po_message_msgctxt ();
12335 return po_message_msgctxt ();
12340 if ac_fn_c_try_link
"$LINENO"; then :
12341 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12343 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12345 rm -f core conftest.err conftest.
$ac_objext \
12346 conftest
$ac_exeext conftest.
$ac_ext
12347 LIBS
=$ac_check_lib_save_LIBS
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12350 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12351 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12353 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12355 GETTEXTPO_LIBS
="-lgettextpo"
12360 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12361 case "x$with_gettextpo" in
12362 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12364 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12365 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12370 if test "x$with_gstreamer" != "xno"
12372 if ${GSTREAMER_CFLAGS:+false} :; then :
12373 if ${PKG_CONFIG+:} false
; then :
12374 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12378 if ${GSTREAMER_LIBS:+false} :; then :
12379 if ${PKG_CONFIG+:} false
; then :
12380 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12385 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12386 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12387 ac_save_CPPFLAGS
=$CPPFLAGS
12388 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12390 for i
in $GSTREAMER_CFLAGS
12393 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12396 GSTREAMER_CFLAGS
=$ac_gst_incl
12397 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12398 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12399 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12400 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12401 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12403 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12405 /* end confdefs.h. */
12406 #include <gst/app/gstappsink.h>
12410 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12415 if ac_fn_c_try_compile
"$LINENO"; then :
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12417 $as_echo "yes" >&6; }
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12419 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12420 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12421 $as_echo_n "(cached) " >&6
12423 ac_check_lib_save_LIBS
=$LIBS
12424 LIBS
="-lgstreamer-0.10 $LIBS"
12425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12426 /* end confdefs.h. */
12428 /* Override any GCC internal prototype to avoid an error.
12429 Use char because int might match the return type of a GCC
12430 builtin and then its argument prototype would still apply. */
12434 char gst_pad_get_caps_reffed ();
12438 return gst_pad_get_caps_reffed ();
12443 if ac_fn_c_try_link
"$LINENO"; then :
12444 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12446 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12448 rm -f core conftest.err conftest.
$ac_objext \
12449 conftest
$ac_exeext conftest.
$ac_ext
12450 LIBS
=$ac_check_lib_save_LIBS
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12453 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12454 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12456 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12457 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12458 $as_echo_n "(cached) " >&6
12460 ac_check_lib_save_LIBS
=$LIBS
12461 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12463 /* end confdefs.h. */
12465 /* Override any GCC internal prototype to avoid an error.
12466 Use char because int might match the return type of a GCC
12467 builtin and then its argument prototype would still apply. */
12471 char gst_app_buffer_new ();
12475 return gst_app_buffer_new ();
12480 if ac_fn_c_try_link
"$LINENO"; then :
12481 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12483 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12485 rm -f core conftest.err conftest.
$ac_objext \
12486 conftest
$ac_exeext conftest.
$ac_ext
12487 LIBS
=$ac_check_lib_save_LIBS
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12490 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12491 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12499 $as_echo "no" >&6; }
12501 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12506 GSTREAMER_CFLAGS
=""
12510 CPPFLAGS
=$ac_save_CPPFLAGS
12511 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12512 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12515 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12516 case "x$with_gstreamer" in
12517 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12519 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12520 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12523 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12527 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12530 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12531 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12532 $as_echo_n "(cached) " >&6
12534 ac_check_lib_save_LIBS
=$LIBS
12535 LIBS
="-lasound $LIBS"
12536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12537 /* end confdefs.h. */
12539 /* Override any GCC internal prototype to avoid an error.
12540 Use char because int might match the return type of a GCC
12541 builtin and then its argument prototype would still apply. */
12545 char snd_pcm_hw_params_get_access_mask ();
12549 return snd_pcm_hw_params_get_access_mask ();
12554 if ac_fn_c_try_link
"$LINENO"; then :
12555 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12557 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12559 rm -f core conftest.err conftest.
$ac_objext \
12560 conftest
$ac_exeext conftest.
$ac_ext
12561 LIBS
=$ac_check_lib_save_LIBS
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12564 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12565 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12567 /* end confdefs.h. */
12568 #ifdef HAVE_ALSA_ASOUNDLIB_H
12569 #include <alsa/asoundlib.h>
12570 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12571 #include <sys/asoundlib.h>
12576 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12581 if ac_fn_c_try_compile
"$LINENO"; then :
12582 ALSA_LIBS
="-lasound"
12584 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12589 if test "x$with_oss" != xno
12591 ac_save_CPPFLAGS
="$CPPFLAGS"
12592 if test -f /etc
/oss.conf
12596 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12597 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12598 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12599 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12600 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12602 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12604 cat >>confdefs.h
<<_ACEOF
12605 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12608 OSS4_CFLAGS
="$ac_oss_incl"
12615 CPPFLAGS
="$ac_save_CPPFLAGS"
12616 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12618 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12622 if test "x$with_capi" != "xno"
12624 if ${CAPI20_CFLAGS:+false} :; then :
12625 if ${PKG_CONFIG+:} false
; then :
12626 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12630 if ${CAPI20_LIBS:+false} :; then :
12631 if ${PKG_CONFIG+:} false
; then :
12632 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12637 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12638 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12639 ac_save_CPPFLAGS
=$CPPFLAGS
12640 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12641 for ac_header
in capi20.h linux
/capi.h
12643 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12644 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12646 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12647 cat >>confdefs.h
<<_ACEOF
12648 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12655 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12658 $as_echo_n "checking for -lcapi20... " >&6; }
12659 if ${ac_cv_lib_soname_capi20+:} false
; then :
12660 $as_echo_n "(cached) " >&6
12662 ac_check_soname_save_LIBS
=$LIBS
12663 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12665 /* end confdefs.h. */
12667 /* Override any GCC internal prototype to avoid an error.
12668 Use char because int might match the return type of a GCC
12669 builtin and then its argument prototype would still apply. */
12673 char capi20_register ();
12677 return capi20_register ();
12682 if ac_fn_c_try_link
"$LINENO"; then :
12684 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12685 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'` ;;
12686 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12687 if ${ac_cv_lib_soname_capi20:+false} :; then :
12688 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12692 rm -f core conftest.err conftest.
$ac_objext \
12693 conftest
$ac_exeext conftest.
$ac_ext
12694 LIBS
=$ac_check_soname_save_LIBS
12696 if ${ac_cv_lib_soname_capi20:+false} :; then :
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12698 $as_echo "not found" >&6; }
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12702 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12704 cat >>confdefs.h
<<_ACEOF
12705 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12711 CPPFLAGS
=$ac_save_CPPFLAGS
12712 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12713 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12716 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12717 case "x$with_capi" in
12718 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12720 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12721 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12727 if test "x$with_cups" != "xno"
12729 ac_save_CPPFLAGS
="$CPPFLAGS"
12730 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12731 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12732 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12733 for ac_header
in cups
/cups.h
12735 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12736 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12737 cat >>confdefs.h
<<_ACEOF
12738 #define HAVE_CUPS_CUPS_H 1
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12741 $as_echo_n "checking for -lcups... " >&6; }
12742 if ${ac_cv_lib_soname_cups+:} false
; then :
12743 $as_echo_n "(cached) " >&6
12745 ac_check_soname_save_LIBS
=$LIBS
12746 LIBS
="-lcups $ac_cups_libs $LIBS"
12747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12748 /* end confdefs.h. */
12750 /* Override any GCC internal prototype to avoid an error.
12751 Use char because int might match the return type of a GCC
12752 builtin and then its argument prototype would still apply. */
12756 char cupsGetDefault ();
12760 return cupsGetDefault ();
12765 if ac_fn_c_try_link
"$LINENO"; then :
12767 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12768 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'` ;;
12769 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12770 if ${ac_cv_lib_soname_cups:+false} :; then :
12771 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12775 rm -f core conftest.err conftest.
$ac_objext \
12776 conftest
$ac_exeext conftest.
$ac_ext
12777 LIBS
=$ac_check_soname_save_LIBS
12779 if ${ac_cv_lib_soname_cups:+false} :; then :
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12781 $as_echo "not found" >&6; }
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12785 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12787 cat >>confdefs.h
<<_ACEOF
12788 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12791 CUPS_CFLAGS
="$ac_cups_cflags"
12797 CPPFLAGS
="$ac_save_CPPFLAGS"
12799 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12800 case "x$with_cups" in
12801 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12803 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12804 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12808 if test "x$with_fontconfig" != "xno"
12810 if ${FONTCONFIG_CFLAGS:+false} :; then :
12811 if ${PKG_CONFIG+:} false
; then :
12812 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12815 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12816 if ${FONTCONFIG_LIBS:+false} :; then :
12817 if ${PKG_CONFIG+:} false
; then :
12818 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12821 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12823 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12824 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12825 ac_save_CPPFLAGS
=$CPPFLAGS
12826 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12827 for ac_header
in fontconfig
/fontconfig.h
12829 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12830 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12831 cat >>confdefs.h
<<_ACEOF
12832 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12839 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12842 $as_echo_n "checking for -lfontconfig... " >&6; }
12843 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12844 $as_echo_n "(cached) " >&6
12846 ac_check_soname_save_LIBS
=$LIBS
12847 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12849 /* end confdefs.h. */
12851 /* Override any GCC internal prototype to avoid an error.
12852 Use char because int might match the return type of a GCC
12853 builtin and then its argument prototype would still apply. */
12866 if ac_fn_c_try_link
"$LINENO"; then :
12868 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12869 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'` ;;
12870 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12871 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12872 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12876 rm -f core conftest.err conftest.
$ac_objext \
12877 conftest
$ac_exeext conftest.
$ac_ext
12878 LIBS
=$ac_check_soname_save_LIBS
12880 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12882 $as_echo "not found" >&6; }
12883 FONTCONFIG_CFLAGS
=""
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12886 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12888 cat >>confdefs.h
<<_ACEOF
12889 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12895 FONTCONFIG_CFLAGS
=""
12897 CPPFLAGS
=$ac_save_CPPFLAGS
12898 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12899 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12902 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12903 case "x$with_fontconfig" in
12904 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12906 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12907 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12911 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12914 $as_echo_n "checking for -lgsm... " >&6; }
12915 if ${ac_cv_lib_soname_gsm+:} false
; then :
12916 $as_echo_n "(cached) " >&6
12918 ac_check_soname_save_LIBS
=$LIBS
12920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12921 /* end confdefs.h. */
12923 /* Override any GCC internal prototype to avoid an error.
12924 Use char because int might match the return type of a GCC
12925 builtin and then its argument prototype would still apply. */
12929 char gsm_create ();
12933 return gsm_create ();
12938 if ac_fn_c_try_link
"$LINENO"; then :
12940 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12941 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'` ;;
12942 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12943 if ${ac_cv_lib_soname_gsm:+false} :; then :
12944 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12948 rm -f core conftest.err conftest.
$ac_objext \
12949 conftest
$ac_exeext conftest.
$ac_ext
12950 LIBS
=$ac_check_soname_save_LIBS
12952 if ${ac_cv_lib_soname_gsm:+false} :; then :
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12954 $as_echo "not found" >&6; }
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12958 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12960 cat >>confdefs.h
<<_ACEOF
12961 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12967 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12968 case "x$with_gsm" in
12969 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12971 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12972 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12976 if test "x$with_jpeg" != "xno"
12978 if ${JPEG_CFLAGS:+false} :; then :
12979 if ${PKG_CONFIG+:} false
; then :
12980 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12984 if ${JPEG_LIBS:+false} :; then :
12985 if ${PKG_CONFIG+:} false
; then :
12986 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12991 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12992 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12993 ac_save_CPPFLAGS
=$CPPFLAGS
12994 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12995 for ac_header
in jpeglib.h
12997 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12998 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12999 cat >>confdefs.h
<<_ACEOF
13000 #define HAVE_JPEGLIB_H 1
13007 if test "$ac_cv_header_jpeglib_h" = "yes"
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13010 $as_echo_n "checking for -ljpeg... " >&6; }
13011 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13012 $as_echo_n "(cached) " >&6
13014 ac_check_soname_save_LIBS
=$LIBS
13015 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13017 /* end confdefs.h. */
13019 /* Override any GCC internal prototype to avoid an error.
13020 Use char because int might match the return type of a GCC
13021 builtin and then its argument prototype would still apply. */
13025 char jpeg_start_decompress ();
13029 return jpeg_start_decompress ();
13034 if ac_fn_c_try_link
"$LINENO"; then :
13036 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13037 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'` ;;
13038 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13039 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13040 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13044 rm -f core conftest.err conftest.
$ac_objext \
13045 conftest
$ac_exeext conftest.
$ac_ext
13046 LIBS
=$ac_check_soname_save_LIBS
13048 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13050 $as_echo "not found" >&6; }
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13054 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13056 cat >>confdefs.h
<<_ACEOF
13057 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13065 CPPFLAGS
=$ac_save_CPPFLAGS
13066 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13067 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13070 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13071 case "x$with_jpeg" in
13072 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13074 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13075 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13079 if test "x$with_png" != "xno"
13081 if ${PNG_CFLAGS:+false} :; then :
13082 if ${PKG_CONFIG+:} false
; then :
13083 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13086 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13087 if ${PNG_LIBS:+false} :; then :
13088 if ${PKG_CONFIG+:} false
; then :
13089 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13092 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13094 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13095 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13096 ac_save_CPPFLAGS
=$CPPFLAGS
13097 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13098 for ac_header
in png.h
13100 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13101 if test "x$ac_cv_header_png_h" = xyes
; then :
13102 cat >>confdefs.h
<<_ACEOF
13103 #define HAVE_PNG_H 1
13110 if test "$ac_cv_header_png_h" = "yes"
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13113 $as_echo_n "checking for -lpng... " >&6; }
13114 if ${ac_cv_lib_soname_png+:} false
; then :
13115 $as_echo_n "(cached) " >&6
13117 ac_check_soname_save_LIBS
=$LIBS
13118 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13120 /* end confdefs.h. */
13122 /* Override any GCC internal prototype to avoid an error.
13123 Use char because int might match the return type of a GCC
13124 builtin and then its argument prototype would still apply. */
13128 char png_create_read_struct ();
13132 return png_create_read_struct ();
13137 if ac_fn_c_try_link
"$LINENO"; then :
13139 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13140 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'` ;;
13141 *) 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'`
13142 if ${ac_cv_lib_soname_png:+false} :; then :
13143 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13147 rm -f core conftest.err conftest.
$ac_objext \
13148 conftest
$ac_exeext conftest.
$ac_ext
13149 LIBS
=$ac_check_soname_save_LIBS
13151 if ${ac_cv_lib_soname_png:+false} :; then :
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13153 $as_echo "not found" >&6; }
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13157 $as_echo "$ac_cv_lib_soname_png" >&6; }
13159 cat >>confdefs.h
<<_ACEOF
13160 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13164 /* end confdefs.h. */
13169 typeof(png_set_expand_gray_1_2_4_to_8) *p
13174 if ac_fn_c_try_compile
"$LINENO"; then :
13176 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13184 CPPFLAGS
=$ac_save_CPPFLAGS
13185 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13186 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13189 if test "x$ac_cv_lib_soname_png" = "x"; then :
13190 case "x$with_png" in
13191 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13193 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13194 This is an error since --with-png was requested." "$LINENO" 5 ;;
13198 if test "x$with_tiff" != "xno"
13200 if ${TIFF_CFLAGS:+false} :; then :
13201 if ${PKG_CONFIG+:} false
; then :
13202 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13206 if ${TIFF_LIBS:+false} :; then :
13207 if ${PKG_CONFIG+:} false
; then :
13208 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13213 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13214 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13215 ac_save_CPPFLAGS
=$CPPFLAGS
13216 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13217 for ac_header
in tiffio.h
13219 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13220 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13221 cat >>confdefs.h
<<_ACEOF
13222 #define HAVE_TIFFIO_H 1
13229 if test "$ac_cv_header_tiffio_h" = "yes"
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13232 $as_echo_n "checking for -ltiff... " >&6; }
13233 if ${ac_cv_lib_soname_tiff+:} false
; then :
13234 $as_echo_n "(cached) " >&6
13236 ac_check_soname_save_LIBS
=$LIBS
13237 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13239 /* end confdefs.h. */
13241 /* Override any GCC internal prototype to avoid an error.
13242 Use char because int might match the return type of a GCC
13243 builtin and then its argument prototype would still apply. */
13247 char TIFFClientOpen ();
13251 return TIFFClientOpen ();
13256 if ac_fn_c_try_link
"$LINENO"; then :
13258 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13259 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'` ;;
13260 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13261 if ${ac_cv_lib_soname_tiff:+false} :; then :
13262 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13266 rm -f core conftest.err conftest.
$ac_objext \
13267 conftest
$ac_exeext conftest.
$ac_ext
13268 LIBS
=$ac_check_soname_save_LIBS
13270 if ${ac_cv_lib_soname_tiff:+false} :; then :
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13272 $as_echo "not found" >&6; }
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13276 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13278 cat >>confdefs.h
<<_ACEOF
13279 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13285 CPPFLAGS
=$ac_save_CPPFLAGS
13286 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13287 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13290 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13291 case "x$with_tiff" in
13292 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13294 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13295 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13299 if test "x$with_mpg123" != "xno"
13301 if ${MPG123_CFLAGS:+false} :; then :
13302 if ${PKG_CONFIG+:} false
; then :
13303 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13307 if ${MPG123_LIBS:+false} :; then :
13308 if ${PKG_CONFIG+:} false
; then :
13309 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13313 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13314 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13315 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13316 ac_save_CPPFLAGS
=$CPPFLAGS
13317 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13318 for ac_header
in mpg123.h
13320 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13321 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13322 cat >>confdefs.h
<<_ACEOF
13323 #define HAVE_MPG123_H 1
13330 if test "$ac_cv_header_mpg123_h" = "yes"
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13333 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13334 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13335 $as_echo_n "(cached) " >&6
13337 ac_check_lib_save_LIBS
=$LIBS
13338 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13340 /* end confdefs.h. */
13342 /* Override any GCC internal prototype to avoid an error.
13343 Use char because int might match the return type of a GCC
13344 builtin and then its argument prototype would still apply. */
13348 char mpg123_feed ();
13352 return mpg123_feed ();
13357 if ac_fn_c_try_link
"$LINENO"; then :
13358 ac_cv_lib_mpg123_mpg123_feed
=yes
13360 ac_cv_lib_mpg123_mpg123_feed
=no
13362 rm -f core conftest.err conftest.
$ac_objext \
13363 conftest
$ac_exeext conftest.
$ac_ext
13364 LIBS
=$ac_check_lib_save_LIBS
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13367 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13368 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13378 CPPFLAGS
=$ac_save_CPPFLAGS
13379 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13380 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13383 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13384 case "x$with_mpg123" in
13385 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13387 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13388 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13391 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}
13393 if test "$ac_cv_header_AL_al_h" = "yes"
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13396 $as_echo_n "checking for -lopenal... " >&6; }
13397 if ${ac_cv_lib_soname_openal+:} false
; then :
13398 $as_echo_n "(cached) " >&6
13400 ac_check_soname_save_LIBS
=$LIBS
13401 LIBS
="-lopenal $LIBS"
13402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13403 /* end confdefs.h. */
13405 /* Override any GCC internal prototype to avoid an error.
13406 Use char because int might match the return type of a GCC
13407 builtin and then its argument prototype would still apply. */
13411 char alGetSource3i ();
13415 return alGetSource3i ();
13420 if ac_fn_c_try_link
"$LINENO"; then :
13422 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13423 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'` ;;
13424 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13425 if ${ac_cv_lib_soname_openal:+false} :; then :
13426 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13430 rm -f core conftest.err conftest.
$ac_objext \
13431 conftest
$ac_exeext conftest.
$ac_ext
13432 LIBS
=$ac_check_soname_save_LIBS
13434 if ${ac_cv_lib_soname_openal:+false} :; then :
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13436 $as_echo "not found" >&6; }
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13440 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13442 cat >>confdefs.h
<<_ACEOF
13443 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13446 OPENAL_LIBS
="-lopenal"
13448 ac_cv_lib_openal
=yes
13450 cat >>confdefs.h
<<_ACEOF
13451 #define HAVE_OPENAL 1
13456 if test "x$ac_cv_lib_openal" != xyes
; then :
13457 case "x$with_openal" in
13458 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13460 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13461 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13464 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13466 if test "$ac_cv_header_kstat_h" = "yes"
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13469 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13470 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13471 $as_echo_n "(cached) " >&6
13473 ac_check_lib_save_LIBS
=$LIBS
13474 LIBS
="-lkstat $LIBS"
13475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13476 /* end confdefs.h. */
13478 /* Override any GCC internal prototype to avoid an error.
13479 Use char because int might match the return type of a GCC
13480 builtin and then its argument prototype would still apply. */
13484 char kstat_open ();
13488 return kstat_open ();
13493 if ac_fn_c_try_link
"$LINENO"; then :
13494 ac_cv_lib_kstat_kstat_open
=yes
13496 ac_cv_lib_kstat_kstat_open
=no
13498 rm -f core conftest.err conftest.
$ac_objext \
13499 conftest
$ac_exeext conftest.
$ac_ext
13500 LIBS
=$ac_check_lib_save_LIBS
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13503 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13504 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13506 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13508 KSTAT_LIBS
="-lkstat"
13514 if test "$ac_cv_header_libprocstat_h" = "yes"
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13517 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13518 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13519 $as_echo_n "(cached) " >&6
13521 ac_check_lib_save_LIBS
=$LIBS
13522 LIBS
="-lprocstat $LIBS"
13523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13524 /* end confdefs.h. */
13526 /* Override any GCC internal prototype to avoid an error.
13527 Use char because int might match the return type of a GCC
13528 builtin and then its argument prototype would still apply. */
13532 char procstat_open_sysctl ();
13536 return procstat_open_sysctl ();
13541 if ac_fn_c_try_link
"$LINENO"; then :
13542 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13544 ac_cv_lib_procstat_procstat_open_sysctl
=no
13546 rm -f core conftest.err conftest.
$ac_objext \
13547 conftest
$ac_exeext conftest.
$ac_ext
13548 LIBS
=$ac_check_lib_save_LIBS
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13551 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13552 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13554 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13556 PROCSTAT_LIBS
="-lprocstat"
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13563 $as_echo_n "checking for -lodbc... " >&6; }
13564 if ${ac_cv_lib_soname_odbc+:} false
; then :
13565 $as_echo_n "(cached) " >&6
13567 ac_check_soname_save_LIBS
=$LIBS
13568 LIBS
="-lodbc $LIBS"
13569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13570 /* end confdefs.h. */
13572 /* Override any GCC internal prototype to avoid an error.
13573 Use char because int might match the return type of a GCC
13574 builtin and then its argument prototype would still apply. */
13578 char SQLConnect ();
13582 return SQLConnect ();
13587 if ac_fn_c_try_link
"$LINENO"; then :
13589 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13590 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'` ;;
13591 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13592 if ${ac_cv_lib_soname_odbc:+false} :; then :
13593 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13597 rm -f core conftest.err conftest.
$ac_objext \
13598 conftest
$ac_exeext conftest.
$ac_ext
13599 LIBS
=$ac_check_soname_save_LIBS
13601 if ${ac_cv_lib_soname_odbc:+false} :; then :
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13603 $as_echo "not found" >&6; }
13604 cat >>confdefs.h
<<_ACEOF
13605 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13610 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13612 cat >>confdefs.h
<<_ACEOF
13613 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13619 if test "x$with_netapi" != "xno"
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13622 $as_echo_n "checking for -lnetapi... " >&6; }
13623 if ${ac_cv_lib_soname_netapi+:} false
; then :
13624 $as_echo_n "(cached) " >&6
13626 ac_check_soname_save_LIBS
=$LIBS
13627 LIBS
="-lnetapi $LIBS"
13628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13629 /* end confdefs.h. */
13631 /* Override any GCC internal prototype to avoid an error.
13632 Use char because int might match the return type of a GCC
13633 builtin and then its argument prototype would still apply. */
13637 char libnetapi_init ();
13641 return libnetapi_init ();
13646 if ac_fn_c_try_link
"$LINENO"; then :
13648 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13649 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'` ;;
13650 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13651 if ${ac_cv_lib_soname_netapi:+false} :; then :
13652 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13656 rm -f core conftest.err conftest.
$ac_objext \
13657 conftest
$ac_exeext conftest.
$ac_ext
13658 LIBS
=$ac_check_soname_save_LIBS
13660 if ${ac_cv_lib_soname_netapi:+false} :; then :
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13662 $as_echo "not found" >&6; }
13663 cat >>confdefs.h
<<_ACEOF
13664 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13669 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13671 cat >>confdefs.h
<<_ACEOF
13672 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13679 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13680 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13681 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13682 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13684 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13685 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13686 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13688 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13694 if test "x${GCC}" = "xyes"
13696 EXTRACFLAGS
="-Wall -pipe"
13698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13699 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13700 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13701 $as_echo_n "(cached) " >&6
13703 if test "$cross_compiling" = yes; then :
13704 ac_cv_c_gcc_strength_bug
="yes"
13706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13707 /* end confdefs.h. */
13708 int L[4] = {0,1,2,3};
13712 static int Array[3];
13713 unsigned int B = 3;
13715 for(i=0; i<B; i++) Array[i] = i - 3;
13716 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13718 return (Array[1] != -2 || L[2] != 3)
13723 if ac_fn_c_try_run
"$LINENO"; then :
13724 ac_cv_c_gcc_strength_bug
="no"
13726 ac_cv_c_gcc_strength_bug
="yes"
13728 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13729 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13734 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13735 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13737 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13741 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13742 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13743 $as_echo_n "(cached) " >&6
13745 ac_wine_try_cflags_saved
=$CFLAGS
13746 CFLAGS
="$CFLAGS -fno-builtin"
13747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13748 /* end confdefs.h. */
13749 int main(int argc, char **argv) { return 0; }
13751 if ac_fn_c_try_link
"$LINENO"; then :
13752 ac_cv_cflags__fno_builtin
=yes
13754 ac_cv_cflags__fno_builtin
=no
13756 rm -f core conftest.err conftest.
$ac_objext \
13757 conftest
$ac_exeext conftest.
$ac_ext
13758 CFLAGS
=$ac_wine_try_cflags_saved
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13761 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13762 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13763 BUILTINFLAG
="-fno-builtin"
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13767 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13768 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13769 $as_echo_n "(cached) " >&6
13771 ac_wine_try_cflags_saved
=$CFLAGS
13772 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13774 /* end confdefs.h. */
13775 int main(int argc, char **argv) { return 0; }
13777 if ac_fn_c_try_link
"$LINENO"; then :
13778 ac_cv_cflags__fno_strict_aliasing
=yes
13780 ac_cv_cflags__fno_strict_aliasing
=no
13782 rm -f core conftest.err conftest.
$ac_objext \
13783 conftest
$ac_exeext conftest.
$ac_ext
13784 CFLAGS
=$ac_wine_try_cflags_saved
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13787 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13788 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13789 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13791 saved_CFLAGS
=$CFLAGS
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13793 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13794 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13795 $as_echo_n "(cached) " >&6
13797 ac_wine_try_cflags_saved
=$CFLAGS
13798 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13800 /* end confdefs.h. */
13801 int main(int argc, char **argv) { return 0; }
13803 if ac_fn_c_try_link
"$LINENO"; then :
13804 ac_cv_cflags__Werror_unknown_warning_option
=yes
13806 ac_cv_cflags__Werror_unknown_warning_option
=no
13808 rm -f core conftest.err conftest.
$ac_objext \
13809 conftest
$ac_exeext conftest.
$ac_ext
13810 CFLAGS
=$ac_wine_try_cflags_saved
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13813 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13814 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13815 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13818 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13819 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13820 $as_echo_n "(cached) " >&6
13822 ac_wine_try_cflags_saved
=$CFLAGS
13823 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13825 /* end confdefs.h. */
13826 int main(int argc, char **argv) { return 0; }
13828 if ac_fn_c_try_link
"$LINENO"; then :
13829 ac_cv_cflags__Wdeclaration_after_statement
=yes
13831 ac_cv_cflags__Wdeclaration_after_statement
=no
13833 rm -f core conftest.err conftest.
$ac_objext \
13834 conftest
$ac_exeext conftest.
$ac_ext
13835 CFLAGS
=$ac_wine_try_cflags_saved
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13838 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13839 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13840 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13843 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13844 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13845 $as_echo_n "(cached) " >&6
13847 ac_wine_try_cflags_saved
=$CFLAGS
13848 CFLAGS
="$CFLAGS -Wempty-body"
13849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13850 /* end confdefs.h. */
13851 int main(int argc, char **argv) { return 0; }
13853 if ac_fn_c_try_link
"$LINENO"; then :
13854 ac_cv_cflags__Wempty_body
=yes
13856 ac_cv_cflags__Wempty_body
=no
13858 rm -f core conftest.err conftest.
$ac_objext \
13859 conftest
$ac_exeext conftest.
$ac_ext
13860 CFLAGS
=$ac_wine_try_cflags_saved
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13863 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13864 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13865 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13868 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13869 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13870 $as_echo_n "(cached) " >&6
13872 ac_wine_try_cflags_saved
=$CFLAGS
13873 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13875 /* end confdefs.h. */
13876 int main(int argc, char **argv) { return 0; }
13878 if ac_fn_c_try_link
"$LINENO"; then :
13879 ac_cv_cflags__Wignored_qualifiers
=yes
13881 ac_cv_cflags__Wignored_qualifiers
=no
13883 rm -f core conftest.err conftest.
$ac_objext \
13884 conftest
$ac_exeext conftest.
$ac_ext
13885 CFLAGS
=$ac_wine_try_cflags_saved
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13888 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13889 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13890 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13893 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13894 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13895 $as_echo_n "(cached) " >&6
13897 ac_wine_try_cflags_saved
=$CFLAGS
13898 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13900 /* end confdefs.h. */
13901 int main(int argc, char **argv) { return 0; }
13903 if ac_fn_c_try_link
"$LINENO"; then :
13904 ac_cv_cflags__Wstrict_prototypes
=yes
13906 ac_cv_cflags__Wstrict_prototypes
=no
13908 rm -f core conftest.err conftest.
$ac_objext \
13909 conftest
$ac_exeext conftest.
$ac_ext
13910 CFLAGS
=$ac_wine_try_cflags_saved
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13913 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13914 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13915 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13918 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13919 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13920 $as_echo_n "(cached) " >&6
13922 ac_wine_try_cflags_saved
=$CFLAGS
13923 CFLAGS
="$CFLAGS -Wtype-limits"
13924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13925 /* end confdefs.h. */
13926 int main(int argc, char **argv) { return 0; }
13928 if ac_fn_c_try_link
"$LINENO"; then :
13929 ac_cv_cflags__Wtype_limits
=yes
13931 ac_cv_cflags__Wtype_limits
=no
13933 rm -f core conftest.err conftest.
$ac_objext \
13934 conftest
$ac_exeext conftest.
$ac_ext
13935 CFLAGS
=$ac_wine_try_cflags_saved
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13938 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13939 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13940 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13943 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13944 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13945 $as_echo_n "(cached) " >&6
13947 ac_wine_try_cflags_saved
=$CFLAGS
13948 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13950 /* end confdefs.h. */
13951 int main(int argc, char **argv) { return 0; }
13953 if ac_fn_c_try_link
"$LINENO"; then :
13954 ac_cv_cflags__Wunused_but_set_parameter
=yes
13956 ac_cv_cflags__Wunused_but_set_parameter
=no
13958 rm -f core conftest.err conftest.
$ac_objext \
13959 conftest
$ac_exeext conftest.
$ac_ext
13960 CFLAGS
=$ac_wine_try_cflags_saved
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13963 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13964 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13965 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13968 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13969 if ${ac_cv_cflags__Wvla+:} false
; then :
13970 $as_echo_n "(cached) " >&6
13972 ac_wine_try_cflags_saved
=$CFLAGS
13973 CFLAGS
="$CFLAGS -Wvla"
13974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13975 /* end confdefs.h. */
13976 int main(int argc, char **argv) { return 0; }
13978 if ac_fn_c_try_link
"$LINENO"; then :
13979 ac_cv_cflags__Wvla
=yes
13981 ac_cv_cflags__Wvla
=no
13983 rm -f core conftest.err conftest.
$ac_objext \
13984 conftest
$ac_exeext conftest.
$ac_ext
13985 CFLAGS
=$ac_wine_try_cflags_saved
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13988 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13989 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13990 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13993 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13994 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13995 $as_echo_n "(cached) " >&6
13997 ac_wine_try_cflags_saved
=$CFLAGS
13998 CFLAGS
="$CFLAGS -Wwrite-strings"
13999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14000 /* end confdefs.h. */
14001 int main(int argc, char **argv) { return 0; }
14003 if ac_fn_c_try_link
"$LINENO"; then :
14004 ac_cv_cflags__Wwrite_strings
=yes
14006 ac_cv_cflags__Wwrite_strings
=no
14008 rm -f core conftest.err conftest.
$ac_objext \
14009 conftest
$ac_exeext conftest.
$ac_ext
14010 CFLAGS
=$ac_wine_try_cflags_saved
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14013 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14014 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14015 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14019 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14020 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14021 $as_echo_n "(cached) " >&6
14023 ac_wine_try_cflags_saved
=$CFLAGS
14024 CFLAGS
="$CFLAGS -Wpointer-arith"
14025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14026 /* end confdefs.h. */
14027 int main(int argc, char **argv) { return 0; }
14029 if ac_fn_c_try_link
"$LINENO"; then :
14030 ac_cv_cflags__Wpointer_arith
=yes
14032 ac_cv_cflags__Wpointer_arith
=no
14034 rm -f core conftest.err conftest.
$ac_objext \
14035 conftest
$ac_exeext conftest.
$ac_ext
14036 CFLAGS
=$ac_wine_try_cflags_saved
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14039 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14040 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14041 saved_string_h_CFLAGS
=$CFLAGS
14042 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14044 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14045 if ${ac_cv_c_string_h_warnings+:} false
; then :
14046 $as_echo_n "(cached) " >&6
14048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14049 /* end confdefs.h. */
14050 #include <string.h>
14059 if ac_fn_c_try_compile
"$LINENO"; then :
14060 ac_cv_c_string_h_warnings
=no
14062 ac_cv_c_string_h_warnings
=yes
14064 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14067 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14068 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14069 CFLAGS
=$saved_string_h_CFLAGS
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14073 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14074 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14075 $as_echo_n "(cached) " >&6
14077 ac_wine_try_cflags_saved
=$CFLAGS
14078 CFLAGS
="$CFLAGS -Wlogical-op"
14079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14080 /* end confdefs.h. */
14081 int main(int argc, char **argv) { return 0; }
14083 if ac_fn_c_try_link
"$LINENO"; then :
14084 ac_cv_cflags__Wlogical_op
=yes
14086 ac_cv_cflags__Wlogical_op
=no
14088 rm -f core conftest.err conftest.
$ac_objext \
14089 conftest
$ac_exeext conftest.
$ac_ext
14090 CFLAGS
=$ac_wine_try_cflags_saved
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14093 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14094 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14095 saved_string_h_CFLAGS
=$CFLAGS
14096 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14098 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14099 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14100 $as_echo_n "(cached) " >&6
14102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14103 /* end confdefs.h. */
14104 #include <string.h>
14105 char*f(const char *h,char n) {return strchr(h,n);}
14114 if ac_fn_c_try_compile
"$LINENO"; then :
14115 ac_cv_c_logicalop_noisy
=no
14117 ac_cv_c_logicalop_noisy
=yes
14119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14122 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14123 CFLAGS
=$saved_string_h_CFLAGS
14124 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14127 CFLAGS
=$saved_CFLAGS
14129 for ac_flag
in $CFLAGS; do
14131 -g) case $host_os in
14132 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14133 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14134 if ${ac_cv_cflags__gstabsp+:} false
; then :
14135 $as_echo_n "(cached) " >&6
14137 ac_wine_try_cflags_saved
=$CFLAGS
14138 CFLAGS
="$CFLAGS -gstabs+"
14139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14140 /* end confdefs.h. */
14141 int main(int argc, char **argv) { return 0; }
14143 if ac_fn_c_try_link
"$LINENO"; then :
14144 ac_cv_cflags__gstabsp
=yes
14146 ac_cv_cflags__gstabsp
=no
14148 rm -f core conftest.err conftest.
$ac_objext \
14149 conftest
$ac_exeext conftest.
$ac_ext
14150 CFLAGS
=$ac_wine_try_cflags_saved
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14153 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14154 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14155 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14157 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14158 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14159 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14160 $as_echo_n "(cached) " >&6
14162 ac_wine_try_cflags_saved
=$CFLAGS
14163 CFLAGS
="$CFLAGS -gdwarf-2"
14164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14165 /* end confdefs.h. */
14166 int main(int argc, char **argv) { return 0; }
14168 if ac_fn_c_try_link
"$LINENO"; then :
14169 ac_cv_cflags__gdwarf_2
=yes
14171 ac_cv_cflags__gdwarf_2
=no
14173 rm -f core conftest.err conftest.
$ac_objext \
14174 conftest
$ac_exeext conftest.
$ac_ext
14175 CFLAGS
=$ac_wine_try_cflags_saved
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14178 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14179 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14180 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14183 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14184 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14185 $as_echo_n "(cached) " >&6
14187 ac_wine_try_cflags_saved
=$CFLAGS
14188 CFLAGS
="$CFLAGS -gstrict-dwarf"
14189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14190 /* end confdefs.h. */
14191 int main(int argc, char **argv) { return 0; }
14193 if ac_fn_c_try_link
"$LINENO"; then :
14194 ac_cv_cflags__gstrict_dwarf
=yes
14196 ac_cv_cflags__gstrict_dwarf
=no
14198 rm -f core conftest.err conftest.
$ac_objext \
14199 conftest
$ac_exeext conftest.
$ac_ext
14200 CFLAGS
=$ac_wine_try_cflags_saved
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14203 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14204 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14205 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14212 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14213 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14214 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14215 $as_echo_n "(cached) " >&6
14217 ac_wine_try_cflags_saved
=$CFLAGS
14218 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14220 /* end confdefs.h. */
14221 int main(int argc, char **argv) { return 0; }
14223 if ac_fn_c_try_link
"$LINENO"; then :
14224 ac_cv_cflags__fno_omit_frame_pointer
=yes
14226 ac_cv_cflags__fno_omit_frame_pointer
=no
14228 rm -f core conftest.err conftest.
$ac_objext \
14229 conftest
$ac_exeext conftest.
$ac_ext
14230 CFLAGS
=$ac_wine_try_cflags_saved
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14233 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14234 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14235 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14240 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14241 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14242 if ${ac_cv_cflags__Wno_format+:} false
; then :
14243 $as_echo_n "(cached) " >&6
14245 ac_wine_try_cflags_saved
=$CFLAGS
14246 CFLAGS
="$CFLAGS -Wno-format"
14247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14248 /* end confdefs.h. */
14249 int main(int argc, char **argv) { return 0; }
14251 if ac_fn_c_try_link
"$LINENO"; then :
14252 ac_cv_cflags__Wno_format
=yes
14254 ac_cv_cflags__Wno_format
=no
14256 rm -f core conftest.err conftest.
$ac_objext \
14257 conftest
$ac_exeext conftest.
$ac_ext
14258 CFLAGS
=$ac_wine_try_cflags_saved
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14261 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14262 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14263 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14267 if test "x$enable_maintainer_mode" = "xyes"
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14270 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14271 if ${ac_cv_cflags__Werror+:} false
; then :
14272 $as_echo_n "(cached) " >&6
14274 ac_wine_try_cflags_saved
=$CFLAGS
14275 CFLAGS
="$CFLAGS -Werror"
14276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14277 /* end confdefs.h. */
14278 int main(int argc, char **argv) { return 0; }
14280 if ac_fn_c_try_link
"$LINENO"; then :
14281 ac_cv_cflags__Werror
=yes
14283 ac_cv_cflags__Werror
=no
14285 rm -f core conftest.err conftest.
$ac_objext \
14286 conftest
$ac_exeext conftest.
$ac_ext
14287 CFLAGS
=$ac_wine_try_cflags_saved
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14290 $as_echo "$ac_cv_cflags__Werror" >&6; }
14291 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14292 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14296 saved_CFLAGS
="$CFLAGS"
14297 CFLAGS
="$CFLAGS -Werror"
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14299 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14300 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14301 $as_echo_n "(cached) " >&6
14303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14304 /* end confdefs.h. */
14305 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14314 if ac_fn_c_try_compile
"$LINENO"; then :
14315 ac_cv_have_ms_hook_prologue
="yes"
14317 ac_cv_have_ms_hook_prologue
="no"
14319 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14322 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14323 CFLAGS
="$saved_CFLAGS"
14324 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14327 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14330 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14337 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14338 if ${ac_cv_c_fortify_enabled+:} false
; then :
14339 $as_echo_n "(cached) " >&6
14341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14342 /* end confdefs.h. */
14343 #include <string.h>
14347 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14348 #error Fortify enabled
14354 if ac_fn_c_try_compile
"$LINENO"; then :
14355 ac_cv_c_fortify_enabled
=no
14357 ac_cv_c_fortify_enabled
=yes
14359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14362 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14363 if test "$ac_cv_c_fortify_enabled" = yes
14365 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14370 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14371 if ${ac_cv_c_extern_prefix+:} false
; then :
14372 $as_echo_n "(cached) " >&6
14374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14375 /* end confdefs.h. */
14376 extern int ac_test;
14380 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14385 if ac_fn_c_try_link
"$LINENO"; then :
14386 ac_cv_c_extern_prefix
="yes"
14388 ac_cv_c_extern_prefix
="no"
14390 rm -f core conftest.err conftest.
$ac_objext \
14391 conftest
$ac_exeext conftest.
$ac_ext
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14394 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14399 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14400 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14401 $as_echo_n "(cached) " >&6
14403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14404 /* end confdefs.h. */
14406 #define __stdcall __attribute__((__stdcall__))
14408 int __stdcall ac_test(int i) { return i; }
14412 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14417 if ac_fn_c_try_link
"$LINENO"; then :
14418 ac_cv_c_stdcall_suffix
="yes"
14420 ac_cv_c_stdcall_suffix
="no"
14422 rm -f core conftest.err conftest.
$ac_objext \
14423 conftest
$ac_exeext conftest.
$ac_ext
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14426 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14427 *) ac_cv_c_stdcall_suffix
="no" ;;
14431 if test "$ac_cv_c_extern_prefix" = "yes"
14433 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14435 asm_name_prefix
="_"
14437 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14443 if test "$ac_cv_c_stdcall_suffix" = "yes"
14445 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14448 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14454 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14455 if ${ac_cv_asm_func_def+:} false
; then :
14456 $as_echo_n "(cached) " >&6
14458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14459 /* end confdefs.h. */
14464 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14469 if ac_fn_c_try_link
"$LINENO"; then :
14470 ac_cv_asm_func_def
=".def"
14472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14473 /* end confdefs.h. */
14478 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14483 if ac_fn_c_try_link
"$LINENO"; then :
14484 ac_cv_asm_func_def
=".type @function"
14486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14487 /* end confdefs.h. */
14492 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14497 if ac_fn_c_try_link
"$LINENO"; then :
14498 ac_cv_asm_func_def
=".type 2"
14500 ac_cv_asm_func_def
="unknown"
14502 rm -f core conftest.err conftest.
$ac_objext \
14503 conftest
$ac_exeext conftest.
$ac_ext
14505 rm -f core conftest.err conftest.
$ac_objext \
14506 conftest
$ac_exeext conftest.
$ac_ext
14508 rm -f core conftest.err conftest.
$ac_objext \
14509 conftest
$ac_exeext conftest.
$ac_ext
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14512 $as_echo "$ac_cv_asm_func_def" >&6; }
14515 case "$ac_cv_asm_func_def" in
14517 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14519 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14521 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14523 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14525 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14527 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14529 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14531 asm_func_header
="" ;;
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14535 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14536 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14537 $as_echo_n "(cached) " >&6
14539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14540 /* end confdefs.h. */
14541 asm(".text\n\t.long 0");
14550 if ac_fn_c_try_compile
"$LINENO"; then :
14551 ac_cv_c_asm_outside_funcs
="yes"
14553 ac_cv_c_asm_outside_funcs
="no"
14555 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14558 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14561 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14562 if ${ac_cv_c_dot_previous+:} false
; then :
14563 $as_echo_n "(cached) " >&6
14565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14566 /* end confdefs.h. */
14571 asm(".text\nac_test:\t.long 0\n\t.previous");
14576 if ac_fn_c_try_link
"$LINENO"; then :
14577 ac_cv_c_dot_previous
="yes"
14579 ac_cv_c_dot_previous
="no"
14581 rm -f core conftest.err conftest.
$ac_objext \
14582 conftest
$ac_exeext conftest.
$ac_ext
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14585 $as_echo "$ac_cv_c_dot_previous" >&6; }
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14588 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14589 if ${ac_cv_c_cfi_support+:} false
; then :
14590 $as_echo_n "(cached) " >&6
14592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14593 /* end confdefs.h. */
14594 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14603 if ac_fn_c_try_compile
"$LINENO"; then :
14604 ac_cv_c_cfi_support
="yes"
14606 ac_cv_c_cfi_support
="no"
14608 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14611 $as_echo "$ac_cv_c_cfi_support" >&6; }
14613 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14614 asm_func_trailer
=""
14615 if test "$ac_cv_c_dot_previous" = "yes"
14617 asm_func_trailer
="\\n\\t.previous"
14619 if test "$ac_cv_c_cfi_support" = "yes"
14621 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14622 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14624 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14626 UNWINDFLAGS
=-fasynchronous-unwind-tables
14629 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14633 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14636 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14638 cat >>confdefs.h
<<_ACEOF
14639 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14643 cat >>confdefs.h
<<_ACEOF
14644 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14649 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14652 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14657 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14664 *i
[3456789]86*|x86_64
*)
14665 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14666 loader_programs
="$loader_programs $wine_binary-preloader"
14667 as_fn_append LOADER_RULES
"
14668 $wine_binary-preloader: preloader.o
14669 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14671 install install-lib:: $wine_binary-preloader
14672 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14675 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14677 preloader_EXTRADEFS = $BUILTINFLAG
14682 as_fn_append LOADER_RULES
"
14683 PROGRAMS = $loader_programs
14687 ac_save_CFLAGS
="$CFLAGS"
14688 CFLAGS
="$CFLAGS $BUILTINFLAG"
14767 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14768 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14769 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14770 cat >>confdefs.h
<<_ACEOF
14771 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14777 CFLAGS
="$ac_save_CFLAGS"
14779 if test "$ac_cv_func_dlopen" = no
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14782 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14783 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14784 $as_echo_n "(cached) " >&6
14786 ac_check_lib_save_LIBS
=$LIBS
14788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14789 /* end confdefs.h. */
14791 /* Override any GCC internal prototype to avoid an error.
14792 Use char because int might match the return type of a GCC
14793 builtin and then its argument prototype would still apply. */
14806 if ac_fn_c_try_link
"$LINENO"; then :
14807 ac_cv_lib_dl_dlopen
=yes
14809 ac_cv_lib_dl_dlopen
=no
14811 rm -f core conftest.err conftest.
$ac_objext \
14812 conftest
$ac_exeext conftest.
$ac_ext
14813 LIBS
=$ac_check_lib_save_LIBS
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14816 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14817 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14818 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14824 ac_wine_check_funcs_save_LIBS
="$LIBS"
14825 LIBS
="$LIBS $DL_LIBS"
14826 for ac_func
in dladdr
14828 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14829 if test "x$ac_cv_func_dladdr" = xyes
; then :
14830 cat >>confdefs.h
<<_ACEOF
14831 #define HAVE_DLADDR 1
14837 LIBS
="$ac_wine_check_funcs_save_LIBS"
14839 if test "$ac_cv_func_poll" = no
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14842 $as_echo_n "checking for poll in -lpoll... " >&6; }
14843 if ${ac_cv_lib_poll_poll+:} false
; then :
14844 $as_echo_n "(cached) " >&6
14846 ac_check_lib_save_LIBS
=$LIBS
14847 LIBS
="-lpoll $LIBS"
14848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14849 /* end confdefs.h. */
14851 /* Override any GCC internal prototype to avoid an error.
14852 Use char because int might match the return type of a GCC
14853 builtin and then its argument prototype would still apply. */
14866 if ac_fn_c_try_link
"$LINENO"; then :
14867 ac_cv_lib_poll_poll
=yes
14869 ac_cv_lib_poll_poll
=no
14871 rm -f core conftest.err conftest.
$ac_objext \
14872 conftest
$ac_exeext conftest.
$ac_ext
14873 LIBS
=$ac_check_lib_save_LIBS
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14876 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14877 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14878 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14886 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14887 if ${ac_cv_search_gethostbyname+:} false
; then :
14888 $as_echo_n "(cached) " >&6
14890 ac_func_search_save_LIBS
=$LIBS
14891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14892 /* end confdefs.h. */
14894 /* Override any GCC internal prototype to avoid an error.
14895 Use char because int might match the return type of a GCC
14896 builtin and then its argument prototype would still apply. */
14900 char gethostbyname ();
14904 return gethostbyname ();
14909 for ac_lib
in '' nsl
; do
14910 if test -z "$ac_lib"; then
14911 ac_res
="none required"
14914 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14916 if ac_fn_c_try_link
"$LINENO"; then :
14917 ac_cv_search_gethostbyname
=$ac_res
14919 rm -f core conftest.err conftest.
$ac_objext \
14921 if ${ac_cv_search_gethostbyname+:} false
; then :
14925 if ${ac_cv_search_gethostbyname+:} false
; then :
14928 ac_cv_search_gethostbyname
=no
14930 rm conftest.
$ac_ext
14931 LIBS
=$ac_func_search_save_LIBS
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14934 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14935 ac_res
=$ac_cv_search_gethostbyname
14936 if test "$ac_res" != no
; then :
14937 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14943 $as_echo_n "checking for library containing connect... " >&6; }
14944 if ${ac_cv_search_connect+:} false
; then :
14945 $as_echo_n "(cached) " >&6
14947 ac_func_search_save_LIBS
=$LIBS
14948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14949 /* end confdefs.h. */
14951 /* Override any GCC internal prototype to avoid an error.
14952 Use char because int might match the return type of a GCC
14953 builtin and then its argument prototype would still apply. */
14966 for ac_lib
in '' socket
; do
14967 if test -z "$ac_lib"; then
14968 ac_res
="none required"
14971 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14973 if ac_fn_c_try_link
"$LINENO"; then :
14974 ac_cv_search_connect
=$ac_res
14976 rm -f core conftest.err conftest.
$ac_objext \
14978 if ${ac_cv_search_connect+:} false
; then :
14982 if ${ac_cv_search_connect+:} false
; then :
14985 ac_cv_search_connect
=no
14987 rm conftest.
$ac_ext
14988 LIBS
=$ac_func_search_save_LIBS
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14991 $as_echo "$ac_cv_search_connect" >&6; }
14992 ac_res
=$ac_cv_search_connect
14993 if test "$ac_res" != no
; then :
14994 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15000 $as_echo_n "checking for library containing inet_aton... " >&6; }
15001 if ${ac_cv_search_inet_aton+:} false
; then :
15002 $as_echo_n "(cached) " >&6
15004 ac_func_search_save_LIBS
=$LIBS
15005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15006 /* end confdefs.h. */
15008 /* Override any GCC internal prototype to avoid an error.
15009 Use char because int might match the return type of a GCC
15010 builtin and then its argument prototype would still apply. */
15018 return inet_aton ();
15023 for ac_lib
in '' resolv
; do
15024 if test -z "$ac_lib"; then
15025 ac_res
="none required"
15028 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15030 if ac_fn_c_try_link
"$LINENO"; then :
15031 ac_cv_search_inet_aton
=$ac_res
15033 rm -f core conftest.err conftest.
$ac_objext \
15035 if ${ac_cv_search_inet_aton+:} false
; then :
15039 if ${ac_cv_search_inet_aton+:} false
; then :
15042 ac_cv_search_inet_aton
=no
15044 rm conftest.
$ac_ext
15045 LIBS
=$ac_func_search_save_LIBS
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15048 $as_echo "$ac_cv_search_inet_aton" >&6; }
15049 ac_res
=$ac_cv_search_inet_aton
15050 if test "$ac_res" != no
; then :
15051 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15071 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15072 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15073 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15074 cat >>confdefs.h
<<_ACEOF
15075 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15084 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15085 if ${ac_cv_search_clock_gettime+:} false
; then :
15086 $as_echo_n "(cached) " >&6
15088 ac_func_search_save_LIBS
=$LIBS
15089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15090 /* end confdefs.h. */
15092 /* Override any GCC internal prototype to avoid an error.
15093 Use char because int might match the return type of a GCC
15094 builtin and then its argument prototype would still apply. */
15098 char clock_gettime ();
15102 return clock_gettime ();
15107 for ac_lib
in '' rt
; do
15108 if test -z "$ac_lib"; then
15109 ac_res
="none required"
15112 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15114 if ac_fn_c_try_link
"$LINENO"; then :
15115 ac_cv_search_clock_gettime
=$ac_res
15117 rm -f core conftest.err conftest.
$ac_objext \
15119 if ${ac_cv_search_clock_gettime+:} false
; then :
15123 if ${ac_cv_search_clock_gettime+:} false
; then :
15126 ac_cv_search_clock_gettime
=no
15128 rm conftest.
$ac_ext
15129 LIBS
=$ac_func_search_save_LIBS
15131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15132 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15133 ac_res
=$ac_cv_search_clock_gettime
15134 if test "$ac_res" != no
; then :
15135 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15137 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15139 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15147 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15149 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15151 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15153 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15154 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15155 $as_echo_n "(cached) " >&6
15157 ac_check_lib_save_LIBS
=$LIBS
15158 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15160 /* end confdefs.h. */
15162 /* Override any GCC internal prototype to avoid an error.
15163 Use char because int might match the return type of a GCC
15164 builtin and then its argument prototype would still apply. */
15168 char ldap_initialize ();
15172 return ldap_initialize ();
15177 if ac_fn_c_try_link
"$LINENO"; then :
15178 ac_cv_lib_ldap_r_ldap_initialize
=yes
15180 ac_cv_lib_ldap_r_ldap_initialize
=no
15182 rm -f core conftest.err conftest.
$ac_objext \
15183 conftest
$ac_exeext conftest.
$ac_ext
15184 LIBS
=$ac_check_lib_save_LIBS
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15187 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15188 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15190 $as_echo_n "checking for ber_init in -llber... " >&6; }
15191 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15192 $as_echo_n "(cached) " >&6
15194 ac_check_lib_save_LIBS
=$LIBS
15195 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15197 /* end confdefs.h. */
15199 /* Override any GCC internal prototype to avoid an error.
15200 Use char because int might match the return type of a GCC
15201 builtin and then its argument prototype would still apply. */
15209 return ber_init ();
15214 if ac_fn_c_try_link
"$LINENO"; then :
15215 ac_cv_lib_lber_ber_init
=yes
15217 ac_cv_lib_lber_ber_init
=no
15219 rm -f core conftest.err conftest.
$ac_objext \
15220 conftest
$ac_exeext conftest.
$ac_ext
15221 LIBS
=$ac_check_lib_save_LIBS
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15224 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15225 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15227 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15229 LDAP_LIBS
="-lldap_r -llber"
15236 ac_wine_check_funcs_save_LIBS
="$LIBS"
15237 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15239 ldap_count_references \
15240 ldap_first_reference \
15241 ldap_next_reference \
15242 ldap_parse_reference \
15243 ldap_parse_sort_control \
15244 ldap_parse_sortresponse_control \
15245 ldap_parse_vlv_control \
15246 ldap_parse_vlvresponse_control
15248 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15249 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15250 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15251 cat >>confdefs.h
<<_ACEOF
15252 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15258 LIBS
="$ac_wine_check_funcs_save_LIBS"
15260 if test "x$LDAP_LIBS" = "x"; then :
15261 case "x$with_ldap" in
15262 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15264 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15265 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15270 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15271 if ${wine_cv_one_arg_mkdir+:} false
; then :
15272 $as_echo_n "(cached) " >&6
15274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15275 /* end confdefs.h. */
15276 #include <sys/stat.h>
15285 if ac_fn_c_try_compile
"$LINENO"; then :
15286 wine_cv_one_arg_mkdir
=yes
15288 wine_cv_one_arg_mkdir
=no
15290 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15293 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15294 if test "$wine_cv_one_arg_mkdir" = "yes"
15297 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15302 $as_echo_n "checking for sched_setaffinity... " >&6; }
15303 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15304 $as_echo_n "(cached) " >&6
15306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15307 /* end confdefs.h. */
15308 #define _GNU_SOURCE
15313 sched_setaffinity(0, 0, 0);
15318 if ac_fn_c_try_link
"$LINENO"; then :
15319 wine_cv_have_sched_setaffinity
=yes
15321 wine_cv_have_sched_setaffinity
=no
15323 rm -f core conftest.err conftest.
$ac_objext \
15324 conftest
$ac_exeext conftest.
$ac_ext
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15327 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15328 if test "$wine_cv_have_sched_setaffinity" = "yes"
15331 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15336 $as_echo_n "checking for fallocate... " >&6; }
15337 if ${wine_cv_have_fallocate+:} false
; then :
15338 $as_echo_n "(cached) " >&6
15340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15341 /* end confdefs.h. */
15342 #define _GNU_SOURCE
15347 fallocate(-1, 0, 0, 0);
15352 if ac_fn_c_try_link
"$LINENO"; then :
15353 wine_cv_have_fallocate
=yes
15355 wine_cv_have_fallocate
=no
15357 rm -f core conftest.err conftest.
$ac_objext \
15358 conftest
$ac_exeext conftest.
$ac_ext
15360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15361 $as_echo "$wine_cv_have_fallocate" >&6; }
15362 if test "$wine_cv_have_fallocate" = "yes"
15365 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15371 $as_echo_n "checking for inline... " >&6; }
15372 if ${ac_cv_c_inline+:} false
; then :
15373 $as_echo_n "(cached) " >&6
15376 for ac_kw
in inline __inline__ __inline
; do
15377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15378 /* end confdefs.h. */
15379 #ifndef __cplusplus
15381 static $ac_kw foo_t static_foo () {return 0; }
15382 $ac_kw foo_t foo () {return 0; }
15386 if ac_fn_c_try_compile
"$LINENO"; then :
15387 ac_cv_c_inline
=$ac_kw
15389 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15390 test "$ac_cv_c_inline" != no
&& break
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15395 $as_echo "$ac_cv_c_inline" >&6; }
15397 case $ac_cv_c_inline in
15400 case $ac_cv_c_inline in
15402 *) ac_val
=$ac_cv_c_inline;;
15404 cat >>confdefs.h
<<_ACEOF
15405 #ifndef __cplusplus
15406 #define inline $ac_val
15412 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15413 if test "x$ac_cv_type_mode_t" = xyes
; then :
15415 cat >>confdefs.h
<<_ACEOF
15416 #define HAVE_MODE_T 1
15421 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15422 if test "x$ac_cv_type_off_t" = xyes
; then :
15424 cat >>confdefs.h
<<_ACEOF
15425 #define HAVE_OFF_T 1
15430 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15431 if test "x$ac_cv_type_pid_t" = xyes
; then :
15433 cat >>confdefs.h
<<_ACEOF
15434 #define HAVE_PID_T 1
15439 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15440 if test "x$ac_cv_type_size_t" = xyes
; then :
15442 cat >>confdefs.h
<<_ACEOF
15443 #define HAVE_SIZE_T 1
15448 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15449 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15451 cat >>confdefs.h
<<_ACEOF
15452 #define HAVE_SSIZE_T 1
15457 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15458 if test "x$ac_cv_type_long_long" = xyes
; then :
15460 cat >>confdefs.h
<<_ACEOF
15461 #define HAVE_LONG_LONG 1
15466 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15467 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15469 cat >>confdefs.h
<<_ACEOF
15470 #define HAVE_FSBLKCNT_T 1
15475 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15476 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15478 cat >>confdefs.h
<<_ACEOF
15479 #define HAVE_FSFILCNT_T 1
15485 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15486 #include <signal.h>
15488 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15490 cat >>confdefs.h
<<_ACEOF
15491 #define HAVE_SIGSET_T 1
15497 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15499 if test "x$ac_cv_type_request_sense" = xyes
; then :
15501 cat >>confdefs.h
<<_ACEOF
15502 #define HAVE_REQUEST_SENSE 1
15509 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15510 #ifdef HAVE_SYS_SOCKET_H
15511 #include <sys/socket.h>
15513 #ifdef HAVE_SYS_SOCKETVAR_H
15514 #include <sys/socketvar.h>
15516 #ifdef HAVE_NET_ROUTE_H
15517 #include <net/route.h>
15519 #ifdef HAVE_NETINET_IN_H
15520 #include <netinet/in.h>
15522 #ifdef HAVE_NETINET_IN_SYSTM_H
15523 #include <netinet/in_systm.h>
15525 #ifdef HAVE_NETINET_IP_H
15526 #include <netinet/ip.h>
15528 #ifdef HAVE_NETINET_IN_PCB_H
15529 #include <netinet/in_pcb.h>
15532 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15534 cat >>confdefs.h
<<_ACEOF
15535 #define HAVE_STRUCT_XINPGEN 1
15542 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15545 #ifdef HAVE_SYS_LINK_H
15546 #include <sys/link.h>
15549 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15551 cat >>confdefs.h
<<_ACEOF
15552 #define HAVE_STRUCT_R_DEBUG 1
15557 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15560 #ifdef HAVE_SYS_LINK_H
15561 #include <sys/link.h>
15564 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15566 cat >>confdefs.h
<<_ACEOF
15567 #define HAVE_STRUCT_LINK_MAP 1
15574 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15575 #include <linux/input.h>
15578 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15580 cat >>confdefs.h
<<_ACEOF
15581 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15589 $as_echo_n "checking for sigaddset... " >&6; }
15590 if ${wine_cv_have_sigaddset+:} false
; then :
15591 $as_echo_n "(cached) " >&6
15593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15594 /* end confdefs.h. */
15595 #include <signal.h>
15599 sigset_t set; sigaddset(&set,SIGTERM);
15604 if ac_fn_c_try_link
"$LINENO"; then :
15605 wine_cv_have_sigaddset
=yes
15607 wine_cv_have_sigaddset
=no
15609 rm -f core conftest.err conftest.
$ac_objext \
15610 conftest
$ac_exeext conftest.
$ac_ext
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15613 $as_echo "$wine_cv_have_sigaddset" >&6; }
15614 if test "$wine_cv_have_sigaddset" = "yes"
15617 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15623 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15624 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15625 $as_echo_n "(cached) " >&6
15627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15628 /* end confdefs.h. */
15636 struct hostent *result;
15643 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15644 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15650 if ac_fn_c_try_link
"$LINENO"; then :
15651 wine_cv_linux_gethostbyname_r_6
=yes
15653 wine_cv_linux_gethostbyname_r_6
=no
15656 rm -f core conftest.err conftest.
$ac_objext \
15657 conftest
$ac_exeext conftest.
$ac_ext
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15661 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15662 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15665 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15669 if test "$ac_cv_header_linux_joystick_h" = "yes"
15671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15672 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15673 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15674 $as_echo_n "(cached) " >&6
15676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15677 /* end confdefs.h. */
15679 #include <sys/ioctl.h>
15680 #include <sys/types.h>
15681 #include <linux/joystick.h>
15683 struct js_event blub;
15684 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15685 #error "no 2.2 header"
15696 if ac_fn_c_try_compile
"$LINENO"; then :
15697 wine_cv_linux_joystick_22_api
=yes
15699 wine_cv_linux_joystick_22_api
=no
15701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15705 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15706 if test "$wine_cv_linux_joystick_22_api" = "yes"
15709 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15715 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15716 #ifdef HAVE_SYS_PARAM_H
15717 # include <sys/param.h>
15719 #ifdef HAVE_SYS_MOUNT_H
15720 # include <sys/mount.h>
15722 #ifdef HAVE_SYS_VFS_H
15723 # include <sys/vfs.h>
15725 #ifdef HAVE_SYS_STATFS_H
15726 # include <sys/statfs.h>
15729 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15731 cat >>confdefs.h
<<_ACEOF
15732 #define HAVE_STRUCT_STATFS_F_BFREE 1
15737 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15738 #ifdef HAVE_SYS_PARAM_H
15739 # include <sys/param.h>
15741 #ifdef HAVE_SYS_MOUNT_H
15742 # include <sys/mount.h>
15744 #ifdef HAVE_SYS_VFS_H
15745 # include <sys/vfs.h>
15747 #ifdef HAVE_SYS_STATFS_H
15748 # include <sys/statfs.h>
15751 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15753 cat >>confdefs.h
<<_ACEOF
15754 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15759 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15760 #ifdef HAVE_SYS_PARAM_H
15761 # include <sys/param.h>
15763 #ifdef HAVE_SYS_MOUNT_H
15764 # include <sys/mount.h>
15766 #ifdef HAVE_SYS_VFS_H
15767 # include <sys/vfs.h>
15769 #ifdef HAVE_SYS_STATFS_H
15770 # include <sys/statfs.h>
15773 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15775 cat >>confdefs.h
<<_ACEOF
15776 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15781 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15782 #ifdef HAVE_SYS_PARAM_H
15783 # include <sys/param.h>
15785 #ifdef HAVE_SYS_MOUNT_H
15786 # include <sys/mount.h>
15788 #ifdef HAVE_SYS_VFS_H
15789 # include <sys/vfs.h>
15791 #ifdef HAVE_SYS_STATFS_H
15792 # include <sys/statfs.h>
15795 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15797 cat >>confdefs.h
<<_ACEOF
15798 #define HAVE_STRUCT_STATFS_F_FFREE 1
15803 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15804 #ifdef HAVE_SYS_PARAM_H
15805 # include <sys/param.h>
15807 #ifdef HAVE_SYS_MOUNT_H
15808 # include <sys/mount.h>
15810 #ifdef HAVE_SYS_VFS_H
15811 # include <sys/vfs.h>
15813 #ifdef HAVE_SYS_STATFS_H
15814 # include <sys/statfs.h>
15817 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15819 cat >>confdefs.h
<<_ACEOF
15820 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15825 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15826 #ifdef HAVE_SYS_PARAM_H
15827 # include <sys/param.h>
15829 #ifdef HAVE_SYS_MOUNT_H
15830 # include <sys/mount.h>
15832 #ifdef HAVE_SYS_VFS_H
15833 # include <sys/vfs.h>
15835 #ifdef HAVE_SYS_STATFS_H
15836 # include <sys/statfs.h>
15839 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15841 cat >>confdefs.h
<<_ACEOF
15842 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15849 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15850 #include <sys/statvfs.h>
15853 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15855 cat >>confdefs.h
<<_ACEOF
15856 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15863 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15864 #include <dirent.h>
15867 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15869 cat >>confdefs.h
<<_ACEOF
15870 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15877 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15878 #ifdef HAVE_SYS_SOCKET_H
15879 # include <sys/socket.h>
15881 #ifdef HAVE_SYS_UN_H
15882 # include <sys/un.h>
15885 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15887 cat >>confdefs.h
<<_ACEOF
15888 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15893 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15894 #ifdef HAVE_SYS_SOCKET_H
15895 # include <sys/socket.h>
15897 #ifdef HAVE_SYS_UN_H
15898 # include <sys/un.h>
15901 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15903 cat >>confdefs.h
<<_ACEOF
15904 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15909 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15910 #ifdef HAVE_SYS_SOCKET_H
15911 # include <sys/socket.h>
15913 #ifdef HAVE_SYS_UN_H
15914 # include <sys/un.h>
15917 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15919 cat >>confdefs.h
<<_ACEOF
15920 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15927 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15928 #ifdef HAVE_SCSI_SG_H
15929 #include <scsi/sg.h>
15932 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15934 cat >>confdefs.h
<<_ACEOF
15935 #define HAVE_SCSIREQ_T_CMD 1
15940 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>
15941 #ifdef HAVE_SCSI_SG_H
15942 #include <scsi/sg.h>
15945 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15947 cat >>confdefs.h
<<_ACEOF
15948 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15955 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15957 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15959 cat >>confdefs.h
<<_ACEOF
15960 #define HAVE_SIGINFO_T_SI_FD 1
15967 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15968 #ifdef HAVE_SYS_MTIO_H
15969 #include <sys/mtio.h>
15972 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15974 cat >>confdefs.h
<<_ACEOF
15975 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15980 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#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_gstat" = xyes
; then :
15987 cat >>confdefs.h
<<_ACEOF
15988 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15993 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#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_blkno" = xyes
; then :
16000 cat >>confdefs.h
<<_ACEOF
16001 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16008 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16009 #include <getopt.h>
16012 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16014 cat >>confdefs.h
<<_ACEOF
16015 #define HAVE_STRUCT_OPTION_NAME 1
16022 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16023 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16025 cat >>confdefs.h
<<_ACEOF
16026 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16031 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16032 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16034 cat >>confdefs.h
<<_ACEOF
16035 #define HAVE_STRUCT_STAT_ST_MTIM 1
16040 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16041 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16043 cat >>confdefs.h
<<_ACEOF
16044 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16049 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16050 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16052 cat >>confdefs.h
<<_ACEOF
16053 #define HAVE_STRUCT_STAT_ST_CTIM 1
16058 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16059 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16061 cat >>confdefs.h
<<_ACEOF
16062 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16067 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16068 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16070 cat >>confdefs.h
<<_ACEOF
16071 #define HAVE_STRUCT_STAT_ST_ATIM 1
16076 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16077 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16079 cat >>confdefs.h
<<_ACEOF
16080 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16085 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16086 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16088 cat >>confdefs.h
<<_ACEOF
16089 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16094 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16095 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16097 cat >>confdefs.h
<<_ACEOF
16098 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16103 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16104 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16106 cat >>confdefs.h
<<_ACEOF
16107 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16112 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16113 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16115 cat >>confdefs.h
<<_ACEOF
16116 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16121 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16122 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16124 cat >>confdefs.h
<<_ACEOF
16125 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16132 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
16133 #include <sys/types.h>
16135 #ifdef HAVE_NETINET_IN_H
16136 #include <netinet/in.h>
16139 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16141 cat >>confdefs.h
<<_ACEOF
16142 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16149 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16150 #include <resolv.h>
16153 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16155 cat >>confdefs.h
<<_ACEOF
16156 #define HAVE_STRUCT___RES_STATE 1
16163 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
16164 #include <resolv.h>
16167 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16169 cat >>confdefs.h
<<_ACEOF
16170 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16177 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16178 #include <sys/types.h>
16180 #ifdef HAVE_NETINET_IN_H
16181 # include <netinet/in.h>
16183 #ifdef HAVE_ARPA_NAMESER_H
16184 # include <arpa/nameser.h>
16187 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16189 cat >>confdefs.h
<<_ACEOF
16190 #define HAVE_NS_MSG__MSG_PTR 1
16197 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16198 #include <sys/types.h>
16200 #ifdef HAVE_NETINET_IP_H
16201 #include <netinet/ip.h>
16203 #ifdef HAVE_NETINET_IP_ICMP_H
16204 #include <netinet/ip_icmp.h>
16206 #ifdef HAVE_NETINET_ICMP_VAR_H
16207 #include <netinet/icmp_var.h>
16210 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16212 cat >>confdefs.h
<<_ACEOF
16213 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16220 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16221 #include <sys/types.h>
16223 #ifdef HAVE_ALIAS_H
16226 #ifdef HAVE_SYS_SOCKET_H
16227 #include <sys/socket.h>
16229 #ifdef HAVE_SYS_SOCKETVAR_H
16230 #include <sys/socketvar.h>
16232 #ifdef HAVE_SYS_TIMEOUT_H
16233 #include <sys/timeout.h>
16235 #ifdef HAVE_NETINET_IN_H
16236 #include <netinet/in.h>
16238 #ifdef HAVE_NETINET_IN_SYSTM_H
16239 #include <netinet/in_systm.h>
16241 #ifdef HAVE_NETINET_IP_H
16242 #include <netinet/ip.h>
16244 #ifdef HAVE_NETINET_IP_VAR_H
16245 #include <netinet/ip_var.h>
16247 #ifdef HAVE_NETINET_IP_ICMP_H
16248 #include <netinet/ip_icmp.h>
16250 #ifdef HAVE_NETINET_ICMP_VAR_H
16251 #include <netinet/icmp_var.h>
16254 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16256 cat >>confdefs.h
<<_ACEOF
16257 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16264 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16265 #include <sys/types.h>
16267 #ifdef HAVE_SYS_SOCKETVAR_H
16268 #include <sys/socketvar.h>
16270 #ifdef HAVE_NETINET_IN_H
16271 #include <netinet/in.h>
16273 #ifdef HAVE_NETINET_IP_VAR_H
16274 #include <netinet/ip_var.h>
16277 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16279 cat >>confdefs.h
<<_ACEOF
16280 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16287 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
16288 #include <netinet/ip_var.h>
16291 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16293 cat >>confdefs.h
<<_ACEOF
16294 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16301 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16302 #include <sys/types.h>
16304 #ifdef HAVE_SYS_SOCKETVAR_H
16305 #include <sys/socketvar.h>
16307 #ifdef HAVE_NETINET_IN_H
16308 #include <netinet/in.h>
16310 #ifdef HAVE_NETINET_TCP_H
16311 #include <netinet/tcp.h>
16313 #ifdef HAVE_NETINET_TCP_VAR_H
16314 #include <netinet/tcp_var.h>
16317 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16319 cat >>confdefs.h
<<_ACEOF
16320 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16327 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
16328 #include <netinet/tcp_var.h>
16331 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16333 cat >>confdefs.h
<<_ACEOF
16334 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16341 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16342 #include <sys/types.h>
16344 #ifdef HAVE_NETINET_IN_H
16345 #include <netinet/in.h>
16347 #ifdef HAVE_NETINET_IP_VAR_H
16348 #include <netinet/ip_var.h>
16350 #ifdef HAVE_NETINET_UDP_H
16351 #include <netinet/udp.h>
16353 #ifdef HAVE_NETINET_UDP_VAR_H
16354 #include <netinet/udp_var.h>
16357 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16359 cat >>confdefs.h
<<_ACEOF
16360 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16367 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16368 #include <sys/types.h>
16370 #ifdef HAVE_NET_IF_H
16371 # include <net/if.h>
16374 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16376 cat >>confdefs.h
<<_ACEOF
16377 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16385 $as_echo_n "checking for timezone variable... " >&6; }
16386 if ${ac_cv_have_timezone+:} false
; then :
16387 $as_echo_n "(cached) " >&6
16389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16390 /* end confdefs.h. */
16400 if ac_fn_c_try_link
"$LINENO"; then :
16401 ac_cv_have_timezone
="yes"
16403 ac_cv_have_timezone
="no"
16405 rm -f core conftest.err conftest.
$ac_objext \
16406 conftest
$ac_exeext conftest.
$ac_ext
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16409 $as_echo "$ac_cv_have_timezone" >&6; }
16410 if test "$ac_cv_have_timezone" = "yes"
16413 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16417 $as_echo_n "checking for daylight variable... " >&6; }
16418 if ${ac_cv_have_daylight+:} false
; then :
16419 $as_echo_n "(cached) " >&6
16421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16422 /* end confdefs.h. */
16432 if ac_fn_c_try_link
"$LINENO"; then :
16433 ac_cv_have_daylight
="yes"
16435 ac_cv_have_daylight
="no"
16437 rm -f core conftest.err conftest.
$ac_objext \
16438 conftest
$ac_exeext conftest.
$ac_ext
16440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16441 $as_echo "$ac_cv_have_daylight" >&6; }
16442 if test "$ac_cv_have_daylight" = "yes"
16445 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16449 ac_save_LIBS
="$LIBS"
16451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16452 $as_echo_n "checking for isfinite... " >&6; }
16453 if ${ac_cv_have_isfinite+:} false
; then :
16454 $as_echo_n "(cached) " >&6
16456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16457 /* end confdefs.h. */
16458 #define _GNU_SOURCE
16463 float f = 0.0; return isfinite(f)
16468 if ac_fn_c_try_link
"$LINENO"; then :
16469 ac_cv_have_isfinite
="yes"
16471 ac_cv_have_isfinite
="no"
16473 rm -f core conftest.err conftest.
$ac_objext \
16474 conftest
$ac_exeext conftest.
$ac_ext
16476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16477 $as_echo "$ac_cv_have_isfinite" >&6; }
16478 if test "$ac_cv_have_isfinite" = "yes"
16481 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16486 $as_echo_n "checking for isinf... " >&6; }
16487 if ${ac_cv_have_isinf+:} false
; then :
16488 $as_echo_n "(cached) " >&6
16490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16491 /* end confdefs.h. */
16496 float f = 0.0; return isinf(f)
16501 if ac_fn_c_try_link
"$LINENO"; then :
16502 ac_cv_have_isinf
="yes"
16504 ac_cv_have_isinf
="no"
16506 rm -f core conftest.err conftest.
$ac_objext \
16507 conftest
$ac_exeext conftest.
$ac_ext
16509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16510 $as_echo "$ac_cv_have_isinf" >&6; }
16511 if test "$ac_cv_have_isinf" = "yes"
16514 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16519 $as_echo_n "checking for isnan... " >&6; }
16520 if ${ac_cv_have_isnan+:} false
; then :
16521 $as_echo_n "(cached) " >&6
16523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16524 /* end confdefs.h. */
16529 float f = 0.0; return isnan(f)
16534 if ac_fn_c_try_link
"$LINENO"; then :
16535 ac_cv_have_isnan
="yes"
16537 ac_cv_have_isnan
="no"
16539 rm -f core conftest.err conftest.
$ac_objext \
16540 conftest
$ac_exeext conftest.
$ac_ext
16542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16543 $as_echo "$ac_cv_have_isnan" >&6; }
16544 if test "$ac_cv_have_isnan" = "yes"
16547 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16574 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16575 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16576 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16577 cat >>confdefs.h
<<_ACEOF
16578 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16584 LIBS
="$ac_save_LIBS"
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16587 $as_echo_n "checking for __builtin_clz... " >&6; }
16588 if ${ac_cv_have___builtin_clz+:} false
; then :
16589 $as_echo_n "(cached) " >&6
16591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16592 /* end confdefs.h. */
16597 return __builtin_clz(1)
16602 if ac_fn_c_try_link
"$LINENO"; then :
16603 ac_cv_have___builtin_clz
="yes"
16605 ac_cv_have___builtin_clz
="no"
16607 rm -f core conftest.err conftest.
$ac_objext \
16608 conftest
$ac_exeext conftest.
$ac_ext
16610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16611 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16612 if test "$ac_cv_have___builtin_clz" = "yes"
16615 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16621 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16622 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16623 if ${ac_cv_cpp_def___i386__+:} false
; then :
16624 $as_echo_n "(cached) " >&6
16626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16627 /* end confdefs.h. */
16632 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16633 $EGREP "yes" >/dev
/null
2>&1; then :
16634 ac_cv_cpp_def___i386__
=yes
16636 ac_cv_cpp_def___i386__
=no
16641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16642 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16643 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16644 CFLAGS
="$CFLAGS -D__i386__"
16645 LINTFLAGS
="$LINTFLAGS -D__i386__"
16647 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16648 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16649 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16650 $as_echo_n "(cached) " >&6
16652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16653 /* end confdefs.h. */
16658 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16659 $EGREP "yes" >/dev
/null
2>&1; then :
16660 ac_cv_cpp_def___x86_64__
=yes
16662 ac_cv_cpp_def___x86_64__
=no
16667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16668 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16669 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16670 CFLAGS
="$CFLAGS -D__x86_64__"
16671 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16673 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16674 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16675 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16676 $as_echo_n "(cached) " >&6
16678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16679 /* end confdefs.h. */
16680 #ifndef __sparc64__
16684 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16685 $EGREP "yes" >/dev
/null
2>&1; then :
16686 ac_cv_cpp_def___sparc64__
=yes
16688 ac_cv_cpp_def___sparc64__
=no
16693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16694 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16695 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16696 CFLAGS
="$CFLAGS -D__sparc64__"
16697 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16699 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16700 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16701 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16702 $as_echo_n "(cached) " >&6
16704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16705 /* end confdefs.h. */
16710 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16711 $EGREP "yes" >/dev
/null
2>&1; then :
16712 ac_cv_cpp_def___sparc__
=yes
16714 ac_cv_cpp_def___sparc__
=no
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16720 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16721 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16722 CFLAGS
="$CFLAGS -D__sparc__"
16723 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16725 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16726 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16727 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16728 $as_echo_n "(cached) " >&6
16730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16731 /* end confdefs.h. */
16732 #ifndef __powerpc64__
16736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16737 $EGREP "yes" >/dev
/null
2>&1; then :
16738 ac_cv_cpp_def___powerpc64__
=yes
16740 ac_cv_cpp_def___powerpc64__
=no
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16746 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16747 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16748 CFLAGS
="$CFLAGS -D__powerpc64__"
16749 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16751 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16752 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16753 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16754 $as_echo_n "(cached) " >&6
16756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16757 /* end confdefs.h. */
16758 #ifndef __powerpc__
16762 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16763 $EGREP "yes" >/dev
/null
2>&1; then :
16764 ac_cv_cpp_def___powerpc__
=yes
16766 ac_cv_cpp_def___powerpc__
=no
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16772 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16773 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16774 CFLAGS
="$CFLAGS -D__powerpc__"
16775 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16777 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16778 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16779 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16780 $as_echo_n "(cached) " >&6
16782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16783 /* end confdefs.h. */
16784 #ifndef __aarch64__
16788 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16789 $EGREP "yes" >/dev
/null
2>&1; then :
16790 ac_cv_cpp_def___aarch64__
=yes
16792 ac_cv_cpp_def___aarch64__
=no
16797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16798 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16799 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16800 CFLAGS
="$CFLAGS -D__aarch64__"
16801 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16803 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16804 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16805 if ${ac_cv_cpp_def___arm__+:} false
; then :
16806 $as_echo_n "(cached) " >&6
16808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16809 /* end confdefs.h. */
16814 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16815 $EGREP "yes" >/dev
/null
2>&1; then :
16816 ac_cv_cpp_def___arm__
=yes
16818 ac_cv_cpp_def___arm__
=no
16823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16824 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16825 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16826 CFLAGS
="$CFLAGS -D__arm__"
16827 LINTFLAGS
="$LINTFLAGS -D__arm__"
16831 case $host_vendor in
16832 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16833 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16834 if ${ac_cv_cpp_def___sun__+:} false
; then :
16835 $as_echo_n "(cached) " >&6
16837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16838 /* end confdefs.h. */
16843 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16844 $EGREP "yes" >/dev
/null
2>&1; then :
16845 ac_cv_cpp_def___sun__
=yes
16847 ac_cv_cpp_def___sun__
=no
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16853 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16854 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16855 CFLAGS
="$CFLAGS -D__sun__"
16856 LINTFLAGS
="$LINTFLAGS -D__sun__"
16864 ac_config_commands
="$ac_config_commands include/stamp-h"
16866 $as_echo_n "creating Makefile rules..." >&6
16868 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16869 SOCKET_LIBS = $SOCKET_LIBS
16870 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16871 IOKIT_LIBS = $IOKIT_LIBS
16872 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16873 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16874 CORESERVICES_LIBS = $CORESERVICES_LIBS
16875 APPKIT_LIBS = $APPKIT_LIBS
16876 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16877 SECURITY_LIBS = $SECURITY_LIBS
16878 COREAUDIO_LIBS = $COREAUDIO_LIBS
16879 OPENAL_LIBS = $OPENAL_LIBS
16880 OPENCL_LIBS = $OPENCL_LIBS
16881 QUICKTIME_LIBS = $QUICKTIME_LIBS
16882 CARBON_LIBS = $CARBON_LIBS
16883 PTHREAD_LIBS = $PTHREAD_LIBS
16884 X_CFLAGS = $X_CFLAGS
16885 X_PRE_LIBS = $X_PRE_LIBS
16887 X_EXTRA_LIBS = $X_EXTRA_LIBS
16888 XML2_CFLAGS = $XML2_CFLAGS
16889 XML2_LIBS = $XML2_LIBS
16890 XSLT_CFLAGS = $XSLT_CFLAGS
16891 XSLT_LIBS = $XSLT_LIBS
16892 DBUS_CFLAGS = $DBUS_CFLAGS
16893 DBUS_LIBS = $DBUS_LIBS
16894 HAL_CFLAGS = $HAL_CFLAGS
16895 HAL_LIBS = $HAL_LIBS
16896 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16897 GNUTLS_LIBS = $GNUTLS_LIBS
16898 SANE_CFLAGS = $SANE_CFLAGS
16899 SANE_LIBS = $SANE_LIBS
16900 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16901 GPHOTO2_LIBS = $GPHOTO2_LIBS
16902 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16903 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16904 RESOLV_LIBS = $RESOLV_LIBS
16905 LCMS2_CFLAGS = $LCMS2_CFLAGS
16906 LCMS2_LIBS = $LCMS2_LIBS
16907 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16908 FREETYPE_LIBS = $FREETYPE_LIBS
16910 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16911 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16912 GSTREAMER_LIBS = $GSTREAMER_LIBS
16913 ALSA_LIBS = $ALSA_LIBS
16914 OSS4_CFLAGS = $OSS4_CFLAGS
16915 CAPI20_CFLAGS = $CAPI20_CFLAGS
16916 CAPI20_LIBS = $CAPI20_LIBS
16917 CUPS_CFLAGS = $CUPS_CFLAGS
16918 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16919 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16920 JPEG_CFLAGS = $JPEG_CFLAGS
16921 JPEG_LIBS = $JPEG_LIBS
16922 PNG_CFLAGS = $PNG_CFLAGS
16923 PNG_LIBS = $PNG_LIBS
16924 TIFF_CFLAGS = $TIFF_CFLAGS
16925 TIFF_LIBS = $TIFF_LIBS
16926 MPG123_CFLAGS = $MPG123_CFLAGS
16927 MPG123_LIBS = $MPG123_LIBS
16928 KSTAT_LIBS = $KSTAT_LIBS
16929 PROCSTAT_LIBS = $PROCSTAT_LIBS
16931 POLL_LIBS = $POLL_LIBS
16933 LDAP_LIBS = $LDAP_LIBS
16938 wine_fn_append_rule
"
16939 # Rules automatically generated by configure
16941 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16946 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16947 @./config.status Make.tmp Makefile"
16949 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16950 .gitignore: config.status
16951 @./config.status .gitignore"
16953 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16954 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16956 if test "x$enable_fonts" != xno
; then
16957 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16958 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16959 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16960 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16961 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16963 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16964 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16965 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16966 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16967 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16968 wine_fn_config_symlink wine
16969 if test "x$enable_win64" != xno
; then
16970 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16971 wine_fn_config_symlink wine64
16974 wine_fn_config_dll acledit enable_acledit
16975 wine_fn_config_dll aclui enable_aclui implib
16976 wine_fn_config_dll activeds enable_activeds implib
16977 wine_fn_config_dll actxprxy enable_actxprxy clean
16978 wine_fn_config_lib adsiid
16979 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16980 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16981 wine_fn_config_dll advpack enable_advpack implib
16982 wine_fn_config_test dlls
/advpack
/tests advpack_test
16983 wine_fn_config_dll amstream enable_amstream clean
16984 wine_fn_config_test dlls
/amstream
/tests amstream_test
16985 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16986 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16987 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16988 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16989 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16990 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16991 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16992 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16993 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16994 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16995 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16996 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16997 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16998 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16999 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17000 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17001 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17002 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17003 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17004 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17005 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17006 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17007 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17008 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17009 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17010 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17011 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17012 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17013 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17014 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17015 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17016 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17017 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17018 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17019 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17020 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17021 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17022 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17023 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17024 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17025 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17026 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17027 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17028 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17029 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17030 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17031 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17032 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17033 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17034 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17035 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17036 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17037 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17038 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17039 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17040 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17041 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17042 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17043 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17044 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17045 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17046 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17047 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17048 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17049 wine_fn_config_dll apphelp enable_apphelp
17050 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17051 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17052 wine_fn_config_dll atl enable_atl clean
,implib
17053 wine_fn_config_test dlls
/atl
/tests atl_test
17054 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17055 wine_fn_config_test dlls
/atl100
/tests atl100_test
17056 wine_fn_config_dll atl110 enable_atl110 clean
17057 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17058 wine_fn_config_test dlls
/atl80
/tests atl80_test
17059 wine_fn_config_dll atl90 enable_atl90 clean
17060 wine_fn_config_dll authz enable_authz
17061 wine_fn_config_dll avicap32 enable_avicap32 implib
17062 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
17063 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17064 wine_fn_config_dll avifile.dll16 enable_win16
17065 wine_fn_config_dll avrt enable_avrt implib
17066 wine_fn_config_dll bcrypt enable_bcrypt
17067 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17068 wine_fn_config_dll browseui enable_browseui clean
,po
17069 wine_fn_config_test dlls
/browseui
/tests browseui_test
17070 wine_fn_config_dll cabinet enable_cabinet implib
17071 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17072 wine_fn_config_dll capi2032 enable_capi2032 implib
17073 wine_fn_config_dll cards enable_cards implib
17074 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17075 wine_fn_config_dll clusapi enable_clusapi implib
17076 wine_fn_config_dll combase enable_combase
17077 wine_fn_config_test dlls
/combase
/tests combase_test
17078 wine_fn_config_dll comcat enable_comcat
17079 wine_fn_config_test dlls
/comcat
/tests comcat_test
17080 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
17081 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17082 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
17083 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17084 wine_fn_config_dll
comm.drv16 enable_win16
17085 wine_fn_config_dll commdlg.dll16 enable_win16
17086 wine_fn_config_dll compobj.dll16 enable_win16
17087 wine_fn_config_dll compstui enable_compstui implib
17088 wine_fn_config_dll comsvcs enable_comsvcs implib
17089 wine_fn_config_dll connect enable_connect
17090 wine_fn_config_dll credui enable_credui implib
,po
17091 wine_fn_config_test dlls
/credui
/tests credui_test
17092 wine_fn_config_dll crtdll enable_crtdll implib
17093 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
17094 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17095 wine_fn_config_dll cryptdlg enable_cryptdlg po
17096 wine_fn_config_dll cryptdll enable_cryptdll implib
17097 wine_fn_config_dll cryptext enable_cryptext
17098 wine_fn_config_dll cryptnet enable_cryptnet implib
17099 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17100 wine_fn_config_dll cryptui enable_cryptui implib
,po
17101 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17102 wine_fn_config_dll ctapi32 enable_ctapi32
17103 wine_fn_config_dll ctl3d.dll16 enable_win16
17104 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17105 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17106 wine_fn_config_dll d2d1 enable_d2d1 implib
17107 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17108 wine_fn_config_dll d3d10 enable_d3d10 implib
17109 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17110 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17111 wine_fn_config_dll d3d10core enable_d3d10core implib
17112 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17113 wine_fn_config_dll d3d11 enable_d3d11
17114 wine_fn_config_dll d3d8 enable_d3d8 implib
17115 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17116 wine_fn_config_dll d3d9 enable_d3d9 implib
17117 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17118 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17119 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17120 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17121 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17122 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17123 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17124 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17125 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17126 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17127 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17128 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17129 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17130 wine_fn_config_dll d3dim enable_d3dim implib
17131 wine_fn_config_dll d3drm enable_d3drm implib
17132 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17133 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17134 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17135 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17136 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17137 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17138 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17139 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17140 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17141 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17142 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17143 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17144 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17145 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17146 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17147 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17148 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17149 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17150 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17151 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17152 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17153 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17154 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17155 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17156 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17157 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17158 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17159 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17160 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17161 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17162 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17163 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17164 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17165 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17166 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17167 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17168 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17169 wine_fn_config_dll dbgeng enable_dbgeng implib
17170 wine_fn_config_dll dbghelp enable_dbghelp implib
17171 wine_fn_config_dll dciman32 enable_dciman32 implib
17172 wine_fn_config_dll ddeml.dll16 enable_win16
17173 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17174 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17175 wine_fn_config_dll ddrawex enable_ddrawex clean
17176 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17177 wine_fn_config_dll devenum enable_devenum clean
,po
17178 wine_fn_config_test dlls
/devenum
/tests devenum_test
17179 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17180 wine_fn_config_dll difxapi enable_difxapi
17181 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17182 wine_fn_config_test dlls
/dinput
/tests dinput_test
17183 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17184 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17185 wine_fn_config_dll dispdib.dll16 enable_win16
17186 wine_fn_config_dll dispex enable_dispex clean
17187 wine_fn_config_test dlls
/dispex
/tests dispex_test
17188 wine_fn_config_dll display.drv16 enable_win16
17189 wine_fn_config_dll dmband enable_dmband clean
17190 wine_fn_config_test dlls
/dmband
/tests dmband_test
17191 wine_fn_config_dll dmcompos enable_dmcompos clean
17192 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17193 wine_fn_config_dll dmime enable_dmime clean
17194 wine_fn_config_test dlls
/dmime
/tests dmime_test
17195 wine_fn_config_dll dmloader enable_dmloader clean
17196 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17197 wine_fn_config_dll dmscript enable_dmscript clean
17198 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17199 wine_fn_config_dll dmstyle enable_dmstyle clean
17200 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17201 wine_fn_config_dll dmsynth enable_dmsynth clean
17202 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17203 wine_fn_config_dll dmusic enable_dmusic clean
17204 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17205 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17206 wine_fn_config_dll dnsapi enable_dnsapi implib
17207 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17208 wine_fn_config_dll dplay enable_dplay implib
17209 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17210 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17211 wine_fn_config_dll dpnaddr enable_dpnaddr
17212 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17213 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17214 wine_fn_config_dll dpnhpast enable_dpnhpast
17215 wine_fn_config_dll dpnlobby enable_dpnlobby
17216 wine_fn_config_dll dpvoice enable_dpvoice clean
17217 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17218 wine_fn_config_dll dpwsockx enable_dpwsockx
17219 wine_fn_config_dll drmclien enable_drmclien
17220 wine_fn_config_dll dsound enable_dsound clean
,implib
17221 wine_fn_config_test dlls
/dsound
/tests dsound_test
17222 wine_fn_config_dll dssenh enable_dssenh
17223 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17224 wine_fn_config_dll dswave enable_dswave clean
17225 wine_fn_config_test dlls
/dswave
/tests dswave_test
17226 wine_fn_config_dll dwmapi enable_dwmapi implib
17227 wine_fn_config_dll dwrite enable_dwrite implib
17228 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17229 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17230 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17231 wine_fn_config_lib dxerr8
17232 wine_fn_config_lib dxerr9
17233 wine_fn_config_dll dxgi enable_dxgi implib
17234 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17235 wine_fn_config_lib dxguid
17236 wine_fn_config_dll dxva2 enable_dxva2
17237 wine_fn_config_dll evr enable_evr
17238 wine_fn_config_dll explorerframe enable_explorerframe clean
17239 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17240 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17241 wine_fn_config_dll faultrep enable_faultrep implib
17242 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17243 wine_fn_config_dll fltlib enable_fltlib
17244 wine_fn_config_dll fntcache enable_fntcache
17245 wine_fn_config_dll fontsub enable_fontsub
17246 wine_fn_config_dll fusion enable_fusion
17247 wine_fn_config_test dlls
/fusion
/tests fusion_test
17248 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17249 wine_fn_config_dll gameux enable_gameux clean
17250 wine_fn_config_test dlls
/gameux
/tests gameux_test
17251 wine_fn_config_dll gdi.exe16 enable_win16
17252 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17253 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17254 wine_fn_config_dll gdiplus enable_gdiplus implib
17255 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17256 wine_fn_config_dll glu32 enable_glu32 implib
17257 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17258 wine_fn_config_dll gpkcsp enable_gpkcsp
17259 wine_fn_config_dll hal enable_hal
17260 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17261 wine_fn_config_dll hid enable_hid implib
17262 wine_fn_config_dll hlink enable_hlink clean
,implib
17263 wine_fn_config_test dlls
/hlink
/tests hlink_test
17264 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17265 wine_fn_config_dll httpapi enable_httpapi
17266 wine_fn_config_dll iccvid enable_iccvid po
17267 wine_fn_config_dll icmp enable_icmp
17268 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17269 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17270 wine_fn_config_dll ifsmgr.vxd enable_win16
17271 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17272 wine_fn_config_dll imagehlp enable_imagehlp implib
17273 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17274 wine_fn_config_dll imm.dll16 enable_win16
17275 wine_fn_config_dll imm32 enable_imm32 implib
17276 wine_fn_config_test dlls
/imm32
/tests imm32_test
17277 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17278 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17279 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17280 wine_fn_config_dll inetmib1 enable_inetmib1
17281 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17282 wine_fn_config_dll infosoft enable_infosoft clean
17283 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17284 wine_fn_config_dll initpki enable_initpki
17285 wine_fn_config_dll inkobj enable_inkobj
17286 wine_fn_config_dll inseng enable_inseng clean
17287 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17288 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17289 wine_fn_config_dll itircl enable_itircl
17290 wine_fn_config_dll itss enable_itss clean
17291 wine_fn_config_test dlls
/itss
/tests itss_test
17292 wine_fn_config_dll joy.cpl enable_joy_cpl po
17293 wine_fn_config_dll jscript enable_jscript clean
,po
17294 wine_fn_config_test dlls
/jscript
/tests jscript_test
17295 wine_fn_config_dll jsproxy enable_jsproxy implib
17296 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17297 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17298 wine_fn_config_dll keyboard.drv16 enable_win16
17299 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17300 wine_fn_config_dll ksuser enable_ksuser
17301 wine_fn_config_dll ktmw32 enable_ktmw32
17302 wine_fn_config_dll loadperf enable_loadperf implib
17303 wine_fn_config_dll localspl enable_localspl po
17304 wine_fn_config_test dlls
/localspl
/tests localspl_test
17305 wine_fn_config_dll localui enable_localui po
17306 wine_fn_config_test dlls
/localui
/tests localui_test
17307 wine_fn_config_dll lz32 enable_lz32 implib
17308 wine_fn_config_test dlls
/lz32
/tests lz32_test
17309 wine_fn_config_dll lzexpand.dll16 enable_win16
17310 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17311 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17312 wine_fn_config_dll mapistub enable_mapistub
17313 wine_fn_config_dll mciavi32 enable_mciavi32
17314 wine_fn_config_dll mcicda enable_mcicda
17315 wine_fn_config_dll mciqtz32 enable_mciqtz32
17316 wine_fn_config_dll mciseq enable_mciseq
17317 wine_fn_config_dll mciwave enable_mciwave
17318 wine_fn_config_dll mf enable_mf
17319 wine_fn_config_dll mfplat enable_mfplat
17320 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17321 wine_fn_config_dll mgmtapi enable_mgmtapi
17322 wine_fn_config_dll midimap enable_midimap
17323 wine_fn_config_dll mlang enable_mlang clean
,implib
17324 wine_fn_config_test dlls
/mlang
/tests mlang_test
17325 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17326 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17327 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17328 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17329 wine_fn_config_dll mmdevldr.vxd enable_win16
17330 wine_fn_config_dll mmsystem.dll16 enable_win16
17331 wine_fn_config_dll monodebg.vxd enable_win16
17332 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17333 wine_fn_config_dll mouse.drv16 enable_win16
17334 wine_fn_config_dll mpr enable_mpr implib
,po
17335 wine_fn_config_test dlls
/mpr
/tests mpr_test
17336 wine_fn_config_dll mprapi enable_mprapi implib
17337 wine_fn_config_dll msacm.dll16 enable_win16
17338 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17339 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17340 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17341 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17342 wine_fn_config_dll msasn1 enable_msasn1 implib
17343 wine_fn_config_dll mscat32 enable_mscat32
17344 wine_fn_config_dll mscms enable_mscms implib
17345 wine_fn_config_test dlls
/mscms
/tests mscms_test
17346 wine_fn_config_dll mscoree enable_mscoree clean
17347 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17348 wine_fn_config_dll msctf enable_msctf clean
17349 wine_fn_config_test dlls
/msctf
/tests msctf_test
17350 wine_fn_config_dll msdaps enable_msdaps clean
17351 wine_fn_config_dll msdmo enable_msdmo implib
17352 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17353 wine_fn_config_dll msftedit enable_msftedit
17354 wine_fn_config_dll msg711.acm enable_msg711_acm
17355 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17356 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17357 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17358 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17359 wine_fn_config_dll msi enable_msi clean
,implib
,po
17360 wine_fn_config_test dlls
/msi
/tests msi_test
17361 wine_fn_config_dll msident enable_msident clean
17362 wine_fn_config_dll msimg32 enable_msimg32 implib
17363 wine_fn_config_dll msimsg enable_msimsg
17364 wine_fn_config_dll msimtf enable_msimtf clean
17365 wine_fn_config_dll msisip enable_msisip
17366 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17367 wine_fn_config_dll msls31 enable_msls31
17368 wine_fn_config_dll msnet32 enable_msnet32
17369 wine_fn_config_dll mspatcha enable_mspatcha
17370 wine_fn_config_dll msrle32 enable_msrle32 po
17371 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17372 wine_fn_config_dll mssign32 enable_mssign32
17373 wine_fn_config_dll mssip32 enable_mssip32
17374 wine_fn_config_dll mstask enable_mstask clean
17375 wine_fn_config_test dlls
/mstask
/tests mstask_test
17376 wine_fn_config_dll msvcirt enable_msvcirt
17377 wine_fn_config_dll msvcm80 enable_msvcm80
17378 wine_fn_config_dll msvcm90 enable_msvcm90
17379 wine_fn_config_dll msvcp100 enable_msvcp100
17380 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17381 wine_fn_config_dll msvcp110 enable_msvcp110
17382 wine_fn_config_dll msvcp120 enable_msvcp120
17383 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
17384 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17385 wine_fn_config_dll msvcp60 enable_msvcp60
17386 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17387 wine_fn_config_dll msvcp70 enable_msvcp70
17388 wine_fn_config_dll msvcp71 enable_msvcp71
17389 wine_fn_config_dll msvcp80 enable_msvcp80
17390 wine_fn_config_dll msvcp90 enable_msvcp90
17391 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17392 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17393 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17394 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17395 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17396 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17397 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17398 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17399 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17400 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17401 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17402 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17403 wine_fn_config_dll msvcrt enable_msvcrt implib
17404 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17405 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17406 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17407 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17408 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17409 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17410 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17411 wine_fn_config_dll msvidc32 enable_msvidc32 po
17412 wine_fn_config_dll msvideo.dll16 enable_win16
17413 wine_fn_config_dll mswsock enable_mswsock implib
17414 wine_fn_config_dll msxml enable_msxml clean
17415 wine_fn_config_dll msxml2 enable_msxml2 clean
17416 wine_fn_config_dll msxml3 enable_msxml3 clean
17417 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17418 wine_fn_config_dll msxml4 enable_msxml4 clean
17419 wine_fn_config_dll msxml6 enable_msxml6 clean
17420 wine_fn_config_dll nddeapi enable_nddeapi implib
17421 wine_fn_config_dll ndis.sys enable_ndis_sys
17422 wine_fn_config_dll netapi32 enable_netapi32 implib
17423 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17424 wine_fn_config_dll netcfgx enable_netcfgx clean
17425 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17426 wine_fn_config_dll netprofm enable_netprofm clean
17427 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17428 wine_fn_config_dll newdev enable_newdev implib
17429 wine_fn_config_dll normaliz enable_normaliz implib
17430 wine_fn_config_dll npmshtml enable_npmshtml
17431 wine_fn_config_dll npptools enable_npptools
17432 wine_fn_config_dll ntdll enable_ntdll implib
17433 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17434 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17435 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17436 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17437 wine_fn_config_dll ntprint enable_ntprint
17438 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17439 wine_fn_config_dll objsel enable_objsel clean
17440 wine_fn_config_dll odbc32 enable_odbc32 implib
17441 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17442 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17443 wine_fn_config_dll odbccu32 enable_odbccu32
17444 wine_fn_config_dll ole2.dll16 enable_win16
17445 wine_fn_config_dll ole2conv.dll16 enable_win16
17446 wine_fn_config_dll ole2disp.dll16 enable_win16
17447 wine_fn_config_dll ole2nls.dll16 enable_win16
17448 wine_fn_config_dll ole2prox.dll16 enable_win16
17449 wine_fn_config_dll ole2thk.dll16 enable_win16
17450 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17451 wine_fn_config_test dlls
/ole32
/tests ole32_test
17452 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17453 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17454 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17455 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17456 wine_fn_config_dll olecli.dll16 enable_win16
17457 wine_fn_config_dll olecli32 enable_olecli32 implib
17458 wine_fn_config_dll oledb32 enable_oledb32 clean
17459 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17460 wine_fn_config_dll oledlg enable_oledlg implib
,po
17461 wine_fn_config_dll olepro32 enable_olepro32 implib
17462 wine_fn_config_dll olesvr.dll16 enable_win16
17463 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17464 wine_fn_config_dll olethk32 enable_olethk32
17465 wine_fn_config_dll openal32 enable_openal32
17466 wine_fn_config_dll opencl enable_opencl
17467 wine_fn_config_dll opengl32 enable_opengl32 implib
17468 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17469 wine_fn_config_dll packager enable_packager clean
17470 wine_fn_config_test dlls
/packager
/tests packager_test
17471 wine_fn_config_dll pdh enable_pdh implib
17472 wine_fn_config_test dlls
/pdh
/tests pdh_test
17473 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17474 wine_fn_config_dll pidgen enable_pidgen
17475 wine_fn_config_dll powrprof enable_powrprof implib
17476 wine_fn_config_dll printui enable_printui
17477 wine_fn_config_dll prntvpt enable_prntvpt
17478 wine_fn_config_dll propsys enable_propsys clean
,implib
17479 wine_fn_config_test dlls
/propsys
/tests propsys_test
17480 wine_fn_config_dll psapi enable_psapi implib
17481 wine_fn_config_test dlls
/psapi
/tests psapi_test
17482 wine_fn_config_dll pstorec enable_pstorec clean
17483 wine_fn_config_dll qcap enable_qcap
17484 wine_fn_config_test dlls
/qcap
/tests qcap_test
17485 wine_fn_config_dll qedit enable_qedit clean
17486 wine_fn_config_test dlls
/qedit
/tests qedit_test
17487 wine_fn_config_dll qmgr enable_qmgr clean
17488 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17489 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17490 wine_fn_config_dll quartz enable_quartz clean
,implib
17491 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17492 wine_fn_config_dll query enable_query
17493 wine_fn_config_dll rasapi16.dll16 enable_win16
17494 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17495 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17496 wine_fn_config_dll rasdlg enable_rasdlg implib
17497 wine_fn_config_dll regapi enable_regapi
17498 wine_fn_config_dll resutils enable_resutils implib
17499 wine_fn_config_dll riched20 enable_riched20 implib
17500 wine_fn_config_test dlls
/riched20
/tests riched20_test
17501 wine_fn_config_dll riched32 enable_riched32
17502 wine_fn_config_test dlls
/riched32
/tests riched32_test
17503 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17504 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17505 wine_fn_config_dll rsabase enable_rsabase
17506 wine_fn_config_dll rsaenh enable_rsaenh implib
17507 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17508 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17509 wine_fn_config_dll rtutils enable_rtutils implib
17510 wine_fn_config_dll samlib enable_samlib
17511 wine_fn_config_dll sane.ds enable_sane_ds po
17512 wine_fn_config_dll scarddlg enable_scarddlg
17513 wine_fn_config_dll sccbase enable_sccbase
17514 wine_fn_config_dll schannel enable_schannel
17515 wine_fn_config_test dlls
/schannel
/tests schannel_test
17516 wine_fn_config_dll schedsvc enable_schedsvc clean
17517 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17518 wine_fn_config_dll scrrun enable_scrrun clean
17519 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17520 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17521 wine_fn_config_dll secur32 enable_secur32 implib
17522 wine_fn_config_test dlls
/secur32
/tests secur32_test
17523 wine_fn_config_dll security enable_security
17524 wine_fn_config_dll sensapi enable_sensapi implib
17525 wine_fn_config_dll serialui enable_serialui implib
,po
17526 wine_fn_config_test dlls
/serialui
/tests serialui_test
17527 wine_fn_config_dll setupapi enable_setupapi implib
,po
17528 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17529 wine_fn_config_dll setupx.dll16 enable_win16
17530 wine_fn_config_dll sfc enable_sfc implib
17531 wine_fn_config_dll sfc_os enable_sfc_os implib
17532 wine_fn_config_dll shdoclc enable_shdoclc po
17533 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17534 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17535 wine_fn_config_dll shell.dll16 enable_win16
17536 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17537 wine_fn_config_test dlls
/shell32
/tests shell32_test
17538 wine_fn_config_dll shfolder enable_shfolder implib
17539 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17540 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17541 wine_fn_config_dll slbcsp enable_slbcsp
17542 wine_fn_config_dll slc enable_slc implib
17543 wine_fn_config_test dlls
/slc
/tests slc_test
17544 wine_fn_config_dll snmpapi enable_snmpapi implib
17545 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17546 wine_fn_config_dll softpub enable_softpub
17547 wine_fn_config_dll sound.drv16 enable_win16
17548 wine_fn_config_dll spoolss enable_spoolss implib
17549 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17550 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17551 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17552 wine_fn_config_dll sti enable_sti clean
,implib
17553 wine_fn_config_test dlls
/sti
/tests sti_test
17554 wine_fn_config_dll storage.dll16 enable_win16
17555 wine_fn_config_dll stress.dll16 enable_win16
17556 wine_fn_config_lib strmbase
17557 wine_fn_config_lib strmiids
17558 wine_fn_config_dll svrapi enable_svrapi
17559 wine_fn_config_dll sxs enable_sxs implib
17560 wine_fn_config_test dlls
/sxs
/tests sxs_test
17561 wine_fn_config_dll system.drv16 enable_win16
17562 wine_fn_config_dll t2embed enable_t2embed
17563 wine_fn_config_dll tapi32 enable_tapi32 implib
17564 wine_fn_config_dll taskschd enable_taskschd clean
17565 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17566 wine_fn_config_dll toolhelp.dll16 enable_win16
17567 wine_fn_config_dll traffic enable_traffic
17568 wine_fn_config_dll twain.dll16 enable_win16
17569 wine_fn_config_dll twain_32 enable_twain_32
17570 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17571 wine_fn_config_dll typelib.dll16 enable_win16
17572 wine_fn_config_dll unicows enable_unicows implib
17573 wine_fn_config_dll updspapi enable_updspapi
17574 wine_fn_config_dll url enable_url implib
17575 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17576 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17577 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17578 wine_fn_config_dll user.exe16 enable_win16
17579 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17580 wine_fn_config_test dlls
/user32
/tests user32_test
17581 wine_fn_config_dll userenv enable_userenv implib
17582 wine_fn_config_test dlls
/userenv
/tests userenv_test
17583 wine_fn_config_dll usp10 enable_usp10 implib
17584 wine_fn_config_test dlls
/usp10
/tests usp10_test
17585 wine_fn_config_lib uuid
17586 wine_fn_config_dll uxtheme enable_uxtheme implib
17587 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17588 wine_fn_config_dll vbscript enable_vbscript clean
17589 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17590 wine_fn_config_dll vcomp enable_vcomp
17591 wine_fn_config_dll vcomp100 enable_vcomp100
17592 wine_fn_config_dll vcomp90 enable_vcomp90
17593 wine_fn_config_dll vdhcp.vxd enable_win16
17594 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17595 wine_fn_config_dll ver.dll16 enable_win16
17596 wine_fn_config_dll version enable_version implib
17597 wine_fn_config_test dlls
/version
/tests version_test
17598 wine_fn_config_dll vmm.vxd enable_win16
17599 wine_fn_config_dll vnbt.vxd enable_win16
17600 wine_fn_config_dll vnetbios.vxd enable_win16
17601 wine_fn_config_dll vssapi enable_vssapi
17602 wine_fn_config_dll vtdapi.vxd enable_win16
17603 wine_fn_config_dll vwin32.vxd enable_win16
17604 wine_fn_config_dll w32skrnl enable_win16
17605 wine_fn_config_dll w32sys.dll16 enable_win16
17606 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17607 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
17608 wine_fn_config_dll wbemprox enable_wbemprox clean
17609 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17610 wine_fn_config_dll webservices enable_webservices implib
17611 wine_fn_config_dll wer enable_wer implib
17612 wine_fn_config_test dlls
/wer
/tests wer_test
17613 wine_fn_config_dll wevtapi enable_wevtapi
17614 wine_fn_config_dll wiaservc enable_wiaservc clean
17615 wine_fn_config_dll win32s16.dll16 enable_win16
17616 wine_fn_config_dll win87em.dll16 enable_win16
17617 wine_fn_config_dll winaspi.dll16 enable_win16
17618 wine_fn_config_dll windebug.dll16 enable_win16
17619 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17620 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17621 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17622 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17623 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17624 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17625 wine_fn_config_lib winecrt0
17626 wine_fn_config_dll wined3d enable_wined3d implib
17627 wine_fn_config_dll winegstreamer enable_winegstreamer
17628 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17629 wine_fn_config_dll winemac.drv enable_winemac_drv
17630 wine_fn_config_dll winemapi enable_winemapi
17631 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17632 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17633 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17634 wine_fn_config_dll wineps16.drv16 enable_win16
17635 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17636 wine_fn_config_dll winex11.drv enable_winex11_drv
17637 wine_fn_config_dll wing.dll16 enable_win16
17638 wine_fn_config_dll wing32 enable_wing32
17639 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17640 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17641 wine_fn_config_dll wininet enable_wininet implib
,po
17642 wine_fn_config_test dlls
/wininet
/tests wininet_test
17643 wine_fn_config_dll winmm enable_winmm implib
,po
17644 wine_fn_config_test dlls
/winmm
/tests winmm_test
17645 wine_fn_config_dll winnls.dll16 enable_win16
17646 wine_fn_config_dll winnls32 enable_winnls32 implib
17647 wine_fn_config_dll winscard enable_winscard implib
17648 wine_fn_config_dll winsock.dll16 enable_win16
17649 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17650 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17651 wine_fn_config_dll winsta enable_winsta
17652 wine_fn_config_dll wintab.dll16 enable_win16
17653 wine_fn_config_dll wintab32 enable_wintab32 implib
17654 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17655 wine_fn_config_dll wintrust enable_wintrust implib
17656 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17657 wine_fn_config_dll wlanapi enable_wlanapi
17658 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17659 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17660 wine_fn_config_dll wmi enable_wmi
17661 wine_fn_config_dll wmiutils enable_wmiutils clean
17662 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17663 wine_fn_config_dll wmp enable_wmp clean
17664 wine_fn_config_test dlls
/wmp
/tests wmp_test
17665 wine_fn_config_dll wmvcore enable_wmvcore
17666 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17667 wine_fn_config_dll wow32 enable_win16 implib
17668 wine_fn_config_dll wpcap enable_wpcap
17669 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17670 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17671 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17672 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17673 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17674 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17675 wine_fn_config_dll wsock32 enable_wsock32 implib
17676 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17677 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17678 wine_fn_config_dll wuapi enable_wuapi clean
17679 wine_fn_config_dll wuaueng enable_wuaueng
17680 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
17681 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17682 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17683 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
17684 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
17685 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
17686 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17687 wine_fn_config_dll xinput1_1 enable_xinput1_1
17688 wine_fn_config_dll xinput1_2 enable_xinput1_2
17689 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17690 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17691 wine_fn_config_dll xinput1_4 enable_xinput1_4
17692 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17693 wine_fn_config_dll xmllite enable_xmllite implib
17694 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17695 wine_fn_config_dll xolehlp enable_xolehlp
17696 wine_fn_config_dll xpsprint enable_xpsprint
17697 wine_fn_config_dll xpssvcs enable_xpssvcs
17698 wine_fn_config_makefile documentation enable_documentation clean
17699 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17700 wine_fn_config_makefile include enable_include clean
,install-dev
17701 wine_fn_config_makefile libs
/port enable_libs_port
17702 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17703 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17704 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17705 wine_fn_config_program arp enable_arp
install
17706 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17707 wine_fn_config_program attrib enable_attrib
install,po
17708 wine_fn_config_program cabarc enable_cabarc
install
17709 wine_fn_config_program cacls enable_cacls
install
17710 wine_fn_config_program
clock enable_clock
install,po
17711 wine_fn_config_program cmd enable_cmd
install,po
17712 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17713 wine_fn_config_program conhost enable_conhost
install
17714 wine_fn_config_program control enable_control
install
17715 wine_fn_config_program cscript enable_cscript clean
,install
17716 wine_fn_config_program dpnsvr enable_dpnsvr
install
17717 wine_fn_config_program dxdiag enable_dxdiag
install,po
17718 wine_fn_config_program eject enable_eject
install
17719 wine_fn_config_program
expand enable_expand
install
17720 wine_fn_config_program explorer enable_explorer
install,po
17721 wine_fn_config_program extrac32 enable_extrac32
install
17722 wine_fn_config_program findstr enable_findstr
install
17723 wine_fn_config_program hh enable_hh
install
17724 wine_fn_config_program hostname enable_hostname
install,po
17725 wine_fn_config_program icinfo enable_icinfo
install
17726 wine_fn_config_program iexplore enable_iexplore
install
17727 wine_fn_config_program ipconfig enable_ipconfig
install,po
17728 wine_fn_config_program lodctr enable_lodctr
install
17729 wine_fn_config_program mofcomp enable_mofcomp
install
17730 wine_fn_config_program mshta enable_mshta
install
17731 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17732 wine_fn_config_program net enable_net
install,po
17733 wine_fn_config_program netsh enable_netsh
install
17734 wine_fn_config_program netstat enable_netstat
install,po
17735 wine_fn_config_program ngen enable_ngen
install
17736 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17737 wine_fn_config_program oleview enable_oleview
install,po
17738 wine_fn_config_program
ping enable_ping
install
17739 wine_fn_config_program plugplay enable_plugplay
install
17740 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17741 wine_fn_config_program progman enable_progman
install,po
17742 wine_fn_config_program reg enable_reg
install,po
17743 wine_fn_config_test programs
/reg
/tests reg.exe_test
17744 wine_fn_config_program regasm enable_regasm
install
17745 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17746 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17747 wine_fn_config_program regsvcs enable_regsvcs
install
17748 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17749 wine_fn_config_program rpcss enable_rpcss clean
,install
17750 wine_fn_config_program rundll.exe16 enable_win16
install
17751 wine_fn_config_program rundll32 enable_rundll32
install
17752 wine_fn_config_program sc enable_sc
install
17753 wine_fn_config_program schtasks enable_schtasks
install
17754 wine_fn_config_program sdbinst enable_sdbinst
install
17755 wine_fn_config_program secedit enable_secedit
install
17756 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17757 wine_fn_config_program services enable_services clean
,install
17758 wine_fn_config_test programs
/services
/tests services.exe_test
17759 wine_fn_config_program spoolsv enable_spoolsv
install
17760 wine_fn_config_program start enable_start
install,po
17761 wine_fn_config_program svchost enable_svchost
install
17762 wine_fn_config_program systeminfo enable_systeminfo
install
17763 wine_fn_config_program taskkill enable_taskkill
install,po
17764 wine_fn_config_program tasklist enable_tasklist
install
17765 wine_fn_config_program taskmgr enable_taskmgr
install,po
17766 wine_fn_config_program termsv enable_termsv
install
17767 wine_fn_config_program uninstaller enable_uninstaller
install,po
17768 wine_fn_config_program unlodctr enable_unlodctr
install
17769 wine_fn_config_program view enable_view
install,po
17770 wine_fn_config_program wevtutil enable_wevtutil
install
17771 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17772 wine_fn_config_program winebrowser enable_winebrowser
install
17773 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17774 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17775 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17776 wine_fn_config_program winedevice enable_winedevice
install
17777 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17778 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17779 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17780 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17781 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17782 wine_fn_config_program winetest enable_winetest clean
17783 wine_fn_config_program winevdm enable_win16
install
17784 wine_fn_config_program winhelp.exe16 enable_win16
install
17785 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17786 wine_fn_config_program winoldap.mod16 enable_win16
install
17787 wine_fn_config_program winver enable_winver
install
17788 wine_fn_config_program wmic enable_wmic
install,po
17789 wine_fn_config_program wordpad enable_wordpad
install,po
17790 wine_fn_config_program
write enable_write
install,po
17791 wine_fn_config_program wscript enable_wscript clean
,install
17792 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17793 wine_fn_config_program wusa enable_wusa
install
17794 wine_fn_config_program xcopy enable_xcopy
install,po
17795 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17796 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17797 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17798 wine_fn_config_tool tools
/sfnt2fon clean
17799 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17800 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17801 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17802 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17803 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17804 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17856 wine_fn_ignore_file
".gitignore"
17857 wine_fn_ignore_file
"Makefile"
17858 wine_fn_ignore_file
"TAGS"
17859 wine_fn_ignore_file
"tags"
17860 wine_fn_ignore_file
"autom4te.cache"
17861 wine_fn_ignore_file
"config.cache"
17862 wine_fn_ignore_file
"config.log"
17863 wine_fn_ignore_file
"config.status"
17864 wine_fn_ignore_file
"configure.lineno"
17865 wine_fn_ignore_file
"include/config.h"
17866 wine_fn_ignore_file
"include/stamp-h"
17867 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17869 if test "x$enable_tools" != xno
17871 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17872 ac_config_commands
="$ac_config_commands tools/makedep"
17876 ac_config_commands
="$ac_config_commands Makefile"
17879 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17883 if test "x$enable_maintainer_mode" = xyes
17885 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17886 autoconf --warnings=all
17887 include/config.h.in: include/stamp-h.in
17888 include/stamp-h.in: configure.ac aclocal.m4
17889 autoheader --warnings=all
17890 @echo timestamp > \$@"
17893 if test "x$with_gettextpo" = xyes
17895 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17896 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17897 \$(LINGUAS:%=po/%.po): po/wine.pot
17898 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17899 po/wine.pot: \$(ALL_POT_FILES)
17900 msgcat -o \$@ \$(ALL_POT_FILES)"
17903 if test "$MSGFMT" != false
17905 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17907 \$(RM) \$(LINGUAS:%=po/%.mo)"
17910 test "$srcdir" = . || posrc
="$srcdir/po"
17913 wine_fn_ignore_file
"po/$i.mo"
17914 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17915 \$(MSGFMT) -o \$@ $posrc/$i.po"
17921 if test "x$enable_tools" != xno
17923 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17924 @./config.status tools/makedep
17925 Makefile: tools/makedep$ac_exeext
17927 \$(RM) tools/makedep$ac_exeext"
17929 wine_fn_append_rule
"\$(MAKEDEP):
17930 @echo \"You need to run make in $TOOLSDIR first\" && false"
17933 if test -n "$with_wine64"
17935 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17936 fonts server tools:
17937 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17938 $with_wine64/loader/wine:
17939 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17940 $with_wine64/loader/wine-preloader:
17941 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17943 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17945 as_fn_append LOADER_RULES
"
17946 install install-lib:: wine.inf install-man-pages
17947 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17948 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17951 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17955 if test "$srcdir" = .
17957 ac_config_commands
="$ac_config_commands .gitignore"
17961 $as_echo " done" >&6
17962 cat >confcache
<<\_ACEOF
17963 # This file is a shell script that caches the results of configure
17964 # tests run on this system so they can be shared between configure
17965 # scripts and configure runs, see configure's option --config-cache.
17966 # It is not useful on other systems. If it contains results you don't
17967 # want to keep, you may remove or edit it.
17969 # config.status only pays attention to the cache file if you give it
17970 # the --recheck option to rerun configure.
17972 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17973 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17974 # following values.
17978 # The following way of writing the cache mishandles newlines in values,
17979 # but we know of no workaround that is simple, portable, and efficient.
17980 # So, we kill variables containing newlines.
17981 # Ultrix sh set writes to stderr and can't be redirected directly,
17982 # and sets the high bit in the cache file unless we assign to the vars.
17984 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17985 eval ac_val
=\$
$ac_var
17989 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17990 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17993 _ | IFS | as_nl
) ;; #(
17994 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17995 *) { eval $ac_var=; unset $ac_var;} ;;
18001 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18002 *${as_nl}ac_space
=\
*)
18003 # `set' does not quote correctly, so add quotes: double-quote
18004 # substitution turns \\\\ into \\, and sed turns \\ into \.
18007 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18010 # `set' quotes correctly as required by POSIX, so do not add quotes.
18011 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18020 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18022 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18024 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18025 if test -w "$cache_file"; then
18026 if test "x$cache_file" != "x/dev/null"; then
18027 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18028 $as_echo "$as_me: updating cache $cache_file" >&6;}
18029 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18030 cat confcache
>"$cache_file"
18032 case $cache_file in #(
18034 mv -f confcache
"$cache_file"$$
&&
18035 mv -f "$cache_file"$$
"$cache_file" ;; #(
18037 mv -f confcache
"$cache_file" ;;
18042 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18043 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18048 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18049 # Let make expand exec_prefix.
18050 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18052 DEFS
=-DHAVE_CONFIG_H
18057 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18058 # 1. Remove the extension, and $U if already installed.
18059 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18060 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18061 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18062 # will be set to the directory where LIBOBJS objects are built.
18063 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18064 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18066 LIBOBJS
=$ac_libobjs
18068 LTLIBOBJS
=$ac_ltlibobjs
18072 : "${CONFIG_STATUS=./config.status}"
18074 ac_clean_files_save
=$ac_clean_files
18075 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18077 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18079 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18081 # Generated by $as_me.
18082 # Run this file to recreate the current configuration.
18083 # Compiler output produced by configure, useful for debugging
18084 # configure, is in config.log if it exists.
18087 ac_cs_recheck=false
18090 SHELL=\${CONFIG_SHELL-$SHELL}
18093 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18094 ## -------------------- ##
18095 ## M4sh Initialization. ##
18096 ## -------------------- ##
18098 # Be more Bourne compatible
18099 DUALCASE
=1; export DUALCASE
# for MKS sh
18100 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18103 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18104 # is contrary to our usage. Disable this feature.
18105 alias -g '${1+"$@"}'='"$@"'
18106 setopt NO_GLOB_SUBST
18108 case `(set -o) 2>/dev/null` in #(
18120 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18121 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18122 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18123 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18124 # Prefer a ksh shell builtin over an external printf program on Solaris,
18125 # but without wasting forks for bash or zsh.
18126 if test -z "$BASH_VERSION$ZSH_VERSION" \
18127 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18128 as_echo='print
-r --'
18129 as_echo_n='print
-rn --'
18130 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18131 as_echo='printf %s
\n'
18132 as_echo_n='printf %s
'
18134 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18135 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18136 as_echo_n='/usr
/ucb
/echo -n'
18138 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18139 as_echo_n_body='eval
18143 expr "X$arg" : "X\\(.*\\)$as_nl";
18144 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18146 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18148 export as_echo_n_body
18149 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18151 export as_echo_body
18152 as_echo='sh
-c $as_echo_body as_echo
'
18155 # The user is always right.
18156 if test "${PATH_SEPARATOR+set}" != set; then
18158 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18159 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18166 # We need space, tab and new line, in precisely that order. Quoting is
18167 # there to prevent editors from complaining about space-tab.
18168 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18169 # splitting by setting IFS to empty value.)
18172 # Find who we are. Look in the path if we contain no directory separator.
18175 *[\\/]* ) as_myself=$0 ;;
18176 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18177 for as_dir in $PATH
18180 test -z "$as_dir" && as_dir=.
18181 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18187 # We did not find ourselves, most probably we were run as `sh COMMAND'
18188 # in which case we are not to be found in the path.
18189 if test "x$as_myself" = x
; then
18192 if test ! -f "$as_myself"; then
18193 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18197 # Unset variables that we do not need and which cause bugs (e.g. in
18198 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18199 # suppresses any "Segmentation fault" message there. '((' could
18200 # trigger a bug in pdksh 5.2.14.
18201 for as_var
in BASH_ENV ENV MAIL MAILPATH
18202 do eval test x\
${$as_var+set} = xset \
18203 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18216 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18219 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18220 # ----------------------------------------
18221 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18222 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18223 # script with STATUS, using 1 if that was 0.
18226 as_status
=$1; test $as_status -eq 0 && as_status
=1
18228 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18229 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18231 $as_echo "$as_me: error: $2" >&2
18232 as_fn_exit
$as_status
18236 # as_fn_set_status STATUS
18237 # -----------------------
18238 # Set $? to STATUS, without forking.
18239 as_fn_set_status
()
18242 } # as_fn_set_status
18244 # as_fn_exit STATUS
18245 # -----------------
18246 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18250 as_fn_set_status
$1
18256 # Portably unset VAR.
18259 { eval $1=; unset $1;}
18261 as_unset
=as_fn_unset
18262 # as_fn_append VAR VALUE
18263 # ----------------------
18264 # Append the text in VALUE to the end of the definition contained in VAR. Take
18265 # advantage of any shell optimizations that allow amortized linear growth over
18266 # repeated appends, instead of the typical quadratic growth present in naive
18268 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18269 eval 'as_fn_append ()
18280 # as_fn_arith ARG...
18281 # ------------------
18282 # Perform arithmetic evaluation on the ARGs, and store the result in the
18283 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18284 # must be portable across $(()) and expr.
18285 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18286 eval 'as_fn_arith ()
18293 as_val
=`expr "$@" || test $? -eq 1`
18298 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18299 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18305 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18306 as_basename
=basename
18311 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18317 as_me
=`$as_basename -- "$0" ||
18318 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18319 X"$0" : 'X\(//\)$' \| \
18320 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18322 sed '/^.*\/\([^/][^/]*\)\/*$/{
18336 # Avoid depending upon Character Ranges.
18337 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18338 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18339 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18340 as_cr_digits
='0123456789'
18341 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18343 ECHO_C
= ECHO_N
= ECHO_T
=
18344 case `echo -n x` in #(((((
18346 case `echo 'xy\c'` in
18347 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18349 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18356 rm -f conf$$ conf$$.exe conf$$.
file
18357 if test -d conf$$.dir
; then
18358 rm -f conf$$.dir
/conf$$.
file
18361 mkdir conf$$.dir
2>/dev
/null
18363 if (echo >conf$$.
file) 2>/dev
/null
; then
18364 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18366 # ... but there are two gotchas:
18367 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18368 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18369 # In both cases, we have to default to `cp -pR'.
18370 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18372 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18380 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18381 rmdir conf$$.dir
2>/dev
/null
18386 # Create "$as_dir" as a directory, including parents if necessary.
18391 -*) as_dir
=.
/$as_dir;;
18393 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18397 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18398 *) as_qdir
=$as_dir;;
18400 as_dirs
="'$as_qdir' $as_dirs"
18401 as_dir
=`$as_dirname -- "$as_dir" ||
18402 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18403 X"$as_dir" : 'X\(//\)[^/]' \| \
18404 X"$as_dir" : 'X\(//\)$' \| \
18405 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18406 $as_echo X"$as_dir" |
18407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18411 /^X\(\/\/\)[^/].*/{
18424 test -d "$as_dir" && break
18426 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18427 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18431 if mkdir
-p .
2>/dev
/null
; then
18432 as_mkdir_p
='mkdir -p "$as_dir"'
18434 test -d .
/-p && rmdir .
/-p
18439 # as_fn_executable_p FILE
18440 # -----------------------
18441 # Test if FILE is an executable regular file.
18442 as_fn_executable_p
()
18444 test -f "$1" && test -x "$1"
18445 } # as_fn_executable_p
18446 as_test_x
='test -x'
18447 as_executable_p
=as_fn_executable_p
18449 # Sed expression to map a string onto a valid CPP name.
18450 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18452 # Sed expression to map a string onto a valid variable name.
18453 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18457 ## ----------------------------------- ##
18458 ## Main body of $CONFIG_STATUS script. ##
18459 ## ----------------------------------- ##
18461 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18463 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18464 # Save the log message, to keep $0 and so on meaningful, and to
18465 # report actual input values of CONFIG_FILES etc. instead of their
18466 # values after options handling.
18468 This file was extended by Wine $as_me 1.7.36, which was
18469 generated by GNU Autoconf 2.69. Invocation command line was
18471 CONFIG_FILES = $CONFIG_FILES
18472 CONFIG_HEADERS = $CONFIG_HEADERS
18473 CONFIG_LINKS = $CONFIG_LINKS
18474 CONFIG_COMMANDS = $CONFIG_COMMANDS
18477 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18482 case $ac_config_files in *"
18483 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18486 case $ac_config_headers in *"
18487 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18492 # Files that config.status was made for.
18493 config_files="$ac_config_files"
18494 config_headers="$ac_config_headers"
18495 config_links="$ac_config_links"
18496 config_commands="$ac_config_commands"
18500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18502 \`$as_me' instantiates files and other configuration actions
18503 from templates according to the current configuration. Unless the files
18504 and actions are specified as TAGs, all are instantiated by default.
18506 Usage: $0 [OPTION]... [TAG]...
18508 -h, --help print this help, then exit
18509 -V, --version print version number and configuration settings, then exit
18510 --config print configuration, then exit
18511 -q, --quiet, --silent
18512 do not print progress messages
18513 -d, --debug don't remove temporary files
18514 --recheck update $as_me by reconfiguring in the same conditions
18515 --file=FILE[:TEMPLATE]
18516 instantiate the configuration file FILE
18517 --header=FILE[:TEMPLATE]
18518 instantiate the configuration header FILE
18520 Configuration files:
18523 Configuration headers:
18526 Configuration links:
18529 Configuration commands:
18532 Report bugs to <wine-devel@winehq.org>.
18533 Wine home page: <http://www.winehq.org>."
18536 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18537 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18539 Wine config.status 1.7.36
18540 configured by $0, generated by GNU Autoconf 2.69,
18541 with options \\"\$ac_cs_config\\"
18543 Copyright (C) 2012 Free Software Foundation, Inc.
18544 This config.status script is free software; the Free Software Foundation
18545 gives unlimited permission to copy, distribute and modify it."
18549 test -n "\$AWK" || AWK=awk
18552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18553 # The default lists apply if the user does not specify any file.
18559 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18560 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18564 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18576 # Handling of the options.
18577 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18579 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18580 $as_echo "$ac_cs_version"; exit ;;
18581 --config |
--confi |
--conf |
--con |
--co |
--c )
18582 $as_echo "$ac_cs_config"; exit ;;
18583 --debug |
--debu |
--deb |
--de |
--d |
-d )
18585 --file |
--fil |
--fi |
--f )
18588 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18589 '') as_fn_error $?
"missing file argument" ;;
18591 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18592 ac_need_defaults
=false
;;
18593 --header |
--heade |
--head |
--hea )
18596 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18598 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18599 ac_need_defaults
=false
;;
18601 # Conflict between --help and --header
18602 as_fn_error $?
"ambiguous option: \`$1'
18603 Try \`$0 --help' for more information.";;
18604 --help |
--hel |
-h )
18605 $as_echo "$ac_cs_usage"; exit ;;
18606 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18607 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18610 # This is an error.
18611 -*) as_fn_error $?
"unrecognized option: \`$1'
18612 Try \`$0 --help' for more information." ;;
18614 *) as_fn_append ac_config_targets
" $1"
18615 ac_need_defaults
=false
;;
18621 ac_configure_extra_args
=
18623 if $ac_cs_silent; then
18625 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18629 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18630 if \$ac_cs_recheck; then
18631 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18633 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18634 CONFIG_SHELL='$SHELL'
18635 export CONFIG_SHELL
18640 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18644 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18645 ## Running $as_me. ##
18651 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18655 wine_fn_output_makedep ()
18657 as_dir=tools; as_fn_mkdir_p
18658 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18660 wine_fn_output_makefile ()
18662 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18663 `cat $wine_rules_file`
18665 as_fn_error $? "could not create Makefile" "$LINENO" 5
18667 wine_fn_output_gitignore ()
18669 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18672 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18679 # Handling of arguments.
18680 for ac_config_target
in $ac_config_targets
18682 case $ac_config_target in
18683 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18684 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18685 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18686 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18687 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18688 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18689 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18690 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18691 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18692 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18693 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18694 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18695 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18696 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18698 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18703 # If the user did not use the arguments to specify the items to instantiate,
18704 # then the envvar interface is used. Set only those that are not.
18705 # We use the long form for the default assignment because of an extremely
18706 # bizarre bug on SunOS 4.1.3.
18707 if $ac_need_defaults; then
18708 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18709 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18710 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18711 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18714 # Have a temporary directory for convenience. Make it in the build tree
18715 # simply because there is no reason against having it here, and in addition,
18716 # creating and moving files from /tmp can sometimes cause problems.
18717 # Hook for its removal unless debugging.
18718 # Note that there is a small window in which the directory will not be cleaned:
18719 # after its creation but before its name has been assigned to `$tmp'.
18723 trap 'exit_status=$?
18724 : "${ac_tmp:=$tmp}"
18725 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18727 trap 'as_fn_exit 1' 1 2 13 15
18729 # Create a (secure) tmp directory for tmp files.
18732 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18736 tmp
=.
/conf$$
-$RANDOM
18737 (umask 077 && mkdir
"$tmp")
18738 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18741 # Set up the scripts for CONFIG_FILES section.
18742 # No need to generate them if there are no CONFIG_FILES.
18743 # This happens for instance with `./config.status config.h'.
18744 if test -n "$CONFIG_FILES"; then
18747 ac_cr
=`echo X | tr X '\015'`
18748 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18749 # But we know of no other shell where ac_cr would be empty at this
18750 # point, so we can use a bashism as a fallback.
18751 if test "x$ac_cr" = x
; then
18752 eval ac_cr
=\$
\'\\r
\'
18754 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18755 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18758 ac_cs_awk_cr
=$ac_cr
18761 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18766 echo "cat >conf$$subs.awk <<_ACEOF" &&
18767 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18769 } >conf$$subs.sh ||
18770 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18771 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18773 for ac_last_try in false false false false false :; do
18774 . ./conf$$subs.sh ||
18775 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18777 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18778 if test $ac_delim_n = $ac_delim_num; then
18780 elif $ac_last_try; then
18781 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18783 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18786 rm -f conf$$subs.sh
18788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18789 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18793 s/^/S["/; s
/!.
*/"]=/
18803 s/\(.\{148\}\)..*/\1/
18805 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18810 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18817 s/\(.\{148\}\)..*/\1/
18819 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18823 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18828 ' <conf$$subs.awk | sed '
18833 ' >>$CONFIG_STATUS || ac_write_fail=1
18834 rm -f conf$$subs.awk
18835 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18837 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18838 for (key in S) S_is_set[key] = 1
18844 nfields = split(line, field, "@
")
18846 len = length(field[1])
18847 for (i = 2; i < nfields; i++) {
18849 keylen = length(key)
18850 if (S_is_set[key]) {
18852 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18853 len += length(value) + length(field[++i])
18864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18865 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18866 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18869 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18870 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18873 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18874 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18875 # trailing colons and then remove the whole line if VPATH becomes empty
18876 # (actually we leave an empty line to preserve line numbers).
18877 if test "x
$srcdir" = x.; then
18878 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18897 fi # test -n "$CONFIG_FILES"
18899 # Set up the scripts for CONFIG_HEADERS section.
18900 # No need to generate them if there are no CONFIG_HEADERS.
18901 # This happens for instance with `./config.status Makefile'.
18902 if test -n "$CONFIG_HEADERS"; then
18903 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18907 # Transform confdefs.h into an awk script `defines.awk', embedded as
18908 # here-document in config.status, that substitutes the proper values into
18909 # config.h.in to produce config.h.
18911 # Create a delimiter string that does not exist in confdefs.h, to ease
18912 # handling of long lines.
18914 for ac_last_try in false false :; do
18915 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18916 if test -z "$ac_tt"; then
18918 elif $ac_last_try; then
18919 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18921 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18925 # For the awk script, D is an array of macro values keyed by name,
18926 # likewise P contains macro parameters if any. Preserve backslash
18927 # newline sequences.
18929 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18931 s/.\{148\}/&'"$ac_delim"'/g
18934 s/^[ ]*#[ ]*define[ ][ ]*/ /
18941 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18943 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18947 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18948 D["\
1"]=" \
3\\\\\\n
"\\/p
18950 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18955 s/.\{148\}/&'"$ac_delim"'/g
18960 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18963 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18965 ' <confdefs.h | sed '
18966 s/'"$ac_delim"'/"\\\
18967 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18969 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18970 for (key in D) D_is_set[key] = 1
18973 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18975 split(line, arg, " ")
18976 if (arg[1] == "#") {
18980 defundef
= substr
(arg
[1], 2)
18983 split(mac1
, mac2
, "(") #)
18985 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18986 if (D_is_set
[macro
]) {
18987 # Preserve the white space surrounding the "#".
18988 print prefix
"define", macro P
[macro
] D
[macro
]
18991 # Replace #undef with comments. This is necessary, for example,
18992 # in the case of _POSIX_SOURCE, which is predefined and required
18993 # on some systems where configure will not decide to define it.
18994 if (defundef
== "undef") {
18995 print
"/*", prefix defundef
, macro
, "*/"
19003 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19004 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
19005 fi # test -n "$CONFIG_HEADERS"
19008 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19013 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19015 case $ac_mode$ac_tag in
19017 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19018 :[FH
]-) ac_tag
=-:-;;
19019 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19036 -) ac_f
="$ac_tmp/stdin";;
19037 *) # Look for the file first in the build tree, then in the source tree
19038 # (if the path is not absolute). The absolute path cannot be DOS-style,
19039 # because $ac_f cannot contain `:'.
19043 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19045 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19047 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19048 as_fn_append ac_file_inputs
" '$ac_f'"
19051 # Let's still pretend it is `configure' which instantiates (i.e., don't
19052 # use $as_me), people would be surprised to read:
19053 # /* config.h. Generated by config.status. */
19054 configure_input
='Generated from '`
19055 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19057 if test x
"$ac_file" != x-
; then
19058 configure_input
="$ac_file. $configure_input"
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19060 $as_echo "$as_me: creating $ac_file" >&6;}
19062 # Neutralize special characters interpreted by sed in replacement strings.
19063 case $configure_input in #(
19064 *\
&* |
*\|
* |
*\\* )
19065 ac_sed_conf_input
=`$as_echo "$configure_input" |
19066 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19067 *) ac_sed_conf_input
=$configure_input;;
19071 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19072 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19077 ac_dir
=`$as_dirname -- "$ac_file" ||
19078 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19079 X"$ac_file" : 'X\(//\)[^/]' \| \
19080 X"$ac_file" : 'X\(//\)$' \| \
19081 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19082 $as_echo X"$ac_file" |
19083 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19087 /^X\(\/\/\)[^/].*/{
19100 as_dir
="$ac_dir"; as_fn_mkdir_p
19104 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19106 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19107 # A ".." for each directory in $ac_dir_suffix.
19108 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19109 case $ac_top_builddir_sub in
19110 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19111 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19114 ac_abs_top_builddir
=$ac_pwd
19115 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19116 # for backward compatibility:
19117 ac_top_builddir
=$ac_top_build_prefix
19120 .
) # We are building in place.
19122 ac_top_srcdir
=$ac_top_builddir_sub
19123 ac_abs_top_srcdir
=$ac_pwd ;;
19124 [\\/]* | ?
:[\\/]* ) # Absolute name.
19125 ac_srcdir
=$srcdir$ac_dir_suffix;
19126 ac_top_srcdir
=$srcdir
19127 ac_abs_top_srcdir
=$srcdir ;;
19128 *) # Relative name.
19129 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19130 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19131 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19133 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19144 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19145 # If the template does not know about datarootdir, expand it.
19146 # FIXME: This hack should be removed a few years after 2.60.
19147 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19158 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19159 *datarootdir
*) ac_datarootdir_seen
=yes;;
19160 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19162 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19164 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19165 ac_datarootdir_hack='
19166 s&@datadir@&$datadir&g
19167 s&@docdir@&$docdir&g
19168 s&@infodir@&$infodir&g
19169 s&@localedir@&$localedir&g
19170 s&@mandir@&$mandir&g
19171 s&\\\${datarootdir}&$datarootdir&g' ;;
19175 # Neutralize VPATH when `$srcdir' = `.'.
19176 # Shell code in configure.ac might set extrasub.
19177 # FIXME: do we really want to maintain this feature?
19178 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19179 ac_sed_extra="$ac_vpsub
19182 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19184 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19185 s|@configure_input@|
$ac_sed_conf_input|
;t t
19186 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19187 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19188 s
&@srcdir@
&$ac_srcdir&;t t
19189 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19190 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19191 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19192 s
&@builddir@
&$ac_builddir&;t t
19193 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19194 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19195 $ac_datarootdir_hack
19197 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19198 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19200 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19201 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19202 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19203 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19205 which seems to be undefined. Please make sure it is defined" >&5
19206 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19207 which seems to be undefined. Please make sure it is defined" >&2;}
19209 rm -f "$ac_tmp/stdin"
19211 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19212 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19214 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19220 if test x"$ac_file" != x-; then
19222 $as_echo "/* $configure_input */" \
19223 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19224 } >"$ac_tmp/config.h" \
19225 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19226 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19227 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19228 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19231 mv "$ac_tmp/config.h" "$ac_file" \
19232 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19235 $as_echo "/* $configure_input */" \
19236 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19237 || as_fn_error $? "could not create -" "$LINENO" 5
19245 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19248 # Prefer the file from the source tree if names are identical.
19249 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19250 ac_source=$srcdir/$ac_source
19253 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19254 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19256 if test ! -r "$ac_source"; then
19257 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19261 # Try a relative symlink, then a hard link, then a copy.
19263 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19264 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19266 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19267 ln "$ac_source" "$ac_file" 2>/dev/null ||
19268 cp -p "$ac_source" "$ac_file" ||
19269 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19272 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19273 $as_echo "$as_me: executing $ac_file commands" >&6;}
19278 case $ac_file$ac_mode in
19279 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19280 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19281 "Makefile":C) wine_fn_output_makefile Makefile ;;
19282 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19290 ac_clean_files=$ac_clean_files_save
19292 test $ac_write_fail = 0 ||
19293 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19296 # configure is writing to config.log, and then calls config.status.
19297 # config.status does its own redirection, appending to config.log.
19298 # Unfortunately, on DOS this fails, as config.log is still kept open
19299 # by configure, so config.status won't be able to
write to it
; its
19300 # output is simply discarded. So we exec the FD to /dev/null,
19301 # effectively closing config.log, so it can be properly (re)opened and
19302 # appended to by config.status. When coming back to configure, we
19303 # need to make the FD available again.
19304 if test "$no_create" != yes; then
19306 ac_config_status_args
=
19307 test "$silent" = yes &&
19308 ac_config_status_args
="$ac_config_status_args --quiet"
19310 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19312 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19313 # would make configure fail if this is the last instruction.
19314 $ac_cs_success || as_fn_exit
1
19316 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19318 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19322 if test "$no_create" = "yes"
19328 if test "x$wine_notices != "x
; then
19331 for msg
in $wine_notices; do
19333 if ${msg:+false} :; then :
19336 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19337 $as_echo "$as_me: $msg" >&6;}
19342 for msg
in $wine_warnings; do
19344 if ${msg:+false} :; then :
19348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19349 $as_echo "$as_me: WARNING: $msg" >&2;}
19355 $as_me: Finished. Do '${ac_make}' to compile Wine.