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
1338 enable_documentation
1346 enable_aspnet_regiis
1379 enable_presentationfontcache
1392 enable_servicemodelreg
1413 enable_winemenubuilder
1415 enable_winemsibuilder
1429 ac_precious_vars
='build_alias
1478 # Initialize some variables set by options.
1480 ac_init_version
=false
1481 ac_unrecognized_opts
=
1482 ac_unrecognized_sep
=
1483 # The variables have the same names as the options, with
1484 # dashes changed to underlines.
1485 cache_file
=/dev
/null
1492 program_transform_name
=s
,x
,x
,
1500 # Installation directory options.
1501 # These are left unexpanded so users can "make install exec_prefix=/foo"
1502 # and all the variables that are supposed to be based on exec_prefix
1503 # by default will actually change.
1504 # Use braces instead of parens because sh, perl, etc. also accept them.
1505 # (The list follows the same order as the GNU Coding Standards.)
1506 bindir
='${exec_prefix}/bin'
1507 sbindir
='${exec_prefix}/sbin'
1508 libexecdir
='${exec_prefix}/libexec'
1509 datarootdir
='${prefix}/share'
1510 datadir
='${datarootdir}'
1511 sysconfdir
='${prefix}/etc'
1512 sharedstatedir
='${prefix}/com'
1513 localstatedir
='${prefix}/var'
1514 includedir
='${prefix}/include'
1515 oldincludedir
='/usr/include'
1516 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1517 infodir
='${datarootdir}/info'
1522 libdir
='${exec_prefix}/lib'
1523 localedir
='${datarootdir}/locale'
1524 mandir
='${datarootdir}/man'
1530 # If the previous option needs an argument, assign it.
1531 if test -n "$ac_prev"; then
1532 eval $ac_prev=\
$ac_option
1538 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1543 # Accept the important Cygnus configure options, so we can diagnose typos.
1545 case $ac_dashdash$ac_option in
1549 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1551 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1552 bindir
=$ac_optarg ;;
1554 -build |
--build |
--buil |
--bui |
--bu)
1555 ac_prev
=build_alias
;;
1556 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1557 build_alias
=$ac_optarg ;;
1559 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1560 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1561 ac_prev
=cache_file
;;
1562 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1563 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1564 cache_file
=$ac_optarg ;;
1566 --config-cache |
-C)
1567 cache_file
=config.cache
;;
1569 -datadir |
--datadir |
--datadi |
--datad)
1571 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1572 datadir
=$ac_optarg ;;
1574 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1575 |
--dataroo |
--dataro |
--datar)
1576 ac_prev
=datarootdir
;;
1577 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1578 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1579 datarootdir
=$ac_optarg ;;
1581 -disable-* |
--disable-*)
1582 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1583 # Reject names that are not valid shell variable names.
1584 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1585 as_fn_error $?
"invalid feature name: $ac_useropt"
1586 ac_useropt_orig
=$ac_useropt
1587 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1588 case $ac_user_opts in
1590 "enable_
$ac_useropt"
1592 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1593 ac_unrecognized_sep
=', ';;
1595 eval enable_
$ac_useropt=no
;;
1597 -docdir |
--docdir |
--docdi |
--doc |
--do)
1599 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1600 docdir
=$ac_optarg ;;
1602 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1604 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1605 dvidir
=$ac_optarg ;;
1607 -enable-* |
--enable-*)
1608 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1609 # Reject names that are not valid shell variable names.
1610 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1611 as_fn_error $?
"invalid feature name: $ac_useropt"
1612 ac_useropt_orig
=$ac_useropt
1613 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1614 case $ac_user_opts in
1616 "enable_
$ac_useropt"
1618 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1619 ac_unrecognized_sep
=', ';;
1621 eval enable_
$ac_useropt=\
$ac_optarg ;;
1623 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1624 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1625 |
--exec |
--exe |
--ex)
1626 ac_prev
=exec_prefix
;;
1627 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1628 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1629 |
--exec=* |
--exe=* |
--ex=*)
1630 exec_prefix
=$ac_optarg ;;
1632 -gas |
--gas |
--ga |
--g)
1633 # Obsolete; use --with-gas.
1636 -help |
--help |
--hel |
--he |
-h)
1637 ac_init_help
=long
;;
1638 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1639 ac_init_help
=recursive
;;
1640 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1641 ac_init_help
=short
;;
1643 -host |
--host |
--hos |
--ho)
1644 ac_prev
=host_alias
;;
1645 -host=* |
--host=* |
--hos=* |
--ho=*)
1646 host_alias
=$ac_optarg ;;
1648 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1650 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1652 htmldir
=$ac_optarg ;;
1654 -includedir |
--includedir |
--includedi |
--included |
--include \
1655 |
--includ |
--inclu |
--incl |
--inc)
1656 ac_prev
=includedir
;;
1657 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1658 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1659 includedir
=$ac_optarg ;;
1661 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1663 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1664 infodir
=$ac_optarg ;;
1666 -libdir |
--libdir |
--libdi |
--libd)
1668 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1669 libdir
=$ac_optarg ;;
1671 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1672 |
--libexe |
--libex |
--libe)
1673 ac_prev
=libexecdir
;;
1674 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1675 |
--libexe=* |
--libex=* |
--libe=*)
1676 libexecdir
=$ac_optarg ;;
1678 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1679 ac_prev
=localedir
;;
1680 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1681 localedir
=$ac_optarg ;;
1683 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1684 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1685 ac_prev
=localstatedir
;;
1686 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1687 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1688 localstatedir
=$ac_optarg ;;
1690 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1692 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1693 mandir
=$ac_optarg ;;
1695 -nfp |
--nfp |
--nf)
1696 # Obsolete; use --without-fp.
1699 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1700 |
--no-cr |
--no-c |
-n)
1703 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1704 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1707 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1708 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1709 |
--oldin |
--oldi |
--old |
--ol |
--o)
1710 ac_prev
=oldincludedir
;;
1711 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1712 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1713 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1714 oldincludedir
=$ac_optarg ;;
1716 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1718 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1719 prefix
=$ac_optarg ;;
1721 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1722 |
--program-pre |
--program-pr |
--program-p)
1723 ac_prev
=program_prefix
;;
1724 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1725 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1726 program_prefix
=$ac_optarg ;;
1728 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1729 |
--program-suf |
--program-su |
--program-s)
1730 ac_prev
=program_suffix
;;
1731 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1732 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1733 program_suffix
=$ac_optarg ;;
1735 -program-transform-name |
--program-transform-name \
1736 |
--program-transform-nam |
--program-transform-na \
1737 |
--program-transform-n |
--program-transform- \
1738 |
--program-transform |
--program-transfor \
1739 |
--program-transfo |
--program-transf \
1740 |
--program-trans |
--program-tran \
1741 |
--progr-tra |
--program-tr |
--program-t)
1742 ac_prev
=program_transform_name
;;
1743 -program-transform-name=* |
--program-transform-name=* \
1744 |
--program-transform-nam=* |
--program-transform-na=* \
1745 |
--program-transform-n=* |
--program-transform-=* \
1746 |
--program-transform=* |
--program-transfor=* \
1747 |
--program-transfo=* |
--program-transf=* \
1748 |
--program-trans=* |
--program-tran=* \
1749 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1750 program_transform_name
=$ac_optarg ;;
1752 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1754 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1755 pdfdir
=$ac_optarg ;;
1757 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1759 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1762 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1763 |
-silent |
--silent |
--silen |
--sile |
--sil)
1766 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1768 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1770 sbindir
=$ac_optarg ;;
1772 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1773 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1774 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1776 ac_prev
=sharedstatedir
;;
1777 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1778 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1779 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1781 sharedstatedir
=$ac_optarg ;;
1783 -site |
--site |
--sit)
1785 -site=* |
--site=* |
--sit=*)
1788 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1790 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1791 srcdir
=$ac_optarg ;;
1793 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1794 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1795 ac_prev
=sysconfdir
;;
1796 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1797 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1798 sysconfdir
=$ac_optarg ;;
1800 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1801 ac_prev
=target_alias
;;
1802 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1803 target_alias
=$ac_optarg ;;
1805 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1808 -version |
--version |
--versio |
--versi |
--vers |
-V)
1809 ac_init_version
=: ;;
1812 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1813 # Reject names that are not valid shell variable names.
1814 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1815 as_fn_error $?
"invalid package name: $ac_useropt"
1816 ac_useropt_orig
=$ac_useropt
1817 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1818 case $ac_user_opts in
1822 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1823 ac_unrecognized_sep
=', ';;
1825 eval with_
$ac_useropt=\
$ac_optarg ;;
1827 -without-* |
--without-*)
1828 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1829 # Reject names that are not valid shell variable names.
1830 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1831 as_fn_error $?
"invalid package name: $ac_useropt"
1832 ac_useropt_orig
=$ac_useropt
1833 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1834 case $ac_user_opts in
1838 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1839 ac_unrecognized_sep
=', ';;
1841 eval with_
$ac_useropt=no
;;
1844 # Obsolete; use --with-x.
1847 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1848 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1849 ac_prev
=x_includes
;;
1850 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1851 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1852 x_includes
=$ac_optarg ;;
1854 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1855 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1856 ac_prev
=x_libraries
;;
1857 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1858 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1859 x_libraries
=$ac_optarg ;;
1861 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1862 Try \`$0 --help' for more information"
1866 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1867 # Reject names that are not valid shell variable names.
1868 case $ac_envvar in #(
1869 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1870 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1872 eval $ac_envvar=\
$ac_optarg
1873 export $ac_envvar ;;
1876 # FIXME: should be removed in autoconf 3.0.
1877 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1878 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1879 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1880 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1886 if test -n "$ac_prev"; then
1887 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1888 as_fn_error $?
"missing argument to $ac_option"
1891 if test -n "$ac_unrecognized_opts"; then
1892 case $enable_option_checking in
1894 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1895 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1899 # Check all directory arguments for consistency.
1900 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1901 datadir sysconfdir sharedstatedir localstatedir includedir \
1902 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1903 libdir localedir mandir
1905 eval ac_val
=\$
$ac_var
1906 # Remove trailing slashes.
1909 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1910 eval $ac_var=\
$ac_val;;
1912 # Be sure to have absolute directory names.
1914 [\\/$
]* | ?
:[\\/]* ) continue;;
1915 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1917 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1920 # There might be people who depend on the old broken behavior: `$host'
1921 # used to hold the argument of --host etc.
1922 # FIXME: To remove some day.
1925 target
=$target_alias
1927 # FIXME: To remove some day.
1928 if test "x$host_alias" != x
; then
1929 if test "x$build_alias" = x
; then
1930 cross_compiling
=maybe
1931 elif test "x$build_alias" != "x$host_alias"; then
1937 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1939 test "$silent" = yes && exec 6>/dev
/null
1942 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1943 ac_ls_di
=`ls -di .` &&
1944 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1945 as_fn_error $?
"working directory cannot be determined"
1946 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1947 as_fn_error $?
"pwd does not report name of working directory"
1950 # Find the source files, if location was not specified.
1951 if test -z "$srcdir"; then
1952 ac_srcdir_defaulted
=yes
1953 # Try the directory containing this script, then the parent directory.
1954 ac_confdir
=`$as_dirname -- "$as_myself" ||
1955 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1956 X"$as_myself" : 'X\(//\)[^/]' \| \
1957 X"$as_myself" : 'X\(//\)$' \| \
1958 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1959 $as_echo X"$as_myself" |
1960 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1978 if test ! -r "$srcdir/$ac_unique_file"; then
1982 ac_srcdir_defaulted
=no
1984 if test ! -r "$srcdir/$ac_unique_file"; then
1985 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1986 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1988 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1990 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1992 # When building in place, set srcdir=.
1993 if test "$ac_abs_confdir" = "$ac_pwd"; then
1996 # Remove unnecessary trailing slashes from srcdir.
1997 # Double slashes in file names in object file debugging info
1998 # mess up M-x gdb in Emacs.
2000 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2002 for ac_var
in $ac_precious_vars; do
2003 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
2004 eval ac_env_
${ac_var}_value
=\$
${ac_var}
2005 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
2006 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
2010 # Report the --help message.
2012 if test "$ac_init_help" = "long"; then
2013 # Omit some internal or obsolete options to make the list less imposing.
2014 # This message is too long to be a string in the A/UX 3.1 sh.
2016 \`configure' configures Wine 1.7.36 to adapt to many kinds of systems.
2018 Usage: $0 [OPTION]... [VAR=VALUE]...
2020 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2021 VAR=VALUE. See below for descriptions of some of the useful variables.
2023 Defaults for the options are specified in brackets.
2026 -h, --help display this help and exit
2027 --help=short display options specific to this package
2028 --help=recursive display the short help of all the included packages
2029 -V, --version display version information and exit
2030 -q, --quiet, --silent do not print \`checking ...' messages
2031 --cache-file=FILE cache test results in FILE [disabled]
2032 -C, --config-cache alias for \`--cache-file=config.cache'
2033 -n, --no-create do not create output files
2034 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2036 Installation directories:
2037 --prefix=PREFIX install architecture-independent files in PREFIX
2038 [$ac_default_prefix]
2039 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2042 By default, \`make install' will install all the files in
2043 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2044 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2045 for instance \`--prefix=\$HOME'.
2047 For better control, use the options below.
2049 Fine tuning of the installation directories:
2050 --bindir=DIR user executables [EPREFIX/bin]
2051 --sbindir=DIR system admin executables [EPREFIX/sbin]
2052 --libexecdir=DIR program executables [EPREFIX/libexec]
2053 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2054 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2055 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2056 --libdir=DIR object code libraries [EPREFIX/lib]
2057 --includedir=DIR C header files [PREFIX/include]
2058 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2059 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2060 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2061 --infodir=DIR info documentation [DATAROOTDIR/info]
2062 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2063 --mandir=DIR man documentation [DATAROOTDIR/man]
2064 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2065 --htmldir=DIR html documentation [DOCDIR]
2066 --dvidir=DIR dvi documentation [DOCDIR]
2067 --pdfdir=DIR pdf documentation [DOCDIR]
2068 --psdir=DIR ps documentation [DOCDIR]
2074 --x-includes=DIR X include files are
in DIR
2075 --x-libraries=DIR X library files are
in DIR
2078 --build=BUILD configure
for building on BUILD
[guessed
]
2079 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
2083 if test -n "$ac_init_help"; then
2084 case $ac_init_help in
2085 short | recursive
) echo "Configuration of Wine 1.7.36:";;
2090 --disable-option-checking ignore unrecognized
--enable/--with options
2091 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2092 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2093 --disable-win16 do not include Win16 support
2094 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
2096 --disable-tests do not build the regression tests
2097 --enable-maintainer-mode
2098 enable maintainer-specific build rules
2099 --disable-largefile omit support for large files
2102 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2103 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2104 --without-alsa do not use the Alsa sound support
2105 --without-capi do not use CAPI (ISDN support)
2106 --without-cms do not use CMS (color management support)
2107 --without-coreaudio do not use the CoreAudio sound support
2108 --without-cups do not use CUPS
2109 --without-curses do not use (n)curses
2110 --without-dbus do not use DBus (dynamic device support)
2111 --without-fontconfig do not use fontconfig
2112 --without-freetype do not use the FreeType library
2113 --without-gettext do not use gettext
2114 --with-gettextpo use the GetTextPO library to rebuild po files
2115 --without-gphoto do not use gphoto (Digital Camera support)
2116 --without-glu do not use the GLU library
2117 --without-gnutls do not use GnuTLS (schannel support)
2118 --without-gsm do not use libgsm (GSM 06.10 codec support)
2119 --without-gstreamer do not use GStreamer (codecs support)
2120 --without-hal do not use HAL (dynamic device support)
2121 --without-jpeg do not use JPEG
2122 --without-ldap do not use LDAP
2123 --without-mpg123 do not use the mpg123 library
2124 --without-netapi do not use the Samba NetAPI library
2125 --without-openal do not use OpenAL
2126 --without-opencl do not use OpenCL
2127 --without-opengl do not use OpenGL
2128 --without-osmesa do not use the OSMesa library
2129 --without-oss do not use the OSS sound support
2130 --without-pcap do not use the Packet Capture library
2131 --without-png do not use PNG
2132 --without-pthread do not use the pthread library
2133 --without-sane do not use SANE (scanner support)
2134 --without-tiff do not use TIFF
2135 --without-v4l do not use v4l1 (v4l support)
2136 --without-xcomposite do not use the Xcomposite extension
2137 --without-xcursor do not use the Xcursor extension
2138 --without-xinerama do not use Xinerama (multi-monitor support)
2139 --without-xinput do not use the Xinput extension
2140 --without-xinput2 do not use the Xinput 2 extension
2141 --without-xml do not use XML
2142 --without-xrandr do not use Xrandr (resolution changes)
2143 --without-xrender do not use the Xrender extension
2144 --without-xshape do not use the Xshape extension
2145 --without-xshm do not use XShm (shared memory extension)
2146 --without-xslt do not use XSLT
2147 --without-xxf86vm do not use XFree video mode extension
2148 --without-zlib do not use Zlib (data compression)
2149 --with-wine-tools=DIR use Wine tools from directory DIR
2150 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2151 --with-x use the X Window System
2153 Some influential environment variables:
2154 CC C compiler command
2155 CFLAGS C compiler flags
2156 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2157 nonstandard directory <lib dir>
2158 LIBS libraries to pass to the linker, e.g. -l<library>
2159 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2160 you have headers in a nonstandard directory <include dir>
2161 CXX C++ compiler command
2162 CXXFLAGS C++ compiler flags
2164 XMKMF Path to xmkmf, Makefile generator for X Window System
2165 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2166 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2167 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2168 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2169 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2170 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2171 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2172 HAL_LIBS Linker flags for hal, overriding pkg-config
2174 C compiler flags for gnutls, overriding pkg-config
2175 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2176 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2177 SANE_LIBS Linker flags for libsane, overriding pkg-config
2179 C compiler flags for libgphoto2, overriding pkg-config
2181 Linker flags for libgphoto2, overriding pkg-config
2183 C compiler flags for libgphoto2_port, overriding pkg-config
2185 Linker flags for libgphoto2_port, overriding pkg-config
2187 C compiler flags for lcms2, overriding pkg-config
2188 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2190 C compiler flags for freetype2, overriding pkg-config
2192 Linker flags for freetype2, overriding pkg-config
2194 C compiler flags for gstreamer-app-0.10, overriding pkg-config
2196 Linker flags for gstreamer-app-0.10, overriding pkg-config
2198 C compiler flags for capi20, overriding pkg-config
2199 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2201 C compiler flags for fontconfig, overriding pkg-config
2203 Linker flags for fontconfig, overriding pkg-config
2204 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2205 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2206 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2207 PNG_LIBS Linker flags for libpng, overriding pkg-config
2208 TIFF_CFLAGS C compiler flags for libtiff, overriding pkg-config
2209 TIFF_LIBS Linker flags for libtiff, overriding pkg-config
2211 C compiler flags for libmpg123, overriding pkg-config
2212 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2214 Use these variables to override the choices made by `configure' or to
help
2215 it to
find libraries and programs with nonstandard names
/locations.
2217 Report bugs to
<wine-devel@winehq.org
>.
2218 Wine home page
: <http
://www.winehq.org
>.
2223 if test "$ac_init_help" = "recursive"; then
2224 # If there are subdirs, report their specific --help.
2225 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2226 test -d "$ac_dir" ||
2227 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2232 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2234 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2235 # A ".." for each directory in $ac_dir_suffix.
2236 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2237 case $ac_top_builddir_sub in
2238 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2239 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2242 ac_abs_top_builddir
=$ac_pwd
2243 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2244 # for backward compatibility:
2245 ac_top_builddir
=$ac_top_build_prefix
2248 .
) # We are building in place.
2250 ac_top_srcdir
=$ac_top_builddir_sub
2251 ac_abs_top_srcdir
=$ac_pwd ;;
2252 [\\/]* | ?
:[\\/]* ) # Absolute name.
2253 ac_srcdir
=$srcdir$ac_dir_suffix;
2254 ac_top_srcdir
=$srcdir
2255 ac_abs_top_srcdir
=$srcdir ;;
2257 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2258 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2259 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2261 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2263 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
2264 # Check for guested configure.
2265 if test -f "$ac_srcdir/configure.gnu"; then
2267 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2268 elif test -f "$ac_srcdir/configure"; then
2270 $SHELL "$ac_srcdir/configure" --help=recursive
2272 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2274 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
2278 test -n "$ac_init_help" && exit $ac_status
2279 if $ac_init_version; then
2281 Wine configure
1.7.36
2282 generated by GNU Autoconf
2.69
2284 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2285 This configure
script is free software
; the Free Software Foundation
2286 gives unlimited permission to copy
, distribute and modify it.
2291 ## ------------------------ ##
2292 ## Autoconf initialization. ##
2293 ## ------------------------ ##
2295 # ac_fn_c_try_compile LINENO
2296 # --------------------------
2297 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2298 ac_fn_c_try_compile
()
2300 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2301 rm -f conftest.
$ac_objext
2302 if { { ac_try
="$ac_compile"
2304 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2305 *) ac_try_echo=$ac_try;;
2307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2308 $as_echo "$ac_try_echo"; } >&5
2309 (eval "$ac_compile") 2>conftest.err
2311 if test -s conftest.err; then
2312 grep -v '^ *+' conftest.err >conftest.er1
2313 cat conftest.er1 >&5
2314 mv -f conftest.er1 conftest.err
2316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2317 test $ac_status = 0; } && {
2318 test -z "$ac_c_werror_flag" ||
2319 test ! -s conftest.err
2320 } && test -s conftest.$ac_objext; then :
2323 $as_echo "$as_me: failed program was:" >&5
2324 sed 's/^/| /' conftest.$ac_ext >&5
2328 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2329 as_fn_set_status $ac_retval
2331 } # ac_fn_c_try_compile
2333 # ac_fn_cxx_try_compile LINENO
2334 # ----------------------------
2335 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2336 ac_fn_cxx_try_compile ()
2338 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2339 rm -f conftest.$ac_objext
2340 if { { ac_try="$ac_compile"
2342 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2343 *) ac_try_echo
=$ac_try;;
2345 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2346 $as_echo "$ac_try_echo"; } >&5
2347 (eval "$ac_compile") 2>conftest.err
2349 if test -s conftest.err
; then
2350 grep -v '^ *+' conftest.err
>conftest.er1
2351 cat conftest.er1
>&5
2352 mv -f conftest.er1 conftest.err
2354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2355 test $ac_status = 0; } && {
2356 test -z "$ac_cxx_werror_flag" ||
2357 test ! -s conftest.err
2358 } && test -s conftest.
$ac_objext; then :
2361 $as_echo "$as_me: failed program was:" >&5
2362 sed 's/^/| /' conftest.
$ac_ext >&5
2366 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2367 as_fn_set_status
$ac_retval
2369 } # ac_fn_cxx_try_compile
2371 # ac_fn_c_try_link LINENO
2372 # -----------------------
2373 # Try to link conftest.$ac_ext, and return whether this succeeded.
2376 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2377 rm -f conftest.
$ac_objext conftest
$ac_exeext
2378 if { { ac_try
="$ac_link"
2380 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2381 *) ac_try_echo=$ac_try;;
2383 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2384 $as_echo "$ac_try_echo"; } >&5
2385 (eval "$ac_link") 2>conftest.err
2387 if test -s conftest.err; then
2388 grep -v '^ *+' conftest.err >conftest.er1
2389 cat conftest.er1 >&5
2390 mv -f conftest.er1 conftest.err
2392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2393 test $ac_status = 0; } && {
2394 test -z "$ac_c_werror_flag" ||
2395 test ! -s conftest.err
2396 } && test -s conftest$ac_exeext && {
2397 test "$cross_compiling" = yes ||
2398 test -x conftest$ac_exeext
2402 $as_echo "$as_me: failed program was:" >&5
2403 sed 's/^/| /' conftest.$ac_ext >&5
2407 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2408 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2409 # interfere with the next link command; also delete a directory that is
2410 # left behind by Apple's compiler. We do this before executing the actions.
2411 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2412 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2413 as_fn_set_status $ac_retval
2415 } # ac_fn_c_try_link
2417 # ac_fn_c_try_cpp LINENO
2418 # ----------------------
2419 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2422 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2423 if { { ac_try="$ac_cpp conftest.$ac_ext"
2425 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2426 *) ac_try_echo
=$ac_try;;
2428 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2429 $as_echo "$ac_try_echo"; } >&5
2430 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2432 if test -s conftest.err
; then
2433 grep -v '^ *+' conftest.err
>conftest.er1
2434 cat conftest.er1
>&5
2435 mv -f conftest.er1 conftest.err
2437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2438 test $ac_status = 0; } > conftest.i
&& {
2439 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2440 test ! -s conftest.err
2444 $as_echo "$as_me: failed program was:" >&5
2445 sed 's/^/| /' conftest.
$ac_ext >&5
2449 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2450 as_fn_set_status
$ac_retval
2454 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2455 # -------------------------------------------------------
2456 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2457 # the include files in INCLUDES and setting the cache variable VAR
2459 ac_fn_c_check_header_mongrel
()
2461 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2462 if eval \
${$3+:} false
; then :
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2464 $as_echo_n "checking for $2... " >&6; }
2465 if eval \
${$3+:} false
; then :
2466 $as_echo_n "(cached) " >&6
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2470 $as_echo "$ac_res" >&6; }
2472 # Is the header compilable?
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2474 $as_echo_n "checking $2 usability... " >&6; }
2475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2476 /* end confdefs.h. */
2480 if ac_fn_c_try_compile
"$LINENO"; then :
2481 ac_header_compiler
=yes
2483 ac_header_compiler
=no
2485 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2487 $as_echo "$ac_header_compiler" >&6; }
2489 # Is the header present?
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2491 $as_echo_n "checking $2 presence... " >&6; }
2492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2493 /* end confdefs.h. */
2496 if ac_fn_c_try_cpp
"$LINENO"; then :
2497 ac_header_preproc
=yes
2499 ac_header_preproc
=no
2501 rm -f conftest.err conftest.i conftest.
$ac_ext
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2503 $as_echo "$ac_header_preproc" >&6; }
2505 # So? What about this header?
2506 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2509 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2511 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2515 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2517 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2519 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2521 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2523 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2524 ( $as_echo "## ------------------------------------ ##
2525 ## Report this to wine-devel@winehq.org ##
2526 ## ------------------------------------ ##"
2527 ) |
sed "s/^/$as_me: WARNING: /" >&2
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2531 $as_echo_n "checking for $2... " >&6; }
2532 if eval \
${$3+:} false
; then :
2533 $as_echo_n "(cached) " >&6
2535 eval "$3=\$ac_header_compiler"
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2539 $as_echo "$ac_res" >&6; }
2541 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2543 } # ac_fn_c_check_header_mongrel
2545 # ac_fn_c_try_run LINENO
2546 # ----------------------
2547 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2548 # that executables *can* be run.
2551 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2552 if { { ac_try
="$ac_link"
2554 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2555 *) ac_try_echo=$ac_try;;
2557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2558 $as_echo "$ac_try_echo"; } >&5
2559 (eval "$ac_link") 2>&5
2561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2562 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2563 { { case "(($ac_try" in
2564 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2565 *) ac_try_echo
=$ac_try;;
2567 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2568 $as_echo "$ac_try_echo"; } >&5
2569 (eval "$ac_try") 2>&5
2571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2572 test $ac_status = 0; }; }; then :
2575 $as_echo "$as_me: program exited with status $ac_status" >&5
2576 $as_echo "$as_me: failed program was:" >&5
2577 sed 's/^/| /' conftest.
$ac_ext >&5
2579 ac_retval
=$ac_status
2581 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2582 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2583 as_fn_set_status
$ac_retval
2587 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2588 # -------------------------------------------------------
2589 # Tests whether HEADER exists and can be compiled using the include files in
2590 # INCLUDES, setting the cache variable VAR accordingly.
2591 ac_fn_c_check_header_compile
()
2593 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2595 $as_echo_n "checking for $2... " >&6; }
2596 if eval \
${$3+:} false
; then :
2597 $as_echo_n "(cached) " >&6
2599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2600 /* end confdefs.h. */
2604 if ac_fn_c_try_compile
"$LINENO"; then :
2609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2613 $as_echo "$ac_res" >&6; }
2614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2616 } # ac_fn_c_check_header_compile
2618 # ac_fn_c_check_func LINENO FUNC VAR
2619 # ----------------------------------
2620 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2621 ac_fn_c_check_func
()
2623 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2625 $as_echo_n "checking for $2... " >&6; }
2626 if eval \
${$3+:} false
; then :
2627 $as_echo_n "(cached) " >&6
2629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2630 /* end confdefs.h. */
2631 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2633 #define $2 innocuous_$2
2635 /* System header to define __stub macros and hopefully few prototypes,
2636 which can conflict with char $2 (); below.
2637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2638 <limits.h> exists even on freestanding compilers. */
2641 # include <limits.h>
2643 # include <assert.h>
2648 /* Override any GCC internal prototype to avoid an error.
2649 Use char because int might match the return type of a GCC
2650 builtin and then its argument prototype would still apply. */
2655 /* The GNU C library defines this for functions which it implements
2656 to always fail with ENOSYS. Some functions are actually named
2657 something starting with __ and the normal name is an alias. */
2658 #if defined __stub_$2 || defined __stub___$2
2670 if ac_fn_c_try_link
"$LINENO"; then :
2675 rm -f core conftest.err conftest.
$ac_objext \
2676 conftest
$ac_exeext conftest.
$ac_ext
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2680 $as_echo "$ac_res" >&6; }
2681 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2683 } # ac_fn_c_check_func
2685 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2686 # ----------------------------------------------------
2687 # Tries to find if the field MEMBER exists in type AGGR, after including
2688 # INCLUDES, setting cache variable VAR accordingly.
2689 ac_fn_c_check_member
()
2691 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2693 $as_echo_n "checking for $2.$3... " >&6; }
2694 if eval \
${$4+:} false
; then :
2695 $as_echo_n "(cached) " >&6
2697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2698 /* end confdefs.h. */
2710 if ac_fn_c_try_compile
"$LINENO"; then :
2713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2714 /* end confdefs.h. */
2720 if (sizeof ac_aggr.$3)
2726 if ac_fn_c_try_compile
"$LINENO"; then :
2731 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2733 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2737 $as_echo "$ac_res" >&6; }
2738 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2740 } # ac_fn_c_check_member
2742 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2743 # -------------------------------------------
2744 # Tests whether TYPE exists after having included INCLUDES, setting cache
2745 # variable VAR accordingly.
2746 ac_fn_c_check_type
()
2748 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2750 $as_echo_n "checking for $2... " >&6; }
2751 if eval \
${$3+:} false
; then :
2752 $as_echo_n "(cached) " >&6
2755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2756 /* end confdefs.h. */
2767 if ac_fn_c_try_compile
"$LINENO"; then :
2768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2769 /* end confdefs.h. */
2780 if ac_fn_c_try_compile
"$LINENO"; then :
2785 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2791 $as_echo "$ac_res" >&6; }
2792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2794 } # ac_fn_c_check_type
2795 cat >config.log
<<_ACEOF
2796 This file contains any messages produced by compilers while
2797 running configure, to aid debugging if configure makes a mistake.
2799 It was created by Wine $as_me 1.7.36, which was
2800 generated by GNU Autoconf 2.69. Invocation command line was
2812 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2813 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2814 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2815 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2816 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2818 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2819 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2821 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2822 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2823 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2824 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2825 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2826 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2827 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2835 test -z "$as_dir" && as_dir
=.
2836 $as_echo "PATH: $as_dir"
2852 # Keep a trace of the command line.
2853 # Strip out --no-create and --no-recursion so they do not pile up.
2854 # Strip out --silent because we don't want to record it for future runs.
2855 # Also quote any args containing shell meta-characters.
2856 # Make two passes to allow for proper duplicate-argument suppression.
2860 ac_must_keep_next
=false
2866 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2867 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2868 |
-silent |
--silent |
--silen |
--sile |
--sil)
2871 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2874 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2876 as_fn_append ac_configure_args1
" '$ac_arg'"
2877 if test $ac_must_keep_next = true
; then
2878 ac_must_keep_next
=false
# Got value, back to normal.
2881 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2882 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2883 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2884 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2885 case "$ac_configure_args0 " in
2886 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2889 -* ) ac_must_keep_next
=true
;;
2892 as_fn_append ac_configure_args
" '$ac_arg'"
2897 { ac_configure_args0
=; unset ac_configure_args0
;}
2898 { ac_configure_args1
=; unset ac_configure_args1
;}
2900 # When interrupted or exit'd, cleanup temporary files, and complete
2901 # config.log. We remove comments because anyway the quotes in there
2902 # would cause problems or look ugly.
2903 # WARNING: Use '\'' to represent an apostrophe within the trap.
2904 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2905 trap 'exit_status=$?
2906 # Save into config.log some information that might help in debugging.
2910 $as_echo "## ---------------- ##
2911 ## Cache variables. ##
2912 ## ---------------- ##"
2914 # The following way of writing the cache mishandles newlines in values,
2916 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2917 eval ac_val=\$$ac_var
2921 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2922 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2925 _ | IFS | as_nl) ;; #(
2926 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2927 *) { eval $ac_var=; unset $ac_var;} ;;
2932 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2933 *${as_nl}ac_space=\ *)
2935 "s/'\''/'\''\\\\'\'''\''/g;
2936 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2939 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2946 $as_echo "## ----------------- ##
2947 ## Output variables. ##
2948 ## ----------------- ##"
2950 for ac_var in $ac_subst_vars
2952 eval ac_val=\$$ac_var
2954 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2956 $as_echo "$ac_var='\''$ac_val'\''"
2960 if test -n "$ac_subst_files"; then
2961 $as_echo "## ------------------- ##
2962 ## File substitutions. ##
2963 ## ------------------- ##"
2965 for ac_var
in $ac_subst_files
2967 eval ac_val
=\$
$ac_var
2969 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2971 $as_echo "$ac_var='\''$ac_val'\''"
2976 if test -s confdefs.h; then
2977 $as_echo "## ----------- ##
2984 test "$ac_signal" != 0 &&
2985 $as_echo "$as_me: caught signal $ac_signal"
2986 $as_echo "$as_me: exit $exit_status"
2988 rm -f core *.core core.conftest.* &&
2989 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2992 for ac_signal
in 1 2 13 15; do
2993 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2997 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2998 rm -f -r conftest
* confdefs.h
3000 $as_echo "/* confdefs.h */" > confdefs.h
3002 # Predefined preprocessor variables.
3004 cat >>confdefs.h
<<_ACEOF
3005 #define PACKAGE_NAME "$PACKAGE_NAME"
3008 cat >>confdefs.h
<<_ACEOF
3009 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3012 cat >>confdefs.h
<<_ACEOF
3013 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3016 cat >>confdefs.h
<<_ACEOF
3017 #define PACKAGE_STRING "$PACKAGE_STRING"
3020 cat >>confdefs.h
<<_ACEOF
3021 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3024 cat >>confdefs.h
<<_ACEOF
3025 #define PACKAGE_URL "$PACKAGE_URL"
3029 # Let the site file select an alternate cache file if it wants to.
3030 # Prefer an explicitly selected file to automatically selected ones.
3033 if test -n "$CONFIG_SITE"; then
3034 # We do not want a PATH search for config.site.
3035 case $CONFIG_SITE in #((
3036 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3037 */*) ac_site_file1
=$CONFIG_SITE;;
3038 *) ac_site_file1
=.
/$CONFIG_SITE;;
3040 elif test "x$prefix" != xNONE
; then
3041 ac_site_file1
=$prefix/share
/config.site
3042 ac_site_file2
=$prefix/etc
/config.site
3044 ac_site_file1
=$ac_default_prefix/share
/config.site
3045 ac_site_file2
=$ac_default_prefix/etc
/config.site
3047 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3049 test "x$ac_site_file" = xNONE
&& continue
3050 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3052 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3053 sed 's/^/| /' "$ac_site_file" >&5
3055 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3057 as_fn_error $?
"failed to load site script $ac_site_file
3058 See \`config.log' for more details" "$LINENO" 5; }
3062 if test -r "$cache_file"; then
3063 # Some versions of bash will fail to source /dev/null (special files
3064 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3065 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3067 $as_echo "$as_me: loading cache $cache_file" >&6;}
3069 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3070 *) .
"./$cache_file";;
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3075 $as_echo "$as_me: creating cache $cache_file" >&6;}
3079 # Check that the precious variables saved in the cache have kept the same
3081 ac_cache_corrupted
=false
3082 for ac_var
in $ac_precious_vars; do
3083 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3084 eval ac_new_set
=\
$ac_env_${ac_var}_set
3085 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3086 eval ac_new_val
=\
$ac_env_${ac_var}_value
3087 case $ac_old_set,$ac_new_set in
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3090 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3091 ac_cache_corrupted
=: ;;
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3094 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3095 ac_cache_corrupted
=: ;;
3098 if test "x$ac_old_val" != "x$ac_new_val"; then
3099 # differences in whitespace do not lead to failure.
3100 ac_old_val_w
=`echo x $ac_old_val`
3101 ac_new_val_w
=`echo x $ac_new_val`
3102 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3104 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3105 ac_cache_corrupted
=:
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3108 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3109 eval $ac_var=\
$ac_old_val
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3112 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3114 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3117 # Pass precious variables to config.status.
3118 if test "$ac_new_set" = set; then
3120 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3121 *) ac_arg
=$ac_var=$ac_new_val ;;
3123 case " $ac_configure_args " in
3124 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3125 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3129 if $ac_cache_corrupted; then
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3133 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3134 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3136 ## -------------------- ##
3137 ## Main body of script. ##
3138 ## -------------------- ##
3141 ac_cpp
='$CPP $CPPFLAGS'
3142 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3143 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3144 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3148 ac_config_headers
="$ac_config_headers include/config.h"
3151 for ac_dir
in tools
"$srcdir"/tools
; do
3152 if test -f "$ac_dir/install-sh"; then
3154 ac_install_sh
="$ac_aux_dir/install-sh -c"
3156 elif test -f "$ac_dir/install.sh"; then
3158 ac_install_sh
="$ac_aux_dir/install.sh -c"
3160 elif test -f "$ac_dir/shtool"; then
3162 ac_install_sh
="$ac_aux_dir/shtool install -c"
3166 if test -z "$ac_aux_dir"; then
3167 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3170 # These three variables are undocumented and unsupported,
3171 # and are intended to be withdrawn in a future Autoconf release.
3172 # They can cause serious problems if a builder's source tree is in a directory
3173 # whose full name contains unusual characters.
3174 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3175 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3176 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3180 libwine_version
="1.0"
3184 # Check whether --enable-win16 was given.
3185 if test "${enable_win16+set}" = set; then :
3186 enableval
=$enable_win16;
3189 # Check whether --enable-win64 was given.
3190 if test "${enable_win64+set}" = set; then :
3191 enableval
=$enable_win64;
3194 # Check whether --enable-tests was given.
3195 if test "${enable_tests+set}" = set; then :
3196 enableval
=$enable_tests;
3199 # Check whether --enable-maintainer-mode was given.
3200 if test "${enable_maintainer_mode+set}" = set; then :
3201 enableval
=$enable_maintainer_mode;
3206 # Check whether --with-alsa was given.
3207 if test "${with_alsa+set}" = set; then :
3208 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
3212 # Check whether --with-capi was given.
3213 if test "${with_capi+set}" = set; then :
3218 # Check whether --with-cms was given.
3219 if test "${with_cms+set}" = set; then :
3224 # Check whether --with-coreaudio was given.
3225 if test "${with_coreaudio+set}" = set; then :
3226 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
3230 # Check whether --with-cups was given.
3231 if test "${with_cups+set}" = set; then :
3236 # Check whether --with-curses was given.
3237 if test "${with_curses+set}" = set; then :
3238 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
3242 # Check whether --with-dbus was given.
3243 if test "${with_dbus+set}" = set; then :
3248 # Check whether --with-fontconfig was given.
3249 if test "${with_fontconfig+set}" = set; then :
3250 withval
=$with_fontconfig;
3254 # Check whether --with-freetype was given.
3255 if test "${with_freetype+set}" = set; then :
3256 withval
=$with_freetype;
3260 # Check whether --with-gettext was given.
3261 if test "${with_gettext+set}" = set; then :
3262 withval
=$with_gettext;
3266 # Check whether --with-gettextpo was given.
3267 if test "${with_gettextpo+set}" = set; then :
3268 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
3272 # Check whether --with-gphoto was given.
3273 if test "${with_gphoto+set}" = set; then :
3274 withval
=$with_gphoto;
3278 # Check whether --with-glu was given.
3279 if test "${with_glu+set}" = set; then :
3284 # Check whether --with-gnutls was given.
3285 if test "${with_gnutls+set}" = set; then :
3286 withval
=$with_gnutls;
3290 # Check whether --with-gsm was given.
3291 if test "${with_gsm+set}" = set; then :
3292 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
3296 # Check whether --with-gstreamer was given.
3297 if test "${with_gstreamer+set}" = set; then :
3298 withval
=$with_gstreamer;
3302 # Check whether --with-hal was given.
3303 if test "${with_hal+set}" = set; then :
3308 # Check whether --with-jpeg was given.
3309 if test "${with_jpeg+set}" = set; then :
3314 # Check whether --with-ldap was given.
3315 if test "${with_ldap+set}" = set; then :
3316 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
3320 # Check whether --with-mpg123 was given.
3321 if test "${with_mpg123+set}" = set; then :
3322 withval
=$with_mpg123;
3326 # Check whether --with-netapi was given.
3327 if test "${with_netapi+set}" = set; then :
3328 withval
=$with_netapi;
3332 # Check whether --with-openal was given.
3333 if test "${with_openal+set}" = set; then :
3334 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
3338 # Check whether --with-opencl was given.
3339 if test "${with_opencl+set}" = set; then :
3340 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
3344 # Check whether --with-opengl was given.
3345 if test "${with_opengl+set}" = set; then :
3346 withval
=$with_opengl;
3350 # Check whether --with-osmesa was given.
3351 if test "${with_osmesa+set}" = set; then :
3352 withval
=$with_osmesa;
3356 # Check whether --with-oss was given.
3357 if test "${with_oss+set}" = set; then :
3362 # Check whether --with-pcap was given.
3363 if test "${with_pcap+set}" = set; then :
3364 withval
=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h
=no
; fi
3368 # Check whether --with-png was given.
3369 if test "${with_png+set}" = set; then :
3374 # Check whether --with-pthread was given.
3375 if test "${with_pthread+set}" = set; then :
3376 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
3380 # Check whether --with-sane was given.
3381 if test "${with_sane+set}" = set; then :
3386 # Check whether --with-tiff was given.
3387 if test "${with_tiff+set}" = set; then :
3392 # Check whether --with-v4l was given.
3393 if test "${with_v4l+set}" = set; then :
3398 # Check whether --with-xcomposite was given.
3399 if test "${with_xcomposite+set}" = set; then :
3400 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
3404 # Check whether --with-xcursor was given.
3405 if test "${with_xcursor+set}" = set; then :
3406 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
3410 # Check whether --with-xinerama was given.
3411 if test "${with_xinerama+set}" = set; then :
3412 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
3416 # Check whether --with-xinput was given.
3417 if test "${with_xinput+set}" = set; then :
3418 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
3422 # Check whether --with-xinput2 was given.
3423 if test "${with_xinput2+set}" = set; then :
3424 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
3428 # Check whether --with-xml was given.
3429 if test "${with_xml+set}" = set; then :
3434 # Check whether --with-xrandr was given.
3435 if test "${with_xrandr+set}" = set; then :
3436 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
3440 # Check whether --with-xrender was given.
3441 if test "${with_xrender+set}" = set; then :
3442 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
3446 # Check whether --with-xshape was given.
3447 if test "${with_xshape+set}" = set; then :
3448 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
3452 # Check whether --with-xshm was given.
3453 if test "${with_xshm+set}" = set; then :
3454 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
3458 # Check whether --with-xslt was given.
3459 if test "${with_xslt+set}" = set; then :
3464 # Check whether --with-xxf86vm was given.
3465 if test "${with_xxf86vm+set}" = set; then :
3466 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
3470 # Check whether --with-zlib was given.
3471 if test "${with_zlib+set}" = set; then :
3472 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
3477 # Check whether --with-wine-tools was given.
3478 if test "${with_wine_tools+set}" = set; then :
3479 withval
=$with_wine_tools;
3483 # Check whether --with-wine64 was given.
3484 if test "${with_wine64+set}" = set; then :
3485 withval
=$with_wine64;
3489 # Make sure we can run config.sub.
3490 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3491 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3494 $as_echo_n "checking build system type... " >&6; }
3495 if ${ac_cv_build+:} false
; then :
3496 $as_echo_n "(cached) " >&6
3498 ac_build_alias
=$build_alias
3499 test "x$ac_build_alias" = x
&&
3500 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3501 test "x$ac_build_alias" = x
&&
3502 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3503 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3504 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3508 $as_echo "$ac_cv_build" >&6; }
3509 case $ac_cv_build in
3511 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3514 ac_save_IFS
=$IFS; IFS
='-'
3520 # Remember, the first character of IFS is used to create $*,
3521 # except with old shells:
3524 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3528 $as_echo_n "checking host system type... " >&6; }
3529 if ${ac_cv_host+:} false
; then :
3530 $as_echo_n "(cached) " >&6
3532 if test "x$host_alias" = x
; then
3533 ac_cv_host
=$ac_cv_build
3535 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3536 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3541 $as_echo "$ac_cv_host" >&6; }
3544 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3547 ac_save_IFS
=$IFS; IFS
='-'
3553 # Remember, the first character of IFS is used to create $*,
3554 # except with old shells:
3557 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3563 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3564 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
3565 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3571 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3573 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3574 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3575 $as_echo_n "(cached) " >&6
3577 cat >conftest.
make <<\_ACEOF
3580 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3582 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3583 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3585 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3587 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3591 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3593 $as_echo "yes" >&6; }
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3597 $as_echo "no" >&6; }
3598 SET_MAKE
="MAKE=${MAKE-make}"
3602 ac_cpp
='$CPP $CPPFLAGS'
3603 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3604 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3605 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3606 if test -n "$ac_tool_prefix"; then
3607 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3608 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3610 $as_echo_n "checking for $ac_word... " >&6; }
3611 if ${ac_cv_prog_CC+:} false
; then :
3612 $as_echo_n "(cached) " >&6
3614 if test -n "$CC"; then
3615 ac_cv_prog_CC
="$CC" # Let the user override the test.
3617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3621 test -z "$as_dir" && as_dir
=.
3622 for ac_exec_ext
in '' $ac_executable_extensions; do
3623 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3624 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3635 if test -n "$CC"; then
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3637 $as_echo "$CC" >&6; }
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3640 $as_echo "no" >&6; }
3645 if test -z "$ac_cv_prog_CC"; then
3647 # Extract the first word of "gcc", so it can be a program name with args.
3648 set dummy gcc
; ac_word
=$2
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3650 $as_echo_n "checking for $ac_word... " >&6; }
3651 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3652 $as_echo_n "(cached) " >&6
3654 if test -n "$ac_ct_CC"; then
3655 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3661 test -z "$as_dir" && as_dir
=.
3662 for ac_exec_ext
in '' $ac_executable_extensions; do
3663 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3664 ac_cv_prog_ac_ct_CC
="gcc"
3665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3674 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3675 if test -n "$ac_ct_CC"; then
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3677 $as_echo "$ac_ct_CC" >&6; }
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3680 $as_echo "no" >&6; }
3683 if test "x$ac_ct_CC" = x
; then
3686 case $cross_compiling:$ac_tool_warned in
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3690 ac_tool_warned
=yes ;;
3698 if test -z "$CC"; then
3699 if test -n "$ac_tool_prefix"; then
3700 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3701 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3703 $as_echo_n "checking for $ac_word... " >&6; }
3704 if ${ac_cv_prog_CC+:} false
; then :
3705 $as_echo_n "(cached) " >&6
3707 if test -n "$CC"; then
3708 ac_cv_prog_CC
="$CC" # Let the user override the test.
3710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3714 test -z "$as_dir" && as_dir
=.
3715 for ac_exec_ext
in '' $ac_executable_extensions; do
3716 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3717 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3728 if test -n "$CC"; then
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3730 $as_echo "$CC" >&6; }
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3733 $as_echo "no" >&6; }
3739 if test -z "$CC"; then
3740 # Extract the first word of "cc", so it can be a program name with args.
3741 set dummy cc
; ac_word
=$2
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3743 $as_echo_n "checking for $ac_word... " >&6; }
3744 if ${ac_cv_prog_CC+:} false
; then :
3745 $as_echo_n "(cached) " >&6
3747 if test -n "$CC"; then
3748 ac_cv_prog_CC
="$CC" # Let the user override the test.
3751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3755 test -z "$as_dir" && as_dir
=.
3756 for ac_exec_ext
in '' $ac_executable_extensions; do
3757 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3758 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3759 ac_prog_rejected
=yes
3763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3770 if test $ac_prog_rejected = yes; then
3771 # We found a bogon in the path, so make sure we never use it.
3772 set dummy
$ac_cv_prog_CC
3774 if test $# != 0; then
3775 # We chose a different compiler from the bogus one.
3776 # However, it has the same basename, so the bogon will be chosen
3777 # first if we set CC to just the basename; use the full file name.
3779 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3785 if test -n "$CC"; then
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3787 $as_echo "$CC" >&6; }
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3790 $as_echo "no" >&6; }
3795 if test -z "$CC"; then
3796 if test -n "$ac_tool_prefix"; then
3797 for ac_prog
in cl.exe
3799 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3800 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3802 $as_echo_n "checking for $ac_word... " >&6; }
3803 if ${ac_cv_prog_CC+:} false
; then :
3804 $as_echo_n "(cached) " >&6
3806 if test -n "$CC"; then
3807 ac_cv_prog_CC
="$CC" # Let the user override the test.
3809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3813 test -z "$as_dir" && as_dir
=.
3814 for ac_exec_ext
in '' $ac_executable_extensions; do
3815 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3816 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3827 if test -n "$CC"; then
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3829 $as_echo "$CC" >&6; }
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3832 $as_echo "no" >&6; }
3836 test -n "$CC" && break
3839 if test -z "$CC"; then
3841 for ac_prog
in cl.exe
3843 # Extract the first word of "$ac_prog", so it can be a program name with args.
3844 set dummy
$ac_prog; ac_word
=$2
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3846 $as_echo_n "checking for $ac_word... " >&6; }
3847 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3848 $as_echo_n "(cached) " >&6
3850 if test -n "$ac_ct_CC"; then
3851 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3857 test -z "$as_dir" && as_dir
=.
3858 for ac_exec_ext
in '' $ac_executable_extensions; do
3859 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3860 ac_cv_prog_ac_ct_CC
="$ac_prog"
3861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3870 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3871 if test -n "$ac_ct_CC"; then
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3873 $as_echo "$ac_ct_CC" >&6; }
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3876 $as_echo "no" >&6; }
3880 test -n "$ac_ct_CC" && break
3883 if test "x$ac_ct_CC" = x
; then
3886 case $cross_compiling:$ac_tool_warned in
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3890 ac_tool_warned
=yes ;;
3899 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3901 as_fn_error $?
"no acceptable C compiler found in \$PATH
3902 See \`config.log' for more details" "$LINENO" 5; }
3904 # Provide some information about the compiler.
3905 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3908 for ac_option
in --version -v -V -qversion; do
3909 { { ac_try
="$ac_compiler $ac_option >&5"
3911 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3912 *) ac_try_echo=$ac_try;;
3914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3915 $as_echo "$ac_try_echo"; } >&5
3916 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3918 if test -s conftest.err; then
3920 ... rest of stderr output deleted ...
3921 10q' conftest.err >conftest.er1
3922 cat conftest.er1 >&5
3924 rm -f conftest.er1 conftest.err
3925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3926 test $ac_status = 0; }
3929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3930 /* end confdefs.h. */
3940 ac_clean_files_save=$ac_clean_files
3941 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3942 # Try to create an executable without -o first, disregard a.out.
3943 # It will help us diagnose broken compilers, and finding out an intuition
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3946 $as_echo_n "checking whether the C compiler works... " >&6; }
3947 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3949 # The possible output files:
3950 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3953 for ac_file in $ac_files
3956 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3957 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3962 if { { ac_try="$ac_link_default"
3964 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3965 *) ac_try_echo
=$ac_try;;
3967 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3968 $as_echo "$ac_try_echo"; } >&5
3969 (eval "$ac_link_default") 2>&5
3971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3972 test $ac_status = 0; }; then :
3973 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3974 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3975 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3976 # so that the user can short-circuit this test for compilers unknown to
3978 for ac_file
in $ac_files ''
3980 test -f "$ac_file" ||
continue
3982 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3985 # We found the default executable, but exeext='' is most
3989 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3991 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3993 # We set ac_cv_exeext here because the later test for it is not
3994 # safe: cross compilers may not add the suffix if given an `-o'
3995 # argument, so we may need to know it at that point already.
3996 # Even if this section looks crufty: it has the advantage of
4003 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4008 if test -z "$ac_file"; then :
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4010 $as_echo "no" >&6; }
4011 $as_echo "$as_me: failed program was:" >&5
4012 sed 's/^/| /' conftest.
$ac_ext >&5
4014 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4015 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4016 as_fn_error
77 "C compiler cannot create executables
4017 See \`config.log' for more details" "$LINENO" 5; }
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4020 $as_echo "yes" >&6; }
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4023 $as_echo_n "checking for C compiler default output file name... " >&6; }
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4025 $as_echo "$ac_file" >&6; }
4026 ac_exeext
=$ac_cv_exeext
4028 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4029 ac_clean_files
=$ac_clean_files_save
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4031 $as_echo_n "checking for suffix of executables... " >&6; }
4032 if { { ac_try
="$ac_link"
4034 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4035 *) ac_try_echo=$ac_try;;
4037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4038 $as_echo "$ac_try_echo"; } >&5
4039 (eval "$ac_link") 2>&5
4041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4042 test $ac_status = 0; }; then :
4043 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4044 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4045 # work properly (i.e., refer to `conftest.exe'), while it won't with
4047 for ac_file
in conftest.exe conftest conftest.
*; do
4048 test -f "$ac_file" ||
continue
4050 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4051 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4057 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4059 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4060 See \`config.log' for more details" "$LINENO" 5; }
4062 rm -f conftest conftest
$ac_cv_exeext
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4064 $as_echo "$ac_cv_exeext" >&6; }
4066 rm -f conftest.
$ac_ext
4067 EXEEXT
=$ac_cv_exeext
4069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4070 /* end confdefs.h. */
4075 FILE *f = fopen ("conftest.out", "w");
4076 return ferror (f) || fclose (f) != 0;
4082 ac_clean_files
="$ac_clean_files conftest.out"
4083 # Check that the compiler produces executables we can run. If not, either
4084 # the compiler is broken, or we cross compile.
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4086 $as_echo_n "checking whether we are cross compiling... " >&6; }
4087 if test "$cross_compiling" != yes; then
4088 { { ac_try
="$ac_link"
4090 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4091 *) ac_try_echo=$ac_try;;
4093 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4094 $as_echo "$ac_try_echo"; } >&5
4095 (eval "$ac_link") 2>&5
4097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4098 test $ac_status = 0; }
4099 if { ac_try='./conftest$ac_cv_exeext'
4100 { { case "(($ac_try" in
4101 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4102 *) ac_try_echo
=$ac_try;;
4104 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4105 $as_echo "$ac_try_echo"; } >&5
4106 (eval "$ac_try") 2>&5
4108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4109 test $ac_status = 0; }; }; then
4112 if test "$cross_compiling" = maybe
; then
4115 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4117 as_fn_error $?
"cannot run C compiled programs.
4118 If you meant to cross compile, use \`--host'.
4119 See \`config.log' for more details" "$LINENO" 5; }
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4124 $as_echo "$cross_compiling" >&6; }
4126 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4127 ac_clean_files
=$ac_clean_files_save
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4129 $as_echo_n "checking for suffix of object files... " >&6; }
4130 if ${ac_cv_objext+:} false
; then :
4131 $as_echo_n "(cached) " >&6
4133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4134 /* end confdefs.h. */
4144 rm -f conftest.o conftest.obj
4145 if { { ac_try
="$ac_compile"
4147 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4148 *) ac_try_echo=$ac_try;;
4150 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4151 $as_echo "$ac_try_echo"; } >&5
4152 (eval "$ac_compile") 2>&5
4154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4155 test $ac_status = 0; }; then :
4156 for ac_file in conftest.o conftest.obj conftest.*; do
4157 test -f "$ac_file" || continue;
4159 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4160 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4165 $as_echo "$as_me: failed program was:" >&5
4166 sed 's/^/| /' conftest.$ac_ext >&5
4168 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4169 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4170 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4171 See \
`config.log' for more details" "$LINENO" 5; }
4173 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4176 $as_echo "$ac_cv_objext" >&6; }
4177 OBJEXT=$ac_cv_objext
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4180 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4181 if ${ac_cv_c_compiler_gnu+:} false; then :
4182 $as_echo_n "(cached) " >&6
4184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4185 /* end confdefs.h. */
4198 if ac_fn_c_try_compile "$LINENO"; then :
4203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4204 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4208 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4209 if test $ac_compiler_gnu = yes; then
4214 ac_test_CFLAGS=${CFLAGS+set}
4215 ac_save_CFLAGS=$CFLAGS
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4217 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4218 if ${ac_cv_prog_cc_g+:} false; then :
4219 $as_echo_n "(cached) " >&6
4221 ac_save_c_werror_flag=$ac_c_werror_flag
4222 ac_c_werror_flag=yes
4225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4226 /* end confdefs.h. */
4236 if ac_fn_c_try_compile "$LINENO"; then :
4240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4241 /* end confdefs.h. */
4251 if ac_fn_c_try_compile "$LINENO"; then :
4254 ac_c_werror_flag=$ac_save_c_werror_flag
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h. */
4267 if ac_fn_c_try_compile "$LINENO"; then :
4270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4275 ac_c_werror_flag=$ac_save_c_werror_flag
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4278 $as_echo "$ac_cv_prog_cc_g" >&6; }
4279 if test "$ac_test_CFLAGS" = set; then
4280 CFLAGS=$ac_save_CFLAGS
4281 elif test $ac_cv_prog_cc_g = yes; then
4282 if test "$GCC" = yes; then
4288 if test "$GCC" = yes; then
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4295 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4296 if ${ac_cv_prog_cc_c89+:} false; then :
4297 $as_echo_n "(cached) " >&6
4299 ac_cv_prog_cc_c89=no
4301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4302 /* end confdefs.h. */
4306 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4307 struct buf { int x; };
4308 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4309 static char *e (p, i)
4315 static char *f (char * (*g) (char **, int), char **p, ...)
4320 s = g (p, va_arg (v,int));
4325 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4326 function prototypes and stuff, but not '\xHH' hex character constants.
4327 These don't provoke an error unfortunately, instead are silently treated
4328 as 'x'. The following induces an error, until -std is added to get
4329 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4330 array size at least. It's necessary to write '\x00'==0 to get something
4331 that's true only with -std. */
4332 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4334 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4335 inside strings and character constants. */
4337 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4339 int test (int i, double x);
4340 struct s1 {int (*f) (int a);};
4341 struct s2 {int (*f) (double a);};
4342 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4348 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4353 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4354 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4356 CC="$ac_save_CC $ac_arg"
4357 if ac_fn_c_try_compile "$LINENO"; then :
4358 ac_cv_prog_cc_c89=$ac_arg
4360 rm -f core conftest.err conftest.$ac_objext
4361 test "x$ac_cv_prog_cc_c89" != "xno" && break
4363 rm -f conftest.$ac_ext
4368 case "x$ac_cv_prog_cc_c89" in
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4371 $as_echo "none needed" >&6; } ;;
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4374 $as_echo "unsupported" >&6; } ;;
4376 CC="$CC $ac_cv_prog_cc_c89"
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4378 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4380 if test "x$ac_cv_prog_cc_c89" != xno; then :
4385 ac_cpp='$CPP $CPPFLAGS'
4386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4391 ac_cpp='$CXXCPP $CPPFLAGS'
4392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4395 if test -z "$CXX"; then
4396 if test -n "$CCC"; then
4399 if test -n "$ac_tool_prefix"; then
4400 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4402 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4403 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4405 $as_echo_n "checking for $ac_word... " >&6; }
4406 if ${ac_cv_prog_CXX+:} false; then :
4407 $as_echo_n "(cached) " >&6
4409 if test -n "$CXX"; then
4410 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4416 test -z "$as_dir" && as_dir=.
4417 for ac_exec_ext in '' $ac_executable_extensions; do
4418 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4419 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4430 if test -n "$CXX"; then
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4432 $as_echo "$CXX" >&6; }
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4435 $as_echo "no" >&6; }
4439 test -n "$CXX" && break
4442 if test -z "$CXX"; then
4444 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4446 # Extract the first word of "$ac_prog", so it can be a program name with args.
4447 set dummy $ac_prog; ac_word=$2
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4449 $as_echo_n "checking for $ac_word... " >&6; }
4450 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4451 $as_echo_n "(cached) " >&6
4453 if test -n "$ac_ct_CXX"; then
4454 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4460 test -z "$as_dir" && as_dir=.
4461 for ac_exec_ext in '' $ac_executable_extensions; do
4462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4463 ac_cv_prog_ac_ct_CXX="$ac_prog"
4464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4473 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4474 if test -n "$ac_ct_CXX"; then
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4476 $as_echo "$ac_ct_CXX" >&6; }
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4479 $as_echo "no" >&6; }
4483 test -n "$ac_ct_CXX" && break
4486 if test "x$ac_ct_CXX" = x; then
4489 case $cross_compiling:$ac_tool_warned in
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4492 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4493 ac_tool_warned=yes ;;
4501 # Provide some information about the compiler.
4502 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4505 for ac_option in --version -v -V -qversion; do
4506 { { ac_try="$ac_compiler $ac_option >&5"
4508 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4509 *) ac_try_echo
=$ac_try;;
4511 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4512 $as_echo "$ac_try_echo"; } >&5
4513 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4515 if test -s conftest.err
; then
4517 ... rest of stderr output deleted ...
4518 10q' conftest.err
>conftest.er1
4519 cat conftest.er1
>&5
4521 rm -f conftest.er1 conftest.err
4522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4523 test $ac_status = 0; }
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4527 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4528 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4529 $as_echo_n "(cached) " >&6
4531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4532 /* end confdefs.h. */
4545 if ac_fn_cxx_try_compile
"$LINENO"; then :
4550 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4551 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4555 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4556 if test $ac_compiler_gnu = yes; then
4561 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4562 ac_save_CXXFLAGS
=$CXXFLAGS
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4564 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4565 if ${ac_cv_prog_cxx_g+:} false
; then :
4566 $as_echo_n "(cached) " >&6
4568 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4569 ac_cxx_werror_flag
=yes
4572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4573 /* end confdefs.h. */
4583 if ac_fn_cxx_try_compile
"$LINENO"; then :
4584 ac_cv_prog_cxx_g
=yes
4587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4588 /* end confdefs.h. */
4598 if ac_fn_cxx_try_compile
"$LINENO"; then :
4601 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4614 if ac_fn_cxx_try_compile
"$LINENO"; then :
4615 ac_cv_prog_cxx_g
=yes
4617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4622 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4625 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4626 if test "$ac_test_CXXFLAGS" = set; then
4627 CXXFLAGS
=$ac_save_CXXFLAGS
4628 elif test $ac_cv_prog_cxx_g = yes; then
4629 if test "$GXX" = yes; then
4635 if test "$GXX" = yes; then
4642 ac_cpp
='$CPP $CPPFLAGS'
4643 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4644 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4645 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4647 if test -n "$ac_tool_prefix"; then
4648 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4649 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4651 $as_echo_n "checking for $ac_word... " >&6; }
4652 if ${ac_cv_prog_CPPBIN+:} false
; then :
4653 $as_echo_n "(cached) " >&6
4655 if test -n "$CPPBIN"; then
4656 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4662 test -z "$as_dir" && as_dir
=.
4663 for ac_exec_ext
in '' $ac_executable_extensions; do
4664 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4665 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4675 CPPBIN
=$ac_cv_prog_CPPBIN
4676 if test -n "$CPPBIN"; then
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4678 $as_echo "$CPPBIN" >&6; }
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4681 $as_echo "no" >&6; }
4686 if test -z "$ac_cv_prog_CPPBIN"; then
4687 ac_ct_CPPBIN
=$CPPBIN
4688 # Extract the first word of "cpp", so it can be a program name with args.
4689 set dummy cpp
; ac_word
=$2
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4691 $as_echo_n "checking for $ac_word... " >&6; }
4692 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4693 $as_echo_n "(cached) " >&6
4695 if test -n "$ac_ct_CPPBIN"; then
4696 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4702 test -z "$as_dir" && as_dir
=.
4703 for ac_exec_ext
in '' $ac_executable_extensions; do
4704 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4705 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4715 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4716 if test -n "$ac_ct_CPPBIN"; then
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4718 $as_echo "$ac_ct_CPPBIN" >&6; }
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4721 $as_echo "no" >&6; }
4724 if test "x$ac_ct_CPPBIN" = x
; then
4727 case $cross_compiling:$ac_tool_warned in
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4730 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4731 ac_tool_warned
=yes ;;
4733 CPPBIN
=$ac_ct_CPPBIN
4736 CPPBIN
="$ac_cv_prog_CPPBIN"
4740 cat >>confdefs.h
<<_ACEOF
4741 #define EXEEXT "$ac_exeext"
4744 if test -n "$ac_tool_prefix"; then
4745 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4746 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4748 $as_echo_n "checking for $ac_word... " >&6; }
4749 if ${ac_cv_prog_LD+:} false
; then :
4750 $as_echo_n "(cached) " >&6
4752 if test -n "$LD"; then
4753 ac_cv_prog_LD
="$LD" # Let the user override the test.
4755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4759 test -z "$as_dir" && as_dir
=.
4760 for ac_exec_ext
in '' $ac_executable_extensions; do
4761 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4762 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4773 if test -n "$LD"; then
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4775 $as_echo "$LD" >&6; }
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4778 $as_echo "no" >&6; }
4783 if test -z "$ac_cv_prog_LD"; then
4785 # Extract the first word of "ld", so it can be a program name with args.
4786 set dummy ld
; ac_word
=$2
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4788 $as_echo_n "checking for $ac_word... " >&6; }
4789 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
4790 $as_echo_n "(cached) " >&6
4792 if test -n "$ac_ct_LD"; then
4793 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4799 test -z "$as_dir" && as_dir
=.
4800 for ac_exec_ext
in '' $ac_executable_extensions; do
4801 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4802 ac_cv_prog_ac_ct_LD
="ld"
4803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4812 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4813 if test -n "$ac_ct_LD"; then
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4815 $as_echo "$ac_ct_LD" >&6; }
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4818 $as_echo "no" >&6; }
4821 if test "x$ac_ct_LD" = x
; then
4824 case $cross_compiling:$ac_tool_warned in
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4827 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4828 ac_tool_warned
=yes ;;
4839 if test "x$enable_win64" = "xyes"
4844 notice_platform
="64-bit "
4851 notice_platform
="32-bit "
4854 enable_win16
=${enable_win16:-yes}
4856 with_fontconfig
=${with_fontconfig:-no}
4859 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4864 $as_echo_n "checking whether $CC works... " >&6; }
4866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4867 /* end confdefs.h. */
4877 if ac_fn_c_try_link
"$LINENO"; then :
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4879 $as_echo "yes" >&6; }
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4882 $as_echo "no" >&6; }
4883 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4885 rm -f core conftest.err conftest.
$ac_objext \
4886 conftest
$ac_exeext conftest.
$ac_ext
4888 notice_platform
="32-bit "
4891 enable_win16
=${enable_win16:-yes}
4893 if test "x${GCC}" = "xyes"
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4896 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4898 /* end confdefs.h. */
4903 void func(__builtin_ms_va_list *args);
4908 if ac_fn_c_try_compile
"$LINENO"; then :
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4910 $as_echo "yes" >&6; }
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4913 $as_echo "no" >&6; }
4914 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4924 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4926 /* end confdefs.h. */
4927 int ac_test(int i) { return i; }
4931 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4936 if ac_fn_c_try_link
"$LINENO"; then :
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4938 $as_echo "yes" >&6; }
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4941 $as_echo "no" >&6; }
4942 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4944 rm -f core conftest.err conftest.
$ac_objext \
4945 conftest
$ac_exeext conftest.
$ac_ext
4946 CFLAGS
="$CFLAGS -marm"
4950 *-mingw32*|
*-cygwin*)
4951 enable_win16
=${enable_win16:-no}
4952 CFLAGS
="$CFLAGS -D_WIN32"
4955 enable_win16
=${enable_win16:-yes}
4959 enable_win16
=${enable_win16:-no}
4960 enable_win64
=${enable_win64:-no}
4962 enable_winetest
=${enable_winetest:-$enable_tests}
4964 if test -n "$with_wine64"
4966 if test "x$enable_win64" = "xyes"
4968 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4969 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4971 enable_fonts
=${enable_fonts:-no}
4972 enable_server
=${enable_server:-no}
4973 elif test "x$enable_win64" = "xyes"
4975 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4979 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4980 if ${wine_cv_toolsdir+:} false
; then :
4981 $as_echo_n "(cached) " >&6
4983 wine_cv_toolsdir
="$with_wine_tools"
4984 if test -z "$with_wine_tools"; then
4985 if test "$cross_compiling" = "yes"; then
4986 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4987 elif test -n "$with_wine64"; then
4988 wine_cv_toolsdir
="$with_wine64"
4991 if test -z "$wine_cv_toolsdir"; then
4992 wine_makedep
=tools
/makedep
4993 wine_cv_toolsdir
="\$(top_builddir)"
4994 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4995 wine_makedep
=$wine_cv_toolsdir/tools
/makedep
4996 case "$wine_cv_toolsdir" in
4998 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
5000 enable_tools
=${enable_tools:-no}
5001 test -f "$wine_makedep" || as_fn_error $?
"the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5003 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5007 $as_echo "$wine_cv_toolsdir" >&6; }
5008 TOOLSDIR
=$wine_cv_toolsdir
5010 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5012 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
5018 # Extract the first word of "$ac_prog", so it can be a program name with args.
5019 set dummy
$ac_prog; ac_word
=$2
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5021 $as_echo_n "checking for $ac_word... " >&6; }
5022 if ${ac_cv_prog_FLEX+:} false
; then :
5023 $as_echo_n "(cached) " >&6
5025 if test -n "$FLEX"; then
5026 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5032 test -z "$as_dir" && as_dir
=.
5033 for ac_exec_ext
in '' $ac_executable_extensions; do
5034 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5035 ac_cv_prog_FLEX
="$ac_prog"
5036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5045 FLEX
=$ac_cv_prog_FLEX
5046 if test -n "$FLEX"; then
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5048 $as_echo "$FLEX" >&6; }
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5051 $as_echo "no" >&6; }
5055 test -n "$FLEX" && break
5057 test -n "$FLEX" || FLEX
="none"
5059 if test "$FLEX" = "none"
5061 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5064 $as_echo_n "checking whether flex is recent enough... " >&6; }
5065 cat >conftest.l
<<EOF
5067 #include "prediluvian.h"
5071 if $FLEX -t conftest.l
>/dev
/null
2>&5
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5074 $as_echo "yes" >&6; }
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5077 $as_echo "no" >&6; }
5078 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5081 for ac_prog
in bison
5083 # Extract the first word of "$ac_prog", so it can be a program name with args.
5084 set dummy
$ac_prog; ac_word
=$2
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5086 $as_echo_n "checking for $ac_word... " >&6; }
5087 if ${ac_cv_prog_BISON+:} false
; then :
5088 $as_echo_n "(cached) " >&6
5090 if test -n "$BISON"; then
5091 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5097 test -z "$as_dir" && as_dir
=.
5098 for ac_exec_ext
in '' $ac_executable_extensions; do
5099 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5100 ac_cv_prog_BISON
="$ac_prog"
5101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5110 BISON
=$ac_cv_prog_BISON
5111 if test -n "$BISON"; then
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5113 $as_echo "$BISON" >&6; }
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5116 $as_echo "no" >&6; }
5120 test -n "$BISON" && break
5122 test -n "$BISON" || BISON
="none"
5124 if test "$BISON" = "none"
5126 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5129 if test -n "$ac_tool_prefix"; then
5130 for ac_prog
in ar gar
5132 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5133 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5135 $as_echo_n "checking for $ac_word... " >&6; }
5136 if ${ac_cv_prog_AR+:} false
; then :
5137 $as_echo_n "(cached) " >&6
5139 if test -n "$AR"; then
5140 ac_cv_prog_AR
="$AR" # Let the user override the test.
5142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5146 test -z "$as_dir" && as_dir
=.
5147 for ac_exec_ext
in '' $ac_executable_extensions; do
5148 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5149 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5160 if test -n "$AR"; then
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5162 $as_echo "$AR" >&6; }
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5165 $as_echo "no" >&6; }
5169 test -n "$AR" && break
5172 if test -z "$AR"; then
5174 for ac_prog
in ar gar
5176 # Extract the first word of "$ac_prog", so it can be a program name with args.
5177 set dummy
$ac_prog; ac_word
=$2
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5179 $as_echo_n "checking for $ac_word... " >&6; }
5180 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5181 $as_echo_n "(cached) " >&6
5183 if test -n "$ac_ct_AR"; then
5184 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5190 test -z "$as_dir" && as_dir
=.
5191 for ac_exec_ext
in '' $ac_executable_extensions; do
5192 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5193 ac_cv_prog_ac_ct_AR
="$ac_prog"
5194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5203 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5204 if test -n "$ac_ct_AR"; then
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5206 $as_echo "$ac_ct_AR" >&6; }
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5209 $as_echo "no" >&6; }
5213 test -n "$ac_ct_AR" && break
5216 if test "x$ac_ct_AR" = x
; then
5219 case $cross_compiling:$ac_tool_warned in
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5223 ac_tool_warned
=yes ;;
5229 if test -n "$ac_tool_prefix"; then
5230 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5231 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5233 $as_echo_n "checking for $ac_word... " >&6; }
5234 if ${ac_cv_prog_STRIP+:} false
; then :
5235 $as_echo_n "(cached) " >&6
5237 if test -n "$STRIP"; then
5238 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5244 test -z "$as_dir" && as_dir
=.
5245 for ac_exec_ext
in '' $ac_executable_extensions; do
5246 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5247 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5257 STRIP
=$ac_cv_prog_STRIP
5258 if test -n "$STRIP"; then
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5260 $as_echo "$STRIP" >&6; }
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5263 $as_echo "no" >&6; }
5268 if test -z "$ac_cv_prog_STRIP"; then
5270 # Extract the first word of "strip", so it can be a program name with args.
5271 set dummy strip
; ac_word
=$2
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5273 $as_echo_n "checking for $ac_word... " >&6; }
5274 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5275 $as_echo_n "(cached) " >&6
5277 if test -n "$ac_ct_STRIP"; then
5278 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5284 test -z "$as_dir" && as_dir
=.
5285 for ac_exec_ext
in '' $ac_executable_extensions; do
5286 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5287 ac_cv_prog_ac_ct_STRIP
="strip"
5288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5297 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5298 if test -n "$ac_ct_STRIP"; then
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5300 $as_echo "$ac_ct_STRIP" >&6; }
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5303 $as_echo "no" >&6; }
5306 if test "x$ac_ct_STRIP" = x
; then
5309 case $cross_compiling:$ac_tool_warned in
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5313 ac_tool_warned
=yes ;;
5318 STRIP
="$ac_cv_prog_STRIP"
5323 if test -n "$ac_tool_prefix"; then
5324 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5325 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5327 $as_echo_n "checking for $ac_word... " >&6; }
5328 if ${ac_cv_prog_RANLIB+:} false
; then :
5329 $as_echo_n "(cached) " >&6
5331 if test -n "$RANLIB"; then
5332 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5338 test -z "$as_dir" && as_dir
=.
5339 for ac_exec_ext
in '' $ac_executable_extensions; do
5340 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5341 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5351 RANLIB
=$ac_cv_prog_RANLIB
5352 if test -n "$RANLIB"; then
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5354 $as_echo "$RANLIB" >&6; }
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5357 $as_echo "no" >&6; }
5362 if test -z "$ac_cv_prog_RANLIB"; then
5363 ac_ct_RANLIB
=$RANLIB
5364 # Extract the first word of "ranlib", so it can be a program name with args.
5365 set dummy ranlib
; ac_word
=$2
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5367 $as_echo_n "checking for $ac_word... " >&6; }
5368 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5369 $as_echo_n "(cached) " >&6
5371 if test -n "$ac_ct_RANLIB"; then
5372 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5378 test -z "$as_dir" && as_dir
=.
5379 for ac_exec_ext
in '' $ac_executable_extensions; do
5380 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5381 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5391 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5392 if test -n "$ac_ct_RANLIB"; then
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5394 $as_echo "$ac_ct_RANLIB" >&6; }
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5397 $as_echo "no" >&6; }
5400 if test "x$ac_ct_RANLIB" = x
; then
5403 case $cross_compiling:$ac_tool_warned in
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5406 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5407 ac_tool_warned
=yes ;;
5409 RANLIB
=$ac_ct_RANLIB
5412 RANLIB
="$ac_cv_prog_RANLIB"
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5416 $as_echo_n "checking whether ln -s works... " >&6; }
5418 if test "$LN_S" = "ln -s"; then
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5420 $as_echo "yes" >&6; }
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5423 $as_echo "no, using $LN_S" >&6; }
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5427 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5428 if ${ac_cv_path_GREP+:} false
; then :
5429 $as_echo_n "(cached) " >&6
5431 if test -z "$GREP"; then
5432 ac_path_GREP_found
=false
5433 # Loop through the user's path and test for each of PROGNAME-LIST
5434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5435 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5438 test -z "$as_dir" && as_dir
=.
5439 for ac_prog
in grep ggrep
; do
5440 for ac_exec_ext
in '' $ac_executable_extensions; do
5441 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5442 as_fn_executable_p
"$ac_path_GREP" ||
continue
5443 # Check for GNU ac_path_GREP and select it if it is found.
5444 # Check for GNU $ac_path_GREP
5445 case `"$ac_path_GREP" --version 2>&1` in
5447 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5450 $as_echo_n 0123456789 >"conftest.in"
5453 cat "conftest.in" "conftest.in" >"conftest.tmp"
5454 mv "conftest.tmp" "conftest.in"
5455 cp "conftest.in" "conftest.nl"
5456 $as_echo 'GREP' >> "conftest.nl"
5457 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5458 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5459 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5460 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5461 # Best one so far, save it but keep looking for a better one
5462 ac_cv_path_GREP
="$ac_path_GREP"
5463 ac_path_GREP_max
=$ac_count
5465 # 10*(2^10) chars as input seems more than enough
5466 test $ac_count -gt 10 && break
5468 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5471 $ac_path_GREP_found && break 3
5476 if test -z "$ac_cv_path_GREP"; then
5477 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5480 ac_cv_path_GREP
=$GREP
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5485 $as_echo "$ac_cv_path_GREP" >&6; }
5486 GREP
="$ac_cv_path_GREP"
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5490 $as_echo_n "checking for egrep... " >&6; }
5491 if ${ac_cv_path_EGREP+:} false
; then :
5492 $as_echo_n "(cached) " >&6
5494 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5495 then ac_cv_path_EGREP
="$GREP -E"
5497 if test -z "$EGREP"; then
5498 ac_path_EGREP_found
=false
5499 # Loop through the user's path and test for each of PROGNAME-LIST
5500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5501 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5504 test -z "$as_dir" && as_dir
=.
5505 for ac_prog
in egrep; do
5506 for ac_exec_ext
in '' $ac_executable_extensions; do
5507 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5508 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5509 # Check for GNU ac_path_EGREP and select it if it is found.
5510 # Check for GNU $ac_path_EGREP
5511 case `"$ac_path_EGREP" --version 2>&1` in
5513 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5516 $as_echo_n 0123456789 >"conftest.in"
5519 cat "conftest.in" "conftest.in" >"conftest.tmp"
5520 mv "conftest.tmp" "conftest.in"
5521 cp "conftest.in" "conftest.nl"
5522 $as_echo 'EGREP' >> "conftest.nl"
5523 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5524 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5525 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5526 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5527 # Best one so far, save it but keep looking for a better one
5528 ac_cv_path_EGREP
="$ac_path_EGREP"
5529 ac_path_EGREP_max
=$ac_count
5531 # 10*(2^10) chars as input seems more than enough
5532 test $ac_count -gt 10 && break
5534 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5537 $ac_path_EGREP_found && break 3
5542 if test -z "$ac_cv_path_EGREP"; then
5543 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5546 ac_cv_path_EGREP
=$EGREP
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5552 $as_echo "$ac_cv_path_EGREP" >&6; }
5553 EGREP
="$ac_cv_path_EGREP"
5556 # Extract the first word of "ldconfig", so it can be a program name with args.
5557 set dummy ldconfig
; ac_word
=$2
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5559 $as_echo_n "checking for $ac_word... " >&6; }
5560 if ${ac_cv_path_LDCONFIG+:} false
; then :
5561 $as_echo_n "(cached) " >&6
5565 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5569 for as_dir
in /sbin
/usr
/sbin
$PATH
5572 test -z "$as_dir" && as_dir
=.
5573 for ac_exec_ext
in '' $ac_executable_extensions; do
5574 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5575 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5583 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5587 LDCONFIG
=$ac_cv_path_LDCONFIG
5588 if test -n "$LDCONFIG"; then
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5590 $as_echo "$LDCONFIG" >&6; }
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5593 $as_echo "no" >&6; }
5597 for ac_prog
in msgfmt
5599 # Extract the first word of "$ac_prog", so it can be a program name with args.
5600 set dummy
$ac_prog; ac_word
=$2
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5602 $as_echo_n "checking for $ac_word... " >&6; }
5603 if ${ac_cv_prog_MSGFMT+:} false
; then :
5604 $as_echo_n "(cached) " >&6
5606 if test -n "$MSGFMT"; then
5607 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5613 test -z "$as_dir" && as_dir
=.
5614 for ac_exec_ext
in '' $ac_executable_extensions; do
5615 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5616 ac_cv_prog_MSGFMT
="$ac_prog"
5617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5626 MSGFMT
=$ac_cv_prog_MSGFMT
5627 if test -n "$MSGFMT"; then
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5629 $as_echo "$MSGFMT" >&6; }
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5632 $as_echo "no" >&6; }
5636 test -n "$MSGFMT" && break
5638 test -n "$MSGFMT" || MSGFMT
="false"
5640 if ${ac_tool_prefix+:} false
; then :
5641 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5642 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5644 $as_echo_n "checking for $ac_word... " >&6; }
5645 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5646 $as_echo_n "(cached) " >&6
5648 if test -n "$PKG_CONFIG"; then
5649 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5655 test -z "$as_dir" && as_dir
=.
5656 for ac_exec_ext
in '' $ac_executable_extensions; do
5657 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5658 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
5659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5668 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5669 if test -n "$PKG_CONFIG"; then
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5671 $as_echo "$PKG_CONFIG" >&6; }
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5674 $as_echo "no" >&6; }
5679 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5680 if test "x$cross_compiling" = xyes
; then :
5683 { ac_cv_prog_PKG_CONFIG
=; unset ac_cv_prog_PKG_CONFIG
;}
5684 # Extract the first word of "pkg-config", so it can be a program name with args.
5685 set dummy pkg-config
; ac_word
=$2
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5687 $as_echo_n "checking for $ac_word... " >&6; }
5688 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
5689 $as_echo_n "(cached) " >&6
5691 if test -n "$PKG_CONFIG"; then
5692 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
5694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5698 test -z "$as_dir" && as_dir
=.
5699 for ac_exec_ext
in '' $ac_executable_extensions; do
5700 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5701 ac_cv_prog_PKG_CONFIG
="pkg-config"
5702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5711 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5712 if test -n "$PKG_CONFIG"; then
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5714 $as_echo "$PKG_CONFIG" >&6; }
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5717 $as_echo "no" >&6; }
5723 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
5726 if test "x$enable_maintainer_mode" != "xyes"
5733 test "$srcdir" = . || as_fn_error $?
"Maintainer mode cannot work out of tree." "$LINENO" 5
5734 for ac_prog
in fontforge
5736 # Extract the first word of "$ac_prog", so it can be a program name with args.
5737 set dummy
$ac_prog; ac_word
=$2
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5739 $as_echo_n "checking for $ac_word... " >&6; }
5740 if ${ac_cv_prog_FONTFORGE+:} false
; then :
5741 $as_echo_n "(cached) " >&6
5743 if test -n "$FONTFORGE"; then
5744 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5750 test -z "$as_dir" && as_dir
=.
5751 for ac_exec_ext
in '' $ac_executable_extensions; do
5752 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5753 ac_cv_prog_FONTFORGE
="$ac_prog"
5754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5763 FONTFORGE
=$ac_cv_prog_FONTFORGE
5764 if test -n "$FONTFORGE"; then
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5766 $as_echo "$FONTFORGE" >&6; }
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5769 $as_echo "no" >&6; }
5773 test -n "$FONTFORGE" && break
5775 test -n "$FONTFORGE" || FONTFORGE
="false"
5777 for ac_prog
in rsvg-convert rsvg
5779 # Extract the first word of "$ac_prog", so it can be a program name with args.
5780 set dummy
$ac_prog; ac_word
=$2
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5782 $as_echo_n "checking for $ac_word... " >&6; }
5783 if ${ac_cv_prog_RSVG+:} false
; then :
5784 $as_echo_n "(cached) " >&6
5786 if test -n "$RSVG"; then
5787 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5793 test -z "$as_dir" && as_dir
=.
5794 for ac_exec_ext
in '' $ac_executable_extensions; do
5795 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5796 ac_cv_prog_RSVG
="$ac_prog"
5797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5806 RSVG
=$ac_cv_prog_RSVG
5807 if test -n "$RSVG"; then
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5809 $as_echo "$RSVG" >&6; }
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5812 $as_echo "no" >&6; }
5816 test -n "$RSVG" && break
5818 test -n "$RSVG" || RSVG
="false"
5820 for ac_prog
in convert
5822 # Extract the first word of "$ac_prog", so it can be a program name with args.
5823 set dummy
$ac_prog; ac_word
=$2
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5825 $as_echo_n "checking for $ac_word... " >&6; }
5826 if ${ac_cv_prog_CONVERT+:} false
; then :
5827 $as_echo_n "(cached) " >&6
5829 if test -n "$CONVERT"; then
5830 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5836 test -z "$as_dir" && as_dir
=.
5837 for ac_exec_ext
in '' $ac_executable_extensions; do
5838 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5839 ac_cv_prog_CONVERT
="$ac_prog"
5840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5849 CONVERT
=$ac_cv_prog_CONVERT
5850 if test -n "$CONVERT"; then
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5852 $as_echo "$CONVERT" >&6; }
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5855 $as_echo "no" >&6; }
5859 test -n "$CONVERT" && break
5861 test -n "$CONVERT" || CONVERT
="false"
5863 for ac_prog
in icotool
5865 # Extract the first word of "$ac_prog", so it can be a program name with args.
5866 set dummy
$ac_prog; ac_word
=$2
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5868 $as_echo_n "checking for $ac_word... " >&6; }
5869 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5870 $as_echo_n "(cached) " >&6
5872 if test -n "$ICOTOOL"; then
5873 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5879 test -z "$as_dir" && as_dir
=.
5880 for ac_exec_ext
in '' $ac_executable_extensions; do
5881 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5882 ac_cv_prog_ICOTOOL
="$ac_prog"
5883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5892 ICOTOOL
=$ac_cv_prog_ICOTOOL
5893 if test -n "$ICOTOOL"; then
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5895 $as_echo "$ICOTOOL" >&6; }
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5898 $as_echo "no" >&6; }
5902 test -n "$ICOTOOL" && break
5904 test -n "$ICOTOOL" || ICOTOOL
="false"
5906 test "$FONTFORGE" != "false" || as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
5907 test "$RSVG" != "false" || as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
5909 if test "$CONVERT" = false
5911 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5914 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5915 convert_version
=`convert --version | head -n1`
5916 if test "x$convert_version" != "x"
5918 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5919 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5920 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5925 if test "$CONVERT" = false
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5928 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5929 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5932 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5936 if test "$ICOTOOL" = false
5938 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5941 $as_echo_n "checking for recent enough icotool... " >&6; }
5942 icotool_version
=`icotool --version | head -n1`
5943 if test "x$icotool_version" != "x"
5945 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5946 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5947 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5950 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5953 if test "$ICOTOOL" = false
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5956 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5957 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5960 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5966 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5969 test "x$with_gettext" != xno || MSGFMT
=false
5970 if test "$MSGFMT" != "false"
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5973 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5974 cat >conftest.po
<<EOF
5980 if $MSGFMT -o /dev
/null conftest.po
2>&5
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5983 $as_echo "yes" >&6; }
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5986 $as_echo "no" >&6; }
5990 if test "$MSGFMT" = false
; then :
5991 case "x$with_gettext" in
5992 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5994 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5995 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6001 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6002 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
6003 $as_echo_n "(cached) " >&6
6005 ac_check_lib_save_LIBS
=$LIBS
6007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6008 /* end confdefs.h. */
6010 /* Override any GCC internal prototype to avoid an error.
6011 Use char because int might match the return type of a GCC
6012 builtin and then its argument prototype would still apply. */
6016 char i386_set_ldt ();
6020 return i386_set_ldt ();
6025 if ac_fn_c_try_link
"$LINENO"; then :
6026 ac_cv_lib_i386_i386_set_ldt
=yes
6028 ac_cv_lib_i386_i386_set_ldt
=no
6030 rm -f core conftest.err conftest.
$ac_objext \
6031 conftest
$ac_exeext conftest.
$ac_ext
6032 LIBS
=$ac_check_lib_save_LIBS
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6035 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6036 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
6037 cat >>confdefs.h
<<_ACEOF
6038 #define HAVE_LIBI386 1
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6046 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6047 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
6048 $as_echo_n "(cached) " >&6
6050 ac_check_lib_save_LIBS
=$LIBS
6051 LIBS
="-lossaudio $LIBS"
6052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6053 /* end confdefs.h. */
6055 /* Override any GCC internal prototype to avoid an error.
6056 Use char because int might match the return type of a GCC
6057 builtin and then its argument prototype would still apply. */
6065 return _oss_ioctl ();
6070 if ac_fn_c_try_link
"$LINENO"; then :
6071 ac_cv_lib_ossaudio__oss_ioctl
=yes
6073 ac_cv_lib_ossaudio__oss_ioctl
=no
6075 rm -f core conftest.err conftest.
$ac_objext \
6076 conftest
$ac_exeext conftest.
$ac_ext
6077 LIBS
=$ac_check_lib_save_LIBS
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6080 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6081 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
6082 cat >>confdefs.h
<<_ACEOF
6083 #define HAVE_LIBOSSAUDIO 1
6086 LIBS
="-lossaudio $LIBS"
6095 # Check whether --enable-largefile was given.
6096 if test "${enable_largefile+set}" = set; then :
6097 enableval
=$enable_largefile;
6100 if test "$enable_largefile" != no
; then
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6103 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6104 if ${ac_cv_sys_largefile_CC+:} false
; then :
6105 $as_echo_n "(cached) " >&6
6107 ac_cv_sys_largefile_CC
=no
6108 if test "$GCC" != yes; then
6111 # IRIX 6.2 and later do not support large files by default,
6112 # so use the C compiler's -n32 option if that helps.
6113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6114 /* end confdefs.h. */
6115 #include <sys/types.h>
6116 /* Check that off_t can represent 2**63 - 1 correctly.
6117 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6118 since some C++ compilers masquerading as C compilers
6119 incorrectly reject 9223372036854775807. */
6120 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6121 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6122 && LARGE_OFF_T % 2147483647 == 1)
6132 if ac_fn_c_try_compile
"$LINENO"; then :
6135 rm -f core conftest.err conftest.
$ac_objext
6137 if ac_fn_c_try_compile
"$LINENO"; then :
6138 ac_cv_sys_largefile_CC
=' -n32'; break
6140 rm -f core conftest.err conftest.
$ac_objext
6144 rm -f conftest.
$ac_ext
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6148 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6149 if test "$ac_cv_sys_largefile_CC" != no
; then
6150 CC
=$CC$ac_cv_sys_largefile_CC
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6154 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6155 if ${ac_cv_sys_file_offset_bits+:} false
; then :
6156 $as_echo_n "(cached) " >&6
6159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6160 /* end confdefs.h. */
6161 #include <sys/types.h>
6162 /* Check that off_t can represent 2**63 - 1 correctly.
6163 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6164 since some C++ compilers masquerading as C compilers
6165 incorrectly reject 9223372036854775807. */
6166 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6167 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6168 && LARGE_OFF_T % 2147483647 == 1)
6178 if ac_fn_c_try_compile
"$LINENO"; then :
6179 ac_cv_sys_file_offset_bits
=no
; break
6181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6183 /* end confdefs.h. */
6184 #define _FILE_OFFSET_BITS 64
6185 #include <sys/types.h>
6186 /* Check that off_t can represent 2**63 - 1 correctly.
6187 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6188 since some C++ compilers masquerading as C compilers
6189 incorrectly reject 9223372036854775807. */
6190 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6191 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6192 && LARGE_OFF_T % 2147483647 == 1)
6202 if ac_fn_c_try_compile
"$LINENO"; then :
6203 ac_cv_sys_file_offset_bits
=64; break
6205 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6206 ac_cv_sys_file_offset_bits
=unknown
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6211 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6212 case $ac_cv_sys_file_offset_bits in #(
6215 cat >>confdefs.h
<<_ACEOF
6216 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6221 if test $ac_cv_sys_file_offset_bits = unknown
; then
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6223 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6224 if ${ac_cv_sys_large_files+:} false
; then :
6225 $as_echo_n "(cached) " >&6
6228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6229 /* end confdefs.h. */
6230 #include <sys/types.h>
6231 /* Check that off_t can represent 2**63 - 1 correctly.
6232 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6233 since some C++ compilers masquerading as C compilers
6234 incorrectly reject 9223372036854775807. */
6235 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6236 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6237 && LARGE_OFF_T % 2147483647 == 1)
6247 if ac_fn_c_try_compile
"$LINENO"; then :
6248 ac_cv_sys_large_files
=no
; break
6250 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6252 /* end confdefs.h. */
6253 #define _LARGE_FILES 1
6254 #include <sys/types.h>
6255 /* Check that off_t can represent 2**63 - 1 correctly.
6256 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6257 since some C++ compilers masquerading as C compilers
6258 incorrectly reject 9223372036854775807. */
6259 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6260 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6261 && LARGE_OFF_T % 2147483647 == 1)
6271 if ac_fn_c_try_compile
"$LINENO"; then :
6272 ac_cv_sys_large_files
=1; break
6274 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6275 ac_cv_sys_large_files
=unknown
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6280 $as_echo "$ac_cv_sys_large_files" >&6; }
6281 case $ac_cv_sys_large_files in #(
6284 cat >>confdefs.h
<<_ACEOF
6285 #define _LARGE_FILES $ac_cv_sys_large_files
6297 ac_cpp
='$CPP $CPPFLAGS'
6298 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6299 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6300 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6302 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6303 # On Suns, sometimes $CPP names a directory.
6304 if test -n "$CPP" && test -d "$CPP"; then
6307 if test -z "$CPP"; then
6308 if ${ac_cv_prog_CPP+:} false
; then :
6309 $as_echo_n "(cached) " >&6
6311 # Double quotes because CPP needs to be expanded
6312 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6315 for ac_c_preproc_warn_flag
in '' yes
6317 # Use a header file that comes with gcc, so configuring glibc
6318 # with a fresh cross-compiler works.
6319 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6320 # <limits.h> exists even on freestanding compilers.
6321 # On the NeXT, cc -E runs the code through the compiler's parser,
6322 # not just through cpp. "Syntax error" is here to catch this case.
6323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6324 /* end confdefs.h. */
6326 # include <limits.h>
6328 # include <assert.h>
6332 if ac_fn_c_try_cpp
"$LINENO"; then :
6335 # Broken: fails on valid input.
6338 rm -f conftest.err conftest.i conftest.
$ac_ext
6340 # OK, works on sane cases. Now check whether nonexistent headers
6341 # can be detected and how.
6342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6343 /* end confdefs.h. */
6344 #include <ac_nonexistent.h>
6346 if ac_fn_c_try_cpp
"$LINENO"; then :
6347 # Broken: success on invalid input.
6350 # Passes both tests.
6354 rm -f conftest.err conftest.i conftest.
$ac_ext
6357 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6358 rm -f conftest.i conftest.err conftest.
$ac_ext
6359 if $ac_preproc_ok; then :
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6372 $as_echo "$CPP" >&6; }
6374 for ac_c_preproc_warn_flag
in '' yes
6376 # Use a header file that comes with gcc, so configuring glibc
6377 # with a fresh cross-compiler works.
6378 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6379 # <limits.h> exists even on freestanding compilers.
6380 # On the NeXT, cc -E runs the code through the compiler's parser,
6381 # not just through cpp. "Syntax error" is here to catch this case.
6382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6383 /* end confdefs.h. */
6385 # include <limits.h>
6387 # include <assert.h>
6391 if ac_fn_c_try_cpp
"$LINENO"; then :
6394 # Broken: fails on valid input.
6397 rm -f conftest.err conftest.i conftest.
$ac_ext
6399 # OK, works on sane cases. Now check whether nonexistent headers
6400 # can be detected and how.
6401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6402 /* end confdefs.h. */
6403 #include <ac_nonexistent.h>
6405 if ac_fn_c_try_cpp
"$LINENO"; then :
6406 # Broken: success on invalid input.
6409 # Passes both tests.
6413 rm -f conftest.err conftest.i conftest.
$ac_ext
6416 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6417 rm -f conftest.i conftest.err conftest.
$ac_ext
6418 if $ac_preproc_ok; then :
6421 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6422 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6423 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
6424 See \`config.log' for more details" "$LINENO" 5; }
6428 ac_cpp
='$CPP $CPPFLAGS'
6429 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6430 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6431 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6435 $as_echo_n "checking for ANSI C header files... " >&6; }
6436 if ${ac_cv_header_stdc+:} false
; then :
6437 $as_echo_n "(cached) " >&6
6439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6440 /* end confdefs.h. */
6454 if ac_fn_c_try_compile
"$LINENO"; then :
6455 ac_cv_header_stdc
=yes
6457 ac_cv_header_stdc
=no
6459 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6461 if test $ac_cv_header_stdc = yes; then
6462 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6464 /* end confdefs.h. */
6468 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6469 $EGREP "memchr" >/dev
/null
2>&1; then :
6472 ac_cv_header_stdc
=no
6478 if test $ac_cv_header_stdc = yes; then
6479 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6481 /* end confdefs.h. */
6485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6486 $EGREP "free" >/dev
/null
2>&1; then :
6489 ac_cv_header_stdc
=no
6495 if test $ac_cv_header_stdc = yes; then
6496 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6497 if test "$cross_compiling" = yes; then :
6500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6501 /* end confdefs.h. */
6504 #if ((' ' & 0x0FF) == 0x020)
6505 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6506 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6508 # define ISLOWER(c) \
6509 (('a' <= (c) && (c) <= 'i') \
6510 || ('j' <= (c) && (c) <= 'r') \
6511 || ('s' <= (c) && (c) <= 'z'))
6512 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6515 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6520 for (i = 0; i < 256; i++)
6521 if (XOR (islower (i), ISLOWER (i))
6522 || toupper (i) != TOUPPER (i))
6527 if ac_fn_c_try_run
"$LINENO"; then :
6530 ac_cv_header_stdc
=no
6532 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6533 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6539 $as_echo "$ac_cv_header_stdc" >&6; }
6540 if test $ac_cv_header_stdc = yes; then
6542 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6546 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6547 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6548 inttypes.h stdint.h unistd.h
6550 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6551 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6553 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6554 cat >>confdefs.h
<<_ACEOF
6555 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6565 ApplicationServices
/ApplicationServices.h \
6566 AudioToolbox
/AudioConverter.h \
6567 AudioUnit
/AudioUnit.h \
6568 AudioUnit
/AudioComponent.h \
6571 CoreAudio
/CoreAudio.h \
6572 CoreServices
/CoreServices.h \
6573 DiskArbitration
/DiskArbitration.h \
6575 IOKit
/hid
/IOHIDLib.h \
6578 QuickTime
/ImageCompression.h \
6579 Security
/Security.h \
6630 netinet
/in_systm.h \
6692 valgrind
/memcheck.h \
6693 valgrind
/valgrind.h \
6697 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6698 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6699 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6700 cat >>confdefs.h
<<_ACEOF
6701 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6709 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6710 if ${ac_cv_header_stat_broken+:} false
; then :
6711 $as_echo_n "(cached) " >&6
6713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6714 /* end confdefs.h. */
6715 #include <sys/types.h>
6716 #include <sys/stat.h>
6718 #if defined S_ISBLK && defined S_IFDIR
6719 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6722 #if defined S_ISBLK && defined S_IFCHR
6723 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6726 #if defined S_ISLNK && defined S_IFREG
6727 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6730 #if defined S_ISSOCK && defined S_IFREG
6731 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6735 if ac_fn_c_try_compile
"$LINENO"; then :
6736 ac_cv_header_stat_broken
=no
6738 ac_cv_header_stat_broken
=yes
6740 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6743 $as_echo "$ac_cv_header_stat_broken" >&6; }
6744 if test $ac_cv_header_stat_broken = yes; then
6746 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6752 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6754 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6755 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6756 #ifdef HAVE_SYS_PARAM_H
6757 # include <sys/param.h>
6760 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6761 cat >>confdefs.h
<<_ACEOF
6762 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6777 netinet
/if_ether.h \
6778 netinet
/if_inarp.h \
6787 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6788 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6789 #ifdef HAVE_SYS_SOCKET_H
6790 # include <sys/socket.h>
6792 #ifdef HAVE_SYS_SOCKETVAR_H
6793 # include <sys/socketvar.h>
6795 #ifdef HAVE_NET_ROUTE_H
6796 # include <net/route.h>
6798 #ifdef HAVE_NETINET_IN_H
6799 # include <netinet/in.h>
6801 #ifdef HAVE_NETINET_IN_SYSTM_H
6802 # include <netinet/in_systm.h>
6804 #ifdef HAVE_NET_IF_H
6805 # include <net/if.h>
6807 #ifdef HAVE_NETINET_IP_H
6808 # include <netinet/ip.h>
6811 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6812 cat >>confdefs.h
<<_ACEOF
6813 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6821 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6823 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6824 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6828 #ifdef HAVE_SYS_SOCKET_H
6829 # include <sys/socket.h>
6831 #ifdef HAVE_SYS_SOCKETVAR_H
6832 # include <sys/socketvar.h>
6834 #ifdef HAVE_SYS_TIMEOUT_H
6835 # include <sys/timeout.h>
6837 #ifdef HAVE_NETINET_IN_H
6838 # include <netinet/in.h>
6840 #ifdef HAVE_NETINET_IN_SYSTM_H
6841 # include <netinet/in_systm.h>
6843 #ifdef HAVE_NETINET_IP_H
6844 # include <netinet/ip.h>
6846 #ifdef HAVE_NETINET_IP_VAR_H
6847 # include <netinet/ip_var.h>
6849 #ifdef HAVE_NETINET_IP_ICMP_H
6850 # include <netinet/ip_icmp.h>
6852 #ifdef HAVE_NETINET_UDP_H
6853 # include <netinet/udp.h>
6855 #ifdef HAVE_NETINET_TCP_H
6856 # include <netinet/tcp.h>
6858 #ifdef HAVE_NETINET_TCP_TIMER_H
6859 #include <netinet/tcp_timer.h>
6862 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6863 cat >>confdefs.h
<<_ACEOF
6864 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6872 for ac_header
in linux
/ipx.h linux
/irda.h linux
/rtnetlink.h
6874 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6875 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6876 #ifdef HAVE_ASM_TYPES_H
6877 # include <asm/types.h>
6879 #ifdef HAVE_SYS_SOCKET_H
6880 # include <sys/socket.h>
6882 #ifdef HAVE_LINUX_TYPES_H
6883 # include <linux/types.h>
6886 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6887 cat >>confdefs.h
<<_ACEOF
6888 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6896 for ac_header
in mach-o
/dyld_images.h
6898 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6899 # include <stdbool.h>
6901 #ifdef HAVE_STDINT_H
6902 # include <stdint.h>
6905 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6906 cat >>confdefs.h
<<_ACEOF
6907 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6915 for ac_header
in resolv.h
6917 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6918 #ifdef HAVE_SYS_SOCKET_H
6919 # include <sys/socket.h>
6921 #ifdef HAVE_NETINET_IN_H
6922 # include <netinet/in.h>
6924 #ifdef HAVE_ARPA_NAMESER_H
6925 # include <arpa/nameser.h>
6928 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6929 cat >>confdefs.h
<<_ACEOF
6930 #define HAVE_RESOLV_H 1
6938 for ac_header
in ifaddrs.h
6940 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6942 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6943 cat >>confdefs.h
<<_ACEOF
6944 #define HAVE_IFADDRS_H 1
6952 for ac_header
in sys
/ucontext.h
6954 ac_fn_c_check_header_compile
"$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
6956 if test "x$ac_cv_header_sys_ucontext_h" = xyes
; then :
6957 cat >>confdefs.h
<<_ACEOF
6958 #define HAVE_SYS_UCONTEXT_H 1
6966 for ac_header
in sys
/thr.h
6968 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6969 #ifdef HAVE_SYS_UCONTEXT_H
6970 #include <sys/ucontext.h>
6973 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6974 cat >>confdefs.h
<<_ACEOF
6975 #define HAVE_SYS_THR_H 1
6983 for ac_header
in pthread_np.h
6985 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6986 #include <pthread.h>
6989 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6990 cat >>confdefs.h
<<_ACEOF
6991 #define HAVE_PTHREAD_NP_H 1
6999 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
7001 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7002 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7003 #include <sys/time.h>
7005 #include <sys/types.h>
7006 #ifdef HAVE_ASM_TYPES_H
7007 #include <asm/types.h>
7010 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7011 cat >>confdefs.h
<<_ACEOF
7012 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7020 for ac_header
in libprocstat.h
7022 ac_fn_c_check_header_compile
"$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7023 #include <sys/param.h>
7025 #ifdef HAVE_SYS_QUEUE_H
7026 #include <sys/queue.h>
7028 #ifdef HAVE_SYS_SOCKET_H
7029 #include <sys/socket.h>
7032 if test "x$ac_cv_header_libprocstat_h" = xyes
; then :
7033 cat >>confdefs.h
<<_ACEOF
7034 #define HAVE_LIBPROCSTAT_H 1
7043 dlldir
="\${libdir}/wine"
7047 DLLFLAGS
="-D_REENTRANT"
7056 STATIC_IMPLIBEXT
="def.a"
7057 # Extract the first word of "ldd", so it can be a program name with args.
7058 set dummy ldd
; ac_word
=$2
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7060 $as_echo_n "checking for $ac_word... " >&6; }
7061 if ${ac_cv_path_LDD+:} false
; then :
7062 $as_echo_n "(cached) " >&6
7066 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
7069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7070 as_dummy
="/sbin:/usr/sbin:$PATH"
7071 for as_dir
in $as_dummy
7074 test -z "$as_dir" && as_dir
=.
7075 for ac_exec_ext
in '' $ac_executable_extensions; do
7076 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7077 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
7078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7085 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
7090 if test -n "$LDD"; then
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7092 $as_echo "$LDD" >&6; }
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7095 $as_echo "no" >&6; }
7099 if test -n "$ac_tool_prefix"; then
7100 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7101 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7103 $as_echo_n "checking for $ac_word... " >&6; }
7104 if ${ac_cv_prog_READELF+:} false
; then :
7105 $as_echo_n "(cached) " >&6
7107 if test -n "$READELF"; then
7108 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
7110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7114 test -z "$as_dir" && as_dir
=.
7115 for ac_exec_ext
in '' $ac_executable_extensions; do
7116 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7117 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
7118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7127 READELF
=$ac_cv_prog_READELF
7128 if test -n "$READELF"; then
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7130 $as_echo "$READELF" >&6; }
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7133 $as_echo "no" >&6; }
7138 if test -z "$ac_cv_prog_READELF"; then
7139 ac_ct_READELF
=$READELF
7140 # Extract the first word of "readelf", so it can be a program name with args.
7141 set dummy readelf
; ac_word
=$2
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7143 $as_echo_n "checking for $ac_word... " >&6; }
7144 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
7145 $as_echo_n "(cached) " >&6
7147 if test -n "$ac_ct_READELF"; then
7148 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
7150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7154 test -z "$as_dir" && as_dir
=.
7155 for ac_exec_ext
in '' $ac_executable_extensions; do
7156 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7157 ac_cv_prog_ac_ct_READELF
="readelf"
7158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7167 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
7168 if test -n "$ac_ct_READELF"; then
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7170 $as_echo "$ac_ct_READELF" >&6; }
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7173 $as_echo "no" >&6; }
7176 if test "x$ac_ct_READELF" = x
; then
7179 case $cross_compiling:$ac_tool_warned in
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7183 ac_tool_warned
=yes ;;
7185 READELF
=$ac_ct_READELF
7188 READELF
="$ac_cv_prog_READELF"
7191 wine_rules_file
=conf$
$rules.
make
7192 rm -f $wine_rules_file
7194 GITIGNORE
="# Automatically generated by configure; DO NOT EDIT!!"
7195 ALL_TEST_RESOURCES
=""
7198 wine_fn_append_file
()
7200 as_fn_append
$1 " \\$as_nl $2"
7203 wine_fn_ignore_file
()
7206 */*) as_fn_append GITIGNORE
"$as_nl$1" ;;
7207 \
**) as_fn_append GITIGNORE
"$as_nl$1" ;;
7208 *) as_fn_append GITIGNORE
"$as_nl/$1" ;;
7212 wine_fn_append_rule
()
7214 $as_echo "$1" >>$wine_rules_file
7219 expr ",$ac_flags," : ".*,$1,.*" >/dev
/null
7222 wine_fn_depend_rules
()
7224 wine_fn_append_rule \
7225 "$ac_dir/Makefile: $srcdir/$ac_dir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
7226 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir
7227 depend: $ac_dir/depend
7228 .PHONY: $ac_dir/depend
7229 $ac_dir/depend: \$(MAKEDEP) dummy
7230 @./config.status --file $ac_dir/Makefile:Make.vars.in:$ac_dir/Makefile.in && \$(MAKEDEP) $ac_dir"
7233 wine_fn_pot_rules
()
7235 test "x$with_gettextpo" = xyes ||
return
7237 if wine_fn_has_flag mc
7239 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
7240 wine_fn_append_rule \
7241 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
7242 @cd $ac_dir && \$(MAKE) msg.pot
7243 $ac_dir/msg.pot: tools/wmc include"
7245 if wine_fn_has_flag po
7247 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
7248 wine_fn_append_rule \
7249 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
7250 @cd $ac_dir && \$(MAKE) rsrc.pot
7251 $ac_dir/rsrc.pot: tools/wrc include"
7255 wine_fn_all_rules
()
7257 wine_fn_depend_rules
7258 wine_fn_append_rule \
7261 $ac_dir: $ac_dir/Makefile dummy
7262 @cd $ac_dir && \$(MAKE)"
7265 wine_fn_install_rules
()
7267 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev ||
return
7269 wine_fn_append_rule \
7270 ".PHONY: $ac_dir/install $ac_dir/uninstall
7271 $ac_dir/install:: $ac_dir
7272 @cd $ac_dir && \$(MAKE) install
7273 $ac_dir/uninstall:: $ac_dir/Makefile
7274 @cd $ac_dir && \$(MAKE) uninstall
7275 install:: $ac_dir/install
7276 __uninstall__: $ac_dir/uninstall"
7278 if wine_fn_has_flag install-lib
7280 wine_fn_append_rule \
7281 ".PHONY: $ac_dir/install-lib
7282 $ac_dir/install-lib:: $ac_dir
7283 @cd $ac_dir && \$(MAKE) install-lib
7284 install-lib:: $ac_dir/install-lib"
7287 if wine_fn_has_flag install-dev
7289 wine_fn_append_rule \
7290 ".PHONY: $ac_dir/install-dev
7291 $ac_dir/install-dev:: $ac_dir
7292 @cd $ac_dir && \$(MAKE) install-dev
7293 install-dev:: $ac_dir/install-dev"
7297 wine_fn_clean_rules
()
7300 ac_extraclean
="$ac_dir/Makefile"
7301 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7303 */tests
) ac_extraclean
="$ac_extraclean $ac_dir/testlist.c" ;;
7306 if wine_fn_has_flag clean
7308 wine_fn_append_rule \
7309 "__clean__: $ac_dir/clean
7310 .PHONY: $ac_dir/clean
7311 $ac_dir/clean: $ac_dir/Makefile
7312 @cd $ac_dir && \$(MAKE) clean
7313 \$(RM) $ac_extraclean"
7315 wine_fn_append_rule \
7316 "__clean__: $ac_dir/clean
7317 .PHONY: $ac_dir/clean
7318 $ac_dir/clean: dummy
7319 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7323 wine_fn_disabled_rules
()
7326 ac_extraclean
="$ac_dir/Makefile"
7327 test "$srcdir" = .
&& ac_extraclean
="$ac_extraclean $ac_dir/.gitignore"
7329 wine_fn_append_rule \
7330 "__clean__: $ac_dir/clean
7331 .PHONY: $ac_dir/clean
7332 $ac_dir/clean: dummy
7333 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
7336 wine_fn_config_makefile
()
7342 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7343 wine_fn_disabled_rules
; return
7346 wine_fn_install_rules
7350 wine_fn_config_lib
()
7354 ac_dir
=dlls
/$ac_name
7357 if test "x$enable_tools" = xno
; then :
7360 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7365 wine_fn_append_rule \
7366 ".PHONY: $ac_dir/install $ac_dir/uninstall
7367 $ac_dir/install:: $ac_dir
7368 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7370 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7371 install install-dev:: $ac_dir/install
7372 __uninstall__: $ac_dir/uninstall
7373 __builddeps__: $ac_dir
7377 wine_fn_config_dll
()
7380 ac_dir
=dlls
/$ac_name
7383 ac_implib
=${4:-$ac_name}
7384 ac_file
=$ac_dir/lib
$ac_implib
7389 if test "x$enable_tools" = xno
; then :
7392 ac_deps
="tools/widl tools/winebuild tools/winegcc $ac_deps"
7395 *16) ac_implibflags
=" -m16" ;;
7397 *) ac_dll
=$ac_dll.dll
;;
7401 wine_fn_has_flag implib
&& ac_clean
="$ac_clean $ac_file.$IMPLIBEXT"
7402 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7403 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7404 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_dll"
7406 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7407 if wine_fn_has_flag implib
&& test "$ac_enable" != enable_win16
7409 wine_fn_depend_rules
7410 wine_fn_clean_rules
$ac_clean
7412 wine_fn_disabled_rules
$ac_clean
7417 wine_fn_clean_rules
$ac_clean
7418 wine_fn_append_rule \
7419 "$ac_dir: __builddeps__
7420 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
7421 @cd $ac_dir && \$(MAKE) \$@
7422 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7423 install install-lib:: $ac_dir/install-lib
7424 __uninstall__: $ac_dir/uninstall"
7425 if test -n "$DLLEXT"
7427 wine_fn_append_rule \
7428 "$ac_dir/install-lib:: $ac_dir
7429 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT
7430 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7432 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7434 wine_fn_append_rule \
7435 "$ac_dir/install-lib:: $ac_dir
7436 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7438 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7444 if wine_fn_has_flag staticimplib
7446 wine_fn_append_rule \
7447 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7448 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7449 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7450 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7451 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
7452 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7453 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7454 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7455 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7457 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7458 install install-dev:: $ac_dir/install-dev
7459 __uninstall__: $ac_dir/uninstall"
7461 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7463 wine_fn_append_rule \
7464 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7465 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7467 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7470 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7472 wine_fn_append_rule \
7473 "__builddeps__: $ac_file.cross.a
7474 $ac_file.cross.a: $ac_dir/Makefile dummy
7475 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7478 elif wine_fn_has_flag implib
7480 wine_fn_append_rule \
7481 "__builddeps__: $ac_file.$IMPLIBEXT
7482 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7483 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7484 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7485 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7486 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7487 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7488 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7490 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7491 install install-dev:: $ac_dir/install-dev
7492 __uninstall__: $ac_dir/uninstall"
7493 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7495 wine_fn_append_rule \
7496 "__builddeps__: $ac_file.cross.a
7497 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
7498 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7501 if test "$ac_name" != "$ac_implib"
7503 wine_fn_append_rule \
7504 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7505 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7506 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7508 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7509 wine_fn_ignore_file
"dlls/lib$ac_implib.$IMPLIBEXT"
7510 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7512 wine_fn_append_rule \
7513 "__builddeps__: dlls/lib$ac_implib.cross.a
7514 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7515 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7517 \$(RM) dlls/lib$ac_implib.cross.a"
7518 wine_fn_ignore_file
"dlls/lib$ac_implib.cross.a"
7524 wine_fn_config_program
()
7527 ac_dir
=programs
/$ac_name
7534 *) ac_program
=$ac_program.exe
;;
7538 wine_fn_has_flag mc
&& ac_clean
="$ac_clean $ac_dir/msg.pot"
7539 wine_fn_has_flag po
&& ac_clean
="$ac_clean $ac_dir/rsrc.pot"
7540 wine_fn_has_flag manpage
&& ac_clean
="$ac_clean $ac_dir/$ac_name.man"
7541 test -n "$DLLEXT" || ac_clean
="$ac_clean $ac_dir/$ac_program"
7543 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
7544 wine_fn_disabled_rules
$ac_clean; return
7548 wine_fn_clean_rules
$ac_clean
7549 wine_fn_append_rule
"$ac_dir: __builddeps__"
7552 wine_fn_has_flag
install ||
return
7553 wine_fn_append_rule \
7554 ".PHONY: $ac_dir/install $ac_dir/uninstall
7555 install install-lib:: $ac_dir/install
7556 __uninstall__: $ac_dir/uninstall"
7558 if test -n "$DLLEXT"
7560 wine_fn_append_rule \
7561 "$ac_dir/install:: $ac_dir
7562 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT
7563 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7565 \$(RM) \$(DESTDIR)\$(dlldir)/$DLLPREFIX$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7567 if test -z "$with_wine64" && wine_fn_has_flag installbin
7569 wine_fn_append_rule \
7570 "$ac_dir/install:: __tooldeps__
7571 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7573 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7576 wine_fn_append_rule \
7577 "$ac_dir/install:: $ac_dir
7578 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7580 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7583 if test -z "$with_wine64" && wine_fn_has_flag manpage
7585 wine_fn_append_rule \
7586 "$ac_dir/install:: $ac_dir
7587 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7589 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7593 wine_fn_config_test
()
7600 test -n "$CROSSTARGET" && ac_clean
=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7601 test -n "$DLLEXT" || ac_clean
="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7603 if test "x$enable_tests" = xno
; then :
7604 wine_fn_disabled_rules
$ac_clean; return
7607 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
7609 wine_fn_clean_rules
$ac_clean
7611 wine_fn_append_rule \
7612 "$ac_dir: programs/winetest/Makefile __builddeps__
7613 programs/winetest: $ac_dir
7614 check test: $ac_dir/test
7615 .PHONY: $ac_dir/test
7617 @cd $ac_dir && \$(MAKE) test
7619 \$(RM) $ac_dir/*.ok"
7621 if test -n "$CROSSTARGET"
7623 wine_fn_append_rule \
7624 "crosstest: $ac_dir/crosstest
7625 .PHONY: $ac_dir/crosstest
7626 $ac_dir/crosstest: $ac_dir/Makefile __builddeps__ dummy
7627 @cd $ac_dir && \$(MAKE) crosstest"
7631 wine_fn_config_tool
()
7635 if test "x$enable_tools" = xno
; then :
7640 wine_fn_install_rules
7643 wine_fn_append_rule
"__tooldeps__: $ac_dir"
7644 wine_fn_append_rule
"$ac_dir: libs/port"
7646 tools
/winebuild
) wine_fn_append_rule
"\$(WINEBUILD): $ac_dir" ;;
7650 wine_fn_config_symlink
()
7653 if test "x$1" = "x-d"
7659 wine_fn_append_rule \
7661 @./config.status \$@
7664 for f
in $ac_links; do wine_fn_ignore_file
$f; done
7665 test -n "$ac_linkdir" ||
return
7666 wine_fn_append_rule
"$ac_linkdir/Makefile $ac_linkdir/depend: $ac_links"
7670 test "x$enable_win64" != "xyes" || wine_binary
="wine64"
7671 loader_programs
="$wine_binary wine-installed"
7672 libwine_soversion
=`expr $libwine_version : '\([0-9]*\)\..*'`
7677 install install-lib:: wine-installed
7678 \$(INSTALL_PROGRAM) wine-installed \$(DESTDIR)\$(bindir)/$wine_binary
7681 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary
7687 if test -n "$ac_tool_prefix"; then
7688 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7689 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7691 $as_echo_n "checking for $ac_word... " >&6; }
7692 if ${ac_cv_prog_DLLTOOL+:} false
; then :
7693 $as_echo_n "(cached) " >&6
7695 if test -n "$DLLTOOL"; then
7696 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
7698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7702 test -z "$as_dir" && as_dir
=.
7703 for ac_exec_ext
in '' $ac_executable_extensions; do
7704 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7705 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
7706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7715 DLLTOOL
=$ac_cv_prog_DLLTOOL
7716 if test -n "$DLLTOOL"; then
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7718 $as_echo "$DLLTOOL" >&6; }
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7721 $as_echo "no" >&6; }
7726 if test -z "$ac_cv_prog_DLLTOOL"; then
7727 ac_ct_DLLTOOL
=$DLLTOOL
7728 # Extract the first word of "dlltool", so it can be a program name with args.
7729 set dummy dlltool
; ac_word
=$2
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7731 $as_echo_n "checking for $ac_word... " >&6; }
7732 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
7733 $as_echo_n "(cached) " >&6
7735 if test -n "$ac_ct_DLLTOOL"; then
7736 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
7738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7742 test -z "$as_dir" && as_dir
=.
7743 for ac_exec_ext
in '' $ac_executable_extensions; do
7744 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7745 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
7746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7755 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
7756 if test -n "$ac_ct_DLLTOOL"; then
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7758 $as_echo "$ac_ct_DLLTOOL" >&6; }
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7761 $as_echo "no" >&6; }
7764 if test "x$ac_ct_DLLTOOL" = x
; then
7767 case $cross_compiling:$ac_tool_warned in
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7770 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7771 ac_tool_warned
=yes ;;
7773 DLLTOOL
=$ac_ct_DLLTOOL
7776 DLLTOOL
="$ac_cv_prog_DLLTOOL"
7782 STATIC_IMPLIBEXT
="a"
7783 enable_iphlpapi
=${enable_iphlpapi:-no}
7784 enable_kernel32
=${enable_kernel32:-no}
7785 enable_msvcrt
=${enable_msvcrt:-no}
7786 enable_ntdll
=${enable_ntdll:-no}
7787 enable_ws2_32
=${enable_ws2_32:-no}
7788 enable_loader
=${enable_loader:-no}
7789 enable_server
=${enable_server:-no}
7790 with_x
=${with_x:-no}
7791 with_pthread
=${with_pthread:-no}
7797 SOCKET_LIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
7801 libwine_targets
="libwine.dll libwine.a"
7803 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
7805 all: libwine.dll libwine.a
7807 libwine.a: \$(srcdir)/wine.def
7808 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
7810 libwine.dll: \$(OBJS) \$(srcdir)/wine.def
7811 \$(CC) -shared \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
7813 install install-lib:: libwine.dll
7814 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
7816 install install-dev:: libwine.a
7817 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
7820 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
7827 DLLFLAGS
="$DLLFLAGS -fPIC"
7828 LIBWINE_LDFLAGS
="-multiply_defined suppress"
7829 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
7830 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7831 COREFOUNDATION_LIBS
="-framework CoreFoundation"
7833 IOKIT_LIBS
="-framework IOKit -framework CoreFoundation"
7835 FORCEFEEDBACK_LIBS
="-framework ForceFeedback -framework CoreFoundation"
7837 APPLICATIONSERVICES_LIBS
="-framework ApplicationServices"
7839 CORESERVICES_LIBS
="-framework CoreServices"
7841 APPKIT_LIBS
="-framework AppKit"
7843 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7845 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7846 if ${ac_cv_cflags__Wl__no_pie+:} false
; then :
7847 $as_echo_n "(cached) " >&6
7849 ac_wine_try_cflags_saved
=$CFLAGS
7850 CFLAGS
="$CFLAGS -Wl,-no_pie"
7851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7852 /* end confdefs.h. */
7853 int main(int argc, char **argv) { return 0; }
7855 if ac_fn_c_try_link
"$LINENO"; then :
7856 ac_cv_cflags__Wl__no_pie
=yes
7858 ac_cv_cflags__Wl__no_pie
=no
7860 rm -f core conftest.err conftest.
$ac_objext \
7861 conftest
$ac_exeext conftest.
$ac_ext
7862 CFLAGS
=$ac_wine_try_cflags_saved
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7865 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7866 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
; then :
7867 LDEXECFLAGS
="-Wl,-no_pie $LDEXECFLAGS"
7869 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7871 DISKARBITRATION_LIBS
="-framework DiskArbitration -framework CoreFoundation"
7874 if test "$ac_cv_header_Security_Security_h" = "yes"
7876 SECURITY_LIBS
="-framework Security -framework CoreFoundation"
7878 ac_save_LIBS
="$LIBS"
7879 LIBS
="$LIBS $SECURITY_LIBS"
7880 for ac_func
in SSLCopyPeerCertificates
7882 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7883 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
7884 cat >>confdefs.h
<<_ACEOF
7885 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7891 LIBS
="$ac_save_LIBS"
7892 with_gnutls
=${with_gnutls:-no}
7894 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
7896 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
7898 COREAUDIO_LIBS
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
7901 COREAUDIO_LIBS
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
7904 ac_save_LIBS
="$LIBS"
7905 LIBS
="$LIBS $COREAUDIO_LIBS"
7906 for ac_func
in AUGraphAddNode
7908 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
7909 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
7910 cat >>confdefs.h
<<_ACEOF
7911 #define HAVE_AUGRAPHADDNODE 1
7917 LIBS
="$ac_save_LIBS"
7919 if test "$ac_cv_header_OpenAL_al_h" = "yes"
7921 OPENAL_LIBS
="-framework OpenAL"
7924 cat >>confdefs.h
<<_ACEOF
7925 #define HAVE_OPENAL 1
7928 ac_cv_lib_openal
=yes
7930 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
7932 OPENCL_LIBS
="-framework OpenCL"
7934 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
7936 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
7938 ac_save_LIBS
="$LIBS"
7939 LIBS
="$LIBS $IOKIT_LIBS"
7940 for ac_func
in IOHIDManagerCreate
7942 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
7943 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
7944 cat >>confdefs.h
<<_ACEOF
7945 #define HAVE_IOHIDMANAGERCREATE 1
7951 LIBS
="$ac_save_LIBS"
7953 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
7955 ac_save_LIBS
="$LIBS"
7956 LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
7958 $as_echo_n "checking for the QuickTime framework... " >&6; }
7959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7960 /* end confdefs.h. */
7961 #include <QuickTime/ImageCompression.h>
7965 CodecManagerVersion(NULL);
7970 if ac_fn_c_try_link
"$LINENO"; then :
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7972 $as_echo "yes" >&6; }
7973 QUICKTIME_LIBS
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
7975 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7978 $as_echo "no" >&6; }
7979 ac_cv_header_QuickTime_ImageCompression_h
=no
7981 rm -f core conftest.err conftest.
$ac_objext \
7982 conftest
$ac_exeext conftest.
$ac_ext
7983 LIBS
="$ac_save_LIBS"
7985 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
7987 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
7989 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
7991 CARBON_LIBS
="-framework Carbon"
7995 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
7997 ac_save_LIBS
="$LIBS"
7998 LIBS
="$LIBS $APPLICATIONSERVICES_LIBS"
7999 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8000 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
8001 enable_winemac_drv
=${enable_winemac_drv:-yes}
8004 LIBS
="$ac_save_LIBS"
8007 if test "x$enable_win16" = "xyes"
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8010 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8011 if test "$cross_compiling" = yes; then :
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8013 $as_echo "cross-compiling, assuming yes" >&6; }
8015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8016 /* end confdefs.h. */
8019 "good:\tnop;nop\n\t"
8020 ".globl _testfunc\n"
8021 "_testfunc:\tcallw good");
8022 extern void testfunc();
8026 unsigned short *p = (unsigned short *)testfunc;
8027 return p[0] != 0xe866 || p[1] != 0xfffa
8032 if ac_fn_c_try_run
"$LINENO"; then :
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8034 $as_echo "yes" >&6; }
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8037 $as_echo "no" >&6; }
8038 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
8040 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8041 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8046 libwine_targets
="libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib"
8048 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8052 libwine.$libwine_version.dylib: \$(OBJS)
8053 \$(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 \$@
8055 libwine.$libwine_soversion.dylib: libwine.$libwine_version.dylib
8056 \$(RM) \$@ && \$(LN_S) libwine.$libwine_version.dylib \$@
8058 libwine.dylib: libwine.$libwine_soversion.dylib
8059 \$(RM) \$@ && \$(LN_S) libwine.$libwine_soversion.dylib \$@
8061 install install-lib:: libwine.$libwine_version.dylib
8062 \$(INSTALL_PROGRAM) libwine.$libwine_version.dylib \$(DESTDIR)\$(libdir)/libwine.$libwine_version.dylib
8063 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.$libwine_soversion.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib
8065 install install-dev::
8066 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.$libwine_version.dylib libwine.dylib
8069 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.$libwine_soversion.dylib libwine.$libwine_version.dylib
8073 as_fn_append LOADER_RULES
"
8074 $wine_binary: main.o wine_info.plist
8075 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8077 wine-installed: main.o wine_info.plist
8078 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8083 DLLFLAGS
="$DLLFLAGS -fPIC"
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8088 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8089 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8090 $as_echo_n "(cached) " >&6
8092 ac_wine_try_cflags_saved
=$CFLAGS
8093 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8095 /* end confdefs.h. */
8096 int main(int argc, char **argv) { return 0; }
8098 if ac_fn_c_try_link
"$LINENO"; then :
8099 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8101 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8103 rm -f core conftest.err conftest.
$ac_objext \
8104 conftest
$ac_exeext conftest.
$ac_ext
8105 CFLAGS
=$ac_wine_try_cflags_saved
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8108 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8109 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8110 LDEXECFLAGS
="-Wl,--export-dynamic"
8112 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8114 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8115 if eval \
${$as_ac_var+:} false
; then :
8116 $as_echo_n "(cached) " >&6
8118 ac_wine_try_cflags_saved
=$CFLAGS
8119 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8121 /* end confdefs.h. */
8122 int main(int argc, char **argv) { return 0; }
8124 if ac_fn_c_try_link
"$LINENO"; then :
8125 eval "$as_ac_var=yes"
8127 eval "$as_ac_var=no"
8129 rm -f core conftest.err conftest.
$ac_objext \
8130 conftest
$ac_exeext conftest.
$ac_ext
8131 CFLAGS
=$ac_wine_try_cflags_saved
8133 eval ac_res
=\$
$as_ac_var
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8135 $as_echo "$ac_res" >&6; }
8136 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8137 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8138 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8140 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8142 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8143 if eval \
${$as_ac_var+:} false
; then :
8144 $as_echo_n "(cached) " >&6
8146 ac_wine_try_cflags_saved
=$CFLAGS
8147 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8149 /* end confdefs.h. */
8150 int main(int argc, char **argv) { return 0; }
8152 if ac_fn_c_try_link
"$LINENO"; then :
8153 eval "$as_ac_var=yes"
8155 eval "$as_ac_var=no"
8157 rm -f core conftest.err conftest.
$ac_objext \
8158 conftest
$ac_exeext conftest.
$ac_ext
8159 CFLAGS
=$ac_wine_try_cflags_saved
8161 eval ac_res
=\$
$as_ac_var
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8163 $as_echo "$ac_res" >&6; }
8164 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8165 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8166 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8171 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8172 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8173 $as_echo_n "(cached) " >&6
8175 ac_wine_try_cflags_saved
=$CFLAGS
8176 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8178 /* end confdefs.h. */
8179 int main(int argc, char **argv) { return 0; }
8181 if ac_fn_c_try_link
"$LINENO"; then :
8182 ac_cv_cflags__Wl___enable_new_dtags
=yes
8184 ac_cv_cflags__Wl___enable_new_dtags
=no
8186 rm -f core conftest.err conftest.
$ac_objext \
8187 conftest
$ac_exeext conftest.
$ac_ext
8188 CFLAGS
=$ac_wine_try_cflags_saved
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8191 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8192 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8193 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8197 *i
[3456789]86* | x86_64
)
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8199 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8200 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8201 $as_echo_n "(cached) " >&6
8203 ac_wine_try_cflags_saved
=$CFLAGS
8204 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8206 /* end confdefs.h. */
8207 int main(int argc, char **argv) { return 0; }
8209 if ac_fn_c_try_link
"$LINENO"; then :
8210 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8212 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8214 rm -f core conftest.err conftest.
$ac_objext \
8215 conftest
$ac_exeext conftest.
$ac_ext
8216 CFLAGS
=$ac_wine_try_cflags_saved
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8219 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8220 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8221 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8226 libwine_targets
="libwine.so"
8228 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8232 libwine.so: \$(OBJS)
8233 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8235 install install-lib:: libwine.so
8236 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
8239 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
8243 as_fn_append LOADER_RULES
"
8244 $wine_binary: main.o
8245 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8247 wine-installed: main.o
8248 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8253 DLLFLAGS
="$DLLFLAGS -fPIC"
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8256 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8257 if ${ac_cv_c_dll_gnuelf+:} false
; then :
8258 $as_echo_n "(cached) " >&6
8260 ac_wine_try_cflags_saved
=$CFLAGS
8261 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8263 /* end confdefs.h. */
8266 if ac_fn_c_try_link
"$LINENO"; then :
8267 ac_cv_c_dll_gnuelf
="yes"
8269 ac_cv_c_dll_gnuelf
="no"
8271 rm -f core conftest.err conftest.
$ac_objext \
8272 conftest
$ac_exeext conftest.
$ac_ext
8273 CFLAGS
=$ac_wine_try_cflags_saved
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8276 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8277 if test "$ac_cv_c_dll_gnuelf" = "yes"
8279 LDSHARED
="\$(CC) -shared"
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8281 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8282 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
8283 $as_echo_n "(cached) " >&6
8285 ac_wine_try_cflags_saved
=$CFLAGS
8286 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8288 /* end confdefs.h. */
8289 int main(int argc, char **argv) { return 0; }
8291 if ac_fn_c_try_link
"$LINENO"; then :
8292 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
8294 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
8296 rm -f core conftest.err conftest.
$ac_objext \
8297 conftest
$ac_exeext conftest.
$ac_ext
8298 CFLAGS
=$ac_wine_try_cflags_saved
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8301 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8302 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes
; then :
8303 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.$libwine_soversion"
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8306 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8307 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
8308 $as_echo_n "(cached) " >&6
8310 ac_wine_try_cflags_saved
=$CFLAGS
8311 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8313 /* end confdefs.h. */
8314 int main(int argc, char **argv) { return 0; }
8316 if ac_fn_c_try_link
"$LINENO"; then :
8317 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
8319 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
8321 rm -f core conftest.err conftest.
$ac_objext \
8322 conftest
$ac_exeext conftest.
$ac_ext
8323 CFLAGS
=$ac_wine_try_cflags_saved
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8326 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8327 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes
; then :
8328 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.$libwine_soversion"
8332 echo '{ global: *; };' >conftest.map
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8334 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8335 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
8336 $as_echo_n "(cached) " >&6
8338 ac_wine_try_cflags_saved
=$CFLAGS
8339 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8341 /* end confdefs.h. */
8342 int main(int argc, char **argv) { return 0; }
8344 if ac_fn_c_try_link
"$LINENO"; then :
8345 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
8347 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
8349 rm -f core conftest.err conftest.
$ac_objext \
8350 conftest
$ac_exeext conftest.
$ac_ext
8351 CFLAGS
=$ac_wine_try_cflags_saved
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8354 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8355 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes
; then :
8356 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8361 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8362 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
8363 $as_echo_n "(cached) " >&6
8365 ac_wine_try_cflags_saved
=$CFLAGS
8366 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
8367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8368 /* end confdefs.h. */
8369 int main(int argc, char **argv) { return 0; }
8371 if ac_fn_c_try_link
"$LINENO"; then :
8372 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
8374 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
8376 rm -f core conftest.err conftest.
$ac_objext \
8377 conftest
$ac_exeext conftest.
$ac_ext
8378 CFLAGS
=$ac_wine_try_cflags_saved
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8381 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8382 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
; then :
8383 LDEXECFLAGS
="-Wl,--export-dynamic"
8386 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8388 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8389 if eval \
${$as_ac_var+:} false
; then :
8390 $as_echo_n "(cached) " >&6
8392 ac_wine_try_cflags_saved
=$CFLAGS
8393 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8395 /* end confdefs.h. */
8396 int main(int argc, char **argv) { return 0; }
8398 if ac_fn_c_try_link
"$LINENO"; then :
8399 eval "$as_ac_var=yes"
8401 eval "$as_ac_var=no"
8403 rm -f core conftest.err conftest.
$ac_objext \
8404 conftest
$ac_exeext conftest.
$ac_ext
8405 CFLAGS
=$ac_wine_try_cflags_saved
8407 eval ac_res
=\$
$as_ac_var
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8409 $as_echo "$ac_res" >&6; }
8410 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8411 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8412 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8414 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8416 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8417 if eval \
${$as_ac_var+:} false
; then :
8418 $as_echo_n "(cached) " >&6
8420 ac_wine_try_cflags_saved
=$CFLAGS
8421 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8423 /* end confdefs.h. */
8424 int main(int argc, char **argv) { return 0; }
8426 if ac_fn_c_try_link
"$LINENO"; then :
8427 eval "$as_ac_var=yes"
8429 eval "$as_ac_var=no"
8431 rm -f core conftest.err conftest.
$ac_objext \
8432 conftest
$ac_exeext conftest.
$ac_ext
8433 CFLAGS
=$ac_wine_try_cflags_saved
8435 eval ac_res
=\$
$as_ac_var
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8437 $as_echo "$ac_res" >&6; }
8438 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
8439 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \$(bindir) \$(libdir)\`"
8440 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8445 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8446 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
8447 $as_echo_n "(cached) " >&6
8449 ac_wine_try_cflags_saved
=$CFLAGS
8450 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
8451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8452 /* end confdefs.h. */
8453 int main(int argc, char **argv) { return 0; }
8455 if ac_fn_c_try_link
"$LINENO"; then :
8456 ac_cv_cflags__Wl___enable_new_dtags
=yes
8458 ac_cv_cflags__Wl___enable_new_dtags
=no
8460 rm -f core conftest.err conftest.
$ac_objext \
8461 conftest
$ac_exeext conftest.
$ac_ext
8462 CFLAGS
=$ac_wine_try_cflags_saved
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8465 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8466 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes
; then :
8467 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8471 *i
[3456789]86* | x86_64
)
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8473 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8474 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
8475 $as_echo_n "(cached) " >&6
8477 ac_wine_try_cflags_saved
=$CFLAGS
8478 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8480 /* end confdefs.h. */
8481 int main(int argc, char **argv) { return 0; }
8483 if ac_fn_c_try_link
"$LINENO"; then :
8484 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
8486 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
8488 rm -f core conftest.err conftest.
$ac_objext \
8489 conftest
$ac_exeext conftest.
$ac_ext
8490 CFLAGS
=$ac_wine_try_cflags_saved
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8493 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8494 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes
; then :
8496 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8497 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8501 # Extract the first word of "prelink", so it can be a program name with args.
8502 set dummy prelink
; ac_word
=$2
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8504 $as_echo_n "checking for $ac_word... " >&6; }
8505 if ${ac_cv_path_PRELINK+:} false
; then :
8506 $as_echo_n "(cached) " >&6
8510 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
8513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8514 for as_dir
in /sbin
/usr
/sbin
$PATH
8517 test -z "$as_dir" && as_dir
=.
8518 for ac_exec_ext
in '' $ac_executable_extensions; do
8519 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8520 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
8521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8528 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
8532 PRELINK
=$ac_cv_path_PRELINK
8533 if test -n "$PRELINK"; then
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8535 $as_echo "$PRELINK" >&6; }
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8538 $as_echo "no" >&6; }
8542 if test "x$PRELINK" = xfalse
8544 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8551 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8552 if ${ac_cv_c_dll_unixware+:} false
; then :
8553 $as_echo_n "(cached) " >&6
8555 ac_wine_try_cflags_saved
=$CFLAGS
8556 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8558 /* end confdefs.h. */
8561 if ac_fn_c_try_link
"$LINENO"; then :
8562 ac_cv_c_dll_unixware
="yes"
8564 ac_cv_c_dll_unixware
="no"
8566 rm -f core conftest.err conftest.
$ac_objext \
8567 conftest
$ac_exeext conftest.
$ac_ext
8568 CFLAGS
=$ac_wine_try_cflags_saved
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8571 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8572 if test "$ac_cv_c_dll_unixware" = "yes"
8574 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.$libwine_soversion"
8577 libwine_targets
="libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version"
8579 OBJS = \$(C_SRCS:.c=.o) \$(EXTRA_OBJS)
8583 libwine.so.$libwine_version: \$(OBJS) \$(srcdir)/wine.map
8584 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
8586 libwine.so.$libwine_soversion: libwine.so.$libwine_version
8587 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_version \$@
8589 libwine.so: libwine.so.$libwine_soversion
8590 \$(RM) \$@ && \$(LN_S) libwine.so.$libwine_soversion \$@
8592 install install-lib:: libwine.so.$libwine_version
8593 \$(INSTALL_PROGRAM) libwine.so.$libwine_version \$(DESTDIR)\$(libdir)/libwine.so.$libwine_version
8594 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.$libwine_soversion && \$(LN_S) libwine.so.$libwine_version libwine.so.$libwine_soversion
8596 install install-dev::
8597 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.$libwine_version libwine.so
8600 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.$libwine_soversion libwine.so.$libwine_version
8604 as_fn_append LOADER_RULES
"
8605 $wine_binary: main.o
8606 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_LOCAL)
8608 wine-installed: main.o
8609 \$(CC) -o \$@ $LDEXECFLAGS main.o \$(LIBWINE) \$(LIBPORT) \$(EXTRALIBS) \$(LDFLAGS) \$(LDRPATH_INSTALL)
8614 as_fn_append LIBWINE_RULES
"
8615 EXTRA_TARGETS = $libwine_targets
8618 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
8619 enable_winemac_drv
=${enable_winemac_drv:-no}
8623 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
8627 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
8630 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 " ;;
8632 ac_prefix_list
="" ;;
8634 for ac_prog
in $ac_prefix_list
8636 # Extract the first word of "$ac_prog", so it can be a program name with args.
8637 set dummy
$ac_prog; ac_word
=$2
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8639 $as_echo_n "checking for $ac_word... " >&6; }
8640 if ${ac_cv_prog_CROSSCC+:} false
; then :
8641 $as_echo_n "(cached) " >&6
8643 if test -n "$CROSSCC"; then
8644 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
8646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8650 test -z "$as_dir" && as_dir
=.
8651 for ac_exec_ext
in '' $ac_executable_extensions; do
8652 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8653 ac_cv_prog_CROSSCC
="$ac_prog"
8654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8663 CROSSCC
=$ac_cv_prog_CROSSCC
8664 if test -n "$CROSSCC"; then
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8666 $as_echo "$CROSSCC" >&6; }
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8669 $as_echo "no" >&6; }
8673 test -n "$CROSSCC" && break
8675 test -n "$CROSSCC" || CROSSCC
="false"
8677 if test "$CROSSCC" != "false"
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8682 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8684 /* end confdefs.h. */
8694 if ac_fn_c_try_compile
"$LINENO"; then :
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8696 $as_echo "yes" >&6; }
8702 *-gcc) CROSSTARGET
=`expr "$1" : '\(.*\)-gcc'` ;;
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8708 $as_echo "no" >&6; }
8710 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8716 if test "$ac_cv_header_pthread_h" = "yes"
8718 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8719 if test "x$ac_cv_func_pthread_create" = xyes
; then :
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8723 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8724 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
8725 $as_echo_n "(cached) " >&6
8727 ac_check_lib_save_LIBS
=$LIBS
8728 LIBS
="-lpthread $LIBS"
8729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8730 /* end confdefs.h. */
8732 /* Override any GCC internal prototype to avoid an error.
8733 Use char because int might match the return type of a GCC
8734 builtin and then its argument prototype would still apply. */
8738 char pthread_create ();
8742 return pthread_create ();
8747 if ac_fn_c_try_link
"$LINENO"; then :
8748 ac_cv_lib_pthread_pthread_create
=yes
8750 ac_cv_lib_pthread_pthread_create
=no
8752 rm -f core conftest.err conftest.
$ac_objext \
8753 conftest
$ac_exeext conftest.
$ac_ext
8754 LIBS
=$ac_check_lib_save_LIBS
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8757 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8758 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
8759 PTHREAD_LIBS
="-lpthread"
8766 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$PTHREAD_LIBS" = x
; then :
8767 case "x$with_pthread" in
8769 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
8770 Wine cannot support threads without libpthread.
8771 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8777 $as_echo_n "checking for X... " >&6; }
8780 # Check whether --with-x was given.
8781 if test "${with_x+set}" = set; then :
8785 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8786 if test "x$with_x" = xno
; then
8787 # The user explicitly disabled X.
8790 case $x_includes,$x_libraries in #(
8791 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
8792 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
8793 $as_echo_n "(cached) " >&6
8795 # One or both of the vars are not set, and there is no cached value.
8796 ac_x_includes
=no ac_x_libraries
=no
8797 rm -f -r conftest.dir
8798 if mkdir conftest.dir
; then
8800 cat >Imakefile
<<'_ACEOF'
8802 @echo incroot='${INCROOT}'
8804 @echo usrlibdir='${USRLIBDIR}'
8806 @echo libdir='${LIBDIR}'
8808 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8809 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8810 for ac_var
in incroot usrlibdir libdir
; do
8811 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8813 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8814 for ac_extension
in a so sl dylib la dll
; do
8815 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8816 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8817 ac_im_usrlibdir
=$ac_im_libdir; break
8820 # Screen out bogus values from the imake configuration. They are
8821 # bogus both because they are the default anyway, and because
8822 # using them would break gcc on systems where it needs fixed includes.
8823 case $ac_im_incroot in
8824 /usr
/include
) ac_x_includes
= ;;
8825 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8827 case $ac_im_usrlibdir in
8828 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
8829 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8833 rm -f -r conftest.dir
8836 # Standard set of common directories for X headers.
8837 # Check X11 before X11Rn because it is often a symlink to the current release.
8851 /usr/local/X11/include
8852 /usr/local/X11R7/include
8853 /usr/local/X11R6/include
8854 /usr/local/X11R5/include
8855 /usr/local/X11R4/include
8857 /usr/local/include/X11
8858 /usr/local/include/X11R7
8859 /usr/local/include/X11R6
8860 /usr/local/include/X11R5
8861 /usr/local/include/X11R4
8865 /usr/XFree86/include/X11
8869 /usr/unsupported/include
8871 /usr/local/x11r5/include
8872 /usr/lpp/Xamples/include
8874 /usr/openwin/include
8875 /usr/openwin/share/include'
8877 if test "$ac_x_includes" = no
; then
8878 # Guess where to find include files, by looking for Xlib.h.
8879 # First, try using that file with no special directory specified.
8880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8881 /* end confdefs.h. */
8882 #include <X11/Xlib.h>
8884 if ac_fn_c_try_cpp
"$LINENO"; then :
8885 # We can compile using X headers with no special include directory.
8888 for ac_dir
in $ac_x_header_dirs; do
8889 if test -r "$ac_dir/X11/Xlib.h"; then
8890 ac_x_includes
=$ac_dir
8895 rm -f conftest.err conftest.i conftest.
$ac_ext
8896 fi # $ac_x_includes = no
8898 if test "$ac_x_libraries" = no
; then
8899 # Check for the libraries.
8900 # See if we find them without any special options.
8901 # Don't add to $LIBS permanently.
8904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8905 /* end confdefs.h. */
8906 #include <X11/Xlib.h>
8915 if ac_fn_c_try_link
"$LINENO"; then :
8917 # We can link X programs with no special library path.
8921 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8923 # Don't even attempt the hair of trying to link an X program!
8924 for ac_extension
in a so sl dylib la dll
; do
8925 if test -r "$ac_dir/libX11.$ac_extension"; then
8926 ac_x_libraries
=$ac_dir
8932 rm -f core conftest.err conftest.
$ac_objext \
8933 conftest
$ac_exeext conftest.
$ac_ext
8934 fi # $ac_x_libraries = no
8936 case $ac_x_includes,$ac_x_libraries in #(
8938 # Didn't find X, or a directory has "'" in its name.
8939 ac_cv_have_x
="have_x=no";; #(
8941 # Record where we found X for the cache.
8942 ac_cv_have_x
="have_x=yes\
8943 ac_x_includes='$ac_x_includes'\
8944 ac_x_libraries='$ac_x_libraries'"
8950 eval "$ac_cv_have_x"
8953 if test "$have_x" != yes; then
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
8955 $as_echo "$have_x" >&6; }
8958 # If each of the values was on the command line, it overrides each guess.
8959 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8960 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8961 # Update the cache value to reflect the command line values.
8962 ac_cv_have_x
="have_x=yes\
8963 ac_x_includes='$x_includes'\
8964 ac_x_libraries='$x_libraries'"
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
8966 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
8969 if test "$no_x" = yes; then
8970 # Not all programs may use this symbol, but it does not hurt to define it.
8972 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
8974 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8976 if test -n "$x_includes"; then
8977 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8980 # It would also be nice to do this for all -L options, not just this one.
8981 if test -n "$x_libraries"; then
8982 X_LIBS
="$X_LIBS -L$x_libraries"
8983 # For Solaris; some versions of Sun CC require a space after -R and
8984 # others require no space. Words are not sufficient . . . .
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
8986 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
8987 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
8988 ac_xsave_c_werror_flag
=$ac_c_werror_flag
8989 ac_c_werror_flag
=yes
8990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8991 /* end confdefs.h. */
9001 if ac_fn_c_try_link
"$LINENO"; then :
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9003 $as_echo "no" >&6; }
9004 X_LIBS
="$X_LIBS -R$x_libraries"
9006 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9008 /* end confdefs.h. */
9018 if ac_fn_c_try_link
"$LINENO"; then :
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9020 $as_echo "yes" >&6; }
9021 X_LIBS
="$X_LIBS -R $x_libraries"
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9024 $as_echo "neither works" >&6; }
9026 rm -f core conftest.err conftest.
$ac_objext \
9027 conftest
$ac_exeext conftest.
$ac_ext
9029 rm -f core conftest.err conftest.
$ac_objext \
9030 conftest
$ac_exeext conftest.
$ac_ext
9031 ac_c_werror_flag
=$ac_xsave_c_werror_flag
9035 # Check for system-dependent libraries X programs must link with.
9036 # Do this before checking for the system-independent R6 libraries
9037 # (-lICE), since we may need -lsocket or whatever for X linking.
9039 if test "$ISC" = yes; then
9040 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9042 # Martyn Johnson says this is needed for Ultrix, if the X
9043 # libraries were built with DECnet support. And Karl Berry says
9044 # the Alpha needs dnet_stub (dnet does not exist).
9045 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
9046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9047 /* end confdefs.h. */
9049 /* Override any GCC internal prototype to avoid an error.
9050 Use char because int might match the return type of a GCC
9051 builtin and then its argument prototype would still apply. */
9055 char XOpenDisplay ();
9059 return XOpenDisplay ();
9064 if ac_fn_c_try_link
"$LINENO"; then :
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9068 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9069 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
9070 $as_echo_n "(cached) " >&6
9072 ac_check_lib_save_LIBS
=$LIBS
9074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9075 /* end confdefs.h. */
9077 /* Override any GCC internal prototype to avoid an error.
9078 Use char because int might match the return type of a GCC
9079 builtin and then its argument prototype would still apply. */
9087 return dnet_ntoa ();
9092 if ac_fn_c_try_link
"$LINENO"; then :
9093 ac_cv_lib_dnet_dnet_ntoa
=yes
9095 ac_cv_lib_dnet_dnet_ntoa
=no
9097 rm -f core conftest.err conftest.
$ac_objext \
9098 conftest
$ac_exeext conftest.
$ac_ext
9099 LIBS
=$ac_check_lib_save_LIBS
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9102 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9103 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
9104 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9107 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9109 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9110 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
9111 $as_echo_n "(cached) " >&6
9113 ac_check_lib_save_LIBS
=$LIBS
9114 LIBS
="-ldnet_stub $LIBS"
9115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9116 /* end confdefs.h. */
9118 /* Override any GCC internal prototype to avoid an error.
9119 Use char because int might match the return type of a GCC
9120 builtin and then its argument prototype would still apply. */
9128 return dnet_ntoa ();
9133 if ac_fn_c_try_link
"$LINENO"; then :
9134 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
9136 ac_cv_lib_dnet_stub_dnet_ntoa
=no
9138 rm -f core conftest.err conftest.
$ac_objext \
9139 conftest
$ac_exeext conftest.
$ac_ext
9140 LIBS
=$ac_check_lib_save_LIBS
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9143 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9144 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
9145 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9150 rm -f core conftest.err conftest.
$ac_objext \
9151 conftest
$ac_exeext conftest.
$ac_ext
9152 LIBS
="$ac_xsave_LIBS"
9154 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9155 # to get the SysV transport functions.
9156 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9158 # The nsl library prevents programs from opening the X display
9159 # on Irix 5.2, according to T.E. Dickey.
9160 # The functions gethostbyname, getservbyname, and inet_addr are
9161 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9162 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9163 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
9167 if test $ac_cv_func_gethostbyname = no
; then
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9169 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9170 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
9171 $as_echo_n "(cached) " >&6
9173 ac_check_lib_save_LIBS
=$LIBS
9175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9176 /* end confdefs.h. */
9178 /* Override any GCC internal prototype to avoid an error.
9179 Use char because int might match the return type of a GCC
9180 builtin and then its argument prototype would still apply. */
9184 char gethostbyname ();
9188 return gethostbyname ();
9193 if ac_fn_c_try_link
"$LINENO"; then :
9194 ac_cv_lib_nsl_gethostbyname
=yes
9196 ac_cv_lib_nsl_gethostbyname
=no
9198 rm -f core conftest.err conftest.
$ac_objext \
9199 conftest
$ac_exeext conftest.
$ac_ext
9200 LIBS
=$ac_check_lib_save_LIBS
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9203 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9204 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
9205 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9208 if test $ac_cv_lib_nsl_gethostbyname = no
; then
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9210 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9211 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
9212 $as_echo_n "(cached) " >&6
9214 ac_check_lib_save_LIBS
=$LIBS
9216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9217 /* end confdefs.h. */
9219 /* Override any GCC internal prototype to avoid an error.
9220 Use char because int might match the return type of a GCC
9221 builtin and then its argument prototype would still apply. */
9225 char gethostbyname ();
9229 return gethostbyname ();
9234 if ac_fn_c_try_link
"$LINENO"; then :
9235 ac_cv_lib_bsd_gethostbyname
=yes
9237 ac_cv_lib_bsd_gethostbyname
=no
9239 rm -f core conftest.err conftest.
$ac_objext \
9240 conftest
$ac_exeext conftest.
$ac_ext
9241 LIBS
=$ac_check_lib_save_LIBS
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9244 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9245 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
9246 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
9252 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9253 # socket/setsockopt and other routines are undefined under SCO ODT
9254 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9255 # on later versions), says Simon Leinen: it contains gethostby*
9256 # variants that don't use the name server (or something). -lsocket
9257 # must be given before -lnsl if both are needed. We assume that
9258 # if connect needs -lnsl, so does gethostbyname.
9259 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
9260 if test "x$ac_cv_func_connect" = xyes
; then :
9264 if test $ac_cv_func_connect = no
; then
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9266 $as_echo_n "checking for connect in -lsocket... " >&6; }
9267 if ${ac_cv_lib_socket_connect+:} false
; then :
9268 $as_echo_n "(cached) " >&6
9270 ac_check_lib_save_LIBS
=$LIBS
9271 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9273 /* end confdefs.h. */
9275 /* Override any GCC internal prototype to avoid an error.
9276 Use char because int might match the return type of a GCC
9277 builtin and then its argument prototype would still apply. */
9290 if ac_fn_c_try_link
"$LINENO"; then :
9291 ac_cv_lib_socket_connect
=yes
9293 ac_cv_lib_socket_connect
=no
9295 rm -f core conftest.err conftest.
$ac_objext \
9296 conftest
$ac_exeext conftest.
$ac_ext
9297 LIBS
=$ac_check_lib_save_LIBS
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9300 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9301 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
9302 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9307 # Guillermo Gomez says -lposix is necessary on A/UX.
9308 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
9309 if test "x$ac_cv_func_remove" = xyes
; then :
9313 if test $ac_cv_func_remove = no
; then
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9315 $as_echo_n "checking for remove in -lposix... " >&6; }
9316 if ${ac_cv_lib_posix_remove+:} false
; then :
9317 $as_echo_n "(cached) " >&6
9319 ac_check_lib_save_LIBS
=$LIBS
9320 LIBS
="-lposix $LIBS"
9321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9322 /* end confdefs.h. */
9324 /* Override any GCC internal prototype to avoid an error.
9325 Use char because int might match the return type of a GCC
9326 builtin and then its argument prototype would still apply. */
9339 if ac_fn_c_try_link
"$LINENO"; then :
9340 ac_cv_lib_posix_remove
=yes
9342 ac_cv_lib_posix_remove
=no
9344 rm -f core conftest.err conftest.
$ac_objext \
9345 conftest
$ac_exeext conftest.
$ac_ext
9346 LIBS
=$ac_check_lib_save_LIBS
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9349 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9350 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
9351 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9356 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9357 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
9358 if test "x$ac_cv_func_shmat" = xyes
; then :
9362 if test $ac_cv_func_shmat = no
; then
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9364 $as_echo_n "checking for shmat in -lipc... " >&6; }
9365 if ${ac_cv_lib_ipc_shmat+:} false
; then :
9366 $as_echo_n "(cached) " >&6
9368 ac_check_lib_save_LIBS
=$LIBS
9370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9371 /* end confdefs.h. */
9373 /* Override any GCC internal prototype to avoid an error.
9374 Use char because int might match the return type of a GCC
9375 builtin and then its argument prototype would still apply. */
9388 if ac_fn_c_try_link
"$LINENO"; then :
9389 ac_cv_lib_ipc_shmat
=yes
9391 ac_cv_lib_ipc_shmat
=no
9393 rm -f core conftest.err conftest.
$ac_objext \
9394 conftest
$ac_exeext conftest.
$ac_ext
9395 LIBS
=$ac_check_lib_save_LIBS
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9398 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9399 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
9400 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9406 # Check for libraries that X11R6 Xt/Xaw programs need.
9407 ac_save_LDFLAGS
=$LDFLAGS
9408 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
9409 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9410 # check for ICE first), but we must link in the order -lSM -lICE or
9411 # we get undefined symbols. So assume we have SM if we have ICE.
9412 # These have to be linked with before -lX11, unlike the other
9413 # libraries we check for below, so use a different variable.
9414 # John Interrante, Karl Berry
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9416 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9417 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
9418 $as_echo_n "(cached) " >&6
9420 ac_check_lib_save_LIBS
=$LIBS
9421 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
9422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9423 /* end confdefs.h. */
9425 /* Override any GCC internal prototype to avoid an error.
9426 Use char because int might match the return type of a GCC
9427 builtin and then its argument prototype would still apply. */
9431 char IceConnectionNumber ();
9435 return IceConnectionNumber ();
9440 if ac_fn_c_try_link
"$LINENO"; then :
9441 ac_cv_lib_ICE_IceConnectionNumber
=yes
9443 ac_cv_lib_ICE_IceConnectionNumber
=no
9445 rm -f core conftest.err conftest.
$ac_objext \
9446 conftest
$ac_exeext conftest.
$ac_ext
9447 LIBS
=$ac_check_lib_save_LIBS
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9450 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9451 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
9452 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
9455 LDFLAGS
=$ac_save_LDFLAGS
9460 if test "$have_x" = "yes"
9462 ac_save_CPPFLAGS
="$CPPFLAGS"
9463 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9466 $as_echo_n "checking for -lX11... " >&6; }
9467 if ${ac_cv_lib_soname_X11+:} false
; then :
9468 $as_echo_n "(cached) " >&6
9470 ac_check_soname_save_LIBS
=$LIBS
9471 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9473 /* end confdefs.h. */
9475 /* Override any GCC internal prototype to avoid an error.
9476 Use char because int might match the return type of a GCC
9477 builtin and then its argument prototype would still apply. */
9481 char XCreateWindow ();
9485 return XCreateWindow ();
9490 if ac_fn_c_try_link
"$LINENO"; then :
9492 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9493 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'` ;;
9494 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9495 if ${ac_cv_lib_soname_X11:+false} :; then :
9496 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9500 rm -f core conftest.err conftest.
$ac_objext \
9501 conftest
$ac_exeext conftest.
$ac_ext
9502 LIBS
=$ac_check_soname_save_LIBS
9504 if ${ac_cv_lib_soname_X11:+false} :; then :
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9506 $as_echo "not found" >&6; }
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9510 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9512 cat >>confdefs.h
<<_ACEOF
9513 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9519 $as_echo_n "checking for -lXext... " >&6; }
9520 if ${ac_cv_lib_soname_Xext+:} false
; then :
9521 $as_echo_n "(cached) " >&6
9523 ac_check_soname_save_LIBS
=$LIBS
9524 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9526 /* end confdefs.h. */
9528 /* Override any GCC internal prototype to avoid an error.
9529 Use char because int might match the return type of a GCC
9530 builtin and then its argument prototype would still apply. */
9534 char XextCreateExtension ();
9538 return XextCreateExtension ();
9543 if ac_fn_c_try_link
"$LINENO"; then :
9545 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9546 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'` ;;
9547 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9548 if ${ac_cv_lib_soname_Xext:+false} :; then :
9549 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9553 rm -f core conftest.err conftest.
$ac_objext \
9554 conftest
$ac_exeext conftest.
$ac_ext
9555 LIBS
=$ac_check_soname_save_LIBS
9557 if ${ac_cv_lib_soname_Xext:+false} :; then :
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9559 $as_echo "not found" >&6; }
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9563 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9565 cat >>confdefs.h
<<_ACEOF
9566 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9569 X_LIBS
="$X_LIBS -lXext"
9571 X_LIBS
="$X_LIBS -lX11"
9573 for ac_header
in X11
/Xlib.h \
9576 X11
/Xcursor
/Xcursor.h \
9577 X11
/extensions
/shape.h \
9578 X11
/extensions
/XInput.h \
9579 X11
/extensions
/XInput2.h \
9580 X11
/extensions
/XShm.h \
9581 X11
/extensions
/Xcomposite.h \
9582 X11
/extensions
/Xinerama.h \
9583 X11
/extensions
/Xrandr.h \
9584 X11
/extensions
/Xrender.h \
9585 X11
/extensions
/xf86vmode.h \
9586 X11
/extensions
/xf86vmproto.h
9588 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9589 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9590 # include <X11/Xlib.h>
9592 #ifdef HAVE_X11_XUTIL_H
9593 # include <X11/Xutil.h>
9596 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9597 cat >>confdefs.h
<<_ACEOF
9598 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9606 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9609 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9610 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
9611 $as_echo_n "(cached) " >&6
9613 ac_check_lib_save_LIBS
=$LIBS
9614 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9616 /* end confdefs.h. */
9618 /* Override any GCC internal prototype to avoid an error.
9619 Use char because int might match the return type of a GCC
9620 builtin and then its argument prototype would still apply. */
9624 char XkbQueryExtension ();
9628 return XkbQueryExtension ();
9633 if ac_fn_c_try_link
"$LINENO"; then :
9634 ac_cv_lib_X11_XkbQueryExtension
=yes
9636 ac_cv_lib_X11_XkbQueryExtension
=no
9638 rm -f core conftest.err conftest.
$ac_objext \
9639 conftest
$ac_exeext conftest.
$ac_ext
9640 LIBS
=$ac_check_lib_save_LIBS
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9643 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9644 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
9646 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9652 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9655 $as_echo_n "checking for -lXcursor... " >&6; }
9656 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
9657 $as_echo_n "(cached) " >&6
9659 ac_check_soname_save_LIBS
=$LIBS
9660 LIBS
="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9662 /* end confdefs.h. */
9664 /* Override any GCC internal prototype to avoid an error.
9665 Use char because int might match the return type of a GCC
9666 builtin and then its argument prototype would still apply. */
9670 char XcursorImageLoadCursor ();
9674 return XcursorImageLoadCursor ();
9679 if ac_fn_c_try_link
"$LINENO"; then :
9681 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9682 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'` ;;
9683 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9684 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9685 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9689 rm -f core conftest.err conftest.
$ac_objext \
9690 conftest
$ac_exeext conftest.
$ac_ext
9691 LIBS
=$ac_check_soname_save_LIBS
9693 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9695 $as_echo "not found" >&6; }
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9699 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9701 cat >>confdefs.h
<<_ACEOF
9702 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9708 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9709 case "x$with_xcursor" in
9710 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9712 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9713 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9717 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9720 $as_echo_n "checking for -lXi... " >&6; }
9721 if ${ac_cv_lib_soname_Xi+:} false
; then :
9722 $as_echo_n "(cached) " >&6
9724 ac_check_soname_save_LIBS
=$LIBS
9725 LIBS
="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9727 /* end confdefs.h. */
9729 /* Override any GCC internal prototype to avoid an error.
9730 Use char because int might match the return type of a GCC
9731 builtin and then its argument prototype would still apply. */
9735 char XOpenDevice ();
9739 return XOpenDevice ();
9744 if ac_fn_c_try_link
"$LINENO"; then :
9746 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9747 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'` ;;
9748 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9749 if ${ac_cv_lib_soname_Xi:+false} :; then :
9750 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9754 rm -f core conftest.err conftest.
$ac_objext \
9755 conftest
$ac_exeext conftest.
$ac_ext
9756 LIBS
=$ac_check_soname_save_LIBS
9758 if ${ac_cv_lib_soname_Xi:+false} :; then :
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9760 $as_echo "not found" >&6; }
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9764 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9766 cat >>confdefs.h
<<_ACEOF
9767 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9773 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9774 case "x$with_xinput" in
9775 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9777 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9778 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9782 if test "x$ac_cv_lib_soname_Xi" != x
9784 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9785 case "x$with_xinput2" in
9786 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9788 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
9789 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9794 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9797 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9798 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
9799 $as_echo_n "(cached) " >&6
9801 ac_check_lib_save_LIBS
=$LIBS
9802 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9804 /* end confdefs.h. */
9806 /* Override any GCC internal prototype to avoid an error.
9807 Use char because int might match the return type of a GCC
9808 builtin and then its argument prototype would still apply. */
9812 char XShmQueryExtension ();
9816 return XShmQueryExtension ();
9821 if ac_fn_c_try_link
"$LINENO"; then :
9822 ac_cv_lib_Xext_XShmQueryExtension
=yes
9824 ac_cv_lib_Xext_XShmQueryExtension
=no
9826 rm -f core conftest.err conftest.
$ac_objext \
9827 conftest
$ac_exeext conftest.
$ac_ext
9828 LIBS
=$ac_check_lib_save_LIBS
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9831 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9832 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
9834 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9839 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9840 case "x$with_xshm" in
9841 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9843 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9844 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9848 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9851 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9852 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
9853 $as_echo_n "(cached) " >&6
9855 ac_check_lib_save_LIBS
=$LIBS
9856 LIBS
="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9858 /* end confdefs.h. */
9860 /* Override any GCC internal prototype to avoid an error.
9861 Use char because int might match the return type of a GCC
9862 builtin and then its argument prototype would still apply. */
9866 char XShapeQueryExtension ();
9870 return XShapeQueryExtension ();
9875 if ac_fn_c_try_link
"$LINENO"; then :
9876 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9878 ac_cv_lib_Xext_XShapeQueryExtension
=no
9880 rm -f core conftest.err conftest.
$ac_objext \
9881 conftest
$ac_exeext conftest.
$ac_ext
9882 LIBS
=$ac_check_lib_save_LIBS
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9885 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9886 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
9888 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9893 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9894 case "x$with_xshape" in
9895 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9897 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
9898 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9902 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9905 $as_echo_n "checking for -lXxf86vm... " >&6; }
9906 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
9907 $as_echo_n "(cached) " >&6
9909 ac_check_soname_save_LIBS
=$LIBS
9910 LIBS
="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
9911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9912 /* end confdefs.h. */
9914 /* Override any GCC internal prototype to avoid an error.
9915 Use char because int might match the return type of a GCC
9916 builtin and then its argument prototype would still apply. */
9920 char XF86VidModeQueryExtension ();
9924 return XF86VidModeQueryExtension ();
9929 if ac_fn_c_try_link
"$LINENO"; then :
9931 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9932 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'` ;;
9933 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9934 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9935 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9939 rm -f core conftest.err conftest.
$ac_objext \
9940 conftest
$ac_exeext conftest.
$ac_ext
9941 LIBS
=$ac_check_soname_save_LIBS
9943 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9945 $as_echo "not found" >&6; }
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
9949 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
9951 cat >>confdefs.h
<<_ACEOF
9952 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
9958 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
9959 case "x$with_xxf86vm" in
9960 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
9962 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
9963 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
9967 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
9970 $as_echo_n "checking for -lXrender... " >&6; }
9971 if ${ac_cv_lib_soname_Xrender+:} false
; then :
9972 $as_echo_n "(cached) " >&6
9974 ac_check_soname_save_LIBS
=$LIBS
9975 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
9976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9977 /* end confdefs.h. */
9979 /* Override any GCC internal prototype to avoid an error.
9980 Use char because int might match the return type of a GCC
9981 builtin and then its argument prototype would still apply. */
9985 char XRenderQueryExtension ();
9989 return XRenderQueryExtension ();
9994 if ac_fn_c_try_link
"$LINENO"; then :
9996 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9997 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'` ;;
9998 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9999 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10000 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10004 rm -f core conftest.err conftest.
$ac_objext \
10005 conftest
$ac_exeext conftest.
$ac_ext
10006 LIBS
=$ac_check_soname_save_LIBS
10008 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10010 $as_echo "not found" >&6; }
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10014 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10016 cat >>confdefs.h
<<_ACEOF
10017 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10021 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10022 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
10023 $as_echo_n "(cached) " >&6
10025 ac_check_lib_save_LIBS
=$LIBS
10026 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10028 /* end confdefs.h. */
10030 /* Override any GCC internal prototype to avoid an error.
10031 Use char because int might match the return type of a GCC
10032 builtin and then its argument prototype would still apply. */
10036 char XRenderSetPictureTransform ();
10040 return XRenderSetPictureTransform ();
10045 if ac_fn_c_try_link
"$LINENO"; then :
10046 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
10048 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
10050 rm -f core conftest.err conftest.
$ac_objext \
10051 conftest
$ac_exeext conftest.
$ac_ext
10052 LIBS
=$ac_check_lib_save_LIBS
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10055 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10056 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
10058 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10063 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10064 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
10065 $as_echo_n "(cached) " >&6
10067 ac_check_lib_save_LIBS
=$LIBS
10068 LIBS
="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10070 /* end confdefs.h. */
10072 /* Override any GCC internal prototype to avoid an error.
10073 Use char because int might match the return type of a GCC
10074 builtin and then its argument prototype would still apply. */
10078 char XRenderCreateLinearGradient ();
10082 return XRenderCreateLinearGradient ();
10087 if ac_fn_c_try_link
"$LINENO"; then :
10088 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
10090 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
10092 rm -f core conftest.err conftest.
$ac_objext \
10093 conftest
$ac_exeext conftest.
$ac_ext
10094 LIBS
=$ac_check_lib_save_LIBS
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10097 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10098 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
10100 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10107 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10108 case "x$with_xrender" in
10109 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10111 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
10112 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10116 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10119 /* end confdefs.h. */
10120 #include <X11/Xlib.h>
10121 #include <X11/extensions/Xrandr.h>
10125 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10130 if ac_fn_c_try_compile
"$LINENO"; then :
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10132 $as_echo_n "checking for -lXrandr... " >&6; }
10133 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
10134 $as_echo_n "(cached) " >&6
10136 ac_check_soname_save_LIBS
=$LIBS
10137 LIBS
="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10139 /* end confdefs.h. */
10141 /* Override any GCC internal prototype to avoid an error.
10142 Use char because int might match the return type of a GCC
10143 builtin and then its argument prototype would still apply. */
10147 char XRRQueryExtension ();
10151 return XRRQueryExtension ();
10156 if ac_fn_c_try_link
"$LINENO"; then :
10158 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10159 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'` ;;
10160 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10161 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10162 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10166 rm -f core conftest.err conftest.
$ac_objext \
10167 conftest
$ac_exeext conftest.
$ac_ext
10168 LIBS
=$ac_check_soname_save_LIBS
10170 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10172 $as_echo "not found" >&6; }
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10176 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10178 cat >>confdefs.h
<<_ACEOF
10179 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10183 /* end confdefs.h. */
10184 #include <X11/Xlib.h>
10185 #include <X11/extensions/Xrandr.h>
10189 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10194 if ac_fn_c_try_compile
"$LINENO"; then :
10196 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10199 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10202 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10204 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10205 case "x$with_xrandr" in
10206 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10208 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10209 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10213 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10216 /* end confdefs.h. */
10217 #include <X11/Xlib.h>
10218 #include <X11/extensions/Xinerama.h>
10222 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10227 if ac_fn_c_try_compile
"$LINENO"; then :
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10229 $as_echo_n "checking for -lXinerama... " >&6; }
10230 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
10231 $as_echo_n "(cached) " >&6
10233 ac_check_soname_save_LIBS
=$LIBS
10234 LIBS
="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10236 /* end confdefs.h. */
10238 /* Override any GCC internal prototype to avoid an error.
10239 Use char because int might match the return type of a GCC
10240 builtin and then its argument prototype would still apply. */
10244 char XineramaQueryScreens ();
10248 return XineramaQueryScreens ();
10253 if ac_fn_c_try_link
"$LINENO"; then :
10255 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10256 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'` ;;
10257 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10258 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10259 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10263 rm -f core conftest.err conftest.
$ac_objext \
10264 conftest
$ac_exeext conftest.
$ac_ext
10265 LIBS
=$ac_check_soname_save_LIBS
10267 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10269 $as_echo "not found" >&6; }
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10273 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10275 cat >>confdefs.h
<<_ACEOF
10276 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10282 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10284 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10285 case "x$with_xinerama" in
10286 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10288 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10289 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10293 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10296 $as_echo_n "checking for -lXcomposite... " >&6; }
10297 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
10298 $as_echo_n "(cached) " >&6
10300 ac_check_soname_save_LIBS
=$LIBS
10301 LIBS
="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10303 /* end confdefs.h. */
10305 /* Override any GCC internal prototype to avoid an error.
10306 Use char because int might match the return type of a GCC
10307 builtin and then its argument prototype would still apply. */
10311 char XCompositeRedirectWindow ();
10315 return XCompositeRedirectWindow ();
10320 if ac_fn_c_try_link
"$LINENO"; then :
10322 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10323 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'` ;;
10324 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10325 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10326 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10330 rm -f core conftest.err conftest.
$ac_objext \
10331 conftest
$ac_exeext conftest.
$ac_ext
10332 LIBS
=$ac_check_soname_save_LIBS
10334 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10336 $as_echo "not found" >&6; }
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10340 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10342 cat >>confdefs.h
<<_ACEOF
10343 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10349 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10350 case "x$with_xcomposite" in
10351 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10353 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10354 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10358 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10359 #include <X11/Xlib.h>
10362 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
10364 cat >>confdefs.h
<<_ACEOF
10365 #define HAVE_XICCALLBACK_CALLBACK 1
10370 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10371 #include <X11/Xlib.h>
10374 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
10376 cat >>confdefs.h
<<_ACEOF
10377 #define HAVE_XEVENT_XCOOKIE 1
10386 if test "x$with_opengl" != "xno"
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10389 $as_echo_n "checking for -lGL... " >&6; }
10390 if ${ac_cv_lib_soname_GL+:} false
; then :
10391 $as_echo_n "(cached) " >&6
10393 ac_check_soname_save_LIBS
=$LIBS
10394 LIBS
="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10396 /* end confdefs.h. */
10398 /* Override any GCC internal prototype to avoid an error.
10399 Use char because int might match the return type of a GCC
10400 builtin and then its argument prototype would still apply. */
10404 char glXCreateContext ();
10408 return glXCreateContext ();
10413 if ac_fn_c_try_link
"$LINENO"; then :
10415 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10416 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'` ;;
10417 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10418 if ${ac_cv_lib_soname_GL:+false} :; then :
10419 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10423 rm -f core conftest.err conftest.
$ac_objext \
10424 conftest
$ac_exeext conftest.
$ac_ext
10425 LIBS
=$ac_check_soname_save_LIBS
10427 if ${ac_cv_lib_soname_GL:+false} :; then :
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10429 $as_echo "not found" >&6; }
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10431 $as_echo_n "checking for -lGL... " >&6; }
10432 if ${ac_cv_lib_soname_GL+:} false
; then :
10433 $as_echo_n "(cached) " >&6
10435 ac_check_soname_save_LIBS
=$LIBS
10436 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"
10437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10438 /* end confdefs.h. */
10440 /* Override any GCC internal prototype to avoid an error.
10441 Use char because int might match the return type of a GCC
10442 builtin and then its argument prototype would still apply. */
10446 char glXCreateContext ();
10450 return glXCreateContext ();
10455 if ac_fn_c_try_link
"$LINENO"; then :
10457 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10458 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'` ;;
10459 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10460 if ${ac_cv_lib_soname_GL:+false} :; then :
10461 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10465 rm -f core conftest.err conftest.
$ac_objext \
10466 conftest
$ac_exeext conftest.
$ac_ext
10467 LIBS
=$ac_check_soname_save_LIBS
10469 if ${ac_cv_lib_soname_GL:+false} :; then :
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10471 $as_echo "not found" >&6; }
10472 if test -f /usr
/X11R
6/lib
/libGL.a
10474 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
10475 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10477 opengl_msg
="No OpenGL library found on this system."
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10481 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10483 cat >>confdefs.h
<<_ACEOF
10484 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10487 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"
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10491 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10493 cat >>confdefs.h
<<_ACEOF
10494 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10499 if test "x$with_glu" != "xno"
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10502 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10503 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
10504 $as_echo_n "(cached) " >&6
10506 ac_check_lib_save_LIBS
=$LIBS
10507 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10509 /* end confdefs.h. */
10511 /* Override any GCC internal prototype to avoid an error.
10512 Use char because int might match the return type of a GCC
10513 builtin and then its argument prototype would still apply. */
10521 return gluLookAt ();
10526 if ac_fn_c_try_link
"$LINENO"; then :
10527 ac_cv_lib_GLU_gluLookAt
=yes
10529 ac_cv_lib_GLU_gluLookAt
=no
10531 rm -f core conftest.err conftest.
$ac_objext \
10532 conftest
$ac_exeext conftest.
$ac_ext
10533 LIBS
=$ac_check_lib_save_LIBS
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10536 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10537 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
10541 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
10542 case "x$with_glu" in
10543 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10545 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
10546 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10551 if test "x$with_osmesa" != "xno"
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10554 $as_echo_n "checking for -lOSMesa... " >&6; }
10555 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
10556 $as_echo_n "(cached) " >&6
10558 ac_check_soname_save_LIBS
=$LIBS
10559 LIBS
="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10561 /* end confdefs.h. */
10563 /* Override any GCC internal prototype to avoid an error.
10564 Use char because int might match the return type of a GCC
10565 builtin and then its argument prototype would still apply. */
10578 if ac_fn_c_try_link
"$LINENO"; then :
10580 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10581 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'` ;;
10582 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10583 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10584 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10588 rm -f core conftest.err conftest.
$ac_objext \
10589 conftest
$ac_exeext conftest.
$ac_ext
10590 LIBS
=$ac_check_soname_save_LIBS
10592 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10594 $as_echo "not found" >&6; }
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10598 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10600 cat >>confdefs.h
<<_ACEOF
10601 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10606 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10607 case "x$with_osmesa" in
10608 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10610 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10611 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10616 if test -n "$opengl_msg"; then :
10617 case "x$with_opengl" in
10618 x
) as_fn_append wine_warnings
"|$opengl_msg
10619 OpenGL and Direct3D won't be supported." ;;
10621 *) as_fn_error $?
"$opengl_msg
10622 OpenGL and Direct3D won't be supported.
10623 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10627 CPPFLAGS
="$ac_save_CPPFLAGS"
10631 enable_winex11_drv
=${enable_winex11_drv:-no}
10633 if test "x$X_LIBS" = "x"; then :
10636 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
10637 without X support, which probably isn't what you want. You will need
10638 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10639 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10643 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
10645 if test "$ac_cv_header_CL_cl_h" = "yes"
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10648 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10649 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
10650 $as_echo_n "(cached) " >&6
10652 ac_check_lib_save_LIBS
=$LIBS
10653 LIBS
="-lOpenCL $LIBS"
10654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10655 /* end confdefs.h. */
10657 /* Override any GCC internal prototype to avoid an error.
10658 Use char because int might match the return type of a GCC
10659 builtin and then its argument prototype would still apply. */
10663 char clGetPlatformInfo ();
10667 return clGetPlatformInfo ();
10672 if ac_fn_c_try_link
"$LINENO"; then :
10673 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
10675 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
10677 rm -f core conftest.err conftest.
$ac_objext \
10678 conftest
$ac_exeext conftest.
$ac_ext
10679 LIBS
=$ac_check_lib_save_LIBS
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10682 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10683 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
10684 OPENCL_LIBS
="-lOpenCL"
10689 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
10690 case "x$with_opencl" in
10691 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10693 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10694 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10697 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
10699 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10702 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10703 if ${ac_cv_lib_pcap_pcap_create+:} false
; then :
10704 $as_echo_n "(cached) " >&6
10706 ac_check_lib_save_LIBS
=$LIBS
10707 LIBS
="-lpcap $LIBS"
10708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10709 /* end confdefs.h. */
10711 /* Override any GCC internal prototype to avoid an error.
10712 Use char because int might match the return type of a GCC
10713 builtin and then its argument prototype would still apply. */
10717 char pcap_create ();
10721 return pcap_create ();
10726 if ac_fn_c_try_link
"$LINENO"; then :
10727 ac_cv_lib_pcap_pcap_create
=yes
10729 ac_cv_lib_pcap_pcap_create
=no
10731 rm -f core conftest.err conftest.
$ac_objext \
10732 conftest
$ac_exeext conftest.
$ac_ext
10733 LIBS
=$ac_check_lib_save_LIBS
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10736 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10737 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
; then :
10743 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
; then :
10744 case "x$with_pcap" in
10745 x
) as_fn_append wine_notices
"|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10747 *) as_fn_error $?
"pcap ${notice_platform}development files not found, wpcap won't be supported.
10748 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10751 test "x$ac_cv_lib_pcap_pcap_create" != xyes
&& enable_wpcap
=${enable_wpcap:-no}
10754 if test "x$with_xml" != "xno"
10756 if ${XML2_CFLAGS:+false} :; then :
10757 if ${PKG_CONFIG+:} false
; then :
10758 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10761 test "$cross_compiling" = yes || XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
10762 if ${XML2_LIBS:+false} :; then :
10763 if ${PKG_CONFIG+:} false
; then :
10764 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10767 test "$cross_compiling" = yes || XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
10768 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
10769 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10770 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10771 ac_save_CPPFLAGS
=$CPPFLAGS
10772 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
10773 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
10775 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10776 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10777 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10778 cat >>confdefs.h
<<_ACEOF
10779 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10786 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"
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10789 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10790 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
10791 $as_echo_n "(cached) " >&6
10793 ac_check_lib_save_LIBS
=$LIBS
10794 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10796 /* end confdefs.h. */
10798 /* Override any GCC internal prototype to avoid an error.
10799 Use char because int might match the return type of a GCC
10800 builtin and then its argument prototype would still apply. */
10804 char xmlParseMemory ();
10808 return xmlParseMemory ();
10813 if ac_fn_c_try_link
"$LINENO"; then :
10814 ac_cv_lib_xml2_xmlParseMemory
=yes
10816 ac_cv_lib_xml2_xmlParseMemory
=no
10818 rm -f core conftest.err conftest.
$ac_objext \
10819 conftest
$ac_exeext conftest.
$ac_ext
10820 LIBS
=$ac_check_lib_save_LIBS
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10823 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10824 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
10826 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10833 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10834 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
10835 $as_echo_n "(cached) " >&6
10837 ac_check_lib_save_LIBS
=$LIBS
10838 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10840 /* end confdefs.h. */
10842 /* Override any GCC internal prototype to avoid an error.
10843 Use char because int might match the return type of a GCC
10844 builtin and then its argument prototype would still apply. */
10848 char xmlReadMemory ();
10852 return xmlReadMemory ();
10857 if ac_fn_c_try_link
"$LINENO"; then :
10858 ac_cv_lib_xml2_xmlReadMemory
=yes
10860 ac_cv_lib_xml2_xmlReadMemory
=no
10862 rm -f core conftest.err conftest.
$ac_objext \
10863 conftest
$ac_exeext conftest.
$ac_ext
10864 LIBS
=$ac_check_lib_save_LIBS
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10867 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10868 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
10870 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10875 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10876 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
10877 $as_echo_n "(cached) " >&6
10879 ac_check_lib_save_LIBS
=$LIBS
10880 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10882 /* end confdefs.h. */
10884 /* Override any GCC internal prototype to avoid an error.
10885 Use char because int might match the return type of a GCC
10886 builtin and then its argument prototype would still apply. */
10890 char xmlNewDocPI ();
10894 return xmlNewDocPI ();
10899 if ac_fn_c_try_link
"$LINENO"; then :
10900 ac_cv_lib_xml2_xmlNewDocPI
=yes
10902 ac_cv_lib_xml2_xmlNewDocPI
=no
10904 rm -f core conftest.err conftest.
$ac_objext \
10905 conftest
$ac_exeext conftest.
$ac_ext
10906 LIBS
=$ac_check_lib_save_LIBS
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10909 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10910 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
10912 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
10917 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
10918 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
10919 $as_echo_n "(cached) " >&6
10921 ac_check_lib_save_LIBS
=$LIBS
10922 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10924 /* end confdefs.h. */
10926 /* Override any GCC internal prototype to avoid an error.
10927 Use char because int might match the return type of a GCC
10928 builtin and then its argument prototype would still apply. */
10932 char xmlSchemaSetParserStructuredErrors ();
10936 return xmlSchemaSetParserStructuredErrors ();
10941 if ac_fn_c_try_link
"$LINENO"; then :
10942 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
10944 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
10946 rm -f core conftest.err conftest.
$ac_objext \
10947 conftest
$ac_exeext conftest.
$ac_ext
10948 LIBS
=$ac_check_lib_save_LIBS
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
10951 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
10952 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
10954 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
10959 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
10960 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
10961 $as_echo_n "(cached) " >&6
10963 ac_check_lib_save_LIBS
=$LIBS
10964 LIBS
="-lxml2 $XML2_LIBS $LIBS"
10965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10966 /* end confdefs.h. */
10968 /* Override any GCC internal prototype to avoid an error.
10969 Use char because int might match the return type of a GCC
10970 builtin and then its argument prototype would still apply. */
10974 char xmlSchemaSetValidStructuredErrors ();
10978 return xmlSchemaSetValidStructuredErrors ();
10983 if ac_fn_c_try_link
"$LINENO"; then :
10984 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
10986 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
10988 rm -f core conftest.err conftest.
$ac_objext \
10989 conftest
$ac_exeext conftest.
$ac_ext
10990 LIBS
=$ac_check_lib_save_LIBS
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
10993 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
10994 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
10996 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11001 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11002 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
11003 $as_echo_n "(cached) " >&6
11005 ac_check_lib_save_LIBS
=$LIBS
11006 LIBS
="-lxml2 $XML2_LIBS $LIBS"
11007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11008 /* end confdefs.h. */
11010 /* Override any GCC internal prototype to avoid an error.
11011 Use char because int might match the return type of a GCC
11012 builtin and then its argument prototype would still apply. */
11016 char xmlFirstElementChild ();
11020 return xmlFirstElementChild ();
11025 if ac_fn_c_try_link
"$LINENO"; then :
11026 ac_cv_lib_xml2_xmlFirstElementChild
=yes
11028 ac_cv_lib_xml2_xmlFirstElementChild
=no
11030 rm -f core conftest.err conftest.
$ac_objext \
11031 conftest
$ac_exeext conftest.
$ac_ext
11032 LIBS
=$ac_check_lib_save_LIBS
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11035 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11036 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
11038 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11042 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11044 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
11046 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11054 CPPFLAGS
=$ac_save_CPPFLAGS
11055 test -z "$XML2_CFLAGS" || XML2_CFLAGS
=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11056 test -z "$XML2_LIBS" || XML2_LIBS
=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11059 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11060 case "x$with_xml" in
11061 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11063 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11064 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11068 if test "x$with_xslt" != "xno"
11070 if ${XSLT_CFLAGS:+false} :; then :
11071 if ${PKG_CONFIG+:} false
; then :
11072 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11075 test "$cross_compiling" = yes || XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
11076 if ${XSLT_LIBS:+false} :; then :
11077 if ${PKG_CONFIG+:} false
; then :
11078 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11081 test "$cross_compiling" = yes || XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
11082 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
11083 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11084 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11085 ac_save_CPPFLAGS
=$CPPFLAGS
11086 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
11087 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
11089 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11090 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11091 # include <libxslt/pattern.h>
11094 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11095 cat >>confdefs.h
<<_ACEOF
11096 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11103 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11106 $as_echo_n "checking for -lxslt... " >&6; }
11107 if ${ac_cv_lib_soname_xslt+:} false
; then :
11108 $as_echo_n "(cached) " >&6
11110 ac_check_soname_save_LIBS
=$LIBS
11111 LIBS
="-lxslt $XSLT_LIBS $LIBS"
11112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11113 /* end confdefs.h. */
11115 /* Override any GCC internal prototype to avoid an error.
11116 Use char because int might match the return type of a GCC
11117 builtin and then its argument prototype would still apply. */
11121 char xsltCompilePattern ();
11125 return xsltCompilePattern ();
11130 if ac_fn_c_try_link
"$LINENO"; then :
11132 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11133 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'` ;;
11134 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11135 if ${ac_cv_lib_soname_xslt:+false} :; then :
11136 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11140 rm -f core conftest.err conftest.
$ac_objext \
11141 conftest
$ac_exeext conftest.
$ac_ext
11142 LIBS
=$ac_check_soname_save_LIBS
11144 if ${ac_cv_lib_soname_xslt:+false} :; then :
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11146 $as_echo "not found" >&6; }
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11150 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11152 cat >>confdefs.h
<<_ACEOF
11153 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11161 CPPFLAGS
=$ac_save_CPPFLAGS
11162 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS
=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11163 test -z "$XSLT_LIBS" || XSLT_LIBS
=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11166 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11167 case "x$with_xslt" in
11168 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11170 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
11171 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11175 if test "x$with_dbus" != "xno"
11177 if ${DBUS_CFLAGS:+false} :; then :
11178 if ${PKG_CONFIG+:} false
; then :
11179 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11183 if ${DBUS_LIBS:+false} :; then :
11184 if ${PKG_CONFIG+:} false
; then :
11185 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11190 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11191 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11192 ac_save_CPPFLAGS
=$CPPFLAGS
11193 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
11194 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11195 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11197 $as_echo_n "checking for -ldbus-1... " >&6; }
11198 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
11199 $as_echo_n "(cached) " >&6
11201 ac_check_soname_save_LIBS
=$LIBS
11202 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
11203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11204 /* end confdefs.h. */
11206 /* Override any GCC internal prototype to avoid an error.
11207 Use char because int might match the return type of a GCC
11208 builtin and then its argument prototype would still apply. */
11212 char dbus_connection_close ();
11216 return dbus_connection_close ();
11221 if ac_fn_c_try_link
"$LINENO"; then :
11223 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11224 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'` ;;
11225 *) 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'`
11226 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11227 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11231 rm -f core conftest.err conftest.
$ac_objext \
11232 conftest
$ac_exeext conftest.
$ac_ext
11233 LIBS
=$ac_check_soname_save_LIBS
11235 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11237 $as_echo "not found" >&6; }
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11241 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11243 cat >>confdefs.h
<<_ACEOF
11244 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11254 CPPFLAGS
=$ac_save_CPPFLAGS
11255 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS
=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11256 test -z "$DBUS_LIBS" || DBUS_LIBS
=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11259 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11260 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11261 case "x$with_dbus" in
11262 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11264 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
11265 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11269 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11271 if ${HAL_CFLAGS:+false} :; then :
11272 if ${PKG_CONFIG+:} false
; then :
11273 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
11277 if ${HAL_LIBS:+false} :; then :
11278 if ${PKG_CONFIG+:} false
; then :
11279 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
11283 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
11284 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11285 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11286 ac_save_CPPFLAGS
=$CPPFLAGS
11287 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
11288 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11289 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11291 $as_echo_n "checking for -lhal... " >&6; }
11292 if ${ac_cv_lib_soname_hal+:} false
; then :
11293 $as_echo_n "(cached) " >&6
11295 ac_check_soname_save_LIBS
=$LIBS
11296 LIBS
="-lhal $HAL_LIBS $LIBS"
11297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11298 /* end confdefs.h. */
11300 /* Override any GCC internal prototype to avoid an error.
11301 Use char because int might match the return type of a GCC
11302 builtin and then its argument prototype would still apply. */
11306 char libhal_ctx_new ();
11310 return libhal_ctx_new ();
11315 if ac_fn_c_try_link
"$LINENO"; then :
11317 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11318 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'` ;;
11319 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11320 if ${ac_cv_lib_soname_hal:+false} :; then :
11321 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11325 rm -f core conftest.err conftest.
$ac_objext \
11326 conftest
$ac_exeext conftest.
$ac_ext
11327 LIBS
=$ac_check_soname_save_LIBS
11329 if ${ac_cv_lib_soname_hal:+false} :; then :
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11331 $as_echo "not found" >&6; }
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11335 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11337 cat >>confdefs.h
<<_ACEOF
11338 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11348 CPPFLAGS
=$ac_save_CPPFLAGS
11349 test -z "$HAL_CFLAGS" || HAL_CFLAGS
=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11350 test -z "$HAL_LIBS" || HAL_LIBS
=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11352 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11353 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11354 case "x$with_hal" in
11355 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11357 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
11358 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11363 if test "x$with_gnutls" != "xno"
11365 if ${GNUTLS_CFLAGS:+false} :; then :
11366 if ${PKG_CONFIG+:} false
; then :
11367 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11371 if ${GNUTLS_LIBS:+false} :; then :
11372 if ${PKG_CONFIG+:} false
; then :
11373 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11378 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11379 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11380 ac_save_CPPFLAGS
=$CPPFLAGS
11381 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
11382 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11383 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
11384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11385 /* end confdefs.h. */
11386 #include <gnutls/gnutls.h>
11387 #include <gnutls/crypto.h>
11391 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11396 if ac_fn_c_try_compile
"$LINENO"; then :
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11398 $as_echo_n "checking for -lgnutls... " >&6; }
11399 if ${ac_cv_lib_soname_gnutls+:} false
; then :
11400 $as_echo_n "(cached) " >&6
11402 ac_check_soname_save_LIBS
=$LIBS
11403 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
11404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11405 /* end confdefs.h. */
11407 /* Override any GCC internal prototype to avoid an error.
11408 Use char because int might match the return type of a GCC
11409 builtin and then its argument prototype would still apply. */
11413 char gnutls_global_init ();
11417 return gnutls_global_init ();
11422 if ac_fn_c_try_link
"$LINENO"; then :
11424 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11425 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'` ;;
11426 *) 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'`
11427 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11428 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'`
11432 rm -f core conftest.err conftest.
$ac_objext \
11433 conftest
$ac_exeext conftest.
$ac_ext
11434 LIBS
=$ac_check_soname_save_LIBS
11436 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11438 $as_echo "not found" >&6; }
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11442 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11444 cat >>confdefs.h
<<_ACEOF
11445 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11457 CPPFLAGS
=$ac_save_CPPFLAGS
11458 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS
=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11459 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS
=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11462 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11463 case "x$with_gnutls" in
11464 x
) as_fn_append wine_warnings
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11466 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
11467 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11472 if test "$ac_cv_header_ncurses_h" = "yes"
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11475 $as_echo_n "checking for -lncurses... " >&6; }
11476 if ${ac_cv_lib_soname_ncurses+:} false
; then :
11477 $as_echo_n "(cached) " >&6
11479 ac_check_soname_save_LIBS
=$LIBS
11480 LIBS
="-lncurses $LIBS"
11481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11482 /* end confdefs.h. */
11484 /* Override any GCC internal prototype to avoid an error.
11485 Use char because int might match the return type of a GCC
11486 builtin and then its argument prototype would still apply. */
11499 if ac_fn_c_try_link
"$LINENO"; then :
11501 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11502 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'` ;;
11503 *) 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'`
11504 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11505 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11509 rm -f core conftest.err conftest.
$ac_objext \
11510 conftest
$ac_exeext conftest.
$ac_ext
11511 LIBS
=$ac_check_soname_save_LIBS
11513 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11515 $as_echo "not found" >&6; }
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11519 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11521 cat >>confdefs.h
<<_ACEOF
11522 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11525 CURSES_LIBS
="-lncurses"
11527 elif test "$ac_cv_header_curses_h" = "yes"
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11530 $as_echo_n "checking for -lcurses... " >&6; }
11531 if ${ac_cv_lib_soname_curses+:} false
; then :
11532 $as_echo_n "(cached) " >&6
11534 ac_check_soname_save_LIBS
=$LIBS
11535 LIBS
="-lcurses $LIBS"
11536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11537 /* end confdefs.h. */
11539 /* Override any GCC internal prototype to avoid an error.
11540 Use char because int might match the return type of a GCC
11541 builtin and then its argument prototype would still apply. */
11554 if ac_fn_c_try_link
"$LINENO"; then :
11556 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11557 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'` ;;
11558 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11559 if ${ac_cv_lib_soname_curses:+false} :; then :
11560 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11564 rm -f core conftest.err conftest.
$ac_objext \
11565 conftest
$ac_exeext conftest.
$ac_ext
11566 LIBS
=$ac_check_soname_save_LIBS
11568 if ${ac_cv_lib_soname_curses:+false} :; then :
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11570 $as_echo "not found" >&6; }
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11574 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11576 cat >>confdefs.h
<<_ACEOF
11577 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11580 CURSES_LIBS
="-lcurses"
11583 ac_save_LIBS
="$LIBS"
11584 LIBS
="$LIBS $CURSES_LIBS"
11585 for ac_func
in mousemask
11587 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
11588 if test "x$ac_cv_func_mousemask" = xyes
; then :
11589 cat >>confdefs.h
<<_ACEOF
11590 #define HAVE_MOUSEMASK 1
11596 LIBS
="$ac_save_LIBS"
11597 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11598 case "x$with_curses" in
11599 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11601 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11602 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11606 if test "x$with_sane" != "xno"
11608 if ${SANE_CFLAGS:+false} :; then :
11609 if ${PKG_CONFIG+:} false
; then :
11610 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11613 test "$cross_compiling" = yes || SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
11614 if ${SANE_LIBS:+false} :; then :
11615 if ${PKG_CONFIG+:} false
; then :
11616 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
11619 test "$cross_compiling" = yes || SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
11621 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11622 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11623 ac_save_CPPFLAGS
=$CPPFLAGS
11624 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
11625 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11626 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11628 $as_echo_n "checking for -lsane... " >&6; }
11629 if ${ac_cv_lib_soname_sane+:} false
; then :
11630 $as_echo_n "(cached) " >&6
11632 ac_check_soname_save_LIBS
=$LIBS
11633 LIBS
="-lsane $SANE_LIBS $LIBS"
11634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11635 /* end confdefs.h. */
11637 /* Override any GCC internal prototype to avoid an error.
11638 Use char because int might match the return type of a GCC
11639 builtin and then its argument prototype would still apply. */
11647 return sane_init ();
11652 if ac_fn_c_try_link
"$LINENO"; then :
11654 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11655 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'` ;;
11656 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11657 if ${ac_cv_lib_soname_sane:+false} :; then :
11658 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11662 rm -f core conftest.err conftest.
$ac_objext \
11663 conftest
$ac_exeext conftest.
$ac_ext
11664 LIBS
=$ac_check_soname_save_LIBS
11666 if ${ac_cv_lib_soname_sane:+false} :; then :
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11668 $as_echo "not found" >&6; }
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11672 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11674 cat >>confdefs.h
<<_ACEOF
11675 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11685 CPPFLAGS
=$ac_save_CPPFLAGS
11686 test -z "$SANE_CFLAGS" || SANE_CFLAGS
=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11687 test -z "$SANE_LIBS" || SANE_LIBS
=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11690 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11691 case "x$with_sane" in
11692 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11694 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
11695 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11699 if test "x$with_v4l" != "xno"
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11702 $as_echo_n "checking for -lv4l1... " >&6; }
11703 if ${ac_cv_lib_soname_v4l1+:} false
; then :
11704 $as_echo_n "(cached) " >&6
11706 ac_check_soname_save_LIBS
=$LIBS
11707 LIBS
="-lv4l1 $LIBS"
11708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11709 /* end confdefs.h. */
11711 /* Override any GCC internal prototype to avoid an error.
11712 Use char because int might match the return type of a GCC
11713 builtin and then its argument prototype would still apply. */
11721 return v4l1_open ();
11726 if ac_fn_c_try_link
"$LINENO"; then :
11728 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11729 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'` ;;
11730 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11731 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11732 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11736 rm -f core conftest.err conftest.
$ac_objext \
11737 conftest
$ac_exeext conftest.
$ac_ext
11738 LIBS
=$ac_check_soname_save_LIBS
11740 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11742 $as_echo "not found" >&6; }
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11746 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11748 cat >>confdefs.h
<<_ACEOF
11749 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11755 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11756 case "x$with_v4l" in
11757 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
11759 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
11760 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11764 if test "x$with_gphoto" != "xno"
11766 if ${GPHOTO2_CFLAGS:+false} :; then :
11767 if ${PKG_CONFIG+:} false
; then :
11768 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11771 test "$cross_compiling" = yes || GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
11772 if ${GPHOTO2_LIBS:+false} :; then :
11773 if ${PKG_CONFIG+:} false
; then :
11774 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11777 test "$cross_compiling" = yes || GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
11778 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
11779 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11780 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11781 ac_save_CPPFLAGS
=$CPPFLAGS
11782 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
11783 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11784 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11786 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11787 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
11788 $as_echo_n "(cached) " >&6
11790 ac_check_lib_save_LIBS
=$LIBS
11791 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11793 /* end confdefs.h. */
11795 /* Override any GCC internal prototype to avoid an error.
11796 Use char because int might match the return type of a GCC
11797 builtin and then its argument prototype would still apply. */
11801 char gp_camera_new ();
11805 return gp_camera_new ();
11810 if ac_fn_c_try_link
"$LINENO"; then :
11811 ac_cv_lib_gphoto2_gp_camera_new
=yes
11813 ac_cv_lib_gphoto2_gp_camera_new
=no
11815 rm -f core conftest.err conftest.
$ac_objext \
11816 conftest
$ac_exeext conftest.
$ac_ext
11817 LIBS
=$ac_check_lib_save_LIBS
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11820 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11821 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
11823 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11826 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11830 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
11834 CPPFLAGS
=$ac_save_CPPFLAGS
11835 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS
=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11836 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS
=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11838 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11839 if ${PKG_CONFIG+:} false
; then :
11840 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11843 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
11844 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11845 if ${PKG_CONFIG+:} false
; then :
11846 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11849 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
11850 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11851 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11852 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11853 ac_save_CPPFLAGS
=$CPPFLAGS
11854 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11855 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11856 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11858 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11859 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
11860 $as_echo_n "(cached) " >&6
11862 ac_check_lib_save_LIBS
=$LIBS
11863 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11865 /* end confdefs.h. */
11867 /* Override any GCC internal prototype to avoid an error.
11868 Use char because int might match the return type of a GCC
11869 builtin and then its argument prototype would still apply. */
11873 char gp_port_info_list_new ();
11877 return gp_port_info_list_new ();
11882 if ac_fn_c_try_link
"$LINENO"; then :
11883 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
11885 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
11887 rm -f core conftest.err conftest.
$ac_objext \
11888 conftest
$ac_exeext conftest.
$ac_ext
11889 LIBS
=$ac_check_lib_save_LIBS
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
11892 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
11893 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
11895 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
11898 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11902 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
11906 CPPFLAGS
=$ac_save_CPPFLAGS
11907 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS
=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11908 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS
=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11911 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
11912 case "x$with_gphoto" in
11913 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
11915 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
11916 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11919 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
11920 case "x$with_gphoto" in
11921 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
11923 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
11924 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
11929 if test "$ac_cv_header_resolv_h" = "yes"
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
11932 $as_echo_n "checking for resolver library... " >&6; }
11933 if ${ac_cv_have_resolv+:} false
; then :
11934 $as_echo_n "(cached) " >&6
11936 ac_save_LIBS
="$LIBS"
11937 for lib
in '' -lresolv
11939 LIBS
="$lib $ac_save_LIBS"
11940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11941 /* end confdefs.h. */
11942 #ifdef HAVE_NETINET_IN_H
11943 #include <netinet/in.h>
11945 #include <resolv.h>
11949 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
11954 if ac_fn_c_try_link
"$LINENO"; then :
11955 ac_cv_have_resolv
=${lib:-"none required"}
11957 ac_cv_have_resolv
="not found"
11959 rm -f core conftest.err conftest.
$ac_objext \
11960 conftest
$ac_exeext conftest.
$ac_ext
11961 test "x$ac_cv_have_resolv" = "xnot found" ||
break
11963 LIBS
="$ac_save_LIBS"
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
11966 $as_echo "$ac_cv_have_resolv" >&6; }
11968 case "$ac_cv_have_resolv" in
11972 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11975 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
11977 RESOLV_LIBS
=$ac_cv_have_resolv
11982 if test "x$with_cms" != "xno"
11984 if ${LCMS2_CFLAGS:+false} :; then :
11985 if ${PKG_CONFIG+:} false
; then :
11986 LCMS2_CFLAGS
=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
11990 if ${LCMS2_LIBS:+false} :; then :
11991 if ${PKG_CONFIG+:} false
; then :
11992 LCMS2_LIBS
=`$PKG_CONFIG --libs lcms2 2>/dev/null`
11996 LCMS2_LIBS
=${LCMS2_LIBS:-"-llcms2"}
11997 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
11998 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
11999 ac_save_CPPFLAGS
=$CPPFLAGS
12000 CPPFLAGS
="$CPPFLAGS $LCMS2_CFLAGS"
12001 for ac_header
in lcms2.h
12003 ac_fn_c_check_header_mongrel
"$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12004 if test "x$ac_cv_header_lcms2_h" = xyes
; then :
12005 cat >>confdefs.h
<<_ACEOF
12006 #define HAVE_LCMS2_H 1
12013 if test "$ac_cv_header_lcms2_h" = "yes"
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12016 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12017 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false
; then :
12018 $as_echo_n "(cached) " >&6
12020 ac_check_lib_save_LIBS
=$LIBS
12021 LIBS
="-llcms2 $LCMS2_LIBS $LIBS"
12022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12023 /* end confdefs.h. */
12025 /* Override any GCC internal prototype to avoid an error.
12026 Use char because int might match the return type of a GCC
12027 builtin and then its argument prototype would still apply. */
12031 char cmsOpenProfileFromFile ();
12035 return cmsOpenProfileFromFile ();
12040 if ac_fn_c_try_link
"$LINENO"; then :
12041 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=yes
12043 ac_cv_lib_lcms2_cmsOpenProfileFromFile
=no
12045 rm -f core conftest.err conftest.
$ac_objext \
12046 conftest
$ac_exeext conftest.
$ac_ext
12047 LIBS
=$ac_check_lib_save_LIBS
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12050 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12051 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes
; then :
12053 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12063 CPPFLAGS
=$ac_save_CPPFLAGS
12064 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS
=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12065 test -z "$LCMS2_LIBS" || LCMS2_LIBS
=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12068 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12069 case "x$with_cms" in
12070 x
) as_fn_append wine_notices
"|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12072 *) as_fn_error $?
"liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12073 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12077 if test "x$with_freetype" != "xno"
12079 if ${FREETYPE_CFLAGS:+false} :; then :
12080 if ${PKG_CONFIG+:} false
; then :
12081 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12084 test "$cross_compiling" = yes || FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
12085 if ${FREETYPE_LIBS:+false} :; then :
12086 if ${PKG_CONFIG+:} false
; then :
12087 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12090 test "$cross_compiling" = yes || FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
12091 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
12092 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12093 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12094 ac_save_CPPFLAGS
=$CPPFLAGS
12095 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
12096 for ac_header
in ft2build.h
12098 ac_fn_c_check_header_mongrel
"$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12099 if test "x$ac_cv_header_ft2build_h" = xyes
; then :
12100 cat >>confdefs.h
<<_ACEOF
12101 #define HAVE_FT2BUILD_H 1
12108 if test "$ac_cv_header_ft2build_h" = "yes"
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12111 $as_echo_n "checking for -lfreetype... " >&6; }
12112 if ${ac_cv_lib_soname_freetype+:} false
; then :
12113 $as_echo_n "(cached) " >&6
12115 ac_check_soname_save_LIBS
=$LIBS
12116 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
12117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12118 /* end confdefs.h. */
12120 /* Override any GCC internal prototype to avoid an error.
12121 Use char because int might match the return type of a GCC
12122 builtin and then its argument prototype would still apply. */
12126 char FT_Init_FreeType ();
12130 return FT_Init_FreeType ();
12135 if ac_fn_c_try_link
"$LINENO"; then :
12137 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12138 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'` ;;
12139 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12140 if ${ac_cv_lib_soname_freetype:+false} :; then :
12141 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12145 rm -f core conftest.err conftest.
$ac_objext \
12146 conftest
$ac_exeext conftest.
$ac_ext
12147 LIBS
=$ac_check_soname_save_LIBS
12149 if ${ac_cv_lib_soname_freetype:+false} :; then :
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12151 $as_echo "not found" >&6; }
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12155 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12157 cat >>confdefs.h
<<_ACEOF
12158 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12162 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12164 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12165 #include FT_MODULE_H
12167 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
12169 cat >>confdefs.h
<<_ACEOF
12170 #define HAVE_FT_TRUETYPEENGINETYPE 1
12181 CPPFLAGS
=$ac_save_CPPFLAGS
12182 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS
=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12183 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS
=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12186 if test "x$ac_cv_lib_soname_freetype" = x
; then :
12187 case "x$with_freetype" in
12189 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
12190 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12193 test "x$ac_cv_lib_soname_freetype" = x
&& enable_fonts
=${enable_fonts:-no}
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12196 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12197 if ${ac_cv_c_ppdev+:} false
; then :
12198 $as_echo_n "(cached) " >&6
12200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12201 /* end confdefs.h. */
12202 #ifdef HAVE_SYS_IOCTL_H
12203 # include <sys/ioctl.h>
12205 #include <linux/ppdev.h>
12209 ioctl (1,PPCLAIM,0)
12214 if ac_fn_c_try_compile
"$LINENO"; then :
12215 ac_cv_c_ppdev
="yes"
12219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12222 $as_echo "$ac_cv_c_ppdev" >&6; }
12223 if test "$ac_cv_c_ppdev" = "yes"
12226 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12230 ac_wine_check_funcs_save_LIBS
="$LIBS"
12231 LIBS
="$LIBS $PTHREAD_LIBS"
12233 pthread_attr_get_np \
12234 pthread_getattr_np \
12235 pthread_getthreadid_np \
12236 pthread_get_stackaddr_np \
12237 pthread_get_stacksize_np
12239 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12240 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12241 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12242 cat >>confdefs.h
<<_ACEOF
12243 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12249 LIBS
="$ac_wine_check_funcs_save_LIBS"
12251 if test "$ac_cv_header_zlib_h" = "yes"
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12254 $as_echo_n "checking for inflate in -lz... " >&6; }
12255 if ${ac_cv_lib_z_inflate+:} false
; then :
12256 $as_echo_n "(cached) " >&6
12258 ac_check_lib_save_LIBS
=$LIBS
12260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12261 /* end confdefs.h. */
12263 /* Override any GCC internal prototype to avoid an error.
12264 Use char because int might match the return type of a GCC
12265 builtin and then its argument prototype would still apply. */
12278 if ac_fn_c_try_link
"$LINENO"; then :
12279 ac_cv_lib_z_inflate
=yes
12281 ac_cv_lib_z_inflate
=no
12283 rm -f core conftest.err conftest.
$ac_objext \
12284 conftest
$ac_exeext conftest.
$ac_ext
12285 LIBS
=$ac_check_lib_save_LIBS
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12288 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12289 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
12291 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12298 if test "x$Z_LIBS" = "x"; then :
12299 case "x$with_zlib" in
12300 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12302 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
12303 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12307 if test "x$enable_tools" != xno
12309 if test "$ac_cv_header_gettext_po_h" = "yes"
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12312 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12313 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
12314 $as_echo_n "(cached) " >&6
12316 ac_check_lib_save_LIBS
=$LIBS
12317 LIBS
="-lgettextpo $LIBS"
12318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12319 /* end confdefs.h. */
12321 /* Override any GCC internal prototype to avoid an error.
12322 Use char because int might match the return type of a GCC
12323 builtin and then its argument prototype would still apply. */
12327 char po_message_msgctxt ();
12331 return po_message_msgctxt ();
12336 if ac_fn_c_try_link
"$LINENO"; then :
12337 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
12339 ac_cv_lib_gettextpo_po_message_msgctxt
=no
12341 rm -f core conftest.err conftest.
$ac_objext \
12342 conftest
$ac_exeext conftest.
$ac_ext
12343 LIBS
=$ac_check_lib_save_LIBS
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12346 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12347 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
12349 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12351 GETTEXTPO_LIBS
="-lgettextpo"
12356 test "x$with_gettextpo" != xyes ||
if test "x$GETTEXTPO_LIBS" = "x"; then :
12357 case "x$with_gettextpo" in
12358 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12360 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12361 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12366 if test "x$with_gstreamer" != "xno"
12368 if ${GSTREAMER_CFLAGS:+false} :; then :
12369 if ${PKG_CONFIG+:} false
; then :
12370 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
12374 if ${GSTREAMER_LIBS:+false} :; then :
12375 if ${PKG_CONFIG+:} false
; then :
12376 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
12381 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 cflags: $GSTREAMER_CFLAGS" >&5
12382 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-app-0.10 libs: $GSTREAMER_LIBS" >&5
12383 ac_save_CPPFLAGS
=$CPPFLAGS
12384 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
12386 for i
in $GSTREAMER_CFLAGS
12389 -I*) ac_gst_incl
="$ac_gst_incl $i";;
12392 GSTREAMER_CFLAGS
=$ac_gst_incl
12393 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12394 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
12395 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
12396 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
12397 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
12399 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
12400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12401 /* end confdefs.h. */
12402 #include <gst/app/gstappsink.h>
12406 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12411 if ac_fn_c_try_compile
"$LINENO"; then :
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12413 $as_echo "yes" >&6; }
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
12415 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
12416 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
12417 $as_echo_n "(cached) " >&6
12419 ac_check_lib_save_LIBS
=$LIBS
12420 LIBS
="-lgstreamer-0.10 $LIBS"
12421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12422 /* end confdefs.h. */
12424 /* Override any GCC internal prototype to avoid an error.
12425 Use char because int might match the return type of a GCC
12426 builtin and then its argument prototype would still apply. */
12430 char gst_pad_get_caps_reffed ();
12434 return gst_pad_get_caps_reffed ();
12439 if ac_fn_c_try_link
"$LINENO"; then :
12440 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
12442 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
12444 rm -f core conftest.err conftest.
$ac_objext \
12445 conftest
$ac_exeext conftest.
$ac_ext
12446 LIBS
=$ac_check_lib_save_LIBS
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
12449 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
12450 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
12452 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
12453 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
12454 $as_echo_n "(cached) " >&6
12456 ac_check_lib_save_LIBS
=$LIBS
12457 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
12458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12459 /* end confdefs.h. */
12461 /* Override any GCC internal prototype to avoid an error.
12462 Use char because int might match the return type of a GCC
12463 builtin and then its argument prototype would still apply. */
12467 char gst_app_buffer_new ();
12471 return gst_app_buffer_new ();
12476 if ac_fn_c_try_link
"$LINENO"; then :
12477 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
12479 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
12481 rm -f core conftest.err conftest.
$ac_objext \
12482 conftest
$ac_exeext conftest.
$ac_ext
12483 LIBS
=$ac_check_lib_save_LIBS
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
12486 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
12487 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12495 $as_echo "no" >&6; }
12497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12502 GSTREAMER_CFLAGS
=""
12506 CPPFLAGS
=$ac_save_CPPFLAGS
12507 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS
=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12508 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS
=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12511 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
12512 case "x$with_gstreamer" in
12513 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12515 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
12516 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12519 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
12523 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12526 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12527 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
12528 $as_echo_n "(cached) " >&6
12530 ac_check_lib_save_LIBS
=$LIBS
12531 LIBS
="-lasound $LIBS"
12532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12533 /* end confdefs.h. */
12535 /* Override any GCC internal prototype to avoid an error.
12536 Use char because int might match the return type of a GCC
12537 builtin and then its argument prototype would still apply. */
12541 char snd_pcm_hw_params_get_access_mask ();
12545 return snd_pcm_hw_params_get_access_mask ();
12550 if ac_fn_c_try_link
"$LINENO"; then :
12551 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
12553 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
12555 rm -f core conftest.err conftest.
$ac_objext \
12556 conftest
$ac_exeext conftest.
$ac_ext
12557 LIBS
=$ac_check_lib_save_LIBS
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12560 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12561 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
12562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12563 /* end confdefs.h. */
12564 #ifdef HAVE_ALSA_ASOUNDLIB_H
12565 #include <alsa/asoundlib.h>
12566 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12567 #include <sys/asoundlib.h>
12572 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12577 if ac_fn_c_try_compile
"$LINENO"; then :
12578 ALSA_LIBS
="-lasound"
12580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12585 if test "x$with_oss" != xno
12587 ac_save_CPPFLAGS
="$CPPFLAGS"
12588 if test -f /etc
/oss.conf
12592 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12593 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
12594 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12595 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
12596 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12598 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
12600 cat >>confdefs.h
<<_ACEOF
12601 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12604 OSS4_CFLAGS
="$ac_oss_incl"
12611 CPPFLAGS
="$ac_save_CPPFLAGS"
12612 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12614 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12618 if test "x$with_capi" != "xno"
12620 if ${CAPI20_CFLAGS:+false} :; then :
12621 if ${PKG_CONFIG+:} false
; then :
12622 CAPI20_CFLAGS
=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12626 if ${CAPI20_LIBS:+false} :; then :
12627 if ${PKG_CONFIG+:} false
; then :
12628 CAPI20_LIBS
=`$PKG_CONFIG --libs capi20 2>/dev/null`
12633 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12634 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12635 ac_save_CPPFLAGS
=$CPPFLAGS
12636 CPPFLAGS
="$CPPFLAGS $CAPI20_CFLAGS"
12637 for ac_header
in capi20.h linux
/capi.h
12639 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12640 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12642 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12643 cat >>confdefs.h
<<_ACEOF
12644 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12651 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12654 $as_echo_n "checking for -lcapi20... " >&6; }
12655 if ${ac_cv_lib_soname_capi20+:} false
; then :
12656 $as_echo_n "(cached) " >&6
12658 ac_check_soname_save_LIBS
=$LIBS
12659 LIBS
="-lcapi20 $CAPI20_LIBS $LIBS"
12660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12661 /* end confdefs.h. */
12663 /* Override any GCC internal prototype to avoid an error.
12664 Use char because int might match the return type of a GCC
12665 builtin and then its argument prototype would still apply. */
12669 char capi20_register ();
12673 return capi20_register ();
12678 if ac_fn_c_try_link
"$LINENO"; then :
12680 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12681 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'` ;;
12682 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12683 if ${ac_cv_lib_soname_capi20:+false} :; then :
12684 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12688 rm -f core conftest.err conftest.
$ac_objext \
12689 conftest
$ac_exeext conftest.
$ac_ext
12690 LIBS
=$ac_check_soname_save_LIBS
12692 if ${ac_cv_lib_soname_capi20:+false} :; then :
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12694 $as_echo "not found" >&6; }
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12698 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12700 cat >>confdefs.h
<<_ACEOF
12701 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12707 CPPFLAGS
=$ac_save_CPPFLAGS
12708 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS
=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12709 test -z "$CAPI20_LIBS" || CAPI20_LIBS
=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12712 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12713 case "x$with_capi" in
12714 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12716 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12717 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12723 if test "x$with_cups" != "xno"
12725 ac_save_CPPFLAGS
="$CPPFLAGS"
12726 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
12727 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
12728 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
12729 for ac_header
in cups
/cups.h
12731 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12732 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
12733 cat >>confdefs.h
<<_ACEOF
12734 #define HAVE_CUPS_CUPS_H 1
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12737 $as_echo_n "checking for -lcups... " >&6; }
12738 if ${ac_cv_lib_soname_cups+:} false
; then :
12739 $as_echo_n "(cached) " >&6
12741 ac_check_soname_save_LIBS
=$LIBS
12742 LIBS
="-lcups $ac_cups_libs $LIBS"
12743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12744 /* end confdefs.h. */
12746 /* Override any GCC internal prototype to avoid an error.
12747 Use char because int might match the return type of a GCC
12748 builtin and then its argument prototype would still apply. */
12752 char cupsGetDefault ();
12756 return cupsGetDefault ();
12761 if ac_fn_c_try_link
"$LINENO"; then :
12763 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12764 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'` ;;
12765 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12766 if ${ac_cv_lib_soname_cups:+false} :; then :
12767 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12771 rm -f core conftest.err conftest.
$ac_objext \
12772 conftest
$ac_exeext conftest.
$ac_ext
12773 LIBS
=$ac_check_soname_save_LIBS
12775 if ${ac_cv_lib_soname_cups:+false} :; then :
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12777 $as_echo "not found" >&6; }
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12781 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12783 cat >>confdefs.h
<<_ACEOF
12784 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12787 CUPS_CFLAGS
="$ac_cups_cflags"
12793 CPPFLAGS
="$ac_save_CPPFLAGS"
12795 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12796 case "x$with_cups" in
12797 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12799 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
12800 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12804 if test "x$with_fontconfig" != "xno"
12806 if ${FONTCONFIG_CFLAGS:+false} :; then :
12807 if ${PKG_CONFIG+:} false
; then :
12808 FONTCONFIG_CFLAGS
=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
12811 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS
=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
12812 if ${FONTCONFIG_LIBS:+false} :; then :
12813 if ${PKG_CONFIG+:} false
; then :
12814 FONTCONFIG_LIBS
=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
12817 test "$cross_compiling" = yes || FONTCONFIG_LIBS
=${FONTCONFIG_LIBS:-$X_LIBS}
12819 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
12820 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
12821 ac_save_CPPFLAGS
=$CPPFLAGS
12822 CPPFLAGS
="$CPPFLAGS $FONTCONFIG_CFLAGS"
12823 for ac_header
in fontconfig
/fontconfig.h
12825 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
12826 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
12827 cat >>confdefs.h
<<_ACEOF
12828 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
12835 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
12838 $as_echo_n "checking for -lfontconfig... " >&6; }
12839 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
12840 $as_echo_n "(cached) " >&6
12842 ac_check_soname_save_LIBS
=$LIBS
12843 LIBS
="-lfontconfig $FONTCONFIG_LIBS $LIBS"
12844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12845 /* end confdefs.h. */
12847 /* Override any GCC internal prototype to avoid an error.
12848 Use char because int might match the return type of a GCC
12849 builtin and then its argument prototype would still apply. */
12862 if ac_fn_c_try_link
"$LINENO"; then :
12864 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12865 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'` ;;
12866 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12867 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12868 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12872 rm -f core conftest.err conftest.
$ac_objext \
12873 conftest
$ac_exeext conftest.
$ac_ext
12874 LIBS
=$ac_check_soname_save_LIBS
12876 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12878 $as_echo "not found" >&6; }
12879 FONTCONFIG_CFLAGS
=""
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
12882 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
12884 cat >>confdefs.h
<<_ACEOF
12885 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
12891 FONTCONFIG_CFLAGS
=""
12893 CPPFLAGS
=$ac_save_CPPFLAGS
12894 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS
=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12895 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS
=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12898 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
12899 case "x$with_fontconfig" in
12900 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
12902 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
12903 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
12907 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
12910 $as_echo_n "checking for -lgsm... " >&6; }
12911 if ${ac_cv_lib_soname_gsm+:} false
; then :
12912 $as_echo_n "(cached) " >&6
12914 ac_check_soname_save_LIBS
=$LIBS
12916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12917 /* end confdefs.h. */
12919 /* Override any GCC internal prototype to avoid an error.
12920 Use char because int might match the return type of a GCC
12921 builtin and then its argument prototype would still apply. */
12925 char gsm_create ();
12929 return gsm_create ();
12934 if ac_fn_c_try_link
"$LINENO"; then :
12936 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12937 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'` ;;
12938 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12939 if ${ac_cv_lib_soname_gsm:+false} :; then :
12940 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12944 rm -f core conftest.err conftest.
$ac_objext \
12945 conftest
$ac_exeext conftest.
$ac_ext
12946 LIBS
=$ac_check_soname_save_LIBS
12948 if ${ac_cv_lib_soname_gsm:+false} :; then :
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12950 $as_echo "not found" >&6; }
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
12954 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
12956 cat >>confdefs.h
<<_ACEOF
12957 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
12963 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
12964 case "x$with_gsm" in
12965 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
12967 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
12968 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
12972 if test "x$with_jpeg" != "xno"
12974 if ${JPEG_CFLAGS:+false} :; then :
12975 if ${PKG_CONFIG+:} false
; then :
12976 JPEG_CFLAGS
=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
12980 if ${JPEG_LIBS:+false} :; then :
12981 if ${PKG_CONFIG+:} false
; then :
12982 JPEG_LIBS
=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
12987 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
12988 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
12989 ac_save_CPPFLAGS
=$CPPFLAGS
12990 CPPFLAGS
="$CPPFLAGS $JPEG_CFLAGS"
12991 for ac_header
in jpeglib.h
12993 ac_fn_c_check_header_mongrel
"$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
12994 if test "x$ac_cv_header_jpeglib_h" = xyes
; then :
12995 cat >>confdefs.h
<<_ACEOF
12996 #define HAVE_JPEGLIB_H 1
13003 if test "$ac_cv_header_jpeglib_h" = "yes"
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13006 $as_echo_n "checking for -ljpeg... " >&6; }
13007 if ${ac_cv_lib_soname_jpeg+:} false
; then :
13008 $as_echo_n "(cached) " >&6
13010 ac_check_soname_save_LIBS
=$LIBS
13011 LIBS
="-ljpeg $JPEG_LIBS $LIBS"
13012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13013 /* end confdefs.h. */
13015 /* Override any GCC internal prototype to avoid an error.
13016 Use char because int might match the return type of a GCC
13017 builtin and then its argument prototype would still apply. */
13021 char jpeg_start_decompress ();
13025 return jpeg_start_decompress ();
13030 if ac_fn_c_try_link
"$LINENO"; then :
13032 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13033 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'` ;;
13034 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13035 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13036 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13040 rm -f core conftest.err conftest.
$ac_objext \
13041 conftest
$ac_exeext conftest.
$ac_ext
13042 LIBS
=$ac_check_soname_save_LIBS
13044 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13046 $as_echo "not found" >&6; }
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13050 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13052 cat >>confdefs.h
<<_ACEOF
13053 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13061 CPPFLAGS
=$ac_save_CPPFLAGS
13062 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS
=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13063 test -z "$JPEG_LIBS" || JPEG_LIBS
=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13066 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13067 case "x$with_jpeg" in
13068 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13070 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13071 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13075 if test "x$with_png" != "xno"
13077 if ${PNG_CFLAGS:+false} :; then :
13078 if ${PKG_CONFIG+:} false
; then :
13079 PNG_CFLAGS
=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13082 test "$cross_compiling" = yes || PNG_CFLAGS
=${PNG_CFLAGS:-$X_CFLAGS}
13083 if ${PNG_LIBS:+false} :; then :
13084 if ${PKG_CONFIG+:} false
; then :
13085 PNG_LIBS
=`$PKG_CONFIG --libs libpng 2>/dev/null`
13088 test "$cross_compiling" = yes || PNG_LIBS
=${PNG_LIBS:-$X_LIBS}
13090 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13091 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13092 ac_save_CPPFLAGS
=$CPPFLAGS
13093 CPPFLAGS
="$CPPFLAGS $PNG_CFLAGS"
13094 for ac_header
in png.h
13096 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13097 if test "x$ac_cv_header_png_h" = xyes
; then :
13098 cat >>confdefs.h
<<_ACEOF
13099 #define HAVE_PNG_H 1
13106 if test "$ac_cv_header_png_h" = "yes"
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13109 $as_echo_n "checking for -lpng... " >&6; }
13110 if ${ac_cv_lib_soname_png+:} false
; then :
13111 $as_echo_n "(cached) " >&6
13113 ac_check_soname_save_LIBS
=$LIBS
13114 LIBS
="-lpng $PNG_LIBS -lm -lz $LIBS"
13115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13116 /* end confdefs.h. */
13118 /* Override any GCC internal prototype to avoid an error.
13119 Use char because int might match the return type of a GCC
13120 builtin and then its argument prototype would still apply. */
13124 char png_create_read_struct ();
13128 return png_create_read_struct ();
13133 if ac_fn_c_try_link
"$LINENO"; then :
13135 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13136 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'` ;;
13137 *) 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'`
13138 if ${ac_cv_lib_soname_png:+false} :; then :
13139 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13143 rm -f core conftest.err conftest.
$ac_objext \
13144 conftest
$ac_exeext conftest.
$ac_ext
13145 LIBS
=$ac_check_soname_save_LIBS
13147 if ${ac_cv_lib_soname_png:+false} :; then :
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13149 $as_echo "not found" >&6; }
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13153 $as_echo "$ac_cv_lib_soname_png" >&6; }
13155 cat >>confdefs.h
<<_ACEOF
13156 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13160 /* end confdefs.h. */
13165 typeof(png_set_expand_gray_1_2_4_to_8) *p
13170 if ac_fn_c_try_compile
"$LINENO"; then :
13172 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13180 CPPFLAGS
=$ac_save_CPPFLAGS
13181 test -z "$PNG_CFLAGS" || PNG_CFLAGS
=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13182 test -z "$PNG_LIBS" || PNG_LIBS
=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13185 if test "x$ac_cv_lib_soname_png" = "x"; then :
13186 case "x$with_png" in
13187 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13189 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
13190 This is an error since --with-png was requested." "$LINENO" 5 ;;
13194 if test "x$with_tiff" != "xno"
13196 if ${TIFF_CFLAGS:+false} :; then :
13197 if ${PKG_CONFIG+:} false
; then :
13198 TIFF_CFLAGS
=`$PKG_CONFIG --cflags libtiff 2>/dev/null`
13202 if ${TIFF_LIBS:+false} :; then :
13203 if ${PKG_CONFIG+:} false
; then :
13204 TIFF_LIBS
=`$PKG_CONFIG --libs libtiff 2>/dev/null`
13209 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff cflags: $TIFF_CFLAGS" >&5
13210 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff libs: $TIFF_LIBS" >&5
13211 ac_save_CPPFLAGS
=$CPPFLAGS
13212 CPPFLAGS
="$CPPFLAGS $TIFF_CFLAGS"
13213 for ac_header
in tiffio.h
13215 ac_fn_c_check_header_mongrel
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13216 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
13217 cat >>confdefs.h
<<_ACEOF
13218 #define HAVE_TIFFIO_H 1
13225 if test "$ac_cv_header_tiffio_h" = "yes"
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13228 $as_echo_n "checking for -ltiff... " >&6; }
13229 if ${ac_cv_lib_soname_tiff+:} false
; then :
13230 $as_echo_n "(cached) " >&6
13232 ac_check_soname_save_LIBS
=$LIBS
13233 LIBS
="-ltiff $TIFF_LIBS $LIBS"
13234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13235 /* end confdefs.h. */
13237 /* Override any GCC internal prototype to avoid an error.
13238 Use char because int might match the return type of a GCC
13239 builtin and then its argument prototype would still apply. */
13243 char TIFFClientOpen ();
13247 return TIFFClientOpen ();
13252 if ac_fn_c_try_link
"$LINENO"; then :
13254 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13255 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'` ;;
13256 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13257 if ${ac_cv_lib_soname_tiff:+false} :; then :
13258 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13262 rm -f core conftest.err conftest.
$ac_objext \
13263 conftest
$ac_exeext conftest.
$ac_ext
13264 LIBS
=$ac_check_soname_save_LIBS
13266 if ${ac_cv_lib_soname_tiff:+false} :; then :
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13268 $as_echo "not found" >&6; }
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13272 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13274 cat >>confdefs.h
<<_ACEOF
13275 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13281 CPPFLAGS
=$ac_save_CPPFLAGS
13282 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS
=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13283 test -z "$TIFF_LIBS" || TIFF_LIBS
=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13286 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13287 case "x$with_tiff" in
13288 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13290 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
13291 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13295 if test "x$with_mpg123" != "xno"
13297 if ${MPG123_CFLAGS:+false} :; then :
13298 if ${PKG_CONFIG+:} false
; then :
13299 MPG123_CFLAGS
=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13303 if ${MPG123_LIBS:+false} :; then :
13304 if ${PKG_CONFIG+:} false
; then :
13305 MPG123_LIBS
=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13309 MPG123_LIBS
=${MPG123_LIBS:-"-lmpg123"}
13310 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13311 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13312 ac_save_CPPFLAGS
=$CPPFLAGS
13313 CPPFLAGS
="$CPPFLAGS $MPG123_CFLAGS"
13314 for ac_header
in mpg123.h
13316 ac_fn_c_check_header_mongrel
"$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13317 if test "x$ac_cv_header_mpg123_h" = xyes
; then :
13318 cat >>confdefs.h
<<_ACEOF
13319 #define HAVE_MPG123_H 1
13326 if test "$ac_cv_header_mpg123_h" = "yes"
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13329 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13330 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
13331 $as_echo_n "(cached) " >&6
13333 ac_check_lib_save_LIBS
=$LIBS
13334 LIBS
="-lmpg123 $MPG123_LIBS $LIBS"
13335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13336 /* end confdefs.h. */
13338 /* Override any GCC internal prototype to avoid an error.
13339 Use char because int might match the return type of a GCC
13340 builtin and then its argument prototype would still apply. */
13344 char mpg123_feed ();
13348 return mpg123_feed ();
13353 if ac_fn_c_try_link
"$LINENO"; then :
13354 ac_cv_lib_mpg123_mpg123_feed
=yes
13356 ac_cv_lib_mpg123_mpg123_feed
=no
13358 rm -f core conftest.err conftest.
$ac_objext \
13359 conftest
$ac_exeext conftest.
$ac_ext
13360 LIBS
=$ac_check_lib_save_LIBS
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13363 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13364 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
13374 CPPFLAGS
=$ac_save_CPPFLAGS
13375 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS
=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13376 test -z "$MPG123_LIBS" || MPG123_LIBS
=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13379 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
13380 case "x$with_mpg123" in
13381 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13383 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13384 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13387 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}
13389 if test "$ac_cv_header_AL_al_h" = "yes"
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13392 $as_echo_n "checking for -lopenal... " >&6; }
13393 if ${ac_cv_lib_soname_openal+:} false
; then :
13394 $as_echo_n "(cached) " >&6
13396 ac_check_soname_save_LIBS
=$LIBS
13397 LIBS
="-lopenal $LIBS"
13398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13399 /* end confdefs.h. */
13401 /* Override any GCC internal prototype to avoid an error.
13402 Use char because int might match the return type of a GCC
13403 builtin and then its argument prototype would still apply. */
13407 char alGetSource3i ();
13411 return alGetSource3i ();
13416 if ac_fn_c_try_link
"$LINENO"; then :
13418 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13419 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'` ;;
13420 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13421 if ${ac_cv_lib_soname_openal:+false} :; then :
13422 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13426 rm -f core conftest.err conftest.
$ac_objext \
13427 conftest
$ac_exeext conftest.
$ac_ext
13428 LIBS
=$ac_check_soname_save_LIBS
13430 if ${ac_cv_lib_soname_openal:+false} :; then :
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13432 $as_echo "not found" >&6; }
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13436 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13438 cat >>confdefs.h
<<_ACEOF
13439 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13442 OPENAL_LIBS
="-lopenal"
13444 ac_cv_lib_openal
=yes
13446 cat >>confdefs.h
<<_ACEOF
13447 #define HAVE_OPENAL 1
13452 if test "x$ac_cv_lib_openal" != xyes
; then :
13453 case "x$with_openal" in
13454 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13456 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13457 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13460 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
13462 if test "$ac_cv_header_kstat_h" = "yes"
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13465 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13466 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
13467 $as_echo_n "(cached) " >&6
13469 ac_check_lib_save_LIBS
=$LIBS
13470 LIBS
="-lkstat $LIBS"
13471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13472 /* end confdefs.h. */
13474 /* Override any GCC internal prototype to avoid an error.
13475 Use char because int might match the return type of a GCC
13476 builtin and then its argument prototype would still apply. */
13480 char kstat_open ();
13484 return kstat_open ();
13489 if ac_fn_c_try_link
"$LINENO"; then :
13490 ac_cv_lib_kstat_kstat_open
=yes
13492 ac_cv_lib_kstat_kstat_open
=no
13494 rm -f core conftest.err conftest.
$ac_objext \
13495 conftest
$ac_exeext conftest.
$ac_ext
13496 LIBS
=$ac_check_lib_save_LIBS
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13499 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13500 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
13502 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13504 KSTAT_LIBS
="-lkstat"
13510 if test "$ac_cv_header_libprocstat_h" = "yes"
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13513 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13514 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false
; then :
13515 $as_echo_n "(cached) " >&6
13517 ac_check_lib_save_LIBS
=$LIBS
13518 LIBS
="-lprocstat $LIBS"
13519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13520 /* end confdefs.h. */
13522 /* Override any GCC internal prototype to avoid an error.
13523 Use char because int might match the return type of a GCC
13524 builtin and then its argument prototype would still apply. */
13528 char procstat_open_sysctl ();
13532 return procstat_open_sysctl ();
13537 if ac_fn_c_try_link
"$LINENO"; then :
13538 ac_cv_lib_procstat_procstat_open_sysctl
=yes
13540 ac_cv_lib_procstat_procstat_open_sysctl
=no
13542 rm -f core conftest.err conftest.
$ac_objext \
13543 conftest
$ac_exeext conftest.
$ac_ext
13544 LIBS
=$ac_check_lib_save_LIBS
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13547 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13548 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
; then :
13550 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13552 PROCSTAT_LIBS
="-lprocstat"
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13559 $as_echo_n "checking for -lodbc... " >&6; }
13560 if ${ac_cv_lib_soname_odbc+:} false
; then :
13561 $as_echo_n "(cached) " >&6
13563 ac_check_soname_save_LIBS
=$LIBS
13564 LIBS
="-lodbc $LIBS"
13565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13566 /* end confdefs.h. */
13568 /* Override any GCC internal prototype to avoid an error.
13569 Use char because int might match the return type of a GCC
13570 builtin and then its argument prototype would still apply. */
13574 char SQLConnect ();
13578 return SQLConnect ();
13583 if ac_fn_c_try_link
"$LINENO"; then :
13585 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13586 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'` ;;
13587 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13588 if ${ac_cv_lib_soname_odbc:+false} :; then :
13589 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13593 rm -f core conftest.err conftest.
$ac_objext \
13594 conftest
$ac_exeext conftest.
$ac_ext
13595 LIBS
=$ac_check_soname_save_LIBS
13597 if ${ac_cv_lib_soname_odbc:+false} :; then :
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13599 $as_echo "not found" >&6; }
13600 cat >>confdefs.h
<<_ACEOF
13601 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13606 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13608 cat >>confdefs.h
<<_ACEOF
13609 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13615 if test "x$with_netapi" != "xno"
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13618 $as_echo_n "checking for -lnetapi... " >&6; }
13619 if ${ac_cv_lib_soname_netapi+:} false
; then :
13620 $as_echo_n "(cached) " >&6
13622 ac_check_soname_save_LIBS
=$LIBS
13623 LIBS
="-lnetapi $LIBS"
13624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13625 /* end confdefs.h. */
13627 /* Override any GCC internal prototype to avoid an error.
13628 Use char because int might match the return type of a GCC
13629 builtin and then its argument prototype would still apply. */
13633 char libnetapi_init ();
13637 return libnetapi_init ();
13642 if ac_fn_c_try_link
"$LINENO"; then :
13644 dll
) ac_cv_lib_soname_netapi
=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13645 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'` ;;
13646 *) ac_cv_lib_soname_netapi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13647 if ${ac_cv_lib_soname_netapi:+false} :; then :
13648 ac_cv_lib_soname_netapi
=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13652 rm -f core conftest.err conftest.
$ac_objext \
13653 conftest
$ac_exeext conftest.
$ac_ext
13654 LIBS
=$ac_check_soname_save_LIBS
13656 if ${ac_cv_lib_soname_netapi:+false} :; then :
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13658 $as_echo "not found" >&6; }
13659 cat >>confdefs.h
<<_ACEOF
13660 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13665 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13667 cat >>confdefs.h
<<_ACEOF
13668 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13675 test -n "$ALSA_LIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
13676 test -n "$COREAUDIO_LIBS" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
13677 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
13678 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
13680 if test "x$ALSA_LIBS$COREAUDIO_LIBS" = "x" -a \
13681 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
13682 "x$with_alsa$with_coreaudio$with_oss" != xnonono
13684 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
13690 if test "x${GCC}" = "xyes"
13692 EXTRACFLAGS
="-Wall -pipe"
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13695 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13696 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
13697 $as_echo_n "(cached) " >&6
13699 if test "$cross_compiling" = yes; then :
13700 ac_cv_c_gcc_strength_bug
="yes"
13702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13703 /* end confdefs.h. */
13704 int L[4] = {0,1,2,3};
13708 static int Array[3];
13709 unsigned int B = 3;
13711 for(i=0; i<B; i++) Array[i] = i - 3;
13712 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13714 return (Array[1] != -2 || L[2] != 3)
13719 if ac_fn_c_try_run
"$LINENO"; then :
13720 ac_cv_c_gcc_strength_bug
="no"
13722 ac_cv_c_gcc_strength_bug
="yes"
13724 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13725 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13730 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13731 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13733 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13737 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13738 if ${ac_cv_cflags__fno_builtin+:} false
; then :
13739 $as_echo_n "(cached) " >&6
13741 ac_wine_try_cflags_saved
=$CFLAGS
13742 CFLAGS
="$CFLAGS -fno-builtin"
13743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13744 /* end confdefs.h. */
13745 int main(int argc, char **argv) { return 0; }
13747 if ac_fn_c_try_link
"$LINENO"; then :
13748 ac_cv_cflags__fno_builtin
=yes
13750 ac_cv_cflags__fno_builtin
=no
13752 rm -f core conftest.err conftest.
$ac_objext \
13753 conftest
$ac_exeext conftest.
$ac_ext
13754 CFLAGS
=$ac_wine_try_cflags_saved
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
13757 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
13758 if test "x$ac_cv_cflags__fno_builtin" = xyes
; then :
13759 BUILTINFLAG
="-fno-builtin"
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
13763 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
13764 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
13765 $as_echo_n "(cached) " >&6
13767 ac_wine_try_cflags_saved
=$CFLAGS
13768 CFLAGS
="$CFLAGS -fno-strict-aliasing"
13769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13770 /* end confdefs.h. */
13771 int main(int argc, char **argv) { return 0; }
13773 if ac_fn_c_try_link
"$LINENO"; then :
13774 ac_cv_cflags__fno_strict_aliasing
=yes
13776 ac_cv_cflags__fno_strict_aliasing
=no
13778 rm -f core conftest.err conftest.
$ac_objext \
13779 conftest
$ac_exeext conftest.
$ac_ext
13780 CFLAGS
=$ac_wine_try_cflags_saved
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
13783 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
13784 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
; then :
13785 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
13787 saved_CFLAGS
=$CFLAGS
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
13789 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
13790 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false
; then :
13791 $as_echo_n "(cached) " >&6
13793 ac_wine_try_cflags_saved
=$CFLAGS
13794 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13796 /* end confdefs.h. */
13797 int main(int argc, char **argv) { return 0; }
13799 if ac_fn_c_try_link
"$LINENO"; then :
13800 ac_cv_cflags__Werror_unknown_warning_option
=yes
13802 ac_cv_cflags__Werror_unknown_warning_option
=no
13804 rm -f core conftest.err conftest.
$ac_objext \
13805 conftest
$ac_exeext conftest.
$ac_ext
13806 CFLAGS
=$ac_wine_try_cflags_saved
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
13809 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
13810 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
; then :
13811 CFLAGS
="$CFLAGS -Werror=unknown-warning-option"
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
13814 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
13815 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
13816 $as_echo_n "(cached) " >&6
13818 ac_wine_try_cflags_saved
=$CFLAGS
13819 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
13820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13821 /* end confdefs.h. */
13822 int main(int argc, char **argv) { return 0; }
13824 if ac_fn_c_try_link
"$LINENO"; then :
13825 ac_cv_cflags__Wdeclaration_after_statement
=yes
13827 ac_cv_cflags__Wdeclaration_after_statement
=no
13829 rm -f core conftest.err conftest.
$ac_objext \
13830 conftest
$ac_exeext conftest.
$ac_ext
13831 CFLAGS
=$ac_wine_try_cflags_saved
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
13834 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
13835 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
; then :
13836 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
13839 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
13840 if ${ac_cv_cflags__Wempty_body+:} false
; then :
13841 $as_echo_n "(cached) " >&6
13843 ac_wine_try_cflags_saved
=$CFLAGS
13844 CFLAGS
="$CFLAGS -Wempty-body"
13845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13846 /* end confdefs.h. */
13847 int main(int argc, char **argv) { return 0; }
13849 if ac_fn_c_try_link
"$LINENO"; then :
13850 ac_cv_cflags__Wempty_body
=yes
13852 ac_cv_cflags__Wempty_body
=no
13854 rm -f core conftest.err conftest.
$ac_objext \
13855 conftest
$ac_exeext conftest.
$ac_ext
13856 CFLAGS
=$ac_wine_try_cflags_saved
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
13859 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
13860 if test "x$ac_cv_cflags__Wempty_body" = xyes
; then :
13861 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
13864 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
13865 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
13866 $as_echo_n "(cached) " >&6
13868 ac_wine_try_cflags_saved
=$CFLAGS
13869 CFLAGS
="$CFLAGS -Wignored-qualifiers"
13870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13871 /* end confdefs.h. */
13872 int main(int argc, char **argv) { return 0; }
13874 if ac_fn_c_try_link
"$LINENO"; then :
13875 ac_cv_cflags__Wignored_qualifiers
=yes
13877 ac_cv_cflags__Wignored_qualifiers
=no
13879 rm -f core conftest.err conftest.
$ac_objext \
13880 conftest
$ac_exeext conftest.
$ac_ext
13881 CFLAGS
=$ac_wine_try_cflags_saved
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
13884 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
13885 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
; then :
13886 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
13889 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
13890 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
13891 $as_echo_n "(cached) " >&6
13893 ac_wine_try_cflags_saved
=$CFLAGS
13894 CFLAGS
="$CFLAGS -Wstrict-prototypes"
13895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13896 /* end confdefs.h. */
13897 int main(int argc, char **argv) { return 0; }
13899 if ac_fn_c_try_link
"$LINENO"; then :
13900 ac_cv_cflags__Wstrict_prototypes
=yes
13902 ac_cv_cflags__Wstrict_prototypes
=no
13904 rm -f core conftest.err conftest.
$ac_objext \
13905 conftest
$ac_exeext conftest.
$ac_ext
13906 CFLAGS
=$ac_wine_try_cflags_saved
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
13909 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
13910 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
; then :
13911 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
13914 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
13915 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
13916 $as_echo_n "(cached) " >&6
13918 ac_wine_try_cflags_saved
=$CFLAGS
13919 CFLAGS
="$CFLAGS -Wtype-limits"
13920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13921 /* end confdefs.h. */
13922 int main(int argc, char **argv) { return 0; }
13924 if ac_fn_c_try_link
"$LINENO"; then :
13925 ac_cv_cflags__Wtype_limits
=yes
13927 ac_cv_cflags__Wtype_limits
=no
13929 rm -f core conftest.err conftest.
$ac_objext \
13930 conftest
$ac_exeext conftest.
$ac_ext
13931 CFLAGS
=$ac_wine_try_cflags_saved
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
13934 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
13935 if test "x$ac_cv_cflags__Wtype_limits" = xyes
; then :
13936 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
13939 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
13940 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
13941 $as_echo_n "(cached) " >&6
13943 ac_wine_try_cflags_saved
=$CFLAGS
13944 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
13945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13946 /* end confdefs.h. */
13947 int main(int argc, char **argv) { return 0; }
13949 if ac_fn_c_try_link
"$LINENO"; then :
13950 ac_cv_cflags__Wunused_but_set_parameter
=yes
13952 ac_cv_cflags__Wunused_but_set_parameter
=no
13954 rm -f core conftest.err conftest.
$ac_objext \
13955 conftest
$ac_exeext conftest.
$ac_ext
13956 CFLAGS
=$ac_wine_try_cflags_saved
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
13959 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
13960 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
; then :
13961 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
13964 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
13965 if ${ac_cv_cflags__Wvla+:} false
; then :
13966 $as_echo_n "(cached) " >&6
13968 ac_wine_try_cflags_saved
=$CFLAGS
13969 CFLAGS
="$CFLAGS -Wvla"
13970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13971 /* end confdefs.h. */
13972 int main(int argc, char **argv) { return 0; }
13974 if ac_fn_c_try_link
"$LINENO"; then :
13975 ac_cv_cflags__Wvla
=yes
13977 ac_cv_cflags__Wvla
=no
13979 rm -f core conftest.err conftest.
$ac_objext \
13980 conftest
$ac_exeext conftest.
$ac_ext
13981 CFLAGS
=$ac_wine_try_cflags_saved
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
13984 $as_echo "$ac_cv_cflags__Wvla" >&6; }
13985 if test "x$ac_cv_cflags__Wvla" = xyes
; then :
13986 EXTRACFLAGS
="$EXTRACFLAGS -Wvla"
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
13989 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
13990 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
13991 $as_echo_n "(cached) " >&6
13993 ac_wine_try_cflags_saved
=$CFLAGS
13994 CFLAGS
="$CFLAGS -Wwrite-strings"
13995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13996 /* end confdefs.h. */
13997 int main(int argc, char **argv) { return 0; }
13999 if ac_fn_c_try_link
"$LINENO"; then :
14000 ac_cv_cflags__Wwrite_strings
=yes
14002 ac_cv_cflags__Wwrite_strings
=no
14004 rm -f core conftest.err conftest.
$ac_objext \
14005 conftest
$ac_exeext conftest.
$ac_ext
14006 CFLAGS
=$ac_wine_try_cflags_saved
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14009 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14010 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
; then :
14011 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14015 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14016 if ${ac_cv_cflags__Wpointer_arith+:} false
; then :
14017 $as_echo_n "(cached) " >&6
14019 ac_wine_try_cflags_saved
=$CFLAGS
14020 CFLAGS
="$CFLAGS -Wpointer-arith"
14021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14022 /* end confdefs.h. */
14023 int main(int argc, char **argv) { return 0; }
14025 if ac_fn_c_try_link
"$LINENO"; then :
14026 ac_cv_cflags__Wpointer_arith
=yes
14028 ac_cv_cflags__Wpointer_arith
=no
14030 rm -f core conftest.err conftest.
$ac_objext \
14031 conftest
$ac_exeext conftest.
$ac_ext
14032 CFLAGS
=$ac_wine_try_cflags_saved
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14035 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14036 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
; then :
14037 saved_string_h_CFLAGS
=$CFLAGS
14038 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14040 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14041 if ${ac_cv_c_string_h_warnings+:} false
; then :
14042 $as_echo_n "(cached) " >&6
14044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14045 /* end confdefs.h. */
14046 #include <string.h>
14055 if ac_fn_c_try_compile
"$LINENO"; then :
14056 ac_cv_c_string_h_warnings
=no
14058 ac_cv_c_string_h_warnings
=yes
14060 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14063 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14064 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14065 CFLAGS
=$saved_string_h_CFLAGS
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14069 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14070 if ${ac_cv_cflags__Wlogical_op+:} false
; then :
14071 $as_echo_n "(cached) " >&6
14073 ac_wine_try_cflags_saved
=$CFLAGS
14074 CFLAGS
="$CFLAGS -Wlogical-op"
14075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14076 /* end confdefs.h. */
14077 int main(int argc, char **argv) { return 0; }
14079 if ac_fn_c_try_link
"$LINENO"; then :
14080 ac_cv_cflags__Wlogical_op
=yes
14082 ac_cv_cflags__Wlogical_op
=no
14084 rm -f core conftest.err conftest.
$ac_objext \
14085 conftest
$ac_exeext conftest.
$ac_ext
14086 CFLAGS
=$ac_wine_try_cflags_saved
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14089 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14090 if test "x$ac_cv_cflags__Wlogical_op" = xyes
; then :
14091 saved_string_h_CFLAGS
=$CFLAGS
14092 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14094 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14095 if ${ac_cv_c_logicalop_noisy+:} false
; then :
14096 $as_echo_n "(cached) " >&6
14098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14099 /* end confdefs.h. */
14100 #include <string.h>
14101 char*f(const char *h,char n) {return strchr(h,n);}
14110 if ac_fn_c_try_compile
"$LINENO"; then :
14111 ac_cv_c_logicalop_noisy
=no
14113 ac_cv_c_logicalop_noisy
=yes
14115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14118 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14119 CFLAGS
=$saved_string_h_CFLAGS
14120 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
14123 CFLAGS
=$saved_CFLAGS
14125 for ac_flag
in $CFLAGS; do
14127 -g) case $host_os in
14128 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
14129 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
14130 if ${ac_cv_cflags__gstabsp+:} false
; then :
14131 $as_echo_n "(cached) " >&6
14133 ac_wine_try_cflags_saved
=$CFLAGS
14134 CFLAGS
="$CFLAGS -gstabs+"
14135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14136 /* end confdefs.h. */
14137 int main(int argc, char **argv) { return 0; }
14139 if ac_fn_c_try_link
"$LINENO"; then :
14140 ac_cv_cflags__gstabsp
=yes
14142 ac_cv_cflags__gstabsp
=no
14144 rm -f core conftest.err conftest.
$ac_objext \
14145 conftest
$ac_exeext conftest.
$ac_ext
14146 CFLAGS
=$ac_wine_try_cflags_saved
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
14149 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
14150 if test "x$ac_cv_cflags__gstabsp" = xyes
; then :
14151 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
14153 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14154 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14155 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
14156 $as_echo_n "(cached) " >&6
14158 ac_wine_try_cflags_saved
=$CFLAGS
14159 CFLAGS
="$CFLAGS -gdwarf-2"
14160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14161 /* end confdefs.h. */
14162 int main(int argc, char **argv) { return 0; }
14164 if ac_fn_c_try_link
"$LINENO"; then :
14165 ac_cv_cflags__gdwarf_2
=yes
14167 ac_cv_cflags__gdwarf_2
=no
14169 rm -f core conftest.err conftest.
$ac_objext \
14170 conftest
$ac_exeext conftest.
$ac_ext
14171 CFLAGS
=$ac_wine_try_cflags_saved
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14174 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14175 if test "x$ac_cv_cflags__gdwarf_2" = xyes
; then :
14176 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14179 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14180 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
14181 $as_echo_n "(cached) " >&6
14183 ac_wine_try_cflags_saved
=$CFLAGS
14184 CFLAGS
="$CFLAGS -gstrict-dwarf"
14185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14186 /* end confdefs.h. */
14187 int main(int argc, char **argv) { return 0; }
14189 if ac_fn_c_try_link
"$LINENO"; then :
14190 ac_cv_cflags__gstrict_dwarf
=yes
14192 ac_cv_cflags__gstrict_dwarf
=no
14194 rm -f core conftest.err conftest.
$ac_objext \
14195 conftest
$ac_exeext conftest.
$ac_ext
14196 CFLAGS
=$ac_wine_try_cflags_saved
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14199 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14200 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes
; then :
14201 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
14208 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14209 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14210 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
14211 $as_echo_n "(cached) " >&6
14213 ac_wine_try_cflags_saved
=$CFLAGS
14214 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
14215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14216 /* end confdefs.h. */
14217 int main(int argc, char **argv) { return 0; }
14219 if ac_fn_c_try_link
"$LINENO"; then :
14220 ac_cv_cflags__fno_omit_frame_pointer
=yes
14222 ac_cv_cflags__fno_omit_frame_pointer
=no
14224 rm -f core conftest.err conftest.
$ac_objext \
14225 conftest
$ac_exeext conftest.
$ac_ext
14226 CFLAGS
=$ac_wine_try_cflags_saved
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14229 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14230 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
; then :
14231 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
14236 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14237 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14238 if ${ac_cv_cflags__Wno_format+:} false
; then :
14239 $as_echo_n "(cached) " >&6
14241 ac_wine_try_cflags_saved
=$CFLAGS
14242 CFLAGS
="$CFLAGS -Wno-format"
14243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14244 /* end confdefs.h. */
14245 int main(int argc, char **argv) { return 0; }
14247 if ac_fn_c_try_link
"$LINENO"; then :
14248 ac_cv_cflags__Wno_format
=yes
14250 ac_cv_cflags__Wno_format
=no
14252 rm -f core conftest.err conftest.
$ac_objext \
14253 conftest
$ac_exeext conftest.
$ac_ext
14254 CFLAGS
=$ac_wine_try_cflags_saved
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14257 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14258 if test "x$ac_cv_cflags__Wno_format" = xyes
; then :
14259 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
14263 if test "x$enable_maintainer_mode" = "xyes"
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14266 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14267 if ${ac_cv_cflags__Werror+:} false
; then :
14268 $as_echo_n "(cached) " >&6
14270 ac_wine_try_cflags_saved
=$CFLAGS
14271 CFLAGS
="$CFLAGS -Werror"
14272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14273 /* end confdefs.h. */
14274 int main(int argc, char **argv) { return 0; }
14276 if ac_fn_c_try_link
"$LINENO"; then :
14277 ac_cv_cflags__Werror
=yes
14279 ac_cv_cflags__Werror
=no
14281 rm -f core conftest.err conftest.
$ac_objext \
14282 conftest
$ac_exeext conftest.
$ac_ext
14283 CFLAGS
=$ac_wine_try_cflags_saved
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14286 $as_echo "$ac_cv_cflags__Werror" >&6; }
14287 if test "x$ac_cv_cflags__Werror" = xyes
; then :
14288 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
14292 saved_CFLAGS
="$CFLAGS"
14293 CFLAGS
="$CFLAGS -Werror"
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14295 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14296 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
14297 $as_echo_n "(cached) " >&6
14299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14300 /* end confdefs.h. */
14301 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14310 if ac_fn_c_try_compile
"$LINENO"; then :
14311 ac_cv_have_ms_hook_prologue
="yes"
14313 ac_cv_have_ms_hook_prologue
="no"
14315 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14318 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14319 CFLAGS
="$saved_CFLAGS"
14320 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14323 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14326 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14333 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14334 if ${ac_cv_c_fortify_enabled+:} false
; then :
14335 $as_echo_n "(cached) " >&6
14337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14338 /* end confdefs.h. */
14339 #include <string.h>
14343 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
14344 #error Fortify enabled
14350 if ac_fn_c_try_compile
"$LINENO"; then :
14351 ac_cv_c_fortify_enabled
=no
14353 ac_cv_c_fortify_enabled
=yes
14355 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14358 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14359 if test "$ac_cv_c_fortify_enabled" = yes
14361 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14366 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14367 if ${ac_cv_c_extern_prefix+:} false
; then :
14368 $as_echo_n "(cached) " >&6
14370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14371 /* end confdefs.h. */
14372 extern int ac_test;
14376 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14381 if ac_fn_c_try_link
"$LINENO"; then :
14382 ac_cv_c_extern_prefix
="yes"
14384 ac_cv_c_extern_prefix
="no"
14386 rm -f core conftest.err conftest.
$ac_objext \
14387 conftest
$ac_exeext conftest.
$ac_ext
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14390 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14395 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14396 if ${ac_cv_c_stdcall_suffix+:} false
; then :
14397 $as_echo_n "(cached) " >&6
14399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14400 /* end confdefs.h. */
14402 #define __stdcall __attribute__((__stdcall__))
14404 int __stdcall ac_test(int i) { return i; }
14408 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14413 if ac_fn_c_try_link
"$LINENO"; then :
14414 ac_cv_c_stdcall_suffix
="yes"
14416 ac_cv_c_stdcall_suffix
="no"
14418 rm -f core conftest.err conftest.
$ac_objext \
14419 conftest
$ac_exeext conftest.
$ac_ext
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14422 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14423 *) ac_cv_c_stdcall_suffix
="no" ;;
14427 if test "$ac_cv_c_extern_prefix" = "yes"
14429 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14431 asm_name_prefix
="_"
14433 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14439 if test "$ac_cv_c_stdcall_suffix" = "yes"
14441 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14444 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14450 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14451 if ${ac_cv_asm_func_def+:} false
; then :
14452 $as_echo_n "(cached) " >&6
14454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14455 /* end confdefs.h. */
14460 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14465 if ac_fn_c_try_link
"$LINENO"; then :
14466 ac_cv_asm_func_def
=".def"
14468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14469 /* end confdefs.h. */
14474 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14479 if ac_fn_c_try_link
"$LINENO"; then :
14480 ac_cv_asm_func_def
=".type @function"
14482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14483 /* end confdefs.h. */
14488 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14493 if ac_fn_c_try_link
"$LINENO"; then :
14494 ac_cv_asm_func_def
=".type 2"
14496 ac_cv_asm_func_def
="unknown"
14498 rm -f core conftest.err conftest.
$ac_objext \
14499 conftest
$ac_exeext conftest.
$ac_ext
14501 rm -f core conftest.err conftest.
$ac_objext \
14502 conftest
$ac_exeext conftest.
$ac_ext
14504 rm -f core conftest.err conftest.
$ac_objext \
14505 conftest
$ac_exeext conftest.
$ac_ext
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14508 $as_echo "$ac_cv_asm_func_def" >&6; }
14511 case "$ac_cv_asm_func_def" in
14513 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14515 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14517 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14519 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
14521 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14523 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
14525 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14527 asm_func_header
="" ;;
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14531 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14532 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
14533 $as_echo_n "(cached) " >&6
14535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14536 /* end confdefs.h. */
14537 asm(".text\n\t.long 0");
14546 if ac_fn_c_try_compile
"$LINENO"; then :
14547 ac_cv_c_asm_outside_funcs
="yes"
14549 ac_cv_c_asm_outside_funcs
="no"
14551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14554 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14557 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14558 if ${ac_cv_c_dot_previous+:} false
; then :
14559 $as_echo_n "(cached) " >&6
14561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14562 /* end confdefs.h. */
14567 asm(".text\nac_test:\t.long 0\n\t.previous");
14572 if ac_fn_c_try_link
"$LINENO"; then :
14573 ac_cv_c_dot_previous
="yes"
14575 ac_cv_c_dot_previous
="no"
14577 rm -f core conftest.err conftest.
$ac_objext \
14578 conftest
$ac_exeext conftest.
$ac_ext
14580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14581 $as_echo "$ac_cv_c_dot_previous" >&6; }
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14584 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14585 if ${ac_cv_c_cfi_support+:} false
; then :
14586 $as_echo_n "(cached) " >&6
14588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14589 /* end confdefs.h. */
14590 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14599 if ac_fn_c_try_compile
"$LINENO"; then :
14600 ac_cv_c_cfi_support
="yes"
14602 ac_cv_c_cfi_support
="no"
14604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14607 $as_echo "$ac_cv_c_cfi_support" >&6; }
14609 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14610 asm_func_trailer
=""
14611 if test "$ac_cv_c_dot_previous" = "yes"
14613 asm_func_trailer
="\\n\\t.previous"
14615 if test "$ac_cv_c_cfi_support" = "yes"
14617 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
14618 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
14620 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14622 UNWINDFLAGS
=-fasynchronous-unwind-tables
14625 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14629 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
14632 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14634 cat >>confdefs.h
<<_ACEOF
14635 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14639 cat >>confdefs.h
<<_ACEOF
14640 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14645 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14648 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14653 cygwin
*|mingw32
*) TOOLSEXT
=".exe"
14660 *i
[3456789]86*|x86_64
*)
14661 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine-preloader"
14662 loader_programs
="$loader_programs $wine_binary-preloader"
14663 as_fn_append LOADER_RULES
"
14664 $wine_binary-preloader: preloader.o
14665 \$(CC) -o \$@ -static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000 preloader.o \$(LIBPORT) \$(LDFLAGS)
14667 install install-lib:: $wine_binary-preloader
14668 \$(INSTALL_PROGRAM) $wine_binary-preloader \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14671 \$(RM) \$(DESTDIR)\$(bindir)/$wine_binary-preloader
14673 preloader_EXTRADEFS = $BUILTINFLAG
14678 as_fn_append LOADER_RULES
"
14679 PROGRAMS = $loader_programs
14683 ac_save_CFLAGS
="$CFLAGS"
14684 CFLAGS
="$CFLAGS $BUILTINFLAG"
14763 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14764 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14765 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14766 cat >>confdefs.h
<<_ACEOF
14767 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14773 CFLAGS
="$ac_save_CFLAGS"
14775 if test "$ac_cv_func_dlopen" = no
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14778 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14779 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14780 $as_echo_n "(cached) " >&6
14782 ac_check_lib_save_LIBS
=$LIBS
14784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14785 /* end confdefs.h. */
14787 /* Override any GCC internal prototype to avoid an error.
14788 Use char because int might match the return type of a GCC
14789 builtin and then its argument prototype would still apply. */
14802 if ac_fn_c_try_link
"$LINENO"; then :
14803 ac_cv_lib_dl_dlopen
=yes
14805 ac_cv_lib_dl_dlopen
=no
14807 rm -f core conftest.err conftest.
$ac_objext \
14808 conftest
$ac_exeext conftest.
$ac_ext
14809 LIBS
=$ac_check_lib_save_LIBS
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14812 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14813 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14814 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14820 ac_wine_check_funcs_save_LIBS
="$LIBS"
14821 LIBS
="$LIBS $DL_LIBS"
14822 for ac_func
in dladdr
14824 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
14825 if test "x$ac_cv_func_dladdr" = xyes
; then :
14826 cat >>confdefs.h
<<_ACEOF
14827 #define HAVE_DLADDR 1
14833 LIBS
="$ac_wine_check_funcs_save_LIBS"
14835 if test "$ac_cv_func_poll" = no
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
14838 $as_echo_n "checking for poll in -lpoll... " >&6; }
14839 if ${ac_cv_lib_poll_poll+:} false
; then :
14840 $as_echo_n "(cached) " >&6
14842 ac_check_lib_save_LIBS
=$LIBS
14843 LIBS
="-lpoll $LIBS"
14844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14845 /* end confdefs.h. */
14847 /* Override any GCC internal prototype to avoid an error.
14848 Use char because int might match the return type of a GCC
14849 builtin and then its argument prototype would still apply. */
14862 if ac_fn_c_try_link
"$LINENO"; then :
14863 ac_cv_lib_poll_poll
=yes
14865 ac_cv_lib_poll_poll
=no
14867 rm -f core conftest.err conftest.
$ac_objext \
14868 conftest
$ac_exeext conftest.
$ac_ext
14869 LIBS
=$ac_check_lib_save_LIBS
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
14872 $as_echo "$ac_cv_lib_poll_poll" >&6; }
14873 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
14874 $as_echo "#define HAVE_POLL 1" >>confdefs.h
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14882 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14883 if ${ac_cv_search_gethostbyname+:} false
; then :
14884 $as_echo_n "(cached) " >&6
14886 ac_func_search_save_LIBS
=$LIBS
14887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14888 /* end confdefs.h. */
14890 /* Override any GCC internal prototype to avoid an error.
14891 Use char because int might match the return type of a GCC
14892 builtin and then its argument prototype would still apply. */
14896 char gethostbyname ();
14900 return gethostbyname ();
14905 for ac_lib
in '' nsl
; do
14906 if test -z "$ac_lib"; then
14907 ac_res
="none required"
14910 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14912 if ac_fn_c_try_link
"$LINENO"; then :
14913 ac_cv_search_gethostbyname
=$ac_res
14915 rm -f core conftest.err conftest.
$ac_objext \
14917 if ${ac_cv_search_gethostbyname+:} false
; then :
14921 if ${ac_cv_search_gethostbyname+:} false
; then :
14924 ac_cv_search_gethostbyname
=no
14926 rm conftest.
$ac_ext
14927 LIBS
=$ac_func_search_save_LIBS
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14930 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14931 ac_res
=$ac_cv_search_gethostbyname
14932 if test "$ac_res" != no
; then :
14933 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14939 $as_echo_n "checking for library containing connect... " >&6; }
14940 if ${ac_cv_search_connect+:} false
; then :
14941 $as_echo_n "(cached) " >&6
14943 ac_func_search_save_LIBS
=$LIBS
14944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14945 /* end confdefs.h. */
14947 /* Override any GCC internal prototype to avoid an error.
14948 Use char because int might match the return type of a GCC
14949 builtin and then its argument prototype would still apply. */
14962 for ac_lib
in '' socket
; do
14963 if test -z "$ac_lib"; then
14964 ac_res
="none required"
14967 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
14969 if ac_fn_c_try_link
"$LINENO"; then :
14970 ac_cv_search_connect
=$ac_res
14972 rm -f core conftest.err conftest.
$ac_objext \
14974 if ${ac_cv_search_connect+:} false
; then :
14978 if ${ac_cv_search_connect+:} false
; then :
14981 ac_cv_search_connect
=no
14983 rm conftest.
$ac_ext
14984 LIBS
=$ac_func_search_save_LIBS
14986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14987 $as_echo "$ac_cv_search_connect" >&6; }
14988 ac_res
=$ac_cv_search_connect
14989 if test "$ac_res" != no
; then :
14990 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
14996 $as_echo_n "checking for library containing inet_aton... " >&6; }
14997 if ${ac_cv_search_inet_aton+:} false
; then :
14998 $as_echo_n "(cached) " >&6
15000 ac_func_search_save_LIBS
=$LIBS
15001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15002 /* end confdefs.h. */
15004 /* Override any GCC internal prototype to avoid an error.
15005 Use char because int might match the return type of a GCC
15006 builtin and then its argument prototype would still apply. */
15014 return inet_aton ();
15019 for ac_lib
in '' resolv
; do
15020 if test -z "$ac_lib"; then
15021 ac_res
="none required"
15024 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15026 if ac_fn_c_try_link
"$LINENO"; then :
15027 ac_cv_search_inet_aton
=$ac_res
15029 rm -f core conftest.err conftest.
$ac_objext \
15031 if ${ac_cv_search_inet_aton+:} false
; then :
15035 if ${ac_cv_search_inet_aton+:} false
; then :
15038 ac_cv_search_inet_aton
=no
15040 rm conftest.
$ac_ext
15041 LIBS
=$ac_func_search_save_LIBS
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15044 $as_echo "$ac_cv_search_inet_aton" >&6; }
15045 ac_res
=$ac_cv_search_inet_aton
15046 if test "$ac_res" != no
; then :
15047 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15067 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15068 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15069 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15070 cat >>confdefs.h
<<_ACEOF
15071 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15080 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15081 if ${ac_cv_search_clock_gettime+:} false
; then :
15082 $as_echo_n "(cached) " >&6
15084 ac_func_search_save_LIBS
=$LIBS
15085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15086 /* end confdefs.h. */
15088 /* Override any GCC internal prototype to avoid an error.
15089 Use char because int might match the return type of a GCC
15090 builtin and then its argument prototype would still apply. */
15094 char clock_gettime ();
15098 return clock_gettime ();
15103 for ac_lib
in '' rt
; do
15104 if test -z "$ac_lib"; then
15105 ac_res
="none required"
15108 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15110 if ac_fn_c_try_link
"$LINENO"; then :
15111 ac_cv_search_clock_gettime
=$ac_res
15113 rm -f core conftest.err conftest.
$ac_objext \
15115 if ${ac_cv_search_clock_gettime+:} false
; then :
15119 if ${ac_cv_search_clock_gettime+:} false
; then :
15122 ac_cv_search_clock_gettime
=no
15124 rm conftest.
$ac_ext
15125 LIBS
=$ac_func_search_save_LIBS
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15128 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15129 ac_res
=$ac_cv_search_clock_gettime
15130 if test "$ac_res" != no
; then :
15131 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
15133 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15135 test "$ac_res" = "none required" || RT_LIBS
="$ac_res"
15143 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15145 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15147 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
15148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15149 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15150 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
15151 $as_echo_n "(cached) " >&6
15153 ac_check_lib_save_LIBS
=$LIBS
15154 LIBS
="-lldap_r $PTHREAD_LIBS $LIBS"
15155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15156 /* end confdefs.h. */
15158 /* Override any GCC internal prototype to avoid an error.
15159 Use char because int might match the return type of a GCC
15160 builtin and then its argument prototype would still apply. */
15164 char ldap_initialize ();
15168 return ldap_initialize ();
15173 if ac_fn_c_try_link
"$LINENO"; then :
15174 ac_cv_lib_ldap_r_ldap_initialize
=yes
15176 ac_cv_lib_ldap_r_ldap_initialize
=no
15178 rm -f core conftest.err conftest.
$ac_objext \
15179 conftest
$ac_exeext conftest.
$ac_ext
15180 LIBS
=$ac_check_lib_save_LIBS
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15183 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15184 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
15185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15186 $as_echo_n "checking for ber_init in -llber... " >&6; }
15187 if ${ac_cv_lib_lber_ber_init+:} false
; then :
15188 $as_echo_n "(cached) " >&6
15190 ac_check_lib_save_LIBS
=$LIBS
15191 LIBS
="-llber $PTHREAD_LIBS $LIBS"
15192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15193 /* end confdefs.h. */
15195 /* Override any GCC internal prototype to avoid an error.
15196 Use char because int might match the return type of a GCC
15197 builtin and then its argument prototype would still apply. */
15205 return ber_init ();
15210 if ac_fn_c_try_link
"$LINENO"; then :
15211 ac_cv_lib_lber_ber_init
=yes
15213 ac_cv_lib_lber_ber_init
=no
15215 rm -f core conftest.err conftest.
$ac_objext \
15216 conftest
$ac_exeext conftest.
$ac_ext
15217 LIBS
=$ac_check_lib_save_LIBS
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15220 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15221 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
15223 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15225 LDAP_LIBS
="-lldap_r -llber"
15232 ac_wine_check_funcs_save_LIBS
="$LIBS"
15233 LIBS
="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15235 ldap_count_references \
15236 ldap_first_reference \
15237 ldap_next_reference \
15238 ldap_parse_reference \
15239 ldap_parse_sort_control \
15240 ldap_parse_sortresponse_control \
15241 ldap_parse_vlv_control \
15242 ldap_parse_vlvresponse_control
15244 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15245 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15246 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15247 cat >>confdefs.h
<<_ACEOF
15248 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15254 LIBS
="$ac_wine_check_funcs_save_LIBS"
15256 if test "x$LDAP_LIBS" = "x"; then :
15257 case "x$with_ldap" in
15258 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15260 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15261 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15266 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15267 if ${wine_cv_one_arg_mkdir+:} false
; then :
15268 $as_echo_n "(cached) " >&6
15270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15271 /* end confdefs.h. */
15272 #include <sys/stat.h>
15281 if ac_fn_c_try_compile
"$LINENO"; then :
15282 wine_cv_one_arg_mkdir
=yes
15284 wine_cv_one_arg_mkdir
=no
15286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15289 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15290 if test "$wine_cv_one_arg_mkdir" = "yes"
15293 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15298 $as_echo_n "checking for sched_setaffinity... " >&6; }
15299 if ${wine_cv_have_sched_setaffinity+:} false
; then :
15300 $as_echo_n "(cached) " >&6
15302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15303 /* end confdefs.h. */
15304 #define _GNU_SOURCE
15309 sched_setaffinity(0, 0, 0);
15314 if ac_fn_c_try_link
"$LINENO"; then :
15315 wine_cv_have_sched_setaffinity
=yes
15317 wine_cv_have_sched_setaffinity
=no
15319 rm -f core conftest.err conftest.
$ac_objext \
15320 conftest
$ac_exeext conftest.
$ac_ext
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15323 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15324 if test "$wine_cv_have_sched_setaffinity" = "yes"
15327 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15332 $as_echo_n "checking for fallocate... " >&6; }
15333 if ${wine_cv_have_fallocate+:} false
; then :
15334 $as_echo_n "(cached) " >&6
15336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15337 /* end confdefs.h. */
15338 #define _GNU_SOURCE
15343 fallocate(-1, 0, 0, 0);
15348 if ac_fn_c_try_link
"$LINENO"; then :
15349 wine_cv_have_fallocate
=yes
15351 wine_cv_have_fallocate
=no
15353 rm -f core conftest.err conftest.
$ac_objext \
15354 conftest
$ac_exeext conftest.
$ac_ext
15356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15357 $as_echo "$wine_cv_have_fallocate" >&6; }
15358 if test "$wine_cv_have_fallocate" = "yes"
15361 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15367 $as_echo_n "checking for inline... " >&6; }
15368 if ${ac_cv_c_inline+:} false
; then :
15369 $as_echo_n "(cached) " >&6
15372 for ac_kw
in inline __inline__ __inline
; do
15373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15374 /* end confdefs.h. */
15375 #ifndef __cplusplus
15377 static $ac_kw foo_t static_foo () {return 0; }
15378 $ac_kw foo_t foo () {return 0; }
15382 if ac_fn_c_try_compile
"$LINENO"; then :
15383 ac_cv_c_inline
=$ac_kw
15385 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15386 test "$ac_cv_c_inline" != no
&& break
15390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15391 $as_echo "$ac_cv_c_inline" >&6; }
15393 case $ac_cv_c_inline in
15396 case $ac_cv_c_inline in
15398 *) ac_val
=$ac_cv_c_inline;;
15400 cat >>confdefs.h
<<_ACEOF
15401 #ifndef __cplusplus
15402 #define inline $ac_val
15408 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15409 if test "x$ac_cv_type_mode_t" = xyes
; then :
15411 cat >>confdefs.h
<<_ACEOF
15412 #define HAVE_MODE_T 1
15417 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15418 if test "x$ac_cv_type_off_t" = xyes
; then :
15420 cat >>confdefs.h
<<_ACEOF
15421 #define HAVE_OFF_T 1
15426 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15427 if test "x$ac_cv_type_pid_t" = xyes
; then :
15429 cat >>confdefs.h
<<_ACEOF
15430 #define HAVE_PID_T 1
15435 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15436 if test "x$ac_cv_type_size_t" = xyes
; then :
15438 cat >>confdefs.h
<<_ACEOF
15439 #define HAVE_SIZE_T 1
15444 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15445 if test "x$ac_cv_type_ssize_t" = xyes
; then :
15447 cat >>confdefs.h
<<_ACEOF
15448 #define HAVE_SSIZE_T 1
15453 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15454 if test "x$ac_cv_type_long_long" = xyes
; then :
15456 cat >>confdefs.h
<<_ACEOF
15457 #define HAVE_LONG_LONG 1
15462 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15463 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
15465 cat >>confdefs.h
<<_ACEOF
15466 #define HAVE_FSBLKCNT_T 1
15471 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15472 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
15474 cat >>confdefs.h
<<_ACEOF
15475 #define HAVE_FSFILCNT_T 1
15481 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15482 #include <signal.h>
15484 if test "x$ac_cv_type_sigset_t" = xyes
; then :
15486 cat >>confdefs.h
<<_ACEOF
15487 #define HAVE_SIGSET_T 1
15493 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15495 if test "x$ac_cv_type_request_sense" = xyes
; then :
15497 cat >>confdefs.h
<<_ACEOF
15498 #define HAVE_REQUEST_SENSE 1
15505 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15506 #ifdef HAVE_SYS_SOCKET_H
15507 #include <sys/socket.h>
15509 #ifdef HAVE_SYS_SOCKETVAR_H
15510 #include <sys/socketvar.h>
15512 #ifdef HAVE_NET_ROUTE_H
15513 #include <net/route.h>
15515 #ifdef HAVE_NETINET_IN_H
15516 #include <netinet/in.h>
15518 #ifdef HAVE_NETINET_IN_SYSTM_H
15519 #include <netinet/in_systm.h>
15521 #ifdef HAVE_NETINET_IP_H
15522 #include <netinet/ip.h>
15524 #ifdef HAVE_NETINET_IN_PCB_H
15525 #include <netinet/in_pcb.h>
15528 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
15530 cat >>confdefs.h
<<_ACEOF
15531 #define HAVE_STRUCT_XINPGEN 1
15538 ac_fn_c_check_type
"$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15541 #ifdef HAVE_SYS_LINK_H
15542 #include <sys/link.h>
15545 if test "x$ac_cv_type_struct_r_debug" = xyes
; then :
15547 cat >>confdefs.h
<<_ACEOF
15548 #define HAVE_STRUCT_R_DEBUG 1
15553 ac_fn_c_check_type
"$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15556 #ifdef HAVE_SYS_LINK_H
15557 #include <sys/link.h>
15560 if test "x$ac_cv_type_struct_link_map" = xyes
; then :
15562 cat >>confdefs.h
<<_ACEOF
15563 #define HAVE_STRUCT_LINK_MAP 1
15570 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15571 #include <linux/input.h>
15574 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
15576 cat >>confdefs.h
<<_ACEOF
15577 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15585 $as_echo_n "checking for sigaddset... " >&6; }
15586 if ${wine_cv_have_sigaddset+:} false
; then :
15587 $as_echo_n "(cached) " >&6
15589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15590 /* end confdefs.h. */
15591 #include <signal.h>
15595 sigset_t set; sigaddset(&set,SIGTERM);
15600 if ac_fn_c_try_link
"$LINENO"; then :
15601 wine_cv_have_sigaddset
=yes
15603 wine_cv_have_sigaddset
=no
15605 rm -f core conftest.err conftest.
$ac_objext \
15606 conftest
$ac_exeext conftest.
$ac_ext
15608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15609 $as_echo "$wine_cv_have_sigaddset" >&6; }
15610 if test "$wine_cv_have_sigaddset" = "yes"
15613 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15619 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15620 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
15621 $as_echo_n "(cached) " >&6
15623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15624 /* end confdefs.h. */
15632 struct hostent *result;
15639 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15640 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15646 if ac_fn_c_try_link
"$LINENO"; then :
15647 wine_cv_linux_gethostbyname_r_6
=yes
15649 wine_cv_linux_gethostbyname_r_6
=no
15652 rm -f core conftest.err conftest.
$ac_objext \
15653 conftest
$ac_exeext conftest.
$ac_ext
15656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15657 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15658 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15661 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15665 if test "$ac_cv_header_linux_joystick_h" = "yes"
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15668 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15669 if ${wine_cv_linux_joystick_22_api+:} false
; then :
15670 $as_echo_n "(cached) " >&6
15672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15673 /* end confdefs.h. */
15675 #include <sys/ioctl.h>
15676 #include <sys/types.h>
15677 #include <linux/joystick.h>
15679 struct js_event blub;
15680 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15681 #error "no 2.2 header"
15692 if ac_fn_c_try_compile
"$LINENO"; then :
15693 wine_cv_linux_joystick_22_api
=yes
15695 wine_cv_linux_joystick_22_api
=no
15697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15701 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15702 if test "$wine_cv_linux_joystick_22_api" = "yes"
15705 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15711 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15712 #ifdef HAVE_SYS_PARAM_H
15713 # include <sys/param.h>
15715 #ifdef HAVE_SYS_MOUNT_H
15716 # include <sys/mount.h>
15718 #ifdef HAVE_SYS_VFS_H
15719 # include <sys/vfs.h>
15721 #ifdef HAVE_SYS_STATFS_H
15722 # include <sys/statfs.h>
15725 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
15727 cat >>confdefs.h
<<_ACEOF
15728 #define HAVE_STRUCT_STATFS_F_BFREE 1
15733 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
15734 #ifdef HAVE_SYS_PARAM_H
15735 # include <sys/param.h>
15737 #ifdef HAVE_SYS_MOUNT_H
15738 # include <sys/mount.h>
15740 #ifdef HAVE_SYS_VFS_H
15741 # include <sys/vfs.h>
15743 #ifdef HAVE_SYS_STATFS_H
15744 # include <sys/statfs.h>
15747 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
15749 cat >>confdefs.h
<<_ACEOF
15750 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
15755 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
15756 #ifdef HAVE_SYS_PARAM_H
15757 # include <sys/param.h>
15759 #ifdef HAVE_SYS_MOUNT_H
15760 # include <sys/mount.h>
15762 #ifdef HAVE_SYS_VFS_H
15763 # include <sys/vfs.h>
15765 #ifdef HAVE_SYS_STATFS_H
15766 # include <sys/statfs.h>
15769 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
15771 cat >>confdefs.h
<<_ACEOF
15772 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
15777 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
15778 #ifdef HAVE_SYS_PARAM_H
15779 # include <sys/param.h>
15781 #ifdef HAVE_SYS_MOUNT_H
15782 # include <sys/mount.h>
15784 #ifdef HAVE_SYS_VFS_H
15785 # include <sys/vfs.h>
15787 #ifdef HAVE_SYS_STATFS_H
15788 # include <sys/statfs.h>
15791 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
15793 cat >>confdefs.h
<<_ACEOF
15794 #define HAVE_STRUCT_STATFS_F_FFREE 1
15799 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
15800 #ifdef HAVE_SYS_PARAM_H
15801 # include <sys/param.h>
15803 #ifdef HAVE_SYS_MOUNT_H
15804 # include <sys/mount.h>
15806 #ifdef HAVE_SYS_VFS_H
15807 # include <sys/vfs.h>
15809 #ifdef HAVE_SYS_STATFS_H
15810 # include <sys/statfs.h>
15813 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
15815 cat >>confdefs.h
<<_ACEOF
15816 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
15821 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
15822 #ifdef HAVE_SYS_PARAM_H
15823 # include <sys/param.h>
15825 #ifdef HAVE_SYS_MOUNT_H
15826 # include <sys/mount.h>
15828 #ifdef HAVE_SYS_VFS_H
15829 # include <sys/vfs.h>
15831 #ifdef HAVE_SYS_STATFS_H
15832 # include <sys/statfs.h>
15835 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
15837 cat >>confdefs.h
<<_ACEOF
15838 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
15845 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
15846 #include <sys/statvfs.h>
15849 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
15851 cat >>confdefs.h
<<_ACEOF
15852 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
15859 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
15860 #include <dirent.h>
15863 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
15865 cat >>confdefs.h
<<_ACEOF
15866 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
15873 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
15874 #ifdef HAVE_SYS_SOCKET_H
15875 # include <sys/socket.h>
15877 #ifdef HAVE_SYS_UN_H
15878 # include <sys/un.h>
15881 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
15883 cat >>confdefs.h
<<_ACEOF
15884 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
15889 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
15890 #ifdef HAVE_SYS_SOCKET_H
15891 # include <sys/socket.h>
15893 #ifdef HAVE_SYS_UN_H
15894 # include <sys/un.h>
15897 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
15899 cat >>confdefs.h
<<_ACEOF
15900 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
15905 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
15906 #ifdef HAVE_SYS_SOCKET_H
15907 # include <sys/socket.h>
15909 #ifdef HAVE_SYS_UN_H
15910 # include <sys/un.h>
15913 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
15915 cat >>confdefs.h
<<_ACEOF
15916 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
15923 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
15924 #ifdef HAVE_SCSI_SG_H
15925 #include <scsi/sg.h>
15928 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
15930 cat >>confdefs.h
<<_ACEOF
15931 #define HAVE_SCSIREQ_T_CMD 1
15936 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>
15937 #ifdef HAVE_SCSI_SG_H
15938 #include <scsi/sg.h>
15941 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
15943 cat >>confdefs.h
<<_ACEOF
15944 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
15951 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
15953 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
15955 cat >>confdefs.h
<<_ACEOF
15956 #define HAVE_SIGINFO_T_SI_FD 1
15963 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
15964 #ifdef HAVE_SYS_MTIO_H
15965 #include <sys/mtio.h>
15968 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
15970 cat >>confdefs.h
<<_ACEOF
15971 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
15976 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
15977 #ifdef HAVE_SYS_MTIO_H
15978 #include <sys/mtio.h>
15981 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
15983 cat >>confdefs.h
<<_ACEOF
15984 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
15989 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
15990 #ifdef HAVE_SYS_MTIO_H
15991 #include <sys/mtio.h>
15994 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
15996 cat >>confdefs.h
<<_ACEOF
15997 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16004 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16005 #include <getopt.h>
16008 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
16010 cat >>confdefs.h
<<_ACEOF
16011 #define HAVE_STRUCT_OPTION_NAME 1
16018 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16019 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16021 cat >>confdefs.h
<<_ACEOF
16022 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16027 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16028 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
16030 cat >>confdefs.h
<<_ACEOF
16031 #define HAVE_STRUCT_STAT_ST_MTIM 1
16036 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16037 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
16039 cat >>confdefs.h
<<_ACEOF
16040 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16045 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16046 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
16048 cat >>confdefs.h
<<_ACEOF
16049 #define HAVE_STRUCT_STAT_ST_CTIM 1
16054 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16055 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
16057 cat >>confdefs.h
<<_ACEOF
16058 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16063 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16064 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
16066 cat >>confdefs.h
<<_ACEOF
16067 #define HAVE_STRUCT_STAT_ST_ATIM 1
16072 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16073 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
16075 cat >>confdefs.h
<<_ACEOF
16076 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16081 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16082 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
16084 cat >>confdefs.h
<<_ACEOF
16085 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16090 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16091 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
16093 cat >>confdefs.h
<<_ACEOF
16094 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16099 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16100 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
16102 cat >>confdefs.h
<<_ACEOF
16103 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16108 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16109 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
16111 cat >>confdefs.h
<<_ACEOF
16112 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16117 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16118 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
16120 cat >>confdefs.h
<<_ACEOF
16121 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16128 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
16129 #include <sys/types.h>
16131 #ifdef HAVE_NETINET_IN_H
16132 #include <netinet/in.h>
16135 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
16137 cat >>confdefs.h
<<_ACEOF
16138 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16145 ac_fn_c_check_type
"$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16146 #include <resolv.h>
16149 if test "x$ac_cv_type_struct___res_state" = xyes
; then :
16151 cat >>confdefs.h
<<_ACEOF
16152 #define HAVE_STRUCT___RES_STATE 1
16159 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
16160 #include <resolv.h>
16163 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
; then :
16165 cat >>confdefs.h
<<_ACEOF
16166 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16173 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16174 #include <sys/types.h>
16176 #ifdef HAVE_NETINET_IN_H
16177 # include <netinet/in.h>
16179 #ifdef HAVE_ARPA_NAMESER_H
16180 # include <arpa/nameser.h>
16183 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
16185 cat >>confdefs.h
<<_ACEOF
16186 #define HAVE_NS_MSG__MSG_PTR 1
16193 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16194 #include <sys/types.h>
16196 #ifdef HAVE_NETINET_IP_H
16197 #include <netinet/ip.h>
16199 #ifdef HAVE_NETINET_IP_ICMP_H
16200 #include <netinet/ip_icmp.h>
16202 #ifdef HAVE_NETINET_ICMP_VAR_H
16203 #include <netinet/icmp_var.h>
16206 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
16208 cat >>confdefs.h
<<_ACEOF
16209 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16216 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16217 #include <sys/types.h>
16219 #ifdef HAVE_ALIAS_H
16222 #ifdef HAVE_SYS_SOCKET_H
16223 #include <sys/socket.h>
16225 #ifdef HAVE_SYS_SOCKETVAR_H
16226 #include <sys/socketvar.h>
16228 #ifdef HAVE_SYS_TIMEOUT_H
16229 #include <sys/timeout.h>
16231 #ifdef HAVE_NETINET_IN_H
16232 #include <netinet/in.h>
16234 #ifdef HAVE_NETINET_IN_SYSTM_H
16235 #include <netinet/in_systm.h>
16237 #ifdef HAVE_NETINET_IP_H
16238 #include <netinet/ip.h>
16240 #ifdef HAVE_NETINET_IP_VAR_H
16241 #include <netinet/ip_var.h>
16243 #ifdef HAVE_NETINET_IP_ICMP_H
16244 #include <netinet/ip_icmp.h>
16246 #ifdef HAVE_NETINET_ICMP_VAR_H
16247 #include <netinet/icmp_var.h>
16250 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
16252 cat >>confdefs.h
<<_ACEOF
16253 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16260 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16261 #include <sys/types.h>
16263 #ifdef HAVE_SYS_SOCKETVAR_H
16264 #include <sys/socketvar.h>
16266 #ifdef HAVE_NETINET_IN_H
16267 #include <netinet/in.h>
16269 #ifdef HAVE_NETINET_IP_VAR_H
16270 #include <netinet/ip_var.h>
16273 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
16275 cat >>confdefs.h
<<_ACEOF
16276 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16283 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
16284 #include <netinet/ip_var.h>
16287 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
16289 cat >>confdefs.h
<<_ACEOF
16290 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16297 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16298 #include <sys/types.h>
16300 #ifdef HAVE_SYS_SOCKETVAR_H
16301 #include <sys/socketvar.h>
16303 #ifdef HAVE_NETINET_IN_H
16304 #include <netinet/in.h>
16306 #ifdef HAVE_NETINET_TCP_H
16307 #include <netinet/tcp.h>
16309 #ifdef HAVE_NETINET_TCP_VAR_H
16310 #include <netinet/tcp_var.h>
16313 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
16315 cat >>confdefs.h
<<_ACEOF
16316 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16323 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
16324 #include <netinet/tcp_var.h>
16327 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
16329 cat >>confdefs.h
<<_ACEOF
16330 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16337 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16338 #include <sys/types.h>
16340 #ifdef HAVE_NETINET_IN_H
16341 #include <netinet/in.h>
16343 #ifdef HAVE_NETINET_IP_VAR_H
16344 #include <netinet/ip_var.h>
16346 #ifdef HAVE_NETINET_UDP_H
16347 #include <netinet/udp.h>
16349 #ifdef HAVE_NETINET_UDP_VAR_H
16350 #include <netinet/udp_var.h>
16353 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
16355 cat >>confdefs.h
<<_ACEOF
16356 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16363 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16364 #include <sys/types.h>
16366 #ifdef HAVE_NET_IF_H
16367 # include <net/if.h>
16370 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
16372 cat >>confdefs.h
<<_ACEOF
16373 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16381 $as_echo_n "checking for timezone variable... " >&6; }
16382 if ${ac_cv_have_timezone+:} false
; then :
16383 $as_echo_n "(cached) " >&6
16385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16386 /* end confdefs.h. */
16396 if ac_fn_c_try_link
"$LINENO"; then :
16397 ac_cv_have_timezone
="yes"
16399 ac_cv_have_timezone
="no"
16401 rm -f core conftest.err conftest.
$ac_objext \
16402 conftest
$ac_exeext conftest.
$ac_ext
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16405 $as_echo "$ac_cv_have_timezone" >&6; }
16406 if test "$ac_cv_have_timezone" = "yes"
16409 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16413 $as_echo_n "checking for daylight variable... " >&6; }
16414 if ${ac_cv_have_daylight+:} false
; then :
16415 $as_echo_n "(cached) " >&6
16417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16418 /* end confdefs.h. */
16428 if ac_fn_c_try_link
"$LINENO"; then :
16429 ac_cv_have_daylight
="yes"
16431 ac_cv_have_daylight
="no"
16433 rm -f core conftest.err conftest.
$ac_objext \
16434 conftest
$ac_exeext conftest.
$ac_ext
16436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16437 $as_echo "$ac_cv_have_daylight" >&6; }
16438 if test "$ac_cv_have_daylight" = "yes"
16441 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16445 ac_save_LIBS
="$LIBS"
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16448 $as_echo_n "checking for isfinite... " >&6; }
16449 if ${ac_cv_have_isfinite+:} false
; then :
16450 $as_echo_n "(cached) " >&6
16452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16453 /* end confdefs.h. */
16454 #define _GNU_SOURCE
16459 float f = 0.0; return isfinite(f)
16464 if ac_fn_c_try_link
"$LINENO"; then :
16465 ac_cv_have_isfinite
="yes"
16467 ac_cv_have_isfinite
="no"
16469 rm -f core conftest.err conftest.
$ac_objext \
16470 conftest
$ac_exeext conftest.
$ac_ext
16472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16473 $as_echo "$ac_cv_have_isfinite" >&6; }
16474 if test "$ac_cv_have_isfinite" = "yes"
16477 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16482 $as_echo_n "checking for isinf... " >&6; }
16483 if ${ac_cv_have_isinf+:} false
; then :
16484 $as_echo_n "(cached) " >&6
16486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16487 /* end confdefs.h. */
16492 float f = 0.0; return isinf(f)
16497 if ac_fn_c_try_link
"$LINENO"; then :
16498 ac_cv_have_isinf
="yes"
16500 ac_cv_have_isinf
="no"
16502 rm -f core conftest.err conftest.
$ac_objext \
16503 conftest
$ac_exeext conftest.
$ac_ext
16505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16506 $as_echo "$ac_cv_have_isinf" >&6; }
16507 if test "$ac_cv_have_isinf" = "yes"
16510 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16515 $as_echo_n "checking for isnan... " >&6; }
16516 if ${ac_cv_have_isnan+:} false
; then :
16517 $as_echo_n "(cached) " >&6
16519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16520 /* end confdefs.h. */
16525 float f = 0.0; return isnan(f)
16530 if ac_fn_c_try_link
"$LINENO"; then :
16531 ac_cv_have_isnan
="yes"
16533 ac_cv_have_isnan
="no"
16535 rm -f core conftest.err conftest.
$ac_objext \
16536 conftest
$ac_exeext conftest.
$ac_ext
16538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16539 $as_echo "$ac_cv_have_isnan" >&6; }
16540 if test "$ac_cv_have_isnan" = "yes"
16543 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16570 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16571 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16572 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16573 cat >>confdefs.h
<<_ACEOF
16574 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16580 LIBS
="$ac_save_LIBS"
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16583 $as_echo_n "checking for __builtin_clz... " >&6; }
16584 if ${ac_cv_have___builtin_clz+:} false
; then :
16585 $as_echo_n "(cached) " >&6
16587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16588 /* end confdefs.h. */
16593 return __builtin_clz(1)
16598 if ac_fn_c_try_link
"$LINENO"; then :
16599 ac_cv_have___builtin_clz
="yes"
16601 ac_cv_have___builtin_clz
="no"
16603 rm -f core conftest.err conftest.
$ac_objext \
16604 conftest
$ac_exeext conftest.
$ac_ext
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16607 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16608 if test "$ac_cv_have___builtin_clz" = "yes"
16611 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16617 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16618 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16619 if ${ac_cv_cpp_def___i386__+:} false
; then :
16620 $as_echo_n "(cached) " >&6
16622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16623 /* end confdefs.h. */
16628 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16629 $EGREP "yes" >/dev
/null
2>&1; then :
16630 ac_cv_cpp_def___i386__
=yes
16632 ac_cv_cpp_def___i386__
=no
16637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16638 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16639 if test "x$ac_cv_cpp_def___i386__" = xyes
; then :
16640 CFLAGS
="$CFLAGS -D__i386__"
16641 LINTFLAGS
="$LINTFLAGS -D__i386__"
16643 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16644 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16645 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
16646 $as_echo_n "(cached) " >&6
16648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16649 /* end confdefs.h. */
16654 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16655 $EGREP "yes" >/dev
/null
2>&1; then :
16656 ac_cv_cpp_def___x86_64__
=yes
16658 ac_cv_cpp_def___x86_64__
=no
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16664 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16665 if test "x$ac_cv_cpp_def___x86_64__" = xyes
; then :
16666 CFLAGS
="$CFLAGS -D__x86_64__"
16667 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
16669 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16670 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16671 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
16672 $as_echo_n "(cached) " >&6
16674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16675 /* end confdefs.h. */
16676 #ifndef __sparc64__
16680 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16681 $EGREP "yes" >/dev
/null
2>&1; then :
16682 ac_cv_cpp_def___sparc64__
=yes
16684 ac_cv_cpp_def___sparc64__
=no
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16690 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16691 if test "x$ac_cv_cpp_def___sparc64__" = xyes
; then :
16692 CFLAGS
="$CFLAGS -D__sparc64__"
16693 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
16695 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
16696 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
16697 if ${ac_cv_cpp_def___sparc__+:} false
; then :
16698 $as_echo_n "(cached) " >&6
16700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16701 /* end confdefs.h. */
16706 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16707 $EGREP "yes" >/dev
/null
2>&1; then :
16708 ac_cv_cpp_def___sparc__
=yes
16710 ac_cv_cpp_def___sparc__
=no
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
16716 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
16717 if test "x$ac_cv_cpp_def___sparc__" = xyes
; then :
16718 CFLAGS
="$CFLAGS -D__sparc__"
16719 LINTFLAGS
="$LINTFLAGS -D__sparc__"
16721 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
16722 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
16723 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
16724 $as_echo_n "(cached) " >&6
16726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16727 /* end confdefs.h. */
16728 #ifndef __powerpc64__
16732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16733 $EGREP "yes" >/dev
/null
2>&1; then :
16734 ac_cv_cpp_def___powerpc64__
=yes
16736 ac_cv_cpp_def___powerpc64__
=no
16741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
16742 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
16743 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
; then :
16744 CFLAGS
="$CFLAGS -D__powerpc64__"
16745 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
16747 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
16748 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
16749 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
16750 $as_echo_n "(cached) " >&6
16752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16753 /* end confdefs.h. */
16754 #ifndef __powerpc__
16758 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16759 $EGREP "yes" >/dev
/null
2>&1; then :
16760 ac_cv_cpp_def___powerpc__
=yes
16762 ac_cv_cpp_def___powerpc__
=no
16767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
16768 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
16769 if test "x$ac_cv_cpp_def___powerpc__" = xyes
; then :
16770 CFLAGS
="$CFLAGS -D__powerpc__"
16771 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
16773 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
16774 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
16775 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
16776 $as_echo_n "(cached) " >&6
16778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16779 /* end confdefs.h. */
16780 #ifndef __aarch64__
16784 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16785 $EGREP "yes" >/dev
/null
2>&1; then :
16786 ac_cv_cpp_def___aarch64__
=yes
16788 ac_cv_cpp_def___aarch64__
=no
16793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
16794 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
16795 if test "x$ac_cv_cpp_def___aarch64__" = xyes
; then :
16796 CFLAGS
="$CFLAGS -D__aarch64__"
16797 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
16799 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
16800 $as_echo_n "checking whether we need to define __arm__... " >&6; }
16801 if ${ac_cv_cpp_def___arm__+:} false
; then :
16802 $as_echo_n "(cached) " >&6
16804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16805 /* end confdefs.h. */
16810 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16811 $EGREP "yes" >/dev
/null
2>&1; then :
16812 ac_cv_cpp_def___arm__
=yes
16814 ac_cv_cpp_def___arm__
=no
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
16820 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
16821 if test "x$ac_cv_cpp_def___arm__" = xyes
; then :
16822 CFLAGS
="$CFLAGS -D__arm__"
16823 LINTFLAGS
="$LINTFLAGS -D__arm__"
16827 case $host_vendor in
16828 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
16829 $as_echo_n "checking whether we need to define __sun__... " >&6; }
16830 if ${ac_cv_cpp_def___sun__+:} false
; then :
16831 $as_echo_n "(cached) " >&6
16833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16834 /* end confdefs.h. */
16839 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16840 $EGREP "yes" >/dev
/null
2>&1; then :
16841 ac_cv_cpp_def___sun__
=yes
16843 ac_cv_cpp_def___sun__
=no
16848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
16849 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
16850 if test "x$ac_cv_cpp_def___sun__" = xyes
; then :
16851 CFLAGS
="$CFLAGS -D__sun__"
16852 LINTFLAGS
="$LINTFLAGS -D__sun__"
16860 ac_config_commands
="$ac_config_commands include/stamp-h"
16862 $as_echo_n "creating Makefile rules..." >&6
16864 ALL_VARS_RULES
="OPENGL_LIBS = $OPENGL_LIBS
16865 SOCKET_LIBS = $SOCKET_LIBS
16866 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
16867 IOKIT_LIBS = $IOKIT_LIBS
16868 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
16869 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
16870 CORESERVICES_LIBS = $CORESERVICES_LIBS
16871 APPKIT_LIBS = $APPKIT_LIBS
16872 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
16873 SECURITY_LIBS = $SECURITY_LIBS
16874 COREAUDIO_LIBS = $COREAUDIO_LIBS
16875 OPENAL_LIBS = $OPENAL_LIBS
16876 OPENCL_LIBS = $OPENCL_LIBS
16877 QUICKTIME_LIBS = $QUICKTIME_LIBS
16878 CARBON_LIBS = $CARBON_LIBS
16879 PTHREAD_LIBS = $PTHREAD_LIBS
16880 X_CFLAGS = $X_CFLAGS
16881 X_PRE_LIBS = $X_PRE_LIBS
16883 X_EXTRA_LIBS = $X_EXTRA_LIBS
16884 XML2_CFLAGS = $XML2_CFLAGS
16885 XML2_LIBS = $XML2_LIBS
16886 XSLT_CFLAGS = $XSLT_CFLAGS
16887 XSLT_LIBS = $XSLT_LIBS
16888 DBUS_CFLAGS = $DBUS_CFLAGS
16889 DBUS_LIBS = $DBUS_LIBS
16890 HAL_CFLAGS = $HAL_CFLAGS
16891 HAL_LIBS = $HAL_LIBS
16892 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
16893 GNUTLS_LIBS = $GNUTLS_LIBS
16894 SANE_CFLAGS = $SANE_CFLAGS
16895 SANE_LIBS = $SANE_LIBS
16896 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
16897 GPHOTO2_LIBS = $GPHOTO2_LIBS
16898 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
16899 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
16900 RESOLV_LIBS = $RESOLV_LIBS
16901 LCMS2_CFLAGS = $LCMS2_CFLAGS
16902 LCMS2_LIBS = $LCMS2_LIBS
16903 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
16904 FREETYPE_LIBS = $FREETYPE_LIBS
16906 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
16907 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
16908 GSTREAMER_LIBS = $GSTREAMER_LIBS
16909 ALSA_LIBS = $ALSA_LIBS
16910 OSS4_CFLAGS = $OSS4_CFLAGS
16911 CAPI20_CFLAGS = $CAPI20_CFLAGS
16912 CAPI20_LIBS = $CAPI20_LIBS
16913 CUPS_CFLAGS = $CUPS_CFLAGS
16914 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
16915 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
16916 JPEG_CFLAGS = $JPEG_CFLAGS
16917 JPEG_LIBS = $JPEG_LIBS
16918 PNG_CFLAGS = $PNG_CFLAGS
16919 PNG_LIBS = $PNG_LIBS
16920 TIFF_CFLAGS = $TIFF_CFLAGS
16921 TIFF_LIBS = $TIFF_LIBS
16922 MPG123_CFLAGS = $MPG123_CFLAGS
16923 MPG123_LIBS = $MPG123_LIBS
16924 KSTAT_LIBS = $KSTAT_LIBS
16925 PROCSTAT_LIBS = $PROCSTAT_LIBS
16927 POLL_LIBS = $POLL_LIBS
16929 LDAP_LIBS = $LDAP_LIBS
16934 wine_fn_append_rule
"
16935 # Rules automatically generated by configure
16937 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
16942 Makefile: $srcdir/Makefile.in $srcdir/Make.vars.in config.status \$(MAKEDEP)
16943 @./config.status Make.tmp Makefile"
16945 test "$srcdir" = .
&& wine_fn_append_rule
"all: .gitignore
16946 .gitignore: config.status
16947 @./config.status .gitignore"
16949 test -n "$CROSSTARGET" || wine_fn_append_rule
"crosstest:
16950 @echo \"crosstest is not supported (mingw not installed?)\" && false"
16952 if test "x$enable_fonts" != xno
; then
16953 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
16954 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
16955 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
16956 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
16957 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf fonts
/symbol.ttf fonts
/tahoma.ttf fonts
/tahomabd.ttf
16959 ac_config_links
="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
16960 test "$srcdir" = "." || wine_fn_config_symlink loader
/l_intl.nls
16961 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
16962 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
16963 ac_config_links
="$ac_config_links wine:tools/winewrapper"
16964 wine_fn_config_symlink wine
16965 if test "x$enable_win64" != xno
; then
16966 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
16967 wine_fn_config_symlink wine64
16970 wine_fn_config_dll acledit enable_acledit
16971 wine_fn_config_dll aclui enable_aclui implib
16972 wine_fn_config_dll activeds enable_activeds implib
16973 wine_fn_config_dll actxprxy enable_actxprxy clean
16974 wine_fn_config_lib adsiid
16975 wine_fn_config_dll advapi32 enable_advapi32 clean
,implib
16976 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
16977 wine_fn_config_dll advpack enable_advpack implib
16978 wine_fn_config_test dlls
/advpack
/tests advpack_test
16979 wine_fn_config_dll amstream enable_amstream clean
16980 wine_fn_config_test dlls
/amstream
/tests amstream_test
16981 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
16982 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
16983 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
16984 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
16985 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
16986 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
16987 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
16988 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
16989 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
16990 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
16991 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
16992 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
16993 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
16994 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
16995 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
16996 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
16997 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
16998 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
16999 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17000 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17001 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17002 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17003 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17004 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17005 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17006 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17007 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17008 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17009 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17010 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17011 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17012 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17013 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17014 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17015 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17016 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17017 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17018 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17019 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17020 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17021 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17022 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17023 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17024 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17025 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17026 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17027 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17028 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17029 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17030 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17031 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17032 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17033 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17034 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17035 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17036 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17037 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17038 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17039 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17040 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17041 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17042 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17043 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17044 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17045 wine_fn_config_dll apphelp enable_apphelp
17046 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
17047 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17048 wine_fn_config_dll atl enable_atl clean
,implib
17049 wine_fn_config_test dlls
/atl
/tests atl_test
17050 wine_fn_config_dll atl100 enable_atl100 clean
,implib
17051 wine_fn_config_test dlls
/atl100
/tests atl100_test
17052 wine_fn_config_dll atl110 enable_atl110 clean
17053 wine_fn_config_dll atl80 enable_atl80 clean
,implib
17054 wine_fn_config_test dlls
/atl80
/tests atl80_test
17055 wine_fn_config_dll atl90 enable_atl90 clean
17056 wine_fn_config_dll authz enable_authz
17057 wine_fn_config_dll avicap32 enable_avicap32 implib
17058 wine_fn_config_dll avifil32 enable_avifil32 clean
,implib
,po
17059 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
17060 wine_fn_config_dll avifile.dll16 enable_win16
17061 wine_fn_config_dll avrt enable_avrt implib
17062 wine_fn_config_dll bcrypt enable_bcrypt
17063 wine_fn_config_test dlls
/bcrypt
/tests bcrypt_test
17064 wine_fn_config_dll browseui enable_browseui clean
,po
17065 wine_fn_config_test dlls
/browseui
/tests browseui_test
17066 wine_fn_config_dll cabinet enable_cabinet implib
17067 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
17068 wine_fn_config_dll capi2032 enable_capi2032 implib
17069 wine_fn_config_dll cards enable_cards implib
17070 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17071 wine_fn_config_dll clusapi enable_clusapi implib
17072 wine_fn_config_dll combase enable_combase
17073 wine_fn_config_test dlls
/combase
/tests combase_test
17074 wine_fn_config_dll comcat enable_comcat
17075 wine_fn_config_test dlls
/comcat
/tests comcat_test
17076 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
17077 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
17078 wine_fn_config_dll comdlg32 enable_comdlg32 clean
,implib
,po
17079 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
17080 wine_fn_config_dll
comm.drv16 enable_win16
17081 wine_fn_config_dll commdlg.dll16 enable_win16
17082 wine_fn_config_dll compobj.dll16 enable_win16
17083 wine_fn_config_dll compstui enable_compstui implib
17084 wine_fn_config_dll comsvcs enable_comsvcs implib
17085 wine_fn_config_dll connect enable_connect
17086 wine_fn_config_dll credui enable_credui implib
,po
17087 wine_fn_config_test dlls
/credui
/tests credui_test
17088 wine_fn_config_dll crtdll enable_crtdll implib
17089 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
17090 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
17091 wine_fn_config_dll cryptdlg enable_cryptdlg po
17092 wine_fn_config_dll cryptdll enable_cryptdll implib
17093 wine_fn_config_dll cryptext enable_cryptext
17094 wine_fn_config_dll cryptnet enable_cryptnet implib
17095 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
17096 wine_fn_config_dll cryptui enable_cryptui implib
,po
17097 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
17098 wine_fn_config_dll ctapi32 enable_ctapi32
17099 wine_fn_config_dll ctl3d.dll16 enable_win16
17100 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17101 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17102 wine_fn_config_dll d2d1 enable_d2d1 implib
17103 wine_fn_config_test dlls
/d2d
1/tests d2d1_test
17104 wine_fn_config_dll d3d10 enable_d3d10 implib
17105 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
17106 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17107 wine_fn_config_dll d3d10core enable_d3d10core implib
17108 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
17109 wine_fn_config_dll d3d11 enable_d3d11
17110 wine_fn_config_dll d3d8 enable_d3d8 implib
17111 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
17112 wine_fn_config_dll d3d9 enable_d3d9 implib
17113 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
17114 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17115 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17116 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17117 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17118 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17119 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17120 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17121 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17122 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17123 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17124 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17125 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
17126 wine_fn_config_dll d3dim enable_d3dim implib
17127 wine_fn_config_dll d3drm enable_d3drm implib
17128 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
17129 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17130 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17131 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17132 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17133 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17134 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17135 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17136 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17137 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17138 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17139 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
17140 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17141 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17142 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17143 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17144 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17145 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17146 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17147 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17148 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17149 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17150 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17151 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17152 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17153 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17154 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17155 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
17156 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17157 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17158 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17159 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17160 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17161 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17162 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17163 wine_fn_config_dll d3dxof enable_d3dxof clean
,implib
17164 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
17165 wine_fn_config_dll dbgeng enable_dbgeng implib
17166 wine_fn_config_dll dbghelp enable_dbghelp implib
17167 wine_fn_config_dll dciman32 enable_dciman32 implib
17168 wine_fn_config_dll ddeml.dll16 enable_win16
17169 wine_fn_config_dll ddraw enable_ddraw clean
,implib
17170 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
17171 wine_fn_config_dll ddrawex enable_ddrawex clean
17172 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
17173 wine_fn_config_dll devenum enable_devenum clean
,po
17174 wine_fn_config_test dlls
/devenum
/tests devenum_test
17175 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17176 wine_fn_config_dll difxapi enable_difxapi
17177 wine_fn_config_dll dinput enable_dinput clean
,implib
,po
,staticimplib
17178 wine_fn_config_test dlls
/dinput
/tests dinput_test
17179 wine_fn_config_dll dinput8 enable_dinput8 clean
,implib
17180 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
17181 wine_fn_config_dll dispdib.dll16 enable_win16
17182 wine_fn_config_dll dispex enable_dispex clean
17183 wine_fn_config_test dlls
/dispex
/tests dispex_test
17184 wine_fn_config_dll display.drv16 enable_win16
17185 wine_fn_config_dll dmband enable_dmband clean
17186 wine_fn_config_test dlls
/dmband
/tests dmband_test
17187 wine_fn_config_dll dmcompos enable_dmcompos clean
17188 wine_fn_config_test dlls
/dmcompos
/tests dmcompos_test
17189 wine_fn_config_dll dmime enable_dmime clean
17190 wine_fn_config_test dlls
/dmime
/tests dmime_test
17191 wine_fn_config_dll dmloader enable_dmloader clean
17192 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
17193 wine_fn_config_dll dmscript enable_dmscript clean
17194 wine_fn_config_test dlls
/dmscript
/tests dmscript_test
17195 wine_fn_config_dll dmstyle enable_dmstyle clean
17196 wine_fn_config_test dlls
/dmstyle
/tests dmstyle_test
17197 wine_fn_config_dll dmsynth enable_dmsynth clean
17198 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
17199 wine_fn_config_dll dmusic enable_dmusic clean
17200 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
17201 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17202 wine_fn_config_dll dnsapi enable_dnsapi implib
17203 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
17204 wine_fn_config_dll dplay enable_dplay implib
17205 wine_fn_config_dll dplayx enable_dplayx clean
,implib
17206 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
17207 wine_fn_config_dll dpnaddr enable_dpnaddr
17208 wine_fn_config_dll dpnet enable_dpnet clean
,implib
17209 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
17210 wine_fn_config_dll dpnhpast enable_dpnhpast
17211 wine_fn_config_dll dpnlobby enable_dpnlobby
17212 wine_fn_config_dll dpvoice enable_dpvoice clean
17213 wine_fn_config_test dlls
/dpvoice
/tests dpvoice_test
17214 wine_fn_config_dll dpwsockx enable_dpwsockx
17215 wine_fn_config_dll drmclien enable_drmclien
17216 wine_fn_config_dll dsound enable_dsound clean
,implib
17217 wine_fn_config_test dlls
/dsound
/tests dsound_test
17218 wine_fn_config_dll dssenh enable_dssenh
17219 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
17220 wine_fn_config_dll dswave enable_dswave clean
17221 wine_fn_config_test dlls
/dswave
/tests dswave_test
17222 wine_fn_config_dll dwmapi enable_dwmapi implib
17223 wine_fn_config_dll dwrite enable_dwrite implib
17224 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
17225 wine_fn_config_dll dxdiagn enable_dxdiagn clean
,po
17226 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
17227 wine_fn_config_lib dxerr8
17228 wine_fn_config_lib dxerr9
17229 wine_fn_config_dll dxgi enable_dxgi implib
17230 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
17231 wine_fn_config_lib dxguid
17232 wine_fn_config_dll dxva2 enable_dxva2
17233 wine_fn_config_dll evr enable_evr
17234 wine_fn_config_dll explorerframe enable_explorerframe clean
17235 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
17236 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17237 wine_fn_config_dll faultrep enable_faultrep implib
17238 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
17239 wine_fn_config_dll fltlib enable_fltlib
17240 wine_fn_config_dll fntcache enable_fntcache
17241 wine_fn_config_dll fontsub enable_fontsub
17242 wine_fn_config_dll fusion enable_fusion
17243 wine_fn_config_test dlls
/fusion
/tests fusion_test
17244 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17245 wine_fn_config_dll gameux enable_gameux clean
17246 wine_fn_config_test dlls
/gameux
/tests gameux_test
17247 wine_fn_config_dll gdi.exe16 enable_win16
17248 wine_fn_config_dll gdi32 enable_gdi32 clean
,implib
,po
17249 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
17250 wine_fn_config_dll gdiplus enable_gdiplus implib
17251 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
17252 wine_fn_config_dll glu32 enable_glu32 implib
17253 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17254 wine_fn_config_dll gpkcsp enable_gpkcsp
17255 wine_fn_config_dll hal enable_hal
17256 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean
,implib
,po htmlhelp
17257 wine_fn_config_dll hid enable_hid implib
17258 wine_fn_config_dll hlink enable_hlink clean
,implib
17259 wine_fn_config_test dlls
/hlink
/tests hlink_test
17260 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17261 wine_fn_config_dll httpapi enable_httpapi
17262 wine_fn_config_dll iccvid enable_iccvid po
17263 wine_fn_config_dll icmp enable_icmp
17264 wine_fn_config_dll ieframe enable_ieframe clean
,implib
,po
17265 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
17266 wine_fn_config_dll ifsmgr.vxd enable_win16
17267 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17268 wine_fn_config_dll imagehlp enable_imagehlp implib
17269 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
17270 wine_fn_config_dll imm.dll16 enable_win16
17271 wine_fn_config_dll imm32 enable_imm32 implib
17272 wine_fn_config_test dlls
/imm32
/tests imm32_test
17273 wine_fn_config_dll inetcomm enable_inetcomm clean
,implib
17274 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
17275 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17276 wine_fn_config_dll inetmib1 enable_inetmib1
17277 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
17278 wine_fn_config_dll infosoft enable_infosoft clean
17279 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
17280 wine_fn_config_dll initpki enable_initpki
17281 wine_fn_config_dll inkobj enable_inkobj
17282 wine_fn_config_dll inseng enable_inseng clean
17283 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17284 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
17285 wine_fn_config_dll itircl enable_itircl
17286 wine_fn_config_dll itss enable_itss clean
17287 wine_fn_config_test dlls
/itss
/tests itss_test
17288 wine_fn_config_dll joy.cpl enable_joy_cpl po
17289 wine_fn_config_dll jscript enable_jscript clean
,po
17290 wine_fn_config_test dlls
/jscript
/tests jscript_test
17291 wine_fn_config_dll jsproxy enable_jsproxy implib
17292 wine_fn_config_dll kernel32 enable_kernel32 clean
,implib
,mc
17293 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
17294 wine_fn_config_dll keyboard.drv16 enable_win16
17295 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17296 wine_fn_config_dll ksuser enable_ksuser
17297 wine_fn_config_dll ktmw32 enable_ktmw32
17298 wine_fn_config_dll loadperf enable_loadperf implib
17299 wine_fn_config_dll localspl enable_localspl po
17300 wine_fn_config_test dlls
/localspl
/tests localspl_test
17301 wine_fn_config_dll localui enable_localui po
17302 wine_fn_config_test dlls
/localui
/tests localui_test
17303 wine_fn_config_dll lz32 enable_lz32 implib
17304 wine_fn_config_test dlls
/lz32
/tests lz32_test
17305 wine_fn_config_dll lzexpand.dll16 enable_win16
17306 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
17307 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
17308 wine_fn_config_dll mapistub enable_mapistub
17309 wine_fn_config_dll mciavi32 enable_mciavi32
17310 wine_fn_config_dll mcicda enable_mcicda
17311 wine_fn_config_dll mciqtz32 enable_mciqtz32
17312 wine_fn_config_dll mciseq enable_mciseq
17313 wine_fn_config_dll mciwave enable_mciwave
17314 wine_fn_config_dll mf enable_mf
17315 wine_fn_config_dll mfplat enable_mfplat
17316 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17317 wine_fn_config_dll mgmtapi enable_mgmtapi
17318 wine_fn_config_dll midimap enable_midimap
17319 wine_fn_config_dll mlang enable_mlang clean
,implib
17320 wine_fn_config_test dlls
/mlang
/tests mlang_test
17321 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17322 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
17323 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17324 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
17325 wine_fn_config_dll mmdevldr.vxd enable_win16
17326 wine_fn_config_dll mmsystem.dll16 enable_win16
17327 wine_fn_config_dll monodebg.vxd enable_win16
17328 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17329 wine_fn_config_dll mouse.drv16 enable_win16
17330 wine_fn_config_dll mpr enable_mpr implib
,po
17331 wine_fn_config_test dlls
/mpr
/tests mpr_test
17332 wine_fn_config_dll mprapi enable_mprapi implib
17333 wine_fn_config_dll msacm.dll16 enable_win16
17334 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17335 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
17336 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
17337 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17338 wine_fn_config_dll msasn1 enable_msasn1 implib
17339 wine_fn_config_dll mscat32 enable_mscat32
17340 wine_fn_config_dll mscms enable_mscms implib
17341 wine_fn_config_test dlls
/mscms
/tests mscms_test
17342 wine_fn_config_dll mscoree enable_mscoree clean
17343 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
17344 wine_fn_config_dll msctf enable_msctf clean
17345 wine_fn_config_test dlls
/msctf
/tests msctf_test
17346 wine_fn_config_dll msdaps enable_msdaps clean
17347 wine_fn_config_dll msdmo enable_msdmo implib
17348 wine_fn_config_test dlls
/msdmo
/tests msdmo_test
17349 wine_fn_config_dll msftedit enable_msftedit
17350 wine_fn_config_dll msg711.acm enable_msg711_acm
17351 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17352 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17353 wine_fn_config_dll mshtml enable_mshtml clean
,implib
,po
17354 wine_fn_config_test dlls
/mshtml
/tests mshtml_test clean
17355 wine_fn_config_dll msi enable_msi clean
,implib
,po
17356 wine_fn_config_test dlls
/msi
/tests msi_test
17357 wine_fn_config_dll msident enable_msident clean
17358 wine_fn_config_dll msimg32 enable_msimg32 implib
17359 wine_fn_config_dll msimsg enable_msimsg
17360 wine_fn_config_dll msimtf enable_msimtf clean
17361 wine_fn_config_dll msisip enable_msisip
17362 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17363 wine_fn_config_dll msls31 enable_msls31
17364 wine_fn_config_dll msnet32 enable_msnet32
17365 wine_fn_config_dll mspatcha enable_mspatcha
17366 wine_fn_config_dll msrle32 enable_msrle32 po
17367 wine_fn_config_test dlls
/msrle32
/tests msrle32_test
17368 wine_fn_config_dll mssign32 enable_mssign32
17369 wine_fn_config_dll mssip32 enable_mssip32
17370 wine_fn_config_dll mstask enable_mstask clean
17371 wine_fn_config_test dlls
/mstask
/tests mstask_test
17372 wine_fn_config_dll msvcirt enable_msvcirt
17373 wine_fn_config_dll msvcm80 enable_msvcm80
17374 wine_fn_config_dll msvcm90 enable_msvcm90
17375 wine_fn_config_dll msvcp100 enable_msvcp100
17376 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
17377 wine_fn_config_dll msvcp110 enable_msvcp110
17378 wine_fn_config_dll msvcp120 enable_msvcp120
17379 wine_fn_config_test dlls
/msvcp120
/tests msvcp120_test
17380 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17381 wine_fn_config_dll msvcp60 enable_msvcp60
17382 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
17383 wine_fn_config_dll msvcp70 enable_msvcp70
17384 wine_fn_config_dll msvcp71 enable_msvcp71
17385 wine_fn_config_dll msvcp80 enable_msvcp80
17386 wine_fn_config_dll msvcp90 enable_msvcp90
17387 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
17388 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17389 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
17390 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17391 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17392 wine_fn_config_test dlls
/msvcr120
/tests msvcr120_test
17393 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17394 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17395 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17396 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17397 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17398 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
17399 wine_fn_config_dll msvcrt enable_msvcrt implib
17400 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
17401 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17402 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17403 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17404 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
17405 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
17406 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
17407 wine_fn_config_dll msvidc32 enable_msvidc32 po
17408 wine_fn_config_dll msvideo.dll16 enable_win16
17409 wine_fn_config_dll mswsock enable_mswsock implib
17410 wine_fn_config_dll msxml enable_msxml clean
17411 wine_fn_config_dll msxml2 enable_msxml2 clean
17412 wine_fn_config_dll msxml3 enable_msxml3 clean
17413 wine_fn_config_test dlls
/msxml
3/tests msxml3_test clean
17414 wine_fn_config_dll msxml4 enable_msxml4 clean
17415 wine_fn_config_dll msxml6 enable_msxml6 clean
17416 wine_fn_config_dll nddeapi enable_nddeapi implib
17417 wine_fn_config_dll ndis.sys enable_ndis_sys
17418 wine_fn_config_dll netapi32 enable_netapi32 implib
17419 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
17420 wine_fn_config_dll netcfgx enable_netcfgx clean
17421 wine_fn_config_test dlls
/netcfgx
/tests netcfgx_test
17422 wine_fn_config_dll netprofm enable_netprofm clean
17423 wine_fn_config_test dlls
/netprofm
/tests netprofm_test
17424 wine_fn_config_dll newdev enable_newdev implib
17425 wine_fn_config_dll normaliz enable_normaliz implib
17426 wine_fn_config_dll npmshtml enable_npmshtml
17427 wine_fn_config_dll npptools enable_npptools
17428 wine_fn_config_dll ntdll enable_ntdll implib
17429 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
17430 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17431 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
17432 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17433 wine_fn_config_dll ntprint enable_ntprint
17434 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
17435 wine_fn_config_dll objsel enable_objsel clean
17436 wine_fn_config_dll odbc32 enable_odbc32 implib
17437 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17438 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
17439 wine_fn_config_dll odbccu32 enable_odbccu32
17440 wine_fn_config_dll ole2.dll16 enable_win16
17441 wine_fn_config_dll ole2conv.dll16 enable_win16
17442 wine_fn_config_dll ole2disp.dll16 enable_win16
17443 wine_fn_config_dll ole2nls.dll16 enable_win16
17444 wine_fn_config_dll ole2prox.dll16 enable_win16
17445 wine_fn_config_dll ole2thk.dll16 enable_win16
17446 wine_fn_config_dll ole32 enable_ole32 clean
,implib
17447 wine_fn_config_test dlls
/ole32
/tests ole32_test
17448 wine_fn_config_dll oleacc enable_oleacc clean
,implib
,po
17449 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
17450 wine_fn_config_dll oleaut32 enable_oleaut32 clean
,implib
,po
17451 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test clean
17452 wine_fn_config_dll olecli.dll16 enable_win16
17453 wine_fn_config_dll olecli32 enable_olecli32 implib
17454 wine_fn_config_dll oledb32 enable_oledb32 clean
17455 wine_fn_config_test dlls
/oledb32
/tests oledb32_test clean
17456 wine_fn_config_dll oledlg enable_oledlg implib
,po
17457 wine_fn_config_dll olepro32 enable_olepro32 implib
17458 wine_fn_config_dll olesvr.dll16 enable_win16
17459 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17460 wine_fn_config_dll olethk32 enable_olethk32
17461 wine_fn_config_dll openal32 enable_openal32
17462 wine_fn_config_dll opencl enable_opencl
17463 wine_fn_config_dll opengl32 enable_opengl32 implib
17464 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
17465 wine_fn_config_dll packager enable_packager clean
17466 wine_fn_config_test dlls
/packager
/tests packager_test
17467 wine_fn_config_dll pdh enable_pdh implib
17468 wine_fn_config_test dlls
/pdh
/tests pdh_test
17469 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17470 wine_fn_config_dll pidgen enable_pidgen
17471 wine_fn_config_dll powrprof enable_powrprof implib
17472 wine_fn_config_dll printui enable_printui
17473 wine_fn_config_dll prntvpt enable_prntvpt
17474 wine_fn_config_dll propsys enable_propsys clean
,implib
17475 wine_fn_config_test dlls
/propsys
/tests propsys_test
17476 wine_fn_config_dll psapi enable_psapi implib
17477 wine_fn_config_test dlls
/psapi
/tests psapi_test
17478 wine_fn_config_dll pstorec enable_pstorec clean
17479 wine_fn_config_dll qcap enable_qcap
17480 wine_fn_config_test dlls
/qcap
/tests qcap_test
17481 wine_fn_config_dll qedit enable_qedit clean
17482 wine_fn_config_test dlls
/qedit
/tests qedit_test
17483 wine_fn_config_dll qmgr enable_qmgr clean
17484 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
17485 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17486 wine_fn_config_dll quartz enable_quartz clean
,implib
17487 wine_fn_config_test dlls
/quartz
/tests quartz_test clean
17488 wine_fn_config_dll query enable_query
17489 wine_fn_config_dll rasapi16.dll16 enable_win16
17490 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17491 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
17492 wine_fn_config_dll rasdlg enable_rasdlg implib
17493 wine_fn_config_dll regapi enable_regapi
17494 wine_fn_config_dll resutils enable_resutils implib
17495 wine_fn_config_dll riched20 enable_riched20 implib
17496 wine_fn_config_test dlls
/riched20
/tests riched20_test
17497 wine_fn_config_dll riched32 enable_riched32
17498 wine_fn_config_test dlls
/riched32
/tests riched32_test
17499 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean
,implib
17500 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test clean
17501 wine_fn_config_dll rsabase enable_rsabase
17502 wine_fn_config_dll rsaenh enable_rsaenh implib
17503 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
17504 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17505 wine_fn_config_dll rtutils enable_rtutils implib
17506 wine_fn_config_dll samlib enable_samlib
17507 wine_fn_config_dll sane.ds enable_sane_ds po
17508 wine_fn_config_dll scarddlg enable_scarddlg
17509 wine_fn_config_dll sccbase enable_sccbase
17510 wine_fn_config_dll schannel enable_schannel
17511 wine_fn_config_test dlls
/schannel
/tests schannel_test
17512 wine_fn_config_dll schedsvc enable_schedsvc clean
17513 wine_fn_config_test dlls
/schedsvc
/tests schedsvc_test clean
17514 wine_fn_config_dll scrrun enable_scrrun clean
17515 wine_fn_config_test dlls
/scrrun
/tests scrrun_test clean
17516 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17517 wine_fn_config_dll secur32 enable_secur32 implib
17518 wine_fn_config_test dlls
/secur32
/tests secur32_test
17519 wine_fn_config_dll security enable_security
17520 wine_fn_config_dll sensapi enable_sensapi implib
17521 wine_fn_config_dll serialui enable_serialui implib
,po
17522 wine_fn_config_test dlls
/serialui
/tests serialui_test
17523 wine_fn_config_dll setupapi enable_setupapi implib
,po
17524 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
17525 wine_fn_config_dll setupx.dll16 enable_win16
17526 wine_fn_config_dll sfc enable_sfc implib
17527 wine_fn_config_dll sfc_os enable_sfc_os implib
17528 wine_fn_config_dll shdoclc enable_shdoclc po
17529 wine_fn_config_dll shdocvw enable_shdocvw clean
,implib
17530 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
17531 wine_fn_config_dll shell.dll16 enable_win16
17532 wine_fn_config_dll shell32 enable_shell32 clean
,implib
,po
17533 wine_fn_config_test dlls
/shell32
/tests shell32_test
17534 wine_fn_config_dll shfolder enable_shfolder implib
17535 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
17536 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
17537 wine_fn_config_dll slbcsp enable_slbcsp
17538 wine_fn_config_dll slc enable_slc implib
17539 wine_fn_config_test dlls
/slc
/tests slc_test
17540 wine_fn_config_dll snmpapi enable_snmpapi implib
17541 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
17542 wine_fn_config_dll softpub enable_softpub
17543 wine_fn_config_dll sound.drv16 enable_win16
17544 wine_fn_config_dll spoolss enable_spoolss implib
17545 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
17546 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17547 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17548 wine_fn_config_dll sti enable_sti clean
,implib
17549 wine_fn_config_test dlls
/sti
/tests sti_test
17550 wine_fn_config_dll storage.dll16 enable_win16
17551 wine_fn_config_dll stress.dll16 enable_win16
17552 wine_fn_config_lib strmbase
17553 wine_fn_config_lib strmiids
17554 wine_fn_config_dll svrapi enable_svrapi
17555 wine_fn_config_dll sxs enable_sxs implib
17556 wine_fn_config_test dlls
/sxs
/tests sxs_test
17557 wine_fn_config_dll system.drv16 enable_win16
17558 wine_fn_config_dll t2embed enable_t2embed
17559 wine_fn_config_dll tapi32 enable_tapi32 implib
17560 wine_fn_config_dll taskschd enable_taskschd clean
17561 wine_fn_config_test dlls
/taskschd
/tests taskschd_test
17562 wine_fn_config_dll toolhelp.dll16 enable_win16
17563 wine_fn_config_dll traffic enable_traffic
17564 wine_fn_config_dll twain.dll16 enable_win16
17565 wine_fn_config_dll twain_32 enable_twain_32
17566 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
17567 wine_fn_config_dll typelib.dll16 enable_win16
17568 wine_fn_config_dll unicows enable_unicows implib
17569 wine_fn_config_dll updspapi enable_updspapi
17570 wine_fn_config_dll url enable_url implib
17571 wine_fn_config_dll urlmon enable_urlmon clean
,implib
,po
17572 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
17573 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17574 wine_fn_config_dll user.exe16 enable_win16
17575 wine_fn_config_dll user32 enable_user32 clean
,implib
,po
17576 wine_fn_config_test dlls
/user32
/tests user32_test
17577 wine_fn_config_dll userenv enable_userenv implib
17578 wine_fn_config_test dlls
/userenv
/tests userenv_test
17579 wine_fn_config_dll usp10 enable_usp10 implib
17580 wine_fn_config_test dlls
/usp10
/tests usp10_test
17581 wine_fn_config_lib uuid
17582 wine_fn_config_dll uxtheme enable_uxtheme implib
17583 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
17584 wine_fn_config_dll vbscript enable_vbscript clean
17585 wine_fn_config_test dlls
/vbscript
/tests vbscript_test clean
17586 wine_fn_config_dll vcomp enable_vcomp
17587 wine_fn_config_dll vcomp100 enable_vcomp100
17588 wine_fn_config_dll vcomp90 enable_vcomp90
17589 wine_fn_config_dll vdhcp.vxd enable_win16
17590 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17591 wine_fn_config_dll ver.dll16 enable_win16
17592 wine_fn_config_dll version enable_version implib
17593 wine_fn_config_test dlls
/version
/tests version_test
17594 wine_fn_config_dll vmm.vxd enable_win16
17595 wine_fn_config_dll vnbt.vxd enable_win16
17596 wine_fn_config_dll vnetbios.vxd enable_win16
17597 wine_fn_config_dll vssapi enable_vssapi
17598 wine_fn_config_dll vtdapi.vxd enable_win16
17599 wine_fn_config_dll vwin32.vxd enable_win16
17600 wine_fn_config_dll w32skrnl enable_win16
17601 wine_fn_config_dll w32sys.dll16 enable_win16
17602 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17603 wine_fn_config_test dlls
/wbemdisp
/tests wbemdisp_test
17604 wine_fn_config_dll wbemprox enable_wbemprox clean
17605 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
17606 wine_fn_config_dll webservices enable_webservices implib
17607 wine_fn_config_dll wer enable_wer implib
17608 wine_fn_config_test dlls
/wer
/tests wer_test
17609 wine_fn_config_dll wevtapi enable_wevtapi
17610 wine_fn_config_dll wiaservc enable_wiaservc clean
17611 wine_fn_config_dll win32s16.dll16 enable_win16
17612 wine_fn_config_dll win87em.dll16 enable_win16
17613 wine_fn_config_dll winaspi.dll16 enable_win16
17614 wine_fn_config_dll windebug.dll16 enable_win16
17615 wine_fn_config_dll windowscodecs enable_windowscodecs clean
,implib
17616 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
17617 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17618 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
17619 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17620 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17621 wine_fn_config_lib winecrt0
17622 wine_fn_config_dll wined3d enable_wined3d implib
17623 wine_fn_config_dll winegstreamer enable_winegstreamer
17624 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
17625 wine_fn_config_dll winemac.drv enable_winemac_drv
17626 wine_fn_config_dll winemapi enable_winemapi
17627 wine_fn_config_dll winemp3.acm enable_winemp3_acm
17628 wine_fn_config_dll wineoss.drv enable_wineoss_drv
17629 wine_fn_config_dll wineps.drv enable_wineps_drv clean
,po
17630 wine_fn_config_dll wineps16.drv16 enable_win16
17631 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
17632 wine_fn_config_dll winex11.drv enable_winex11_drv
17633 wine_fn_config_dll wing.dll16 enable_win16
17634 wine_fn_config_dll wing32 enable_wing32
17635 wine_fn_config_dll winhttp enable_winhttp clean
,implib
17636 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
17637 wine_fn_config_dll wininet enable_wininet implib
,po
17638 wine_fn_config_test dlls
/wininet
/tests wininet_test
17639 wine_fn_config_dll winmm enable_winmm implib
,po
17640 wine_fn_config_test dlls
/winmm
/tests winmm_test
17641 wine_fn_config_dll winnls.dll16 enable_win16
17642 wine_fn_config_dll winnls32 enable_winnls32 implib
17643 wine_fn_config_dll winscard enable_winscard implib
17644 wine_fn_config_dll winsock.dll16 enable_win16
17645 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
17646 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
17647 wine_fn_config_dll winsta enable_winsta
17648 wine_fn_config_dll wintab.dll16 enable_win16
17649 wine_fn_config_dll wintab32 enable_wintab32 implib
17650 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
17651 wine_fn_config_dll wintrust enable_wintrust implib
17652 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
17653 wine_fn_config_dll wlanapi enable_wlanapi
17654 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
17655 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
17656 wine_fn_config_dll wmi enable_wmi
17657 wine_fn_config_dll wmiutils enable_wmiutils clean
17658 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
17659 wine_fn_config_dll wmp enable_wmp clean
17660 wine_fn_config_test dlls
/wmp
/tests wmp_test
17661 wine_fn_config_dll wmvcore enable_wmvcore
17662 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
17663 wine_fn_config_dll wow32 enable_win16 implib
17664 wine_fn_config_dll wpcap enable_wpcap
17665 wine_fn_config_dll ws2_32 enable_ws2_32 implib
17666 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
17667 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
17668 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test clean
17669 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
17670 wine_fn_config_test dlls
/wsnmp32
/tests wsnmp32_test
17671 wine_fn_config_dll wsock32 enable_wsock32 implib
17672 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
17673 wine_fn_config_test dlls
/wtsapi32
/tests wtsapi32_test
17674 wine_fn_config_dll wuapi enable_wuapi clean
17675 wine_fn_config_dll wuaueng enable_wuaueng
17676 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
17677 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
17678 wine_fn_config_dll xaudio2_7 enable_xaudio2_7
17679 wine_fn_config_dll xinput1_1 enable_xinput1_1
17680 wine_fn_config_dll xinput1_2 enable_xinput1_2
17681 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
17682 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
17683 wine_fn_config_dll xinput1_4 enable_xinput1_4
17684 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
17685 wine_fn_config_dll xmllite enable_xmllite implib
17686 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
17687 wine_fn_config_dll xolehlp enable_xolehlp
17688 wine_fn_config_dll xpsprint enable_xpsprint
17689 wine_fn_config_dll xpssvcs enable_xpssvcs
17690 wine_fn_config_makefile documentation enable_documentation clean
17691 wine_fn_config_makefile fonts enable_fonts clean
,install-lib
17692 wine_fn_config_makefile include enable_include clean
,install-dev
17693 wine_fn_config_makefile libs
/port enable_libs_port
17694 wine_fn_config_makefile libs
/wine enable_libs_wine clean
,install-dev
,install-lib
17695 wine_fn_config_makefile libs
/wpp enable_libs_wpp
17696 wine_fn_config_makefile loader enable_loader clean
,install-lib
,manpage
17697 wine_fn_config_program arp enable_arp
install
17698 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
17699 wine_fn_config_program attrib enable_attrib
install,po
17700 wine_fn_config_program cabarc enable_cabarc
install
17701 wine_fn_config_program cacls enable_cacls
install
17702 wine_fn_config_program
clock enable_clock
install,po
17703 wine_fn_config_program cmd enable_cmd
install,po
17704 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
17705 wine_fn_config_program conhost enable_conhost
install
17706 wine_fn_config_program control enable_control
install
17707 wine_fn_config_program cscript enable_cscript clean
,install
17708 wine_fn_config_program dpnsvr enable_dpnsvr
install
17709 wine_fn_config_program dxdiag enable_dxdiag
install,po
17710 wine_fn_config_program eject enable_eject
install
17711 wine_fn_config_program
expand enable_expand
install
17712 wine_fn_config_program explorer enable_explorer
install,po
17713 wine_fn_config_program extrac32 enable_extrac32
install
17714 wine_fn_config_program findstr enable_findstr
install
17715 wine_fn_config_program hh enable_hh
install
17716 wine_fn_config_program hostname enable_hostname
install,po
17717 wine_fn_config_program icinfo enable_icinfo
install
17718 wine_fn_config_program iexplore enable_iexplore
install
17719 wine_fn_config_program ipconfig enable_ipconfig
install,po
17720 wine_fn_config_program lodctr enable_lodctr
install
17721 wine_fn_config_program mofcomp enable_mofcomp
install
17722 wine_fn_config_program mshta enable_mshta
install
17723 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
17724 wine_fn_config_program net enable_net
install,po
17725 wine_fn_config_program netsh enable_netsh
install
17726 wine_fn_config_program netstat enable_netstat
install,po
17727 wine_fn_config_program ngen enable_ngen
install
17728 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
17729 wine_fn_config_program oleview enable_oleview
install,po
17730 wine_fn_config_program
ping enable_ping
install
17731 wine_fn_config_program plugplay enable_plugplay
install
17732 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
17733 wine_fn_config_program progman enable_progman
install,po
17734 wine_fn_config_program reg enable_reg
install,po
17735 wine_fn_config_test programs
/reg
/tests reg.exe_test
17736 wine_fn_config_program regasm enable_regasm
install
17737 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
17738 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
17739 wine_fn_config_program regsvcs enable_regsvcs
install
17740 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
,po
17741 wine_fn_config_program rpcss enable_rpcss clean
,install
17742 wine_fn_config_program rundll.exe16 enable_win16
install
17743 wine_fn_config_program rundll32 enable_rundll32
install
17744 wine_fn_config_program sc enable_sc
install
17745 wine_fn_config_program schtasks enable_schtasks
install
17746 wine_fn_config_program sdbinst enable_sdbinst
install
17747 wine_fn_config_program secedit enable_secedit
install
17748 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
17749 wine_fn_config_program services enable_services clean
,install
17750 wine_fn_config_test programs
/services
/tests services.exe_test
17751 wine_fn_config_program spoolsv enable_spoolsv
install
17752 wine_fn_config_program start enable_start
install,po
17753 wine_fn_config_program svchost enable_svchost
install
17754 wine_fn_config_program systeminfo enable_systeminfo
install
17755 wine_fn_config_program taskkill enable_taskkill
install,po
17756 wine_fn_config_program tasklist enable_tasklist
install
17757 wine_fn_config_program taskmgr enable_taskmgr
install,po
17758 wine_fn_config_program termsv enable_termsv
install
17759 wine_fn_config_program uninstaller enable_uninstaller
install,po
17760 wine_fn_config_program unlodctr enable_unlodctr
install
17761 wine_fn_config_program view enable_view
install,po
17762 wine_fn_config_program wevtutil enable_wevtutil
install
17763 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
17764 wine_fn_config_program winebrowser enable_winebrowser
install
17765 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
17766 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
17767 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
17768 wine_fn_config_program winedevice enable_winedevice
install
17769 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
17770 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
17771 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
17772 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
17773 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
17774 wine_fn_config_program winetest enable_winetest clean
17775 wine_fn_config_program winevdm enable_win16
install
17776 wine_fn_config_program winhelp.exe16 enable_win16
install
17777 wine_fn_config_program winhlp32 enable_winhlp32
install,po
17778 wine_fn_config_program winoldap.mod16 enable_win16
install
17779 wine_fn_config_program winver enable_winver
install
17780 wine_fn_config_program wmic enable_wmic
install,po
17781 wine_fn_config_program wordpad enable_wordpad
install,po
17782 wine_fn_config_program
write enable_write
install,po
17783 wine_fn_config_program wscript enable_wscript clean
,install
17784 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
17785 wine_fn_config_program wusa enable_wusa
install
17786 wine_fn_config_program xcopy enable_xcopy
install,po
17787 wine_fn_config_test programs
/xcopy
/tests xcopy.exe_test
17788 wine_fn_config_makefile server enable_server clean
,install-lib
,manpage
17789 wine_fn_config_tool tools clean
,install-dev
,install-lib
,manpage
17790 wine_fn_config_tool tools
/sfnt2fon clean
17791 wine_fn_config_tool tools
/widl clean
,install-dev
,manpage
17792 wine_fn_config_tool tools
/winebuild clean
,install-dev
,manpage
17793 wine_fn_config_tool tools
/winedump clean
,install-dev
,manpage
17794 wine_fn_config_tool tools
/winegcc clean
,install-dev
,manpage
17795 wine_fn_config_tool tools
/wmc clean
,install-dev
,manpage
17796 wine_fn_config_tool tools
/wrc clean
,install-dev
,manpage
17848 wine_fn_ignore_file
".gitignore"
17849 wine_fn_ignore_file
"Makefile"
17850 wine_fn_ignore_file
"TAGS"
17851 wine_fn_ignore_file
"tags"
17852 wine_fn_ignore_file
"autom4te.cache"
17853 wine_fn_ignore_file
"config.cache"
17854 wine_fn_ignore_file
"config.log"
17855 wine_fn_ignore_file
"config.status"
17856 wine_fn_ignore_file
"configure.lineno"
17857 wine_fn_ignore_file
"include/config.h"
17858 wine_fn_ignore_file
"include/stamp-h"
17859 test "$wine_binary" = wine || wine_fn_ignore_file
"loader/wine"
17861 if test "x$enable_tools" != xno
17863 wine_fn_ignore_file
"tools/makedep$ac_exeext"
17864 ac_config_commands
="$ac_config_commands tools/makedep"
17868 ac_config_commands
="$ac_config_commands Makefile"
17871 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
17875 if test "x$enable_maintainer_mode" = xyes
17877 wine_fn_append_rule
"configure: configure.ac aclocal.m4
17878 autoconf --warnings=all
17879 include/config.h.in: include/stamp-h.in
17880 include/stamp-h.in: configure.ac aclocal.m4
17881 autoheader --warnings=all
17882 @echo timestamp > \$@"
17885 if test "x$with_gettextpo" = xyes
17887 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
17888 wine_fn_append_rule
"ALL_POT_FILES =$ALL_POT_FILES
17889 \$(LINGUAS:%=po/%.po): po/wine.pot
17890 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
17891 po/wine.pot: \$(ALL_POT_FILES)
17892 msgcat -o \$@ \$(ALL_POT_FILES)"
17895 if test "$MSGFMT" != false
17897 wine_fn_append_rule
"__builddeps__: \$(LINGUAS:%=po/%.mo)
17899 \$(RM) \$(LINGUAS:%=po/%.mo)"
17902 test "$srcdir" = . || posrc
="$srcdir/po"
17905 wine_fn_ignore_file
"po/$i.mo"
17906 wine_fn_append_rule
"po/$i.mo: $posrc/$i.po
17907 \$(MSGFMT) -o \$@ $posrc/$i.po"
17913 if test "x$enable_tools" != xno
17915 wine_fn_append_rule
"tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
17916 @./config.status tools/makedep
17917 Makefile: tools/makedep$ac_exeext
17919 \$(RM) tools/makedep$ac_exeext"
17921 wine_fn_append_rule
"\$(MAKEDEP):
17922 @echo \"You need to run make in $TOOLSDIR first\" && false"
17925 if test -n "$with_wine64"
17927 wine_fn_append_rule
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
17928 fonts server tools:
17929 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
17930 $with_wine64/loader/wine:
17931 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
17932 $with_wine64/loader/wine-preloader:
17933 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
17935 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
17937 as_fn_append LOADER_RULES
"
17938 install install-lib:: wine.inf install-man-pages
17939 \$(INSTALL_DATA) wine.inf \$(DESTDIR)\$(datadir)/wine/wine.inf
17940 \$(INSTALL_DATA) \$(srcdir)/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17943 \$(RM) \$(DESTDIR)\$(datadir)/wine/wine.inf \$(DESTDIR)\$(datadir)/wine/l_intl.nls
17947 if test "$srcdir" = .
17949 ac_config_commands
="$ac_config_commands .gitignore"
17953 $as_echo " done" >&6
17954 cat >confcache
<<\_ACEOF
17955 # This file is a shell script that caches the results of configure
17956 # tests run on this system so they can be shared between configure
17957 # scripts and configure runs, see configure's option --config-cache.
17958 # It is not useful on other systems. If it contains results you don't
17959 # want to keep, you may remove or edit it.
17961 # config.status only pays attention to the cache file if you give it
17962 # the --recheck option to rerun configure.
17964 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17965 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17966 # following values.
17970 # The following way of writing the cache mishandles newlines in values,
17971 # but we know of no workaround that is simple, portable, and efficient.
17972 # So, we kill variables containing newlines.
17973 # Ultrix sh set writes to stderr and can't be redirected directly,
17974 # and sets the high bit in the cache file unless we assign to the vars.
17976 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17977 eval ac_val
=\$
$ac_var
17981 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17982 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17985 _ | IFS | as_nl
) ;; #(
17986 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17987 *) { eval $ac_var=; unset $ac_var;} ;;
17993 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17994 *${as_nl}ac_space
=\
*)
17995 # `set' does not quote correctly, so add quotes: double-quote
17996 # substitution turns \\\\ into \\, and sed turns \\ into \.
17999 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18002 # `set' quotes correctly as required by POSIX, so do not add quotes.
18003 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18012 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18014 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18016 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
18017 if test -w "$cache_file"; then
18018 if test "x$cache_file" != "x/dev/null"; then
18019 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18020 $as_echo "$as_me: updating cache $cache_file" >&6;}
18021 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
18022 cat confcache
>"$cache_file"
18024 case $cache_file in #(
18026 mv -f confcache
"$cache_file"$$
&&
18027 mv -f "$cache_file"$$
"$cache_file" ;; #(
18029 mv -f confcache
"$cache_file" ;;
18034 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18035 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18040 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18041 # Let make expand exec_prefix.
18042 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18044 DEFS
=-DHAVE_CONFIG_H
18049 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
18050 # 1. Remove the extension, and $U if already installed.
18051 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
18052 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
18053 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18054 # will be set to the directory where LIBOBJS objects are built.
18055 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18056 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
18058 LIBOBJS
=$ac_libobjs
18060 LTLIBOBJS
=$ac_ltlibobjs
18064 : "${CONFIG_STATUS=./config.status}"
18066 ac_clean_files_save
=$ac_clean_files
18067 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18069 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18071 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18073 # Generated by $as_me.
18074 # Run this file to recreate the current configuration.
18075 # Compiler output produced by configure, useful for debugging
18076 # configure, is in config.log if it exists.
18079 ac_cs_recheck=false
18082 SHELL=\${CONFIG_SHELL-$SHELL}
18085 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
18086 ## -------------------- ##
18087 ## M4sh Initialization. ##
18088 ## -------------------- ##
18090 # Be more Bourne compatible
18091 DUALCASE
=1; export DUALCASE
# for MKS sh
18092 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
18095 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18096 # is contrary to our usage. Disable this feature.
18097 alias -g '${1+"$@"}'='"$@"'
18098 setopt NO_GLOB_SUBST
18100 case `(set -o) 2>/dev/null` in #(
18112 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18113 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18114 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18115 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18116 # Prefer a ksh shell builtin over an external printf program on Solaris,
18117 # but without wasting forks for bash or zsh.
18118 if test -z "$BASH_VERSION$ZSH_VERSION" \
18119 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18120 as_echo='print
-r --'
18121 as_echo_n='print
-rn --'
18122 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18123 as_echo='printf %s
\n'
18124 as_echo_n='printf %s
'
18126 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18127 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
18128 as_echo_n='/usr
/ucb
/echo -n'
18130 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18131 as_echo_n_body='eval
18135 expr "X$arg" : "X\\(.*\\)$as_nl";
18136 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18138 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
18140 export as_echo_n_body
18141 as_echo_n='sh
-c $as_echo_n_body as_echo
'
18143 export as_echo_body
18144 as_echo='sh
-c $as_echo_body as_echo
'
18147 # The user is always right.
18148 if test "${PATH_SEPARATOR+set}" != set; then
18150 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18151 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18158 # We need space, tab and new line, in precisely that order. Quoting is
18159 # there to prevent editors from complaining about space-tab.
18160 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18161 # splitting by setting IFS to empty value.)
18164 # Find who we are. Look in the path if we contain no directory separator.
18167 *[\\/]* ) as_myself=$0 ;;
18168 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18169 for as_dir in $PATH
18172 test -z "$as_dir" && as_dir=.
18173 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18179 # We did not find ourselves, most probably we were run as `sh COMMAND'
18180 # in which case we are not to be found in the path.
18181 if test "x$as_myself" = x
; then
18184 if test ! -f "$as_myself"; then
18185 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18189 # Unset variables that we do not need and which cause bugs (e.g. in
18190 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18191 # suppresses any "Segmentation fault" message there. '((' could
18192 # trigger a bug in pdksh 5.2.14.
18193 for as_var
in BASH_ENV ENV MAIL MAILPATH
18194 do eval test x\
${$as_var+set} = xset \
18195 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
18208 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
18211 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18212 # ----------------------------------------
18213 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18214 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18215 # script with STATUS, using 1 if that was 0.
18218 as_status
=$1; test $as_status -eq 0 && as_status
=1
18220 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
18221 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18223 $as_echo "$as_me: error: $2" >&2
18224 as_fn_exit
$as_status
18228 # as_fn_set_status STATUS
18229 # -----------------------
18230 # Set $? to STATUS, without forking.
18231 as_fn_set_status
()
18234 } # as_fn_set_status
18236 # as_fn_exit STATUS
18237 # -----------------
18238 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18242 as_fn_set_status
$1
18248 # Portably unset VAR.
18251 { eval $1=; unset $1;}
18253 as_unset
=as_fn_unset
18254 # as_fn_append VAR VALUE
18255 # ----------------------
18256 # Append the text in VALUE to the end of the definition contained in VAR. Take
18257 # advantage of any shell optimizations that allow amortized linear growth over
18258 # repeated appends, instead of the typical quadratic growth present in naive
18260 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
18261 eval 'as_fn_append ()
18272 # as_fn_arith ARG...
18273 # ------------------
18274 # Perform arithmetic evaluation on the ARGs, and store the result in the
18275 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18276 # must be portable across $(()) and expr.
18277 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
18278 eval 'as_fn_arith ()
18285 as_val
=`expr "$@" || test $? -eq 1`
18290 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
18291 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
18297 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18298 as_basename
=basename
18303 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
18309 as_me
=`$as_basename -- "$0" ||
18310 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18311 X"$0" : 'X\(//\)$' \| \
18312 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18314 sed '/^.*\/\([^/][^/]*\)\/*$/{
18328 # Avoid depending upon Character Ranges.
18329 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
18330 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18331 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
18332 as_cr_digits
='0123456789'
18333 as_cr_alnum
=$as_cr_Letters$as_cr_digits
18335 ECHO_C
= ECHO_N
= ECHO_T
=
18336 case `echo -n x` in #(((((
18338 case `echo 'xy\c'` in
18339 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
18341 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
18348 rm -f conf$$ conf$$.exe conf$$.
file
18349 if test -d conf$$.dir
; then
18350 rm -f conf$$.dir
/conf$$.
file
18353 mkdir conf$$.dir
2>/dev
/null
18355 if (echo >conf$$.
file) 2>/dev
/null
; then
18356 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
18358 # ... but there are two gotchas:
18359 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18360 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18361 # In both cases, we have to default to `cp -pR'.
18362 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
18364 elif ln conf$$.
file conf$$
2>/dev
/null
; then
18372 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
18373 rmdir conf$$.dir
2>/dev
/null
18378 # Create "$as_dir" as a directory, including parents if necessary.
18383 -*) as_dir
=.
/$as_dir;;
18385 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
18389 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18390 *) as_qdir
=$as_dir;;
18392 as_dirs
="'$as_qdir' $as_dirs"
18393 as_dir
=`$as_dirname -- "$as_dir" ||
18394 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18395 X"$as_dir" : 'X\(//\)[^/]' \| \
18396 X"$as_dir" : 'X\(//\)$' \| \
18397 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18398 $as_echo X"$as_dir" |
18399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18403 /^X\(\/\/\)[^/].*/{
18416 test -d "$as_dir" && break
18418 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18419 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
18423 if mkdir
-p .
2>/dev
/null
; then
18424 as_mkdir_p
='mkdir -p "$as_dir"'
18426 test -d .
/-p && rmdir .
/-p
18431 # as_fn_executable_p FILE
18432 # -----------------------
18433 # Test if FILE is an executable regular file.
18434 as_fn_executable_p
()
18436 test -f "$1" && test -x "$1"
18437 } # as_fn_executable_p
18438 as_test_x
='test -x'
18439 as_executable_p
=as_fn_executable_p
18441 # Sed expression to map a string onto a valid CPP name.
18442 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18444 # Sed expression to map a string onto a valid variable name.
18445 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18449 ## ----------------------------------- ##
18450 ## Main body of $CONFIG_STATUS script. ##
18451 ## ----------------------------------- ##
18453 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
18455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18456 # Save the log message, to keep $0 and so on meaningful, and to
18457 # report actual input values of CONFIG_FILES etc. instead of their
18458 # values after options handling.
18460 This file was extended by Wine $as_me 1.7.36, which was
18461 generated by GNU Autoconf 2.69. Invocation command line was
18463 CONFIG_FILES = $CONFIG_FILES
18464 CONFIG_HEADERS = $CONFIG_HEADERS
18465 CONFIG_LINKS = $CONFIG_LINKS
18466 CONFIG_COMMANDS = $CONFIG_COMMANDS
18469 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18474 case $ac_config_files in *"
18475 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
18478 case $ac_config_headers in *"
18479 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
18483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18484 # Files that config.status was made for.
18485 config_files="$ac_config_files"
18486 config_headers="$ac_config_headers"
18487 config_links="$ac_config_links"
18488 config_commands="$ac_config_commands"
18492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18494 \`$as_me' instantiates files and other configuration actions
18495 from templates according to the current configuration. Unless the files
18496 and actions are specified as TAGs, all are instantiated by default.
18498 Usage: $0 [OPTION]... [TAG]...
18500 -h, --help print this help, then exit
18501 -V, --version print version number and configuration settings, then exit
18502 --config print configuration, then exit
18503 -q, --quiet, --silent
18504 do not print progress messages
18505 -d, --debug don't remove temporary files
18506 --recheck update $as_me by reconfiguring in the same conditions
18507 --file=FILE[:TEMPLATE]
18508 instantiate the configuration file FILE
18509 --header=FILE[:TEMPLATE]
18510 instantiate the configuration header FILE
18512 Configuration files:
18515 Configuration headers:
18518 Configuration links:
18521 Configuration commands:
18524 Report bugs to <wine-devel@winehq.org>.
18525 Wine home page: <http://www.winehq.org>."
18528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18529 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18531 Wine config.status 1.7.36
18532 configured by $0, generated by GNU Autoconf 2.69,
18533 with options \\"\$ac_cs_config\\"
18535 Copyright (C) 2012 Free Software Foundation, Inc.
18536 This config.status script is free software; the Free Software Foundation
18537 gives unlimited permission to copy, distribute and modify it."
18541 test -n "\$AWK" || AWK=awk
18544 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18545 # The default lists apply if the user does not specify any file.
18551 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18552 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
18556 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
18568 # Handling of the options.
18569 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
18571 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
18572 $as_echo "$ac_cs_version"; exit ;;
18573 --config |
--confi |
--conf |
--con |
--co |
--c )
18574 $as_echo "$ac_cs_config"; exit ;;
18575 --debug |
--debu |
--deb |
--de |
--d |
-d )
18577 --file |
--fil |
--fi |
--f )
18580 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18581 '') as_fn_error $?
"missing file argument" ;;
18583 as_fn_append CONFIG_FILES
" '$ac_optarg'"
18584 ac_need_defaults
=false
;;
18585 --header |
--heade |
--head |
--hea )
18588 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18590 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
18591 ac_need_defaults
=false
;;
18593 # Conflict between --help and --header
18594 as_fn_error $?
"ambiguous option: \`$1'
18595 Try \`$0 --help' for more information.";;
18596 --help |
--hel |
-h )
18597 $as_echo "$ac_cs_usage"; exit ;;
18598 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
18599 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
18602 # This is an error.
18603 -*) as_fn_error $?
"unrecognized option: \`$1'
18604 Try \`$0 --help' for more information." ;;
18606 *) as_fn_append ac_config_targets
" $1"
18607 ac_need_defaults
=false
;;
18613 ac_configure_extra_args
=
18615 if $ac_cs_silent; then
18617 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18622 if \$ac_cs_recheck; then
18623 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18625 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18626 CONFIG_SHELL='$SHELL'
18627 export CONFIG_SHELL
18632 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18636 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18637 ## Running $as_me. ##
18643 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18647 wine_fn_output_makedep ()
18649 as_dir=tools; as_fn_mkdir_p
18650 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18652 wine_fn_output_makefile ()
18654 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" . && return
18655 `cat $wine_rules_file`
18657 as_fn_error $? "could not create Makefile" "$LINENO" 5
18659 wine_fn_output_gitignore ()
18661 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
18664 as_fn_error $? "could not create .gitignore" "$LINENO" 5
18669 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18671 # Handling of arguments.
18672 for ac_config_target
in $ac_config_targets
18674 case $ac_config_target in
18675 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
18676 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
18677 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
18678 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
18679 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
18680 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
18681 "loader/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
18682 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
18683 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
18684 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
18685 "tools/makedep") CONFIG_COMMANDS
="$CONFIG_COMMANDS tools/makedep" ;;
18686 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
18687 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
18688 ".gitignore") CONFIG_COMMANDS
="$CONFIG_COMMANDS .gitignore" ;;
18690 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18695 # If the user did not use the arguments to specify the items to instantiate,
18696 # then the envvar interface is used. Set only those that are not.
18697 # We use the long form for the default assignment because of an extremely
18698 # bizarre bug on SunOS 4.1.3.
18699 if $ac_need_defaults; then
18700 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18701 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18702 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
18703 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
18706 # Have a temporary directory for convenience. Make it in the build tree
18707 # simply because there is no reason against having it here, and in addition,
18708 # creating and moving files from /tmp can sometimes cause problems.
18709 # Hook for its removal unless debugging.
18710 # Note that there is a small window in which the directory will not be cleaned:
18711 # after its creation but before its name has been assigned to `$tmp'.
18715 trap 'exit_status=$?
18716 : "${ac_tmp:=$tmp}"
18717 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18719 trap 'as_fn_exit 1' 1 2 13 15
18721 # Create a (secure) tmp directory for tmp files.
18724 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18728 tmp
=.
/conf$$
-$RANDOM
18729 (umask 077 && mkdir
"$tmp")
18730 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
18733 # Set up the scripts for CONFIG_FILES section.
18734 # No need to generate them if there are no CONFIG_FILES.
18735 # This happens for instance with `./config.status config.h'.
18736 if test -n "$CONFIG_FILES"; then
18739 ac_cr
=`echo X | tr X '\015'`
18740 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18741 # But we know of no other shell where ac_cr would be empty at this
18742 # point, so we can use a bashism as a fallback.
18743 if test "x$ac_cr" = x
; then
18744 eval ac_cr
=\$
\'\\r
\'
18746 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18747 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18750 ac_cs_awk_cr
=$ac_cr
18753 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18758 echo "cat >conf$$subs.awk <<_ACEOF" &&
18759 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18761 } >conf$$subs.sh ||
18762 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18763 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18765 for ac_last_try in false false false false false :; do
18766 . ./conf$$subs.sh ||
18767 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18769 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18770 if test $ac_delim_n = $ac_delim_num; then
18772 elif $ac_last_try; then
18773 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
18775 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18778 rm -f conf$$subs.sh
18780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18781 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
18785 s/^/S["/; s
/!.
*/"]=/
18795 s/\(.\{148\}\)..*/\1/
18797 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18802 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18809 s/\(.\{148\}\)..*/\1/
18811 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18815 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18820 ' <conf$$subs.awk | sed '
18825 ' >>$CONFIG_STATUS || ac_write_fail=1
18826 rm -f conf$$subs.awk
18827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18829 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
18830 for (key in S) S_is_set[key] = 1
18836 nfields = split(line, field, "@
")
18838 len = length(field[1])
18839 for (i = 2; i < nfields; i++) {
18841 keylen = length(key)
18842 if (S_is_set[key]) {
18844 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18845 len += length(value) + length(field[++i])
18856 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18857 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18858 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18861 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
18862 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
18865 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18866 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
18867 # trailing colons and then remove the whole line if VPATH becomes empty
18868 # (actually we leave an empty line to preserve line numbers).
18869 if test "x
$srcdir" = x.; then
18870 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18888 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18889 fi # test -n "$CONFIG_FILES"
18891 # Set up the scripts for CONFIG_HEADERS section.
18892 # No need to generate them if there are no CONFIG_HEADERS.
18893 # This happens for instance with `./config.status Makefile'.
18894 if test -n "$CONFIG_HEADERS"; then
18895 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
18899 # Transform confdefs.h into an awk script `defines.awk', embedded as
18900 # here-document in config.status, that substitutes the proper values into
18901 # config.h.in to produce config.h.
18903 # Create a delimiter string that does not exist in confdefs.h, to ease
18904 # handling of long lines.
18906 for ac_last_try in false false :; do
18907 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
18908 if test -z "$ac_tt"; then
18910 elif $ac_last_try; then
18911 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
18913 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18917 # For the awk script, D is an array of macro values keyed by name,
18918 # likewise P contains macro parameters if any. Preserve backslash
18919 # newline sequences.
18921 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18923 s/.\{148\}/&'"$ac_delim"'/g
18926 s/^[ ]*#[ ]*define[ ][ ]*/ /
18933 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18935 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18939 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18940 D["\
1"]=" \
3\\\\\\n
"\\/p
18942 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18947 s/.\{148\}/&'"$ac_delim"'/g
18952 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18955 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18957 ' <confdefs.h | sed '
18958 s/'"$ac_delim"'/"\\\
18959 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18962 for (key in D) D_is_set[key] = 1
18965 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18967 split(line, arg, " ")
18968 if (arg[1] == "#") {
18972 defundef
= substr
(arg
[1], 2)
18975 split(mac1
, mac2
, "(") #)
18977 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18978 if (D_is_set
[macro
]) {
18979 # Preserve the white space surrounding the "#".
18980 print prefix
"define", macro P
[macro
] D
[macro
]
18983 # Replace #undef with comments. This is necessary, for example,
18984 # in the case of _POSIX_SOURCE, which is predefined and required
18985 # on some systems where configure will not decide to define it.
18986 if (defundef
== "undef") {
18987 print
"/*", prefix defundef
, macro
, "*/"
18995 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18996 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
18997 fi # test -n "$CONFIG_HEADERS"
19000 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19005 :[FHLC
]) ac_mode
=$ac_tag; continue;;
19007 case $ac_mode$ac_tag in
19009 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
19010 :[FH
]-) ac_tag
=-:-;;
19011 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
19028 -) ac_f
="$ac_tmp/stdin";;
19029 *) # Look for the file first in the build tree, then in the source tree
19030 # (if the path is not absolute). The absolute path cannot be DOS-style,
19031 # because $ac_f cannot contain `:'.
19035 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
19037 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19039 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19040 as_fn_append ac_file_inputs
" '$ac_f'"
19043 # Let's still pretend it is `configure' which instantiates (i.e., don't
19044 # use $as_me), people would be surprised to read:
19045 # /* config.h. Generated by config.status. */
19046 configure_input
='Generated from '`
19047 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19049 if test x
"$ac_file" != x-
; then
19050 configure_input
="$ac_file. $configure_input"
19051 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19052 $as_echo "$as_me: creating $ac_file" >&6;}
19054 # Neutralize special characters interpreted by sed in replacement strings.
19055 case $configure_input in #(
19056 *\
&* |
*\|
* |
*\\* )
19057 ac_sed_conf_input
=`$as_echo "$configure_input" |
19058 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19059 *) ac_sed_conf_input
=$configure_input;;
19063 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
19064 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
19069 ac_dir
=`$as_dirname -- "$ac_file" ||
19070 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19071 X"$ac_file" : 'X\(//\)[^/]' \| \
19072 X"$ac_file" : 'X\(//\)$' \| \
19073 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19074 $as_echo X"$ac_file" |
19075 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19079 /^X\(\/\/\)[^/].*/{
19092 as_dir
="$ac_dir"; as_fn_mkdir_p
19096 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19098 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19099 # A ".." for each directory in $ac_dir_suffix.
19100 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19101 case $ac_top_builddir_sub in
19102 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
19103 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
19106 ac_abs_top_builddir
=$ac_pwd
19107 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
19108 # for backward compatibility:
19109 ac_top_builddir
=$ac_top_build_prefix
19112 .
) # We are building in place.
19114 ac_top_srcdir
=$ac_top_builddir_sub
19115 ac_abs_top_srcdir
=$ac_pwd ;;
19116 [\\/]* | ?
:[\\/]* ) # Absolute name.
19117 ac_srcdir
=$srcdir$ac_dir_suffix;
19118 ac_top_srcdir
=$srcdir
19119 ac_abs_top_srcdir
=$srcdir ;;
19120 *) # Relative name.
19121 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
19122 ac_top_srcdir
=$ac_top_build_prefix$srcdir
19123 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
19125 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
19136 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19137 # If the template does not know about datarootdir, expand it.
19138 # FIXME: This hack should be removed a few years after 2.60.
19139 ac_datarootdir_hack
=; ac_datarootdir_seen
=
19150 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19151 *datarootdir
*) ac_datarootdir_seen
=yes;;
19152 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
19153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19154 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19156 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19157 ac_datarootdir_hack='
19158 s&@datadir@&$datadir&g
19159 s&@docdir@&$docdir&g
19160 s&@infodir@&$infodir&g
19161 s&@localedir@&$localedir&g
19162 s&@mandir@&$mandir&g
19163 s&\\\${datarootdir}&$datarootdir&g' ;;
19167 # Neutralize VPATH when `$srcdir' = `.'.
19168 # Shell code in configure.ac might set extrasub.
19169 # FIXME: do we really want to maintain this feature?
19170 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19171 ac_sed_extra="$ac_vpsub
19174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
19176 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
19177 s|@configure_input@|
$ac_sed_conf_input|
;t t
19178 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
19179 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
19180 s
&@srcdir@
&$ac_srcdir&;t t
19181 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
19182 s
&@top_srcdir@
&$ac_top_srcdir&;t t
19183 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
19184 s
&@builddir@
&$ac_builddir&;t t
19185 s
&@abs_builddir@
&$ac_abs_builddir&;t t
19186 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
19187 $ac_datarootdir_hack
19189 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
19190 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
19192 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19193 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
19194 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19195 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
19196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
19197 which seems to be undefined. Please make sure it is defined" >&5
19198 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
19199 which seems to be undefined. Please make sure it is defined" >&2;}
19201 rm -f "$ac_tmp/stdin"
19203 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19204 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19206 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19212 if test x"$ac_file" != x-; then
19214 $as_echo "/* $configure_input */" \
19215 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19216 } >"$ac_tmp/config.h" \
19217 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19218 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19220 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19223 mv "$ac_tmp/config.h" "$ac_file" \
19224 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19227 $as_echo "/* $configure_input */" \
19228 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19229 || as_fn_error $? "could not create -" "$LINENO" 5
19237 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
19240 # Prefer the file from the source tree if names are identical.
19241 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19242 ac_source=$srcdir/$ac_source
19245 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19246 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19248 if test ! -r "$ac_source"; then
19249 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19253 # Try a relative symlink, then a hard link, then a copy.
19255 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19256 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19258 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19259 ln "$ac_source" "$ac_file" 2>/dev/null ||
19260 cp -p "$ac_source" "$ac_file" ||
19261 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19264 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19265 $as_echo "$as_me: executing $ac_file commands" >&6;}
19270 case $ac_file$ac_mode in
19271 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19272 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19273 "Makefile":C) wine_fn_output_makefile Makefile ;;
19274 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19282 ac_clean_files=$ac_clean_files_save
19284 test $ac_write_fail = 0 ||
19285 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19288 # configure is writing to config.log, and then calls config.status.
19289 # config.status does its own redirection, appending to config.log.
19290 # Unfortunately, on DOS this fails, as config.log is still kept open
19291 # by configure, so config.status won't be able to
write to it
; its
19292 # output is simply discarded. So we exec the FD to /dev/null,
19293 # effectively closing config.log, so it can be properly (re)opened and
19294 # appended to by config.status. When coming back to configure, we
19295 # need to make the FD available again.
19296 if test "$no_create" != yes; then
19298 ac_config_status_args
=
19299 test "$silent" = yes &&
19300 ac_config_status_args
="$ac_config_status_args --quiet"
19302 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
19304 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19305 # would make configure fail if this is the last instruction.
19306 $ac_cs_success || as_fn_exit
1
19308 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
19309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19310 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19314 if test "$no_create" = "yes"
19320 if test "x$wine_notices != "x
; then
19323 for msg
in $wine_notices; do
19325 if ${msg:+false} :; then :
19328 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19329 $as_echo "$as_me: $msg" >&6;}
19334 for msg
in $wine_warnings; do
19336 if ${msg:+false} :; then :
19340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19341 $as_echo "$as_me: WARNING: $msg" >&2;}
19347 $as_me: Finished. Do '${ac_make}' to compile Wine.